diff --git a/package-lock.json b/package-lock.json index 2f33c74..b60fd78 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.2.0", "hexo-abbrlink": "^2.2.1", "hexo-all-minifier": "^0.5.7", "hexo-baidu-url-submit": "^0.0.6", @@ -1423,8 +1423,8 @@ }, "node_modules/cuid": { "version": "2.1.8", - "resolved": "https://registry.npm.taobao.org/cuid/download/cuid-2.1.8.tgz", - "integrity": "sha1-y7iPlUFx4NV0dgbAE5+2XFEB6sA=" + "resolved": "https://registry.npmjs.org/cuid/-/cuid-2.1.8.tgz", + "integrity": "sha512-xiEMER6E7TlTPnDxrM4eRiC6TRgjNX9xzEZ5U/Se2YJKr7Mq4pJn/2XEHjl3STcSh96GmkHPcBXLES8M29wyyg==" }, "node_modules/currently-unhandled": { "version": "0.4.1", @@ -1733,14 +1733,17 @@ } }, "node_modules/domhandler": { - "version": "4.2.0", - "resolved": "https://registry.npm.taobao.org/domhandler/download/domhandler-4.2.0.tgz?cache=0&sync_timestamp=1618563983578&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdomhandler%2Fdownload%2Fdomhandler-4.2.0.tgz", - "integrity": "sha1-+XaKXwNL5gqJonwuTQ9066DYsFk=", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", + "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", "dependencies": { "domelementtype": "^2.2.0" }, "engines": { "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" } }, "node_modules/dompurify": { @@ -1749,13 +1752,16 @@ "integrity": "sha512-xGWt+NHAQS+4tpgbOAI08yxW0Pr256Gu/FNE2frZVTbgrBUn8M7tz7/ktS/LZ2MHeGqz6topj0/xY+y8R5FBFw==" }, "node_modules/domutils": { - "version": "2.7.0", - "resolved": "https://registry.nlark.com/domutils/download/domutils-2.7.0.tgz?cache=0&sync_timestamp=1622995111565&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fdomutils%2Fdownload%2Fdomutils-2.7.0.tgz", - "integrity": "sha1-jrrwxB66/PVbC3LsMcVjI3EsVEI=", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", + "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", "dependencies": { "dom-serializer": "^1.0.1", "domelementtype": "^2.2.0", "domhandler": "^4.2.0" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" } }, "node_modules/dot-case": { @@ -2241,6 +2247,11 @@ "node": ">=0.10.0" } }, + "node_modules/fast-equals": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-3.0.2.tgz", + "integrity": "sha512-iY0fAmW7fzxHp22VCRLpOgWbsWsF+DJWi1jhc8w+VGlJUiS+KcGZV2A8t+Q9oTQwhG3L1W8Lu/oe3ZyOPdhZjw==" + }, "node_modules/fast-glob": { "version": "3.2.7", "resolved": "https://registry.nlark.com/fast-glob/download/fast-glob-3.2.7.tgz", @@ -2457,8 +2468,8 @@ }, "node_modules/function-bind": { "version": "1.1.1", - "resolved": "https://registry.npm.taobao.org/function-bind/download/function-bind-1.1.1.tgz", - "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=" + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "node_modules/get-proxy": { "version": "2.1.0", @@ -2646,8 +2657,8 @@ }, "node_modules/has": { "version": "1.0.3", - "resolved": "https://registry.npm.taobao.org/has/download/has-1.0.3.tgz", - "integrity": "sha1-ci18v8H2qoJB8W3YFOAR4fQeh5Y=", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "dependencies": { "function-bind": "^1.1.1" }, @@ -2757,38 +2768,44 @@ } }, "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.2.0", + "resolved": "https://registry.npmjs.org/hexo/-/hexo-6.2.0.tgz", + "integrity": "sha512-HOpt3vUOz/T0rWTDb/CtWuBJwYARPwbpvGwsaz0RPu/l5I6AmKE+UA0lJZf14iPS3JIt/HiOcTZ3Qz22A+PE8w==", "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", + "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": "^2.0.0", - "hexo-util": "^2.4.0", - "js-yaml": "^4.0.0", - "micromatch": "^4.0.2", - "moment": "^2.22.2", - "moment-timezone": "^0.5.21", - "nunjucks": "^3.2.1", + "hexo-log": "^3.0.0", + "hexo-util": "^2.6.1", + "js-yaml": "^4.1.0", + "js-yaml-js-types": "^1.0.0", + "micromatch": "^4.0.4", + "moize": "^6.1.0", + "moment": "^2.29.1", + "moment-timezone": "^0.5.34", + "nunjucks": "^3.2.3", + "picocolors": "^1.0.0", "pretty-hrtime": "^1.0.3", - "resolve": "^1.8.1", + "resolve": "^1.22.0", "strip-ansi": "^6.0.0", "text-table": "^0.2.0", "tildify": "^2.0.0", - "titlecase": "^1.1.2", - "warehouse": "^4.0.0" + "titlecase": "^1.1.3", + "warehouse": "^4.0.1" }, "bin": { "hexo": "bin/hexo" }, "engines": { - "node": ">=10.13.0" + "node": ">=12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/hexo" } }, "node_modules/hexo-abbrlink": { @@ -2901,34 +2918,14 @@ } }, "node_modules/hexo-front-matter": { - "version": "2.0.0", - "resolved": "https://registry.nlark.com/hexo-front-matter/download/hexo-front-matter-2.0.0.tgz", - "integrity": "sha1-A/Oanu2xbFRI27O+x9/yxOIkAGw=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hexo-front-matter/-/hexo-front-matter-3.0.0.tgz", + "integrity": "sha512-hSQTPUmB/BCe1BFYmXRkPyLk8rqbBqHCQq+rjwwOJuEfOADrFaVK2VPZb90tJzPyXE1xSxpgCxE/AZq0CyTVwg==", "dependencies": { - "js-yaml": "^3.13.1" + "js-yaml": "^4.1.0" }, "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/hexo-front-matter/node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.nlark.com/argparse/download/argparse-1.0.10.tgz", - "integrity": "sha1-vNZ5HqWuCXJeF+WtmIE0zUCz2RE=", - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/hexo-front-matter/node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npm.taobao.org/js-yaml/download/js-yaml-3.14.1.tgz", - "integrity": "sha1-2ugS/bOCX6MGYJqHFzg8UMNqBTc=", - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "node": ">=12.13.0" } }, "node_modules/hexo-fs": { @@ -3831,14 +3828,14 @@ } }, "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=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hexo-log/-/hexo-log-3.0.0.tgz", + "integrity": "sha512-fd87qXYznpNTa8SLov+wjDsrPssk4yKSgdIQg1wJPcuthy8ngvbXYdqaJ4vWMSADZ+D257EmKXTJHJyaxJQhVw==", "dependencies": { - "chalk": "^4.0.0" + "nanocolors": "^0.2.12" }, "engines": { - "node": ">=10.13.0" + "node": ">=12.4.0" } }, "node_modules/hexo-next-valine": { @@ -3919,16 +3916,16 @@ "integrity": "sha1-h9H01hPam+UkXa0NS4BHnqtw04Y=" }, "node_modules/hexo-util": { - "version": "2.5.0", - "resolved": "https://registry.nlark.com/hexo-util/download/hexo-util-2.5.0.tgz?cache=0&sync_timestamp=1620209575591&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhexo-util%2Fdownload%2Fhexo-util-2.5.0.tgz", - "integrity": "sha1-3lY1NBEWuiVjp4mg6861WodSIa0=", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/hexo-util/-/hexo-util-2.6.1.tgz", + "integrity": "sha512-xj1jUrId2qTe8L/tRizWWRl+j7X1Zzh5rCVtffboOU0p/EfbPomxIxDvntTHT3fcqgvLHsncqJF9V5j7+buOqA==", "dependencies": { "bluebird": "^3.5.2", "camel-case": "^4.0.0", "cross-spawn": "^7.0.0", "deepmerge": "^4.2.2", - "highlight.js": "^10.7.1", - "htmlparser2": "^6.0.0", + "highlight.js": "^11.0.1", + "htmlparser2": "^7.0.0", "prismjs": "^1.17.1", "strip-indent": "^3.0.0" }, @@ -3936,6 +3933,43 @@ "node": ">=12.4.0" } }, + "node_modules/hexo-util/node_modules/entities": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz", + "integrity": "sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/hexo-util/node_modules/highlight.js": { + "version": "11.5.1", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.5.1.tgz", + "integrity": "sha512-LKzHqnxr4CrD2YsNoIf/o5nJ09j4yi/GcH5BnYz9UnVpZdS4ucMgvP61TDty5xJcFGRjnH4DpujkS9bHT3hq0Q==", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/hexo-util/node_modules/htmlparser2": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-7.2.0.tgz", + "integrity": "sha512-H7MImA4MS6cw7nbyURtLPO1Tms7C5H602LRETv95z1MxO/7CP7rDVROehUYeYBUYEON94NXXDEPmZuq+hX4sog==", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "dependencies": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.2", + "domutils": "^2.8.0", + "entities": "^3.0.1" + } + }, "node_modules/hexo-waline-next": { "version": "2.2.8", "resolved": "https://registry.npmmirror.com/hexo-waline-next/download/hexo-waline-next-2.2.8.tgz", @@ -4021,6 +4055,17 @@ "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/highlight.js": { "version": "10.7.3", "resolved": "https://registry.nlark.com/highlight.js/download/highlight.js-10.7.3.tgz", @@ -4523,11 +4568,14 @@ "integrity": "sha1-76ouqdqg16suoTqXsritUf776L4=" }, "node_modules/is-core-module": { - "version": "2.5.0", - "resolved": "https://registry.nlark.com/is-core-module/download/is-core-module-2.5.0.tgz", - "integrity": "sha1-91SENhfHC/0pt72HMnQAzaXBhJE=", + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", + "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", "dependencies": { "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-data-descriptor": { @@ -4673,9 +4721,9 @@ } }, "node_modules/is-plain-object": { - "version": "3.0.1", - "resolved": "https://registry.npm.taobao.org/is-plain-object/download/is-plain-object-3.0.1.tgz", - "integrity": "sha1-Zi2S0kwKpDAkB7DUXSHyJRyF+Fs=", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", "engines": { "node": ">=0.10.0" } @@ -4802,6 +4850,14 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/js-yaml-js-types": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/js-yaml-js-types/-/js-yaml-js-types-1.0.0.tgz", + "integrity": "sha512-UNjPwuoaj4mcHkJCJSF6l4MgkzoFjG+JJkBXMYNvjgO3yE9gTeRt+E6PN022vduz/daZZ7HmlEiSEE36NrGE4w==", + "dependencies": { + "esprima": "^4.0.1" + } + }, "node_modules/jsdom": { "version": "16.7.0", "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz", @@ -5204,6 +5260,11 @@ "node": ">= 8" } }, + "node_modules/micro-memoize": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/micro-memoize/-/micro-memoize-4.0.10.tgz", + "integrity": "sha512-rk0OlvEQkShjbr2EvGn1+GdCsgLDgABQyM9ZV6VoHNU7hiNM+eSOkjGWhiNabU/XWiEalWbjNQrNO+zcqd+pEA==" + }, "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 +5392,15 @@ "node": ">=10" } }, + "node_modules/moize": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/moize/-/moize-6.1.1.tgz", + "integrity": "sha512-6bryLehIBVByDdAkXhoaPP1fknkoq1hNPmVCDYIb/w5zwfidT02zLSto1uGbmnv1GKu02ysgAEaJ5Ic7QQaGQA==", + "dependencies": { + "fast-equals": "^3.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", @@ -5340,9 +5410,9 @@ } }, "node_modules/moment-timezone": { - "version": "0.5.33", - "resolved": "https://registry.npm.taobao.org/moment-timezone/download/moment-timezone-0.5.33.tgz?cache=0&sync_timestamp=1612595182581&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmoment-timezone%2Fdownload%2Fmoment-timezone-0.5.33.tgz", - "integrity": "sha1-slL9a7V/NBybWaWrYajlGnO70iw=", + "version": "0.5.34", + "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.34.tgz", + "integrity": "sha512-3zAEHh2hKUs3EXLESx/wsgw6IQdusOT8Bxm3D9UrHPQR7zlMmzwybC8zHEM1tQ4LJwP7fcxrWr8tuBg05fFCbg==", "dependencies": { "moment": ">= 2.9.0" }, @@ -5447,6 +5517,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 +6254,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", @@ -6581,12 +6661,19 @@ } }, "node_modules/resolve": { - "version": "1.20.0", - "resolved": "https://registry.npm.taobao.org/resolve/download/resolve-1.20.0.tgz?cache=0&sync_timestamp=1613054822645&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fresolve%2Fdownload%2Fresolve-1.20.0.tgz", - "integrity": "sha1-YpoBP7P3B1XW8LeTXMHCxTeLGXU=", + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", + "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", "dependencies": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" + "is-core-module": "^2.8.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/resolve-url": { @@ -6622,8 +6709,8 @@ }, "node_modules/rfdc": { "version": "1.3.0", - "resolved": "https://registry.nlark.com/rfdc/download/rfdc-1.3.0.tgz", - "integrity": "sha1-0LfEQasnINBdxM8m4ByJYx2doIs=" + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz", + "integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==" }, "node_modules/right-align": { "version": "0.1.3", @@ -7344,6 +7431,17 @@ "node": ">=8" } }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/svgo": { "version": "2.3.1", "resolved": "https://registry.nlark.com/svgo/download/svgo-2.3.1.tgz", @@ -7954,14 +8052,15 @@ } }, "node_modules/warehouse": { - "version": "4.0.0", - "resolved": "https://registry.nlark.com/warehouse/download/warehouse-4.0.0.tgz", - "integrity": "sha1-RYMrxD4f0yO9nTyGsnYUMLoNHns=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/warehouse/-/warehouse-4.0.1.tgz", + "integrity": "sha512-rFJYdHlk2C+pKAoV4Nlptb+b7nmBN5QOg8VkQVNMbK7jf/lDctaUF9nNehZqVoarDWS74nMpTWVDhWecWwoqQw==", "dependencies": { "bluebird": "^3.2.2", "cuid": "^2.1.4", "graceful-fs": "^4.1.3", - "is-plain-object": "^3.0.0", + "hexo-log": "^3.0.0", + "is-plain-object": "^5.0.0", "JSONStream": "^1.0.7", "rfdc": "^1.1.4" }, @@ -9248,8 +9347,8 @@ }, "cuid": { "version": "2.1.8", - "resolved": "https://registry.npm.taobao.org/cuid/download/cuid-2.1.8.tgz", - "integrity": "sha1-y7iPlUFx4NV0dgbAE5+2XFEB6sA=" + "resolved": "https://registry.npmjs.org/cuid/-/cuid-2.1.8.tgz", + "integrity": "sha512-xiEMER6E7TlTPnDxrM4eRiC6TRgjNX9xzEZ5U/Se2YJKr7Mq4pJn/2XEHjl3STcSh96GmkHPcBXLES8M29wyyg==" }, "currently-unhandled": { "version": "0.4.1", @@ -9494,9 +9593,9 @@ } }, "domhandler": { - "version": "4.2.0", - "resolved": "https://registry.npm.taobao.org/domhandler/download/domhandler-4.2.0.tgz?cache=0&sync_timestamp=1618563983578&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdomhandler%2Fdownload%2Fdomhandler-4.2.0.tgz", - "integrity": "sha1-+XaKXwNL5gqJonwuTQ9066DYsFk=", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", + "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", "requires": { "domelementtype": "^2.2.0" } @@ -9507,9 +9606,9 @@ "integrity": "sha512-xGWt+NHAQS+4tpgbOAI08yxW0Pr256Gu/FNE2frZVTbgrBUn8M7tz7/ktS/LZ2MHeGqz6topj0/xY+y8R5FBFw==" }, "domutils": { - "version": "2.7.0", - "resolved": "https://registry.nlark.com/domutils/download/domutils-2.7.0.tgz?cache=0&sync_timestamp=1622995111565&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fdomutils%2Fdownload%2Fdomutils-2.7.0.tgz", - "integrity": "sha1-jrrwxB66/PVbC3LsMcVjI3EsVEI=", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", + "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", "requires": { "dom-serializer": "^1.0.1", "domelementtype": "^2.2.0", @@ -9884,6 +9983,11 @@ } } }, + "fast-equals": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-3.0.2.tgz", + "integrity": "sha512-iY0fAmW7fzxHp22VCRLpOgWbsWsF+DJWi1jhc8w+VGlJUiS+KcGZV2A8t+Q9oTQwhG3L1W8Lu/oe3ZyOPdhZjw==" + }, "fast-glob": { "version": "3.2.7", "resolved": "https://registry.nlark.com/fast-glob/download/fast-glob-3.2.7.tgz", @@ -10051,8 +10155,8 @@ }, "function-bind": { "version": "1.1.1", - "resolved": "https://registry.npm.taobao.org/function-bind/download/function-bind-1.1.1.tgz", - "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=" + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "get-proxy": { "version": "2.1.0", @@ -10198,8 +10302,8 @@ }, "has": { "version": "1.0.3", - "resolved": "https://registry.npm.taobao.org/has/download/has-1.0.3.tgz", - "integrity": "sha1-ci18v8H2qoJB8W3YFOAR4fQeh5Y=", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "requires": { "function-bind": "^1.1.1" } @@ -10282,32 +10386,34 @@ "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.2.0", + "resolved": "https://registry.npmjs.org/hexo/-/hexo-6.2.0.tgz", + "integrity": "sha512-HOpt3vUOz/T0rWTDb/CtWuBJwYARPwbpvGwsaz0RPu/l5I6AmKE+UA0lJZf14iPS3JIt/HiOcTZ3Qz22A+PE8w==", "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", + "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": "^2.0.0", - "hexo-util": "^2.4.0", - "js-yaml": "^4.0.0", - "micromatch": "^4.0.2", - "moment": "^2.22.2", - "moment-timezone": "^0.5.21", - "nunjucks": "^3.2.1", + "hexo-log": "^3.0.0", + "hexo-util": "^2.6.1", + "js-yaml": "^4.1.0", + "js-yaml-js-types": "^1.0.0", + "micromatch": "^4.0.4", + "moize": "^6.1.0", + "moment": "^2.29.1", + "moment-timezone": "^0.5.34", + "nunjucks": "^3.2.3", + "picocolors": "^1.0.0", "pretty-hrtime": "^1.0.3", - "resolve": "^1.8.1", + "resolve": "^1.22.0", "strip-ansi": "^6.0.0", "text-table": "^0.2.0", "tildify": "^2.0.0", - "titlecase": "^1.1.2", - "warehouse": "^4.0.0" + "titlecase": "^1.1.3", + "warehouse": "^4.0.1" }, "dependencies": { "hexo-cli": { @@ -10325,6 +10431,16 @@ "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" + } + } } } } @@ -10422,30 +10538,11 @@ } }, "hexo-front-matter": { - "version": "2.0.0", - "resolved": "https://registry.nlark.com/hexo-front-matter/download/hexo-front-matter-2.0.0.tgz", - "integrity": "sha1-A/Oanu2xbFRI27O+x9/yxOIkAGw=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hexo-front-matter/-/hexo-front-matter-3.0.0.tgz", + "integrity": "sha512-hSQTPUmB/BCe1BFYmXRkPyLk8rqbBqHCQq+rjwwOJuEfOADrFaVK2VPZb90tJzPyXE1xSxpgCxE/AZq0CyTVwg==", "requires": { - "js-yaml": "^3.13.1" - }, - "dependencies": { - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.nlark.com/argparse/download/argparse-1.0.10.tgz", - "integrity": "sha1-vNZ5HqWuCXJeF+WtmIE0zUCz2RE=", - "requires": { - "sprintf-js": "~1.0.2" - } - }, - "js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npm.taobao.org/js-yaml/download/js-yaml-3.14.1.tgz", - "integrity": "sha1-2ugS/bOCX6MGYJqHFzg8UMNqBTc=", - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - } + "js-yaml": "^4.1.0" } }, "hexo-fs": { @@ -11188,15 +11285,16 @@ } }, "hexo-log": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/hexo-log/download/hexo-log-2.0.0.tgz", - "integrity": "sha1-HcyOlgApsIshmU/ixWxOPWNG6JM=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hexo-log/-/hexo-log-3.0.0.tgz", + "integrity": "sha512-fd87qXYznpNTa8SLov+wjDsrPssk4yKSgdIQg1wJPcuthy8ngvbXYdqaJ4vWMSADZ+D257EmKXTJHJyaxJQhVw==", "requires": { - "chalk": "^4.0.0" + "nanocolors": "^0.2.12" } }, "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" @@ -11256,18 +11354,41 @@ "integrity": "sha1-h9H01hPam+UkXa0NS4BHnqtw04Y=" }, "hexo-util": { - "version": "2.5.0", - "resolved": "https://registry.nlark.com/hexo-util/download/hexo-util-2.5.0.tgz?cache=0&sync_timestamp=1620209575591&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhexo-util%2Fdownload%2Fhexo-util-2.5.0.tgz", - "integrity": "sha1-3lY1NBEWuiVjp4mg6861WodSIa0=", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/hexo-util/-/hexo-util-2.6.1.tgz", + "integrity": "sha512-xj1jUrId2qTe8L/tRizWWRl+j7X1Zzh5rCVtffboOU0p/EfbPomxIxDvntTHT3fcqgvLHsncqJF9V5j7+buOqA==", "requires": { "bluebird": "^3.5.2", "camel-case": "^4.0.0", "cross-spawn": "^7.0.0", "deepmerge": "^4.2.2", - "highlight.js": "^10.7.1", - "htmlparser2": "^6.0.0", + "highlight.js": "^11.0.1", + "htmlparser2": "^7.0.0", "prismjs": "^1.17.1", "strip-indent": "^3.0.0" + }, + "dependencies": { + "entities": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz", + "integrity": "sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==" + }, + "highlight.js": { + "version": "11.5.1", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.5.1.tgz", + "integrity": "sha512-LKzHqnxr4CrD2YsNoIf/o5nJ09j4yi/GcH5BnYz9UnVpZdS4ucMgvP61TDty5xJcFGRjnH4DpujkS9bHT3hq0Q==" + }, + "htmlparser2": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-7.2.0.tgz", + "integrity": "sha512-H7MImA4MS6cw7nbyURtLPO1Tms7C5H602LRETv95z1MxO/7CP7rDVROehUYeYBUYEON94NXXDEPmZuq+hX4sog==", + "requires": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.2", + "domutils": "^2.8.0", + "entities": "^3.0.1" + } + } } }, "hexo-waline-next": { @@ -11723,9 +11844,9 @@ "integrity": "sha1-76ouqdqg16suoTqXsritUf776L4=" }, "is-core-module": { - "version": "2.5.0", - "resolved": "https://registry.nlark.com/is-core-module/download/is-core-module-2.5.0.tgz", - "integrity": "sha1-91SENhfHC/0pt72HMnQAzaXBhJE=", + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", + "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", "requires": { "has": "^1.0.3" } @@ -11834,9 +11955,9 @@ "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=" }, "is-plain-object": { - "version": "3.0.1", - "resolved": "https://registry.npm.taobao.org/is-plain-object/download/is-plain-object-3.0.1.tgz", - "integrity": "sha1-Zi2S0kwKpDAkB7DUXSHyJRyF+Fs=" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==" }, "is-png": { "version": "2.0.0", @@ -11926,6 +12047,14 @@ "argparse": "^2.0.1" } }, + "js-yaml-js-types": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/js-yaml-js-types/-/js-yaml-js-types-1.0.0.tgz", + "integrity": "sha512-UNjPwuoaj4mcHkJCJSF6l4MgkzoFjG+JJkBXMYNvjgO3yE9gTeRt+E6PN022vduz/daZZ7HmlEiSEE36NrGE4w==", + "requires": { + "esprima": "^4.0.1" + } + }, "jsdom": { "version": "16.7.0", "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz", @@ -12239,6 +12368,11 @@ "resolved": "https://registry.npm.taobao.org/merge2/download/merge2-1.4.1.tgz", "integrity": "sha1-Q2iJL4hekHRVpv19xVwMnUBJkK4=" }, + "micro-memoize": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/micro-memoize/-/micro-memoize-4.0.10.tgz", + "integrity": "sha512-rk0OlvEQkShjbr2EvGn1+GdCsgLDgABQyM9ZV6VoHNU7hiNM+eSOkjGWhiNabU/XWiEalWbjNQrNO+zcqd+pEA==" + }, "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,15 +12460,24 @@ "resolved": "https://registry.npm.taobao.org/mkdirp/download/mkdirp-1.0.4.tgz", "integrity": "sha1-PrXtYmInVteaXw4qIh3+utdcL34=" }, + "moize": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/moize/-/moize-6.1.1.tgz", + "integrity": "sha512-6bryLehIBVByDdAkXhoaPP1fknkoq1hNPmVCDYIb/w5zwfidT02zLSto1uGbmnv1GKu02ysgAEaJ5Ic7QQaGQA==", + "requires": { + "fast-equals": "^3.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", "integrity": "sha1-sr52n6MZQL6e7qZGnAdeNQBvo9M=" }, "moment-timezone": { - "version": "0.5.33", - "resolved": "https://registry.npm.taobao.org/moment-timezone/download/moment-timezone-0.5.33.tgz?cache=0&sync_timestamp=1612595182581&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmoment-timezone%2Fdownload%2Fmoment-timezone-0.5.33.tgz", - "integrity": "sha1-slL9a7V/NBybWaWrYajlGnO70iw=", + "version": "0.5.34", + "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.34.tgz", + "integrity": "sha512-3zAEHh2hKUs3EXLESx/wsgw6IQdusOT8Bxm3D9UrHPQR7zlMmzwybC8zHEM1tQ4LJwP7fcxrWr8tuBg05fFCbg==", "requires": { "moment": ">= 2.9.0" } @@ -12416,6 +12559,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 +13126,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", @@ -13282,12 +13435,13 @@ "integrity": "sha1-LW2ZbQShWFXZZ0Q2Md1fd4JbAWo=" }, "resolve": { - "version": "1.20.0", - "resolved": "https://registry.npm.taobao.org/resolve/download/resolve-1.20.0.tgz?cache=0&sync_timestamp=1613054822645&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fresolve%2Fdownload%2Fresolve-1.20.0.tgz", - "integrity": "sha1-YpoBP7P3B1XW8LeTXMHCxTeLGXU=", + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", + "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", "requires": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" + "is-core-module": "^2.8.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" } }, "resolve-url": { @@ -13315,8 +13469,8 @@ }, "rfdc": { "version": "1.3.0", - "resolved": "https://registry.nlark.com/rfdc/download/rfdc-1.3.0.tgz", - "integrity": "sha1-0LfEQasnINBdxM8m4ByJYx2doIs=" + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz", + "integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==" }, "right-align": { "version": "0.1.3", @@ -13892,6 +14046,11 @@ "has-flag": "^4.0.0" } }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" + }, "svgo": { "version": "2.3.1", "resolved": "https://registry.nlark.com/svgo/download/svgo-2.3.1.tgz", @@ -14354,14 +14513,15 @@ } }, "warehouse": { - "version": "4.0.0", - "resolved": "https://registry.nlark.com/warehouse/download/warehouse-4.0.0.tgz", - "integrity": "sha1-RYMrxD4f0yO9nTyGsnYUMLoNHns=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/warehouse/-/warehouse-4.0.1.tgz", + "integrity": "sha512-rFJYdHlk2C+pKAoV4Nlptb+b7nmBN5QOg8VkQVNMbK7jf/lDctaUF9nNehZqVoarDWS74nMpTWVDhWecWwoqQw==", "requires": { "bluebird": "^3.2.2", "cuid": "^2.1.4", "graceful-fs": "^4.1.3", - "is-plain-object": "^3.0.0", + "hexo-log": "^3.0.0", + "is-plain-object": "^5.0.0", "JSONStream": "^1.0.7", "rfdc": "^1.1.4" } diff --git a/package.json b/package.json index 7bfe298..da9eca9 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "version": "5.4.0" }, "dependencies": { - "hexo": "^5.4.0", + "hexo": "^6.2.0", "hexo-abbrlink": "^2.2.1", "hexo-all-minifier": "^0.5.7", "hexo-baidu-url-submit": "^0.0.6",