From c17dd82d0684203f4ccef6752f8d7fcb5bf42ea7 Mon Sep 17 00:00:00 2001 From: GreenSlime1024 Date: Thu, 31 Oct 2024 11:17:38 +0800 Subject: [PATCH] Revert "Bump markdown-table and @types/markdown-table" --- package-lock.json | 58 ++++++++++++++++++++++++++++------------------- package.json | 4 ++-- 2 files changed, 37 insertions(+), 25 deletions(-) diff --git a/package-lock.json b/package-lock.json index e84cf6b..f64e099 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,12 +13,12 @@ "dotenv": "^16.4.5", "front-matter": "^4.0.2", "fs-extra": "^11.2.0", - "markdown-table": "^3.0.3", + "markdown-table": "^2.0.0", "yaml": "^2.5.1" }, "devDependencies": { "@types/fs-extra": "^11.0.4", - "@types/markdown-table": "^3.0.0", + "@types/markdown-table": "^2.0.0", "@types/node": "^22.7.4", "prettier": "^3.3.3", "ts-node": "^10.9.2", @@ -122,14 +122,10 @@ } }, "node_modules/@types/markdown-table": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/markdown-table/-/markdown-table-3.0.0.tgz", - "integrity": "sha512-vX5zya26rnLLHdAKA3E9ZOT07CJslYp2gZfAZiXKUY5vd2RRiJyOQKrSlmUjyJ+eNoDAPkHflebG3PsfqC32aA==", - "deprecated": "This is a stub types definition. markdown-table provides its own type definitions, so you do not need this installed.", - "dev": true, - "dependencies": { - "markdown-table": "*" - } + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/markdown-table/-/markdown-table-2.0.0.tgz", + "integrity": "sha512-fVZN/DRjZvjuk+lo7ovlI/ZycS51gpYU5vw5EcFeqkcX6lucQ+UWgEOH2O4KJHkSck4DHAY7D7CkVLD0wzc5qw==", + "dev": true }, "node_modules/@types/node": { "version": "22.7.4", @@ -314,9 +310,12 @@ "dev": true }, "node_modules/markdown-table": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.3.tgz", - "integrity": "sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-2.0.0.tgz", + "integrity": "sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==", + "dependencies": { + "repeat-string": "^1.0.0" + }, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -375,6 +374,14 @@ "url": "https://github.com/prettier/prettier?sponsor=1" } }, + "node_modules/repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==", + "engines": { + "node": ">=0.10" + } + }, "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", @@ -580,13 +587,10 @@ } }, "@types/markdown-table": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/markdown-table/-/markdown-table-3.0.0.tgz", - "integrity": "sha512-vX5zya26rnLLHdAKA3E9ZOT07CJslYp2gZfAZiXKUY5vd2RRiJyOQKrSlmUjyJ+eNoDAPkHflebG3PsfqC32aA==", - "dev": true, - "requires": { - "markdown-table": "*" - } + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/markdown-table/-/markdown-table-2.0.0.tgz", + "integrity": "sha512-fVZN/DRjZvjuk+lo7ovlI/ZycS51gpYU5vw5EcFeqkcX6lucQ+UWgEOH2O4KJHkSck4DHAY7D7CkVLD0wzc5qw==", + "dev": true }, "@types/node": { "version": "22.7.4", @@ -729,9 +733,12 @@ "dev": true }, "markdown-table": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.3.tgz", - "integrity": "sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-2.0.0.tgz", + "integrity": "sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==", + "requires": { + "repeat-string": "^1.0.0" + } }, "mime-db": { "version": "1.52.0", @@ -760,6 +767,11 @@ "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", "dev": true }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==" + }, "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", diff --git a/package.json b/package.json index 9e5526e..1061b80 100644 --- a/package.json +++ b/package.json @@ -32,12 +32,12 @@ "dotenv": "^16.4.5", "front-matter": "^4.0.2", "fs-extra": "^11.2.0", - "markdown-table": "^3.0.3", + "markdown-table": "^2.0.0", "yaml": "^2.5.1" }, "devDependencies": { "@types/fs-extra": "^11.0.4", - "@types/markdown-table": "^3.0.0", + "@types/markdown-table": "^2.0.0", "@types/node": "^22.7.4", "prettier": "^3.3.3", "ts-node": "^10.9.2",