diff --git a/package.json b/package.json index 0381e34..bb11eda 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "version": "7.3.0" }, "dependencies": { - "hexo": "^7.3.0", + "hexo": "^8.1.1", "hexo-deployer-git": "^4.0.0", "hexo-filter-github-issue-link": "^0.2.0", "hexo-filter-mermaid-diagrams": "^1.0.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c63fcbd..413a88e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: hexo: - specifier: ^7.3.0 - version: 7.3.0(chokidar@3.6.0) + specifier: ^8.1.1 + version: 8.1.1(chokidar@3.6.0) hexo-deployer-git: specifier: ^4.0.0 version: 4.0.0(chokidar@3.6.0) @@ -40,7 +40,7 @@ importers: version: 1.0.2 hexo-insert-toc: specifier: ^1.1.2 - version: 1.1.2(hexo-util@3.3.0) + version: 1.1.2(hexo-util@4.0.0) hexo-renderer-ejs: specifier: ^2.0.0 version: 2.0.0 @@ -183,6 +183,10 @@ packages: resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + abbrev@3.0.1: + resolution: {integrity: sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==} + engines: {node: ^18.17.0 || >=20.5.0} + acorn@7.4.1: resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==} engines: {node: '>=0.4.0'} @@ -192,9 +196,9 @@ packages: resolution: {integrity: sha512-ewaIr5y+9CUTGFwZfpECUbFlGcC0GCw1oqR9RI6h1gQCd9Aj2GxSckCnPsVJnmfMZbwFYE+leZGASgkWl06Jow==} engines: {node: '>=0.10.0'} - ansi-regex@5.0.1: - resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} - engines: {node: '>=8'} + ansi-regex@6.2.2: + resolution: {integrity: sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==} + engines: {node: '>=12'} ansi-styles@4.3.0: resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} @@ -208,9 +212,6 @@ packages: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} - archy@1.0.0: - resolution: {integrity: sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==} - argparse@1.0.10: resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} @@ -342,10 +343,6 @@ packages: resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} engines: {node: '>= 8'} - cuid@2.1.8: - resolution: {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. - debug@2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} peerDependencies: @@ -452,6 +449,10 @@ packages: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} + entities@6.0.1: + resolution: {integrity: sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==} + engines: {node: '>=0.12'} + es-define-property@1.0.1: resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} engines: {node: '>= 0.4'} @@ -484,9 +485,15 @@ packages: resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==} engines: {node: '>=0.10.0'} + fast-archy@1.0.0: + resolution: {integrity: sha512-j8CNf0sCX92BogtUZAMPhMj7p3nv7xxeETwfpVWQNQocC5b21FAa6bUzfuhcNoEa4f2RtDe5U3uY0NriH9nA7g==} + fast-equals@3.0.3: resolution: {integrity: sha512-NCe8qxnZFARSHGztGMZOO/PC1qa5MIFB5Hp66WdzbCRAz8U8US3bx1UTgLS49efBQPcUtO9gf5oVEY8o7y/7Kg==} + fast-text-table@1.0.1: + resolution: {integrity: sha512-KUwE3MizTzXwhrvTTEpWbug1ngV1zfjwzdxSkeWYGUoVGaaQoid+jxgg4zm4LB+OrtnD+X2xJFq7DCO3pc3fdQ==} + filelist@1.0.4: resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==} @@ -592,6 +599,10 @@ packages: resolution: {integrity: sha512-Q92zQ5PlVDouvSWFLXQoFSTLIUIODikUJs2BfAXQglyOEjN1dOQn1Z5Nimk/7GHof17R5h/uObCQLnZAjzI2tg==} engines: {node: '>=14'} + hexo-fs@5.0.1: + resolution: {integrity: sha512-Zm4m21coQA7TtL9JL0oNZF+ypY/HbqwVdaqGqoKD+GEV7HH2Y1YObNBgl1o/lV1tzStC8f15AoRcHdS2jiWp0w==} + engines: {node: '>=18'} + hexo-generator-archive@2.0.0: resolution: {integrity: sha512-KikJk7dGFbtNHOgqtLFGf5T/S8n1paGp+Gy0KfVDz+HKYhGbXOouyiZkmc3O9KrYt6ja14rmkMhq7KKGtvfehw==} engines: {node: '>=14'} @@ -666,18 +677,25 @@ packages: resolution: {integrity: sha512-YvGngXijE2muEh5L/VI4Fmjqb+/yAkmY+VuyhWVoRwQu1X7bmWodsfYRXX7CUYhi5LqsvH8FAe/yBW1+f6ZX4Q==} engines: {node: '>=14'} + hexo-util@4.0.0: + resolution: {integrity: sha512-oXKXBs1HZ2Wu/eq0paAVqtCmAEcqJPZ4xxSVRuwAplm1hFU41Ul53WA5bmYMEz9Dp+OJ/SdchjXRmYlbGJdt3w==} + engines: {node: '>=18'} + hexo-wordcount@6.0.1: resolution: {integrity: sha512-tbo2P9xRWEKQmRf7+XuPjx9It1MnaE26nA+EEb2DN39gK1x+26W7Nm4Iyp4AugQjBWYYDx7OLn4gp1WFxQpQew==} - hexo@7.3.0: - resolution: {integrity: sha512-dOe8mzBKrvjubW5oBmyhcnQDpC+M2xmAMLae5K+o+SkHxyvAhShkS2VQZoTsOLIJKY6xilv7dzCjCvE7ol/NHQ==} - engines: {node: '>=14'} + hexo@8.1.1: + resolution: {integrity: sha512-UnzT4ImjKzMMuVRsvudxrl7MkdZwKe4S9xJN5pQPK9c+K0G+fLFb9kB6CqZZwj2E5ne+QK0ls4XMKqTUbNR3RQ==} + engines: {node: '>=20.19.0'} hasBin: true highlight.js@11.11.1: resolution: {integrity: sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==} engines: {node: '>=12.0.0'} + htmlparser2@10.0.0: + resolution: {integrity: sha512-TwAZM+zE5Tq3lrEHvOlvwgj1XLWQCtaaibSN11Q+gGBAS7Y1uZSWwXXRe4iF6OXnaq1riyQAPFOBtYc77Mxq0g==} + htmlparser2@7.2.0: resolution: {integrity: sha512-H7MImA4MS6cw7nbyURtLPO1Tms7C5H602LRETv95z1MxO/7CP7rDVROehUYeYBUYEON94NXXDEPmZuq+hX4sog==} @@ -912,8 +930,8 @@ packages: mdurl@1.0.1: resolution: {integrity: sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==} - micro-memoize@4.1.3: - resolution: {integrity: sha512-DzRMi8smUZXT7rCGikRwldEh6eO6qzKiPPopcr1+2EY3AYKpy5fu159PKWwIS9A6IWnrvPKDMcuFtyrroZa8Bw==} + micro-memoize@4.2.0: + resolution: {integrity: sha512-dRxIsNh0XosO9sd3aASUabKOzG9dloLO41g74XUGThpHBoGm1ttakPT5in14CuW/EDedkniaShFHbymmmKGOQA==} micromatch@4.0.8: resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} @@ -954,8 +972,8 @@ packages: moize@6.1.6: resolution: {integrity: sha512-vSKdIUO61iCmTqhdoIDrqyrtp87nWZUmBPniNjO0fX49wEYmyDO4lvlnFXiGcaH1JLE/s/9HbiK4LSHsbiUY6Q==} - moment-timezone@0.5.47: - resolution: {integrity: sha512-UbNt/JAWS0m/NJOebR0QMRHBk0hu03r5dx9GK8Cs0AS3I81yDcOc9k+DytPItgVvBP7J6Mf6U2n3BPAacAV9oA==} + moment-timezone@0.5.48: + resolution: {integrity: sha512-f22b8LV1gbTO2ms2j2z13MuPogNoh5UzxL3nzNAYKGraILnbGc9NEE6dyiiiLv46DGRb8A4kg8UKWLjPthxBHw==} moment@2.30.1: resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==} @@ -970,6 +988,11 @@ packages: ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + nanoid@3.3.11: + resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + negotiator@0.6.4: resolution: {integrity: sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==} engines: {node: '>= 0.6'} @@ -1140,8 +1163,8 @@ packages: resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} engines: {node: '>=0.10'} - resolve@1.22.10: - resolution: {integrity: sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==} + resolve@1.22.11: + resolution: {integrity: sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ==} engines: {node: '>= 0.4'} hasBin: true @@ -1217,9 +1240,9 @@ packages: string_decoder@1.3.0: resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} - strip-ansi@6.0.1: - resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} - engines: {node: '>=8'} + strip-ansi@7.1.2: + resolution: {integrity: sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==} + engines: {node: '>=12'} strip-color@0.1.0: resolution: {integrity: sha512-p9LsUieSjWNNAxVCXLeilaDlmuUOrDS5/dF9znM1nZc7EGX5+zEFC0bEevsNIaldjlks+2jns5Siz6F9iK6jwA==} @@ -1241,9 +1264,6 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - text-table@0.2.0: - resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - through2@2.0.5: resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} @@ -1307,9 +1327,9 @@ packages: resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==} engines: {node: '>=0.10.0'} - warehouse@5.0.1: - resolution: {integrity: sha512-5BQEQP56bPY+cqocTho4syazuGgSoyKd0y3PsS2j8tGN10HH+CEfJSIY+KUw9D0k4jaVEFMXLz0KqCiUzTYb8A==} - engines: {node: '>=14'} + warehouse@6.0.0: + resolution: {integrity: sha512-eOlhyPp5HC951QVDgAeculpSxvfum4UZAbqXSzocqbdiziTseFJFYxmhsKqrQ3wrwgtzPGgkVN2rPL31YLQ0SA==} + engines: {node: '>=18'} which@2.0.2: resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} @@ -1409,13 +1429,15 @@ snapshots: abbrev@2.0.0: {} + abbrev@3.0.1: {} + acorn@7.4.1: {} ansi-red@0.1.1: dependencies: ansi-wrap: 0.1.0 - ansi-regex@5.0.1: {} + ansi-regex@6.2.2: {} ansi-styles@4.3.0: dependencies: @@ -1428,8 +1450,6 @@ snapshots: normalize-path: 3.0.0 picomatch: 2.3.1 - archy@1.0.0: {} - argparse@1.0.10: dependencies: sprintf-js: 1.0.3 @@ -1580,8 +1600,6 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 - cuid@2.1.8: {} - debug@2.6.9: dependencies: ms: 2.0.0 @@ -1667,6 +1685,8 @@ snapshots: entities@4.5.0: {} + entities@6.0.1: {} + es-define-property@1.0.1: {} es-errors@1.3.0: {} @@ -1689,8 +1709,12 @@ snapshots: dependencies: is-extendable: 0.1.1 + fast-archy@1.0.0: {} + fast-equals@3.0.3: {} + fast-text-table@1.0.1: {} + filelist@1.0.4: dependencies: minimatch: 5.1.6 @@ -1801,7 +1825,7 @@ snapshots: hexo-util: 3.3.0 minimist: 1.2.8 picocolors: 1.1.1 - resolve: 1.22.10 + resolve: 1.22.11 tildify: 2.0.0 hexo-deployer-git@4.0.0(chokidar@3.6.0): @@ -1832,6 +1856,13 @@ snapshots: graceful-fs: 4.2.11 hexo-util: 3.3.0 + hexo-fs@5.0.1: + dependencies: + bluebird: 3.7.2 + chokidar: 4.0.3 + graceful-fs: 4.2.11 + hexo-util: 3.3.0 + hexo-generator-archive@2.0.0: dependencies: hexo-pagination: 3.0.0 @@ -1863,9 +1894,9 @@ snapshots: dependencies: sprintf-js: 1.1.3 - hexo-insert-toc@1.1.2(hexo-util@3.3.0): + hexo-insert-toc@1.1.2(hexo-util@4.0.0): dependencies: - hexo-util: 3.3.0 + hexo-util: 4.0.0 markdown-toc: 1.2.0 hexo-log@4.1.0: @@ -1947,39 +1978,55 @@ snapshots: prismjs: 1.30.0 strip-indent: 3.0.0 + hexo-util@4.0.0: + dependencies: + camel-case: 4.1.2 + cross-spawn: 7.0.6 + deepmerge: 4.3.1 + highlight.js: 11.11.1 + htmlparser2: 10.0.0 + prismjs: 1.30.0 + strip-indent: 3.0.0 + hexo-wordcount@6.0.1: {} - hexo@7.3.0(chokidar@3.6.0): + hexo@8.1.1(chokidar@3.6.0): dependencies: - abbrev: 2.0.0 - archy: 1.0.0 + abbrev: 3.0.1 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.1 hexo-i18n: 2.0.0 hexo-log: 4.1.0 - hexo-util: 3.3.0 + hexo-util: 4.0.0 js-yaml: 4.1.0 js-yaml-js-types: 1.0.1(js-yaml@4.1.0) micromatch: 4.0.8 moize: 6.1.6 moment: 2.30.1 - moment-timezone: 0.5.47 + moment-timezone: 0.5.48 nunjucks: 3.2.4(chokidar@3.6.0) picocolors: 1.1.1 pretty-hrtime: 1.0.3 - resolve: 1.22.10 - strip-ansi: 6.0.1 - text-table: 0.2.0 + strip-ansi: 7.1.2 tildify: 2.0.0 titlecase: 1.1.3 - warehouse: 5.0.1 + warehouse: 6.0.0 transitivePeerDependencies: - chokidar highlight.js@11.11.1: {} + htmlparser2@10.0.0: + dependencies: + domelementtype: 2.3.0 + domhandler: 5.0.3 + domutils: 3.2.2 + entities: 6.0.1 + htmlparser2@7.2.0: dependencies: domelementtype: 2.3.0 @@ -2208,7 +2255,7 @@ snapshots: mdurl@1.0.1: {} - micro-memoize@4.1.3: {} + micro-memoize@4.2.0: {} micromatch@4.0.8: dependencies: @@ -2241,9 +2288,9 @@ snapshots: moize@6.1.6: dependencies: fast-equals: 3.0.3 - micro-memoize: 4.1.3 + micro-memoize: 4.2.0 - moment-timezone@0.5.47: + moment-timezone@0.5.48: dependencies: moment: 2.30.1 @@ -2263,6 +2310,8 @@ snapshots: ms@2.1.3: {} + nanoid@3.3.11: {} + negotiator@0.6.4: {} nib@1.2.0(stylus@0.62.0): @@ -2365,7 +2414,7 @@ snapshots: jstransformer: 1.0.0 pug-error: 2.1.0 pug-walk: 2.0.0 - resolve: 1.22.10 + resolve: 1.22.11 pug-lexer@5.0.1: dependencies: @@ -2448,7 +2497,7 @@ snapshots: repeat-string@1.6.1: {} - resolve@1.22.10: + resolve@1.22.11: dependencies: is-core-module: 2.16.1 path-parse: 1.0.7 @@ -2531,9 +2580,9 @@ snapshots: dependencies: safe-buffer: 5.2.1 - strip-ansi@6.0.1: + strip-ansi@7.1.2: dependencies: - ansi-regex: 5.0.1 + ansi-regex: 6.2.2 strip-color@0.1.0: {} @@ -2557,8 +2606,6 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - text-table@0.2.0: {} - through2@2.0.5: dependencies: readable-stream: 2.3.8 @@ -2604,14 +2651,14 @@ snapshots: void-elements@3.1.0: {} - warehouse@5.0.1: + warehouse@6.0.0: dependencies: bluebird: 3.7.2 - cuid: 2.1.8 graceful-fs: 4.2.11 hexo-log: 4.1.0 is-plain-object: 5.0.0 jsonparse: 1.3.1 + nanoid: 3.3.11 rfdc: 1.4.1 through2: 4.0.2