diff --git a/package-lock.json b/package-lock.json index 0fa8797..4bcc1b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,9 +8,9 @@ "name": "hexo-site", "version": "0.0.0", "dependencies": { - "axios": "^1.12.2", - "cheerio": "^1.1.2", - "hexo": "^7.3.0", + "axios": "^1.13.4", + "cheerio": "^1.2.0", + "hexo": "^8.1.0", "hexo-abbrlink": "^2.2.1", "hexo-ai-summary-liushen": "^1.3.1", "hexo-deployer-git": "^4.0.0", @@ -407,12 +407,15 @@ } }, "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://mirrors.huaweicloud.com/repository/npm/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "version": "6.2.2", + "resolved": "https://mirrors.huaweicloud.com/repository/npm/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", "license": "MIT", "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, "node_modules/anymatch": { @@ -428,12 +431,6 @@ "node": ">= 8" } }, - "node_modules/archy": { - "version": "1.0.0", - "resolved": "https://mirrors.huaweicloud.com/repository/npm/archy/-/archy-1.0.0.tgz", - "integrity": "sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==", - "license": "MIT" - }, "node_modules/argparse": { "version": "2.0.1", "resolved": "https://mirrors.huaweicloud.com/repository/npm/argparse/-/argparse-2.0.1.tgz", @@ -828,13 +825,6 @@ "integrity": "sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw==", "license": "MIT" }, - "node_modules/cuid": { - "version": "2.1.8", - "resolved": "https://mirrors.huaweicloud.com/repository/npm/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://mirrors.huaweicloud.com/repository/npm/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", @@ -1148,12 +1138,24 @@ "node": ">= 0.6" } }, + "node_modules/fast-archy": { + "version": "1.0.0", + "resolved": "https://mirrors.huaweicloud.com/repository/npm/fast-archy/-/fast-archy-1.0.0.tgz", + "integrity": "sha512-j8CNf0sCX92BogtUZAMPhMj7p3nv7xxeETwfpVWQNQocC5b21FAa6bUzfuhcNoEa4f2RtDe5U3uY0NriH9nA7g==", + "license": "MIT" + }, "node_modules/fast-equals": { "version": "3.0.3", "resolved": "https://mirrors.huaweicloud.com/repository/npm/fast-equals/-/fast-equals-3.0.3.tgz", "integrity": "sha512-NCe8qxnZFARSHGztGMZOO/PC1qa5MIFB5Hp66WdzbCRAz8U8US3bx1UTgLS49efBQPcUtO9gf5oVEY8o7y/7Kg==", "license": "MIT" }, + "node_modules/fast-text-table": { + "version": "1.0.1", + "resolved": "https://mirrors.huaweicloud.com/repository/npm/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://mirrors.huaweicloud.com/repository/npm/fetch-blob/-/fetch-blob-3.2.0.tgz", @@ -1452,41 +1454,40 @@ } }, "node_modules/hexo": { - "version": "7.3.0", - "resolved": "https://mirrors.huaweicloud.com/repository/npm/hexo/-/hexo-7.3.0.tgz", - "integrity": "sha512-dOe8mzBKrvjubW5oBmyhcnQDpC+M2xmAMLae5K+o+SkHxyvAhShkS2VQZoTsOLIJKY6xilv7dzCjCvE7ol/NHQ==", + "version": "8.1.1", + "resolved": "https://mirrors.huaweicloud.com/repository/npm/hexo/-/hexo-8.1.1.tgz", + "integrity": "sha512-UnzT4ImjKzMMuVRsvudxrl7MkdZwKe4S9xJN5pQPK9c+K0G+fLFb9kB6CqZZwj2E5ne+QK0ls4XMKqTUbNR3RQ==", "license": "MIT", "dependencies": { - "abbrev": "^2.0.0", - "archy": "^1.0.0", + "abbrev": "^3.0.0", "bluebird": "^3.7.2", + "fast-archy": "^1.0.0", + "fast-text-table": "^1.0.1", "hexo-cli": "^4.3.2", "hexo-front-matter": "^4.2.1", - "hexo-fs": "^4.1.3", + "hexo-fs": "^5.0.0", "hexo-i18n": "^2.0.0", - "hexo-log": "^4.0.1", - "hexo-util": "^3.3.0", + "hexo-log": "^4.1.0", + "hexo-util": "^4.0.0", "js-yaml": "^4.1.0", - "js-yaml-js-types": "^1.0.0", - "micromatch": "^4.0.4", + "js-yaml-js-types": "^1.0.1", + "micromatch": "^4.0.8", "moize": "^6.1.6", - "moment": "^2.29.1", - "moment-timezone": "^0.5.34", - "nunjucks": "^3.2.3", - "picocolors": "^1.0.0", + "moment": "^2.30.1", + "moment-timezone": "^0.5.46", + "nunjucks": "^3.2.4", + "picocolors": "^1.1.1", "pretty-hrtime": "^1.0.3", - "resolve": "^1.22.0", - "strip-ansi": "^6.0.0", - "text-table": "^0.2.0", + "strip-ansi": "^7.1.0", "tildify": "^2.0.0", "titlecase": "^1.1.3", - "warehouse": "^5.0.1" + "warehouse": "^6.0.0" }, "bin": { "hexo": "bin/hexo" }, "engines": { - "node": ">=14" + "node": ">=20.19.0" }, "funding": { "type": "opencollective", @@ -2421,6 +2422,115 @@ "integrity": "sha512-tbo2P9xRWEKQmRf7+XuPjx9It1MnaE26nA+EEb2DN39gK1x+26W7Nm4Iyp4AugQjBWYYDx7OLn4gp1WFxQpQew==", "license": "MIT" }, + "node_modules/hexo/node_modules/abbrev": { + "version": "3.0.1", + "resolved": "https://mirrors.huaweicloud.com/repository/npm/abbrev/-/abbrev-3.0.1.tgz", + "integrity": "sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==", + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/hexo/node_modules/chokidar": { + "version": "4.0.3", + "resolved": "https://mirrors.huaweicloud.com/repository/npm/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/node_modules/hexo-fs": { + "version": "5.0.1", + "resolved": "https://mirrors.huaweicloud.com/repository/npm/hexo-fs/-/hexo-fs-5.0.1.tgz", + "integrity": "sha512-Zm4m21coQA7TtL9JL0oNZF+ypY/HbqwVdaqGqoKD+GEV7HH2Y1YObNBgl1o/lV1tzStC8f15AoRcHdS2jiWp0w==", + "license": "MIT", + "dependencies": { + "bluebird": "^3.7.2", + "chokidar": "^4.0.3", + "graceful-fs": "^4.2.10", + "hexo-util": "^3.3.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/hexo/node_modules/hexo-fs/node_modules/hexo-util": { + "version": "3.3.0", + "resolved": "https://mirrors.huaweicloud.com/repository/npm/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/node_modules/hexo-fs/node_modules/htmlparser2": { + "version": "9.1.0", + "resolved": "https://mirrors.huaweicloud.com/repository/npm/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/node_modules/hexo-util": { + "version": "4.0.0", + "resolved": "https://mirrors.huaweicloud.com/repository/npm/hexo-util/-/hexo-util-4.0.0.tgz", + "integrity": "sha512-oXKXBs1HZ2Wu/eq0paAVqtCmAEcqJPZ4xxSVRuwAplm1hFU41Ul53WA5bmYMEz9Dp+OJ/SdchjXRmYlbGJdt3w==", + "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": "^10.0.0", + "prismjs": "^1.29.0", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/hexo/node_modules/readdirp": { + "version": "4.1.2", + "resolved": "https://mirrors.huaweicloud.com/repository/npm/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_modules/highlight.js": { "version": "11.11.1", "resolved": "https://mirrors.huaweicloud.com/repository/npm/highlight.js/-/highlight.js-11.11.1.tgz", @@ -3152,6 +3262,24 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "license": "MIT" }, + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://mirrors.huaweicloud.com/repository/npm/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://mirrors.huaweicloud.com/repository/npm/negotiator/-/negotiator-0.6.4.tgz", @@ -3954,15 +4082,18 @@ } }, "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://mirrors.huaweicloud.com/repository/npm/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "version": "7.1.2", + "resolved": "https://mirrors.huaweicloud.com/repository/npm/strip-ansi/-/strip-ansi-7.1.2.tgz", + "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", "license": "MIT", "dependencies": { - "ansi-regex": "^5.0.1" + "ansi-regex": "^6.0.1" }, "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, "node_modules/strip-indent": { @@ -4040,12 +4171,6 @@ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", "license": "MIT" }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://mirrors.huaweicloud.com/repository/npm/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://mirrors.huaweicloud.com/repository/npm/through2/-/through2-4.0.2.tgz", @@ -4241,22 +4366,22 @@ } }, "node_modules/warehouse": { - "version": "5.0.1", - "resolved": "https://mirrors.huaweicloud.com/repository/npm/warehouse/-/warehouse-5.0.1.tgz", - "integrity": "sha512-5BQEQP56bPY+cqocTho4syazuGgSoyKd0y3PsS2j8tGN10HH+CEfJSIY+KUw9D0k4jaVEFMXLz0KqCiUzTYb8A==", + "version": "6.0.0", + "resolved": "https://mirrors.huaweicloud.com/repository/npm/warehouse/-/warehouse-6.0.0.tgz", + "integrity": "sha512-eOlhyPp5HC951QVDgAeculpSxvfum4UZAbqXSzocqbdiziTseFJFYxmhsKqrQ3wrwgtzPGgkVN2rPL31YLQ0SA==", "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": ">=14" + "node": ">=18" } }, "node_modules/web-streams-polyfill": { diff --git a/package.json b/package.json index 3c50a31..15667bb 100644 --- a/package.json +++ b/package.json @@ -9,12 +9,12 @@ "server": "hexo server" }, "hexo": { - "version": "7.3.0" + "version": "8.1.1" }, "dependencies": { - "axios": "^1.12.2", - "cheerio": "^1.1.2", - "hexo": "^7.3.0", + "axios": "^1.13.4", + "cheerio": "^1.2.0", + "hexo": "^8.1.0", "hexo-abbrlink": "^2.2.1", "hexo-ai-summary-liushen": "^1.3.1", "hexo-deployer-git": "^4.0.0", @@ -44,4 +44,4 @@ "vite-plugin-require-transform": "^1.0.21", "xml2js": "^0.6.2" } -} +} \ No newline at end of file