diff --git a/package-lock.json b/package-lock.json index 2f33c74..b1de877 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "hexo-site", "version": "0.0.0", "dependencies": { - "hexo": "^5.4.0", + "hexo": "^6.0.0", "hexo-abbrlink": "^2.2.1", "hexo-all-minifier": "^0.5.7", "hexo-baidu-url-submit": "^0.0.6", @@ -2241,6 +2241,11 @@ "node": ">=0.10.0" } }, + "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==" + }, "node_modules/fast-glob": { "version": "3.2.7", "resolved": "https://registry.nlark.com/fast-glob/download/fast-glob-3.2.7.tgz", @@ -2757,25 +2762,26 @@ } }, "node_modules/hexo": { - "version": "5.4.0", - "resolved": "https://registry.nlark.com/hexo/download/hexo-5.4.0.tgz", - "integrity": "sha1-d9V/ocKfOrBZZP5OvZxE4j31Gzc=", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/hexo/-/hexo-6.0.0.tgz", + "integrity": "sha512-ffSOhOEwPCJt2Ch4DdCdX39WBv8IX8I8I7md08RMDYc6jqxmE2mpuU8wzFYEJ/FQVjrt/EsQ/qfKAz3zAW/hvw==", "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", @@ -2788,7 +2794,11 @@ "hexo": "bin/hexo" }, "engines": { - "node": ">=10.13.0" + "node": ">=12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/hexo" } }, "node_modules/hexo-abbrlink": { @@ -3830,17 +3840,6 @@ "node": ">=8.6.0" } }, - "node_modules/hexo-log": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/hexo-log/download/hexo-log-2.0.0.tgz", - "integrity": "sha1-HcyOlgApsIshmU/ixWxOPWNG6JM=", - "dependencies": { - "chalk": "^4.0.0" - }, - "engines": { - "node": ">=10.13.0" - } - }, "node_modules/hexo-next-valine": { "version": "2.0.0", "resolved": "git+ssh://git@github.com/next-theme/hexo-next-valine.git#a4a3691cdb505ccfbece2015ab9c877a1f93c2ff", @@ -4021,6 +4020,28 @@ "node": ">=10.13.0" } }, + "node_modules/hexo/node_modules/hexo-cli/node_modules/hexo-log": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hexo-log/-/hexo-log-2.0.0.tgz", + "integrity": "sha512-U7zdDae74pXcyhQEyNmpJdq3UI6zWKxQ7/zLoMr/d3CBRdIfB5yO8DWqKUnewfibYv0gODyTWUIhxQDWuwloow==", + "dependencies": { + "chalk": "^4.0.0" + }, + "engines": { + "node": ">=10.13.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==", + "dependencies": { + "nanocolors": "^0.2.12" + }, + "engines": { + "node": ">=12.4.0" + } + }, "node_modules/highlight.js": { "version": "10.7.3", "resolved": "https://registry.nlark.com/highlight.js/download/highlight.js-10.7.3.tgz", @@ -5204,6 +5225,11 @@ "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==" + }, "node_modules/micromatch": { "version": "4.0.4", "resolved": "https://registry.npm.taobao.org/micromatch/download/micromatch-4.0.4.tgz?cache=0&sync_timestamp=1618054740956&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmicromatch%2Fdownload%2Fmicromatch-4.0.4.tgz", @@ -5331,6 +5357,15 @@ "node": ">=10" } }, + "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==", + "dependencies": { + "fast-equals": "^2.0.1", + "micro-memoize": "^4.0.9" + } + }, "node_modules/moment": { "version": "2.29.1", "resolved": "https://registry.npm.taobao.org/moment/download/moment-2.29.1.tgz?cache=0&sync_timestamp=1601983320283&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmoment%2Fdownload%2Fmoment-2.29.1.tgz", @@ -5447,6 +5482,11 @@ "integrity": "sha1-9TdkAGlRaPTMaUrJOT0MlYXu6hk=", "optional": true }, + "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==" + }, "node_modules/nanomatch": { "version": "1.2.13", "resolved": "https://registry.nlark.com/nanomatch/download/nanomatch-1.2.13.tgz", @@ -6179,6 +6219,11 @@ "resolved": "https://registry.nlark.com/pend/download/pend-1.2.0.tgz", "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + }, "node_modules/picomatch": { "version": "2.3.0", "resolved": "https://registry.nlark.com/picomatch/download/picomatch-2.3.0.tgz?cache=0&sync_timestamp=1621648246651&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpicomatch%2Fdownload%2Fpicomatch-2.3.0.tgz", @@ -9884,6 +9929,11 @@ } } }, + "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==" + }, "fast-glob": { "version": "3.2.7", "resolved": "https://registry.nlark.com/fast-glob/download/fast-glob-3.2.7.tgz", @@ -10282,25 +10332,26 @@ "integrity": "sha1-hK5l+n6vsWX922FWauFLrwVmTw8=" }, "hexo": { - "version": "5.4.0", - "resolved": "https://registry.nlark.com/hexo/download/hexo-5.4.0.tgz", - "integrity": "sha1-d9V/ocKfOrBZZP5OvZxE4j31Gzc=", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/hexo/-/hexo-6.0.0.tgz", + "integrity": "sha512-ffSOhOEwPCJt2Ch4DdCdX39WBv8IX8I8I7md08RMDYc6jqxmE2mpuU8wzFYEJ/FQVjrt/EsQ/qfKAz3zAW/hvw==", "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", @@ -10325,6 +10376,24 @@ "minimist": "^1.2.5", "resolve": "^1.11.0", "tildify": "^2.0.0" + }, + "dependencies": { + "hexo-log": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hexo-log/-/hexo-log-2.0.0.tgz", + "integrity": "sha512-U7zdDae74pXcyhQEyNmpJdq3UI6zWKxQ7/zLoMr/d3CBRdIfB5yO8DWqKUnewfibYv0gODyTWUIhxQDWuwloow==", + "requires": { + "chalk": "^4.0.0" + } + } + } + }, + "hexo-log": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hexo-log/-/hexo-log-3.0.0.tgz", + "integrity": "sha512-fd87qXYznpNTa8SLov+wjDsrPssk4yKSgdIQg1wJPcuthy8ngvbXYdqaJ4vWMSADZ+D257EmKXTJHJyaxJQhVw==", + "requires": { + "nanocolors": "^0.2.12" } } } @@ -11187,16 +11256,9 @@ "sprintf-js": "^1.0.3" } }, - "hexo-log": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/hexo-log/download/hexo-log-2.0.0.tgz", - "integrity": "sha1-HcyOlgApsIshmU/ixWxOPWNG6JM=", - "requires": { - "chalk": "^4.0.0" - } - }, "hexo-next-valine": { "version": "git+ssh://git@github.com/next-theme/hexo-next-valine.git#a4a3691cdb505ccfbece2015ab9c877a1f93c2ff", + "integrity": "sha512-+/JE4K9PDfJyki2Q2BRDsYGXIFQTe11AJbQF6yqgeykOFJbwEC747kNaTEmS13U974wkjX95bcB4TdGD0vwNXw==", "from": "hexo-next-valine@github:next-theme/hexo-next-valine", "requires": { "@next-theme/utils": "^1.1.0" @@ -12239,6 +12301,11 @@ "resolved": "https://registry.npm.taobao.org/merge2/download/merge2-1.4.1.tgz", "integrity": "sha1-Q2iJL4hekHRVpv19xVwMnUBJkK4=" }, + "micro-memoize": { + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/micro-memoize/-/micro-memoize-4.0.9.tgz", + "integrity": "sha512-Z2uZi/IUMGQDCXASdujXRqrXXEwSY0XffUrAOllhqzQI3wpUyZbiZTiE2JuYC0HSG2G7DbCS5jZmsEKEGZuemg==" + }, "micromatch": { "version": "4.0.4", "resolved": "https://registry.npm.taobao.org/micromatch/download/micromatch-4.0.4.tgz?cache=0&sync_timestamp=1618054740956&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmicromatch%2Fdownload%2Fmicromatch-4.0.4.tgz", @@ -12326,6 +12393,15 @@ "resolved": "https://registry.npm.taobao.org/mkdirp/download/mkdirp-1.0.4.tgz", "integrity": "sha1-PrXtYmInVteaXw4qIh3+utdcL34=" }, + "moize": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/moize/-/moize-6.1.0.tgz", + "integrity": "sha512-WrMcM+C2Jy+qyOC/UMhA3BCHGowxV34dhDZnDNfxsREW/8N+33SFjmc23Q61Xv1WUthUA1vYopTitP1sZ5jkeg==", + "requires": { + "fast-equals": "^2.0.1", + "micro-memoize": "^4.0.9" + } + }, "moment": { "version": "2.29.1", "resolved": "https://registry.npm.taobao.org/moment/download/moment-2.29.1.tgz?cache=0&sync_timestamp=1601983320283&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmoment%2Fdownload%2Fmoment-2.29.1.tgz", @@ -12416,6 +12492,11 @@ "integrity": "sha1-9TdkAGlRaPTMaUrJOT0MlYXu6hk=", "optional": true }, + "nanocolors": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/nanocolors/-/nanocolors-0.2.13.tgz", + "integrity": "sha512-0n3mSAQLPpGLV9ORXT5+C/D4mwew7Ebws69Hx4E2sgz2ZA5+32Q80B9tL8PbL7XHnRDiAxH/pnrUJ9a4fkTNTA==" + }, "nanomatch": { "version": "1.2.13", "resolved": "https://registry.nlark.com/nanomatch/download/nanomatch-1.2.13.tgz", @@ -12978,6 +13059,11 @@ "resolved": "https://registry.nlark.com/pend/download/pend-1.2.0.tgz", "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + }, "picomatch": { "version": "2.3.0", "resolved": "https://registry.nlark.com/picomatch/download/picomatch-2.3.0.tgz?cache=0&sync_timestamp=1621648246651&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpicomatch%2Fdownload%2Fpicomatch-2.3.0.tgz", diff --git a/package.json b/package.json index 7bfe298..ab289fa 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "version": "5.4.0" }, "dependencies": { - "hexo": "^5.4.0", + "hexo": "^6.0.0", "hexo-abbrlink": "^2.2.1", "hexo-all-minifier": "^0.5.7", "hexo-baidu-url-submit": "^0.0.6",