From 6ac38cb8227607540bc6c7d93ceb071a0b2b3f5f Mon Sep 17 00:00:00 2001 From: bisnsh Date: Sat, 4 Oct 2025 16:22:17 +0800 Subject: [PATCH] fix hexo version to 7.3.0 to be compatible with hexo-ai-summary-liushen plugin --- package-lock.json | 286 +++++++++------------------------------------- package.json | 4 +- 2 files changed, 57 insertions(+), 233 deletions(-) diff --git a/package-lock.json b/package-lock.json index bad214a..729aaf6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "@sveltia/cms": "^0.109.0", "axios": "^1.12.2", "cheerio": "^1.1.2", - "hexo": "^8.0.0", + "hexo": "^7.3.0", "hexo-abbrlink": "^2.2.1", "hexo-ai-summary-liushen": "^1.3.0", "hexo-deployer-git": "^4.0.0", @@ -383,12 +383,12 @@ "license": "MIT" }, "node_modules/abbrev": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/abbrev/-/abbrev-3.0.1.tgz", - "integrity": "sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==", + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/abbrev/-/abbrev-2.0.0.tgz", + "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==", "license": "ISC", "engines": { - "node": "^18.17.0 || >=20.5.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/acorn": { @@ -413,15 +413,12 @@ } }, "node_modules/ansi-regex": { - "version": "6.2.2", - "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-6.2.2.tgz", - "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "license": "MIT", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" + "node": ">=8" } }, "node_modules/anymatch": { @@ -837,6 +834,13 @@ "integrity": "sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw==", "license": "MIT" }, + "node_modules/cuid": { + "version": "2.1.8", + "resolved": "https://registry.npmmirror.com/cuid/-/cuid-2.1.8.tgz", + "integrity": "sha512-xiEMER6E7TlTPnDxrM4eRiC6TRgjNX9xzEZ5U/Se2YJKr7Mq4pJn/2XEHjl3STcSh96GmkHPcBXLES8M29wyyg==", + "deprecated": "Cuid and other k-sortable and non-cryptographic ids (Ulid, ObjectId, KSUID, all UUIDs) are all insecure. Use @paralleldrive/cuid2 instead.", + "license": "MIT" + }, "node_modules/data-uri-to-buffer": { "version": "4.0.1", "resolved": "https://registry.npmmirror.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", @@ -1156,12 +1160,6 @@ "integrity": "sha512-NCe8qxnZFARSHGztGMZOO/PC1qa5MIFB5Hp66WdzbCRAz8U8US3bx1UTgLS49efBQPcUtO9gf5oVEY8o7y/7Kg==", "license": "MIT" }, - "node_modules/fast-text-table": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/fast-text-table/-/fast-text-table-1.0.1.tgz", - "integrity": "sha512-KUwE3MizTzXwhrvTTEpWbug1ngV1zfjwzdxSkeWYGUoVGaaQoid+jxgg4zm4LB+OrtnD+X2xJFq7DCO3pc3fdQ==", - "license": "MIT" - }, "node_modules/fetch-blob": { "version": "3.2.0", "resolved": "https://registry.npmmirror.com/fetch-blob/-/fetch-blob-3.2.0.tgz", @@ -1460,40 +1458,41 @@ } }, "node_modules/hexo": { - "version": "8.0.0", - "resolved": "https://registry.npmmirror.com/hexo/-/hexo-8.0.0.tgz", - "integrity": "sha512-GFNUICrDWvrBrhq4Oe2BUKg4UFJpaU0PjoAm5WIwf6O0gV52vPCGkGWQxH6AhOfJ1BEHm3hJALRl7RqOcgQP+A==", + "version": "7.3.0", + "resolved": "https://registry.npmmirror.com/hexo/-/hexo-7.3.0.tgz", + "integrity": "sha512-dOe8mzBKrvjubW5oBmyhcnQDpC+M2xmAMLae5K+o+SkHxyvAhShkS2VQZoTsOLIJKY6xilv7dzCjCvE7ol/NHQ==", "license": "MIT", "dependencies": { - "abbrev": "^3.0.0", + "abbrev": "^2.0.0", "archy": "^1.0.0", "bluebird": "^3.7.2", - "fast-text-table": "^1.0.1", "hexo-cli": "^4.3.2", "hexo-front-matter": "^4.2.1", - "hexo-fs": "^5.0.0", + "hexo-fs": "^4.1.3", "hexo-i18n": "^2.0.0", - "hexo-log": "^4.1.0", + "hexo-log": "^4.0.1", "hexo-util": "^3.3.0", "js-yaml": "^4.1.0", - "js-yaml-js-types": "^1.0.1", - "micromatch": "^4.0.8", + "js-yaml-js-types": "^1.0.0", + "micromatch": "^4.0.4", "moize": "^6.1.6", - "moment": "^2.30.1", - "moment-timezone": "^0.5.46", - "nunjucks": "^3.2.4", - "picocolors": "^1.1.1", + "moment": "^2.29.1", + "moment-timezone": "^0.5.34", + "nunjucks": "^3.2.3", + "picocolors": "^1.0.0", "pretty-hrtime": "^1.0.3", - "strip-ansi": "^7.1.0", + "resolve": "^1.22.0", + "strip-ansi": "^6.0.0", + "text-table": "^0.2.0", "tildify": "^2.0.0", "titlecase": "^1.1.3", - "warehouse": "^6.0.0" + "warehouse": "^5.0.1" }, "bin": { "hexo": "bin/hexo" }, "engines": { - "node": ">=20.19.0" + "node": ">=14" }, "funding": { "type": "opencollective", @@ -1759,30 +1758,6 @@ "node": ">=14" } }, - "node_modules/hexo-cli/node_modules/abbrev": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/abbrev/-/abbrev-2.0.0.tgz", - "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==", - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/hexo-cli/node_modules/hexo-fs": { - "version": "4.1.3", - "resolved": "https://registry.npmmirror.com/hexo-fs/-/hexo-fs-4.1.3.tgz", - "integrity": "sha512-Q92zQ5PlVDouvSWFLXQoFSTLIUIODikUJs2BfAXQglyOEjN1dOQn1Z5Nimk/7GHof17R5h/uObCQLnZAjzI2tg==", - "license": "MIT", - "dependencies": { - "bluebird": "^3.7.2", - "chokidar": "^3.5.3", - "graceful-fs": "^4.2.10", - "hexo-util": "^3.0.1" - }, - "engines": { - "node": ">=14" - } - }, "node_modules/hexo-deployer-git": { "version": "4.0.0", "resolved": "https://registry.npmmirror.com/hexo-deployer-git/-/hexo-deployer-git-4.0.0.tgz", @@ -1864,114 +1839,6 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, - "node_modules/hexo-deployer-git/node_modules/hexo-fs": { - "version": "4.1.3", - "resolved": "https://registry.npmmirror.com/hexo-fs/-/hexo-fs-4.1.3.tgz", - "integrity": "sha512-Q92zQ5PlVDouvSWFLXQoFSTLIUIODikUJs2BfAXQglyOEjN1dOQn1Z5Nimk/7GHof17R5h/uObCQLnZAjzI2tg==", - "license": "MIT", - "dependencies": { - "bluebird": "^3.7.2", - "chokidar": "^3.5.3", - "graceful-fs": "^4.2.10", - "hexo-util": "^3.0.1" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/dom-serializer": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-2.0.0.tgz", - "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", - "license": "MIT", - "dependencies": { - "domelementtype": "^2.3.0", - "domhandler": "^5.0.2", - "entities": "^4.2.0" - }, - "funding": { - "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" - } - }, - "node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/domhandler": { - "version": "5.0.3", - "resolved": "https://registry.npmmirror.com/domhandler/-/domhandler-5.0.3.tgz", - "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", - "license": "BSD-2-Clause", - "dependencies": { - "domelementtype": "^2.3.0" - }, - "engines": { - "node": ">= 4" - }, - "funding": { - "url": "https://github.com/fb55/domhandler?sponsor=1" - } - }, - "node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/domutils": { - "version": "3.2.2", - "resolved": "https://registry.npmmirror.com/domutils/-/domutils-3.2.2.tgz", - "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", - "license": "BSD-2-Clause", - "dependencies": { - "dom-serializer": "^2.0.0", - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3" - }, - "funding": { - "url": "https://github.com/fb55/domutils?sponsor=1" - } - }, - "node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/entities": { - "version": "4.5.0", - "resolved": "https://registry.npmmirror.com/entities/-/entities-4.5.0.tgz", - "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/hexo-util": { - "version": "3.3.0", - "resolved": "https://registry.npmmirror.com/hexo-util/-/hexo-util-3.3.0.tgz", - "integrity": "sha512-YvGngXijE2muEh5L/VI4Fmjqb+/yAkmY+VuyhWVoRwQu1X7bmWodsfYRXX7CUYhi5LqsvH8FAe/yBW1+f6ZX4Q==", - "hasInstallScript": true, - "license": "MIT", - "dependencies": { - "camel-case": "^4.1.2", - "cross-spawn": "^7.0.3", - "deepmerge": "^4.2.2", - "highlight.js": "^11.6.0", - "htmlparser2": "^9.0.0", - "prismjs": "^1.29.0", - "strip-indent": "^3.0.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/htmlparser2": { - "version": "9.1.0", - "resolved": "https://registry.npmmirror.com/htmlparser2/-/htmlparser2-9.1.0.tgz", - "integrity": "sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==", - "funding": [ - "https://github.com/fb55/htmlparser2?sponsor=1", - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "license": "MIT", - "dependencies": { - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3", - "domutils": "^3.1.0", - "entities": "^4.5.0" - } - }, "node_modules/hexo-deployer-git/node_modules/hexo-util": { "version": "2.7.0", "resolved": "https://registry.npmmirror.com/hexo-util/-/hexo-util-2.7.0.tgz", @@ -2175,46 +2042,18 @@ } }, "node_modules/hexo-fs": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/hexo-fs/-/hexo-fs-5.0.0.tgz", - "integrity": "sha512-oBkg1QgXyb4JxipaH+yCV/7E7XOUASTK6x1pocWvLw6U2mB6VfLENgYg61ft9Qn6JCiKSzs7FU4vyTUy6gIPvQ==", + "version": "4.1.3", + "resolved": "https://registry.npmmirror.com/hexo-fs/-/hexo-fs-4.1.3.tgz", + "integrity": "sha512-Q92zQ5PlVDouvSWFLXQoFSTLIUIODikUJs2BfAXQglyOEjN1dOQn1Z5Nimk/7GHof17R5h/uObCQLnZAjzI2tg==", "license": "MIT", "dependencies": { "bluebird": "^3.7.2", - "chokidar": "^4.0.3", + "chokidar": "^3.5.3", "graceful-fs": "^4.2.10", - "hexo-util": "^3.3.0" + "hexo-util": "^3.0.1" }, "engines": { - "node": ">=18" - } - }, - "node_modules/hexo-fs/node_modules/chokidar": { - "version": "4.0.3", - "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-4.0.3.tgz", - "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", - "license": "MIT", - "dependencies": { - "readdirp": "^4.0.1" - }, - "engines": { - "node": ">= 14.16.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/hexo-fs/node_modules/readdirp": { - "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-4.1.2.tgz", - "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", - "license": "MIT", - "engines": { - "node": ">= 14.18.0" - }, - "funding": { - "type": "individual", - "url": "https://paulmillr.com/funding/" + "node": ">=14" } }, "node_modules/hexo-generator-archive": { @@ -3288,24 +3127,6 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "license": "MIT" }, - "node_modules/nanoid": { - "version": "3.3.11", - "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.11.tgz", - "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, "node_modules/negotiator": { "version": "0.6.4", "resolved": "https://registry.npmmirror.com/negotiator/-/negotiator-0.6.4.tgz", @@ -4100,18 +3921,15 @@ } }, "node_modules/strip-ansi": { - "version": "7.1.2", - "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-7.1.2.tgz", - "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "license": "MIT", "dependencies": { - "ansi-regex": "^6.0.1" + "ansi-regex": "^5.0.1" }, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" + "node": ">=8" } }, "node_modules/strip-indent": { @@ -4190,6 +4008,12 @@ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", "license": "MIT" }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "license": "MIT" + }, "node_modules/through2": { "version": "4.0.2", "resolved": "https://registry.npmmirror.com/through2/-/through2-4.0.2.tgz", @@ -4368,22 +4192,22 @@ } }, "node_modules/warehouse": { - "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/warehouse/-/warehouse-6.0.0.tgz", - "integrity": "sha512-eOlhyPp5HC951QVDgAeculpSxvfum4UZAbqXSzocqbdiziTseFJFYxmhsKqrQ3wrwgtzPGgkVN2rPL31YLQ0SA==", + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/warehouse/-/warehouse-5.0.1.tgz", + "integrity": "sha512-5BQEQP56bPY+cqocTho4syazuGgSoyKd0y3PsS2j8tGN10HH+CEfJSIY+KUw9D0k4jaVEFMXLz0KqCiUzTYb8A==", "license": "MIT", "dependencies": { "bluebird": "^3.7.2", + "cuid": "^2.1.8", "graceful-fs": "^4.2.10", "hexo-log": "^4.0.1", "is-plain-object": "^5.0.0", "jsonparse": "^1.3.1", - "nanoid": "^3.3.7", "rfdc": "^1.3.0", "through2": "^4.0.2" }, "engines": { - "node": ">=18" + "node": ">=14" } }, "node_modules/web-streams-polyfill": { diff --git a/package.json b/package.json index de25941..f317e00 100644 --- a/package.json +++ b/package.json @@ -9,13 +9,13 @@ "server": "hexo server" }, "hexo": { - "version": "8.0.0" + "version": "7.3.0" }, "dependencies": { "@sveltia/cms": "^0.109.0", "axios": "^1.12.2", "cheerio": "^1.1.2", - "hexo": "^8.0.0", + "hexo": "^7.3.0", "hexo-abbrlink": "^2.2.1", "hexo-ai-summary-liushen": "^1.3.0", "hexo-deployer-git": "^4.0.0",