diff --git a/package-lock.json b/package-lock.json index 6afd1a6..9d04f9c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "chai-as-promised": "^7.1.1", "eslint": "^8.5.0", "eslint-config-hexo": "^4.2.0", - "hexo": "^5.4.0", + "hexo": "^6.0.0", "mocha": "^9.1.3", "nyc": "^15.1.0" }, @@ -1837,6 +1837,12 @@ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "dev": true }, + "node_modules/fast-equals": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-2.0.4.tgz", + "integrity": "sha512-caj/ZmjHljPrZtbzJ3kfH5ia/k4mTJe/qSiXAGzxZWRZgsgDV0cvNaQULqUX8t0/JVlzzEdYOwCN5DmzTxoD4w==", + "dev": true + }, "node_modules/fast-glob": { "version": "3.2.7", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", @@ -2217,26 +2223,27 @@ } }, "node_modules/hexo": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/hexo/-/hexo-5.4.0.tgz", - "integrity": "sha512-4vMDle5GjpMeOVrx0NKoTZCqrmpJVg3wNiNNUVjcoFfcpYcMzQUCZHBtQqLl7BzjJ8x2gs002VQ5yv0ZKtj8Jg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/hexo/-/hexo-6.0.0.tgz", + "integrity": "sha512-ffSOhOEwPCJt2Ch4DdCdX39WBv8IX8I8I7md08RMDYc6jqxmE2mpuU8wzFYEJ/FQVjrt/EsQ/qfKAz3zAW/hvw==", "dev": true, "dependencies": { "abbrev": "^1.1.1", "archy": "^1.0.0", "bluebird": "^3.5.2", - "chalk": "^4.0.0", "hexo-cli": "^4.0.0", "hexo-front-matter": "^2.0.0", "hexo-fs": "^3.1.0", "hexo-i18n": "^1.0.0", - "hexo-log": "^2.0.0", + "hexo-log": "^3.0.0", "hexo-util": "^2.4.0", "js-yaml": "^4.0.0", "micromatch": "^4.0.2", + "moize": "^6.1.0", "moment": "^2.22.2", "moment-timezone": "^0.5.21", "nunjucks": "^3.2.1", + "picocolors": "^1.0.0", "pretty-hrtime": "^1.0.3", "resolve": "^1.8.1", "strip-ansi": "^6.0.0", @@ -2249,7 +2256,7 @@ "hexo": "bin/hexo" }, "engines": { - "node": ">=10.13.0" + "node": ">=12.13.0" }, "funding": { "type": "opencollective", @@ -2378,6 +2385,18 @@ "node": ">=12.4.0" } }, + "node_modules/hexo/node_modules/hexo-log": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hexo-log/-/hexo-log-3.0.0.tgz", + "integrity": "sha512-fd87qXYznpNTa8SLov+wjDsrPssk4yKSgdIQg1wJPcuthy8ngvbXYdqaJ4vWMSADZ+D257EmKXTJHJyaxJQhVw==", + "dev": true, + "dependencies": { + "nanocolors": "^0.2.12" + }, + "engines": { + "node": ">=12.4.0" + } + }, "node_modules/highlight.js": { "version": "10.7.3", "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz", @@ -2900,6 +2919,12 @@ "node": ">= 8" } }, + "node_modules/micro-memoize": { + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/micro-memoize/-/micro-memoize-4.0.9.tgz", + "integrity": "sha512-Z2uZi/IUMGQDCXASdujXRqrXXEwSY0XffUrAOllhqzQI3wpUyZbiZTiE2JuYC0HSG2G7DbCS5jZmsEKEGZuemg==", + "dev": true + }, "node_modules/micromatch": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", @@ -3036,6 +3061,16 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/moize": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/moize/-/moize-6.1.0.tgz", + "integrity": "sha512-WrMcM+C2Jy+qyOC/UMhA3BCHGowxV34dhDZnDNfxsREW/8N+33SFjmc23Q61Xv1WUthUA1vYopTitP1sZ5jkeg==", + "dev": true, + "dependencies": { + "fast-equals": "^2.0.1", + "micro-memoize": "^4.0.9" + } + }, "node_modules/moment": { "version": "2.29.1", "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", @@ -3062,6 +3097,12 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, + "node_modules/nanocolors": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/nanocolors/-/nanocolors-0.2.13.tgz", + "integrity": "sha512-0n3mSAQLPpGLV9ORXT5+C/D4mwew7Ebws69Hx4E2sgz2ZA5+32Q80B9tL8PbL7XHnRDiAxH/pnrUJ9a4fkTNTA==", + "dev": true + }, "node_modules/nanoid": { "version": "3.1.25", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.25.tgz", @@ -5742,6 +5783,12 @@ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "dev": true }, + "fast-equals": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-2.0.4.tgz", + "integrity": "sha512-caj/ZmjHljPrZtbzJ3kfH5ia/k4mTJe/qSiXAGzxZWRZgsgDV0cvNaQULqUX8t0/JVlzzEdYOwCN5DmzTxoD4w==", + "dev": true + }, "fast-glob": { "version": "3.2.7", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", @@ -6017,26 +6064,27 @@ "dev": true }, "hexo": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/hexo/-/hexo-5.4.0.tgz", - "integrity": "sha512-4vMDle5GjpMeOVrx0NKoTZCqrmpJVg3wNiNNUVjcoFfcpYcMzQUCZHBtQqLl7BzjJ8x2gs002VQ5yv0ZKtj8Jg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/hexo/-/hexo-6.0.0.tgz", + "integrity": "sha512-ffSOhOEwPCJt2Ch4DdCdX39WBv8IX8I8I7md08RMDYc6jqxmE2mpuU8wzFYEJ/FQVjrt/EsQ/qfKAz3zAW/hvw==", "dev": true, "requires": { "abbrev": "^1.1.1", "archy": "^1.0.0", "bluebird": "^3.5.2", - "chalk": "^4.0.0", "hexo-cli": "^4.0.0", "hexo-front-matter": "^2.0.0", "hexo-fs": "^3.1.0", "hexo-i18n": "^1.0.0", - "hexo-log": "^2.0.0", + "hexo-log": "^3.0.0", "hexo-util": "^2.4.0", "js-yaml": "^4.0.0", "micromatch": "^4.0.2", + "moize": "^6.1.0", "moment": "^2.22.2", "moment-timezone": "^0.5.21", "nunjucks": "^3.2.1", + "picocolors": "^1.0.0", "pretty-hrtime": "^1.0.3", "resolve": "^1.8.1", "strip-ansi": "^6.0.0", @@ -6044,6 +6092,17 @@ "tildify": "^2.0.0", "titlecase": "^1.1.2", "warehouse": "^4.0.0" + }, + "dependencies": { + "hexo-log": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hexo-log/-/hexo-log-3.0.0.tgz", + "integrity": "sha512-fd87qXYznpNTa8SLov+wjDsrPssk4yKSgdIQg1wJPcuthy8ngvbXYdqaJ4vWMSADZ+D257EmKXTJHJyaxJQhVw==", + "dev": true, + "requires": { + "nanocolors": "^0.2.12" + } + } } }, "hexo-cli": { @@ -6529,6 +6588,12 @@ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", "dev": true }, + "micro-memoize": { + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/micro-memoize/-/micro-memoize-4.0.9.tgz", + "integrity": "sha512-Z2uZi/IUMGQDCXASdujXRqrXXEwSY0XffUrAOllhqzQI3wpUyZbiZTiE2JuYC0HSG2G7DbCS5jZmsEKEGZuemg==", + "dev": true + }, "micromatch": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", @@ -6632,6 +6697,16 @@ } } }, + "moize": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/moize/-/moize-6.1.0.tgz", + "integrity": "sha512-WrMcM+C2Jy+qyOC/UMhA3BCHGowxV34dhDZnDNfxsREW/8N+33SFjmc23Q61Xv1WUthUA1vYopTitP1sZ5jkeg==", + "dev": true, + "requires": { + "fast-equals": "^2.0.1", + "micro-memoize": "^4.0.9" + } + }, "moment": { "version": "2.29.1", "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", @@ -6652,6 +6727,12 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, + "nanocolors": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/nanocolors/-/nanocolors-0.2.13.tgz", + "integrity": "sha512-0n3mSAQLPpGLV9ORXT5+C/D4mwew7Ebws69Hx4E2sgz2ZA5+32Q80B9tL8PbL7XHnRDiAxH/pnrUJ9a4fkTNTA==", + "dev": true + }, "nanoid": { "version": "3.1.25", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.25.tgz", diff --git a/package.json b/package.json index eb69a2a..f19cdee 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "chai-as-promised": "^7.1.1", "eslint": "^8.5.0", "eslint-config-hexo": "^4.2.0", - "hexo": "^5.4.0", + "hexo": "^6.0.0", "mocha": "^9.1.3", "nyc": "^15.1.0" },