From 9cf9fd50d1db99571a4f7ce27435026870bf93be Mon Sep 17 00:00:00 2001 From: SouthFox Date: Thu, 2 Jan 2025 11:31:59 +0800 Subject: [PATCH] [build] update hexo package --- package-lock.json | 212 +++++++++++++++++++++++++++++++++------------- package.json | 6 +- 2 files changed, 154 insertions(+), 64 deletions(-) diff --git a/package-lock.json b/package-lock.json index bdaee46..c886b18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "hexo-site", "version": "0.0.0", "dependencies": { - "hexo": "^6.2.0", + "hexo": "^7.3.0", "hexo-cli": "^4.3.2", "hexo-deployer-git": "^3.0.0", "hexo-generator-archive": "^1.0.0", @@ -47,10 +47,13 @@ "license": "BSD-3-Clause" }, "node_modules/abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "license": "ISC" + "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/acorn": { "version": "8.14.0", @@ -958,24 +961,24 @@ } }, "node_modules/hexo": { - "version": "6.3.0", - "resolved": "https://registry.npmmirror.com/hexo/-/hexo-6.3.0.tgz", - "integrity": "sha512-4Jq+rWd8sYvR1YdIQyndN/9WboQ/Mqm6eax8CjrjO+ePFm2oMVafSOx9WEyJ42wcLOHjfyMfnlQhnUuNmJIpPg==", + "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": "^1.1.1", + "abbrev": "^2.0.0", "archy": "^1.0.0", "bluebird": "^3.7.2", - "hexo-cli": "^4.3.0", - "hexo-front-matter": "^3.0.0", - "hexo-fs": "^3.1.0", - "hexo-i18n": "^1.0.0", - "hexo-log": "^3.2.0", - "hexo-util": "^2.7.0", + "hexo-cli": "^4.3.2", + "hexo-front-matter": "^4.2.1", + "hexo-fs": "^4.1.3", + "hexo-i18n": "^2.0.0", + "hexo-log": "^4.0.1", + "hexo-util": "^3.3.0", "js-yaml": "^4.1.0", "js-yaml-js-types": "^1.0.0", "micromatch": "^4.0.4", - "moize": "^6.1.0", + "moize": "^6.1.6", "moment": "^2.29.1", "moment-timezone": "^0.5.34", "nunjucks": "^3.2.3", @@ -986,13 +989,13 @@ "text-table": "^0.2.0", "tildify": "^2.0.0", "titlecase": "^1.1.3", - "warehouse": "^4.0.2" + "warehouse": "^5.0.1" }, "bin": { "hexo": "bin/hexo" }, "engines": { - "node": ">=12.13.0" + "node": ">=14" }, "funding": { "type": "opencollective", @@ -1023,15 +1026,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/dom-serializer": { "version": "2.0.0", "resolved": "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-2.0.0.tgz", @@ -1102,18 +1096,6 @@ "node": ">=14" } }, - "node_modules/hexo-cli/node_modules/hexo-log": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/hexo-log/-/hexo-log-4.1.0.tgz", - "integrity": "sha512-i2Sgxk8Cgx5viSjq5qW5N/rBFfwoCKQcH8qnnW1fawCapcdEAhIsq+Y3vbrs9bssyDlyU6Vqm4oQmosREaNI7Q==", - "license": "MIT", - "dependencies": { - "picocolors": "^1.0.0" - }, - "engines": { - "node": ">=14" - } - }, "node_modules/hexo-cli/node_modules/hexo-util": { "version": "3.3.0", "resolved": "https://registry.npmmirror.com/hexo-util/-/hexo-util-3.3.0.tgz", @@ -1170,15 +1152,15 @@ } }, "node_modules/hexo-front-matter": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/hexo-front-matter/-/hexo-front-matter-3.0.0.tgz", - "integrity": "sha512-hSQTPUmB/BCe1BFYmXRkPyLk8rqbBqHCQq+rjwwOJuEfOADrFaVK2VPZb90tJzPyXE1xSxpgCxE/AZq0CyTVwg==", + "version": "4.2.1", + "resolved": "https://registry.npmmirror.com/hexo-front-matter/-/hexo-front-matter-4.2.1.tgz", + "integrity": "sha512-sJJI0GNmejYiwBvgnGRKn5V3sbODB4dNPr8jyw2Qp0PRHr4Uuyv8iyxw6WfK3+T7yvzYvJOh+tZ7jnwr2BYARA==", "license": "MIT", "dependencies": { "js-yaml": "^4.1.0" }, "engines": { - "node": ">=12.13.0" + "node": ">=14" } }, "node_modules/hexo-fs": { @@ -1272,27 +1254,27 @@ } }, "node_modules/hexo-i18n": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/hexo-i18n/-/hexo-i18n-1.0.0.tgz", - "integrity": "sha512-yw90JHr7ybUHN/QOkpHmlWJj1luVk5/v8CUU5NRA0n4TFp6av8NT7ujZ10GDawgnQEdMHnN5PUfAbNIVGR6axg==", + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/hexo-i18n/-/hexo-i18n-2.0.0.tgz", + "integrity": "sha512-dkUXecEtChaQMdTHN4WR13c8GwKqjbSOZPJS9qDqV6Ebnb77Wa/nQzWFckhP0dCps3a9lUQBd8hYGOMbOosiQQ==", "license": "MIT", "dependencies": { - "sprintf-js": "^1.0.3" + "sprintf-js": "^1.1.2" }, "engines": { - "node": ">=8.6.0" + "node": ">=14" } }, "node_modules/hexo-log": { - "version": "3.2.0", - "resolved": "https://registry.npmmirror.com/hexo-log/-/hexo-log-3.2.0.tgz", - "integrity": "sha512-fk7jOW3hvKiAv4Q/d8UxaQlARwcv+5KjGcnxexUrqBqyWbMCLmw7jhMHTSRLNNQpaoTlF5ff+kQkPi4yhp9iag==", + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/hexo-log/-/hexo-log-4.1.0.tgz", + "integrity": "sha512-i2Sgxk8Cgx5viSjq5qW5N/rBFfwoCKQcH8qnnW1fawCapcdEAhIsq+Y3vbrs9bssyDlyU6Vqm4oQmosREaNI7Q==", "license": "MIT", "dependencies": { "picocolors": "^1.0.0" }, "engines": { - "node": ">=12.4.0" + "node": ">=14" } }, "node_modules/hexo-pagination": { @@ -1382,6 +1364,114 @@ "node": ">=12.4.0" } }, + "node_modules/hexo/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/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/node_modules/domutils": { + "version": "3.2.1", + "resolved": "https://registry.npmmirror.com/domutils/-/domutils-3.2.1.tgz", + "integrity": "sha512-xWXmuRnN9OMP6ptPd2+H0cCbcYBULa5YDTbMm/2lvkWvNA3O4wcW+GvzooqBuNM8yy6pl3VIAeJTUUWUbfI5Fw==", + "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/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/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/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/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/highlight.js": { "version": "11.11.1", "resolved": "https://registry.npmmirror.com/highlight.js/-/highlight.js-11.11.1.tgz", @@ -2726,22 +2816,22 @@ } }, "node_modules/warehouse": { - "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/warehouse/-/warehouse-4.0.2.tgz", - "integrity": "sha512-GixS7SolBGu81rnxYM6bScxdElLM97Jx/kr0a6B6PGBWFqvHeuWFj7QbgEX1YWZSxiJt/aR6dBVQKC/PvvihdQ==", + "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.2.2", - "cuid": "^2.1.4", - "graceful-fs": "^4.1.3", - "hexo-log": "^3.0.0", + "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", - "rfdc": "^1.1.4", + "rfdc": "^1.3.0", "through2": "^4.0.2" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" } }, "node_modules/webidl-conversions": { diff --git a/package.json b/package.json index fc4b87f..f13ed05 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,10 @@ "new_post": "hexo new post dump" }, "hexo": { - "version": "6.3.0" + "version": "7.3.0" }, "dependencies": { - "hexo": "^6.2.0", + "hexo": "^7.3.0", "hexo-cli": "^4.3.2", "hexo-deployer-git": "^3.0.0", "hexo-generator-archive": "^1.0.0", @@ -28,4 +28,4 @@ "hexo-server": "^3.0.0", "markdown-it": "^13.0.1" } -} +} \ No newline at end of file