diff --git a/package.json b/package.json index eba3f2a..e158bc4 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,6 @@ "hexo-server": "^3.0.0", "hexo-theme-landscape": "^0.0.3", "hexo-theme-next": "^8.13.0", - "yuque-hexo": "^1.9.1" + "yuque-hexo": "^1.9.5" } } diff --git a/yarn.lock b/yarn.lock index a9e2d62..3c1333c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -142,16 +142,14 @@ ajv@^7.0.0, ajv@^7.0.3: require-from-string "^2.0.2" uri-js "^4.2.2" -ali-oss@6.8.0: - version "6.8.0" - resolved "https://registry.npmmirror.com/ali-oss/-/ali-oss-6.8.0.tgz#5bbe906e6762d5e5051c35103fbee10f9d98bcf8" - integrity sha512-EaT1VTWwDDxe1fXZm6P23xsBJNaJ77xERz+lDO9iU+qb0bhn/BhiVtyZueanLrTyjmK0TDgpsjw6ga/P+VILSw== +ali-oss@6.17.0: + version "6.17.0" + resolved "https://registry.npmmirror.com/ali-oss/-/ali-oss-6.17.0.tgz#74c2d0d4697122d31b4dc83533846317344f8224" + integrity sha512-T9ma+G1/gQj0c/tkgSpXh2dqU4CPXHICh7TAdhxYiIPdkx+tX24k721dCMDonyJmiQkkWar1z4t76yrDqv09kA== dependencies: address "^1.0.0" agentkeepalive "^3.4.1" - any-promise "^1.3.0" bowser "^1.6.0" - co-defer "^1.0.0" copy-to "^2.0.1" dateformat "^2.0.0" debug "^2.2.0" @@ -161,11 +159,12 @@ ali-oss@6.8.0: humanize-ms "^1.2.0" is-type-of "^1.0.0" js-base64 "^2.5.2" - jstoxml "^0.2.3" + jstoxml "^2.0.0" merge-descriptors "^1.0.1" - mime "^1.3.4" + mime "^2.4.5" mz-modules "^2.1.0" platform "^1.3.1" + pump "^3.0.0" sdk-base "^2.0.1" stream-http "2.8.2" stream-wormhole "^1.0.4" @@ -281,11 +280,23 @@ aws4@^1.8.0: resolved "https://registry.npmmirror.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== +axios@^0.26.1: + version "0.26.1" + resolved "https://registry.npmmirror.com/axios/-/axios-0.26.1.tgz#1ede41c51fcf51bbbd6fd43669caaa4f0495aaa9" + integrity sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA== + dependencies: + follow-redirects "^1.14.8" + balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== +base-64@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/base-64/-/base-64-1.0.0.tgz#09d0f2084e32a3fd08c2475b973788eee6ae8f4a" + integrity sha512-kwDPIFCGx0NZHog36dj+tHiwP4QMzsZ3AgMViUBKI0+V5n4U0ufTCUMhnQ04diaRI8EX/QcPfql7zlhZ7j4zgg== + basic-auth@~2.0.1: version "2.0.1" resolved "https://registry.npmmirror.com/basic-auth/-/basic-auth-2.0.1.tgz#b998279bf47ce38344b4f3cf916d4679bbf51e3a" @@ -444,6 +455,11 @@ change-case@^3.0.2: upper-case "^1.1.1" upper-case-first "^1.1.0" +charenc@0.0.2: + version "0.0.2" + resolved "https://registry.npmmirror.com/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" + integrity sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA== + chokidar@^3.0.0: version "3.5.3" resolved "https://registry.npmmirror.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" @@ -468,11 +484,6 @@ cliui@^5.0.0: strip-ansi "^5.2.0" wrap-ansi "^5.1.0" -co-defer@^1.0.0: - version "1.0.0" - resolved "https://registry.npmmirror.com/co-defer/-/co-defer-1.0.0.tgz#3e4a787a8eed6b0a21ee287c094f7e8de0d3c818" - integrity sha512-KyLQDNguG+sROhPOVXUpH2b+mBjHAd2SC5LiTWaXMom0aLLPGjtqJhUUTGrU9cZ+P5RWDLLMlNyqxlHKZfyKbg== - co@^4.6.0: version "4.6.0" resolved "https://registry.npmmirror.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" @@ -651,6 +662,11 @@ cross-spawn@^7.0.0: shebang-command "^2.0.0" which "^2.0.1" +crypt@0.0.2: + version "0.0.2" + resolved "https://registry.npmmirror.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" + integrity sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow== + css@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/css/-/css-3.0.0.tgz#4447a4d58fdd03367c516ca9f64ae365cee4aa5d" @@ -1105,6 +1121,11 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" +follow-redirects@^1.14.8: + version "1.15.2" + resolved "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.npmmirror.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" @@ -1511,6 +1532,11 @@ highlight.js@^11.0.1: resolved "https://registry.npmmirror.com/highlight.js/-/highlight.js-11.6.0.tgz#a50e9da05763f1bb0c1322c8f4f755242cff3f5a" integrity sha512-ig1eqDzJaB0pqEvlPVIpSSyMaO92bH1N2rJpLMN/nX396wTpDA4Eq0uK+7I/2XG17pFaaKE0kjV/XPeGt7Evjw== +hmacsha1@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/hmacsha1/-/hmacsha1-1.0.0.tgz#c1b7ae03a4ea116348090af14f8148c12938a917" + integrity sha512-4FP6J0oI8jqb6gLLl9tSwVdosWJ/AKSGJ+HwYf6Ixe4MUcEkst4uWzpVQrNOCin0fzTRQbXV8ePheU8WiiDYBw== + html-encoding-sniffer@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz#2cb1a8cf0db52414776e5b2a7a04d5dd98158de9" @@ -1635,6 +1661,11 @@ is-binary-path@~2.1.0: dependencies: binary-extensions "^2.0.0" +is-buffer@~1.1.6: + version "1.1.6" + resolved "https://registry.npmmirror.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + is-class-hotfix@~0.0.6: version "0.0.6" resolved "https://registry.npmmirror.com/is-class-hotfix/-/is-class-hotfix-0.0.6.tgz#a527d31fb23279281dde5f385c77b5de70a72435" @@ -1701,6 +1732,11 @@ is-potential-custom-element-name@^1.0.1: resolved "https://registry.npmmirror.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== +is-promise@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/is-promise/-/is-promise-4.0.0.tgz#42ff9f84206c1991d26debf520dd5c01042dd2f3" + integrity sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ== + is-type-of@^1.0.0, is-type-of@^1.2.1: version "1.2.1" resolved "https://registry.npmmirror.com/is-type-of/-/is-type-of-1.2.1.tgz#e263ec3857aceb4f28c47130ec78db09a920f8c5" @@ -1871,10 +1907,10 @@ jsprim@^1.2.2: json-schema "0.4.0" verror "1.10.0" -jstoxml@^0.2.3: - version "0.2.4" - resolved "https://registry.npmmirror.com/jstoxml/-/jstoxml-0.2.4.tgz#ff3fb67856883a032953c7ce8ce7486210f48447" - integrity sha512-E9LELsxfa2i2mjd5D2no12sIxohuxrMmbDBcXu2/mstUgAww95aYCN6TJgSKG6b1mSULjyLAcky9ZywoELmYKA== +jstoxml@^2.0.0: + version "2.2.9" + resolved "https://registry.npmmirror.com/jstoxml/-/jstoxml-2.2.9.tgz#2eebd5e55383fe66a375022ca0aa88f77bc4fb84" + integrity sha512-OYWlK0j+roh+eyaMROlNbS5cd5R25Y+IUpdl7cNdB8HNrkgwQzIS7L9MegxOiWNBj9dQhA/yAxiMwCC5mwNoBw== ko-sleep@^1.0.3: version "1.1.4" @@ -1949,6 +1985,15 @@ marked@^4.0.1: resolved "https://registry.npmmirror.com/marked/-/marked-4.1.0.tgz#3fc6e7485f21c1ca5d6ec4a39de820e146954796" integrity sha512-+Z6KDjSPa6/723PQYyc1axYZpYYpDnECDaU6hkaf5gqBieBkMKYReL5hteF2QizhlMbgbo8umXl/clZ67+GlsA== +md5@^2.3.0: + version "2.3.0" + resolved "https://registry.npmmirror.com/md5/-/md5-2.3.0.tgz#c3da9a6aae3a30b46b7b0c349b87b110dc3bda4f" + integrity sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g== + dependencies: + charenc "0.0.2" + crypt "0.0.2" + is-buffer "~1.1.6" + merge-descriptors@^1.0.1: version "1.0.1" resolved "https://registry.npmmirror.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" @@ -1977,19 +2022,19 @@ mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": resolved "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== -mime-types@^2.1.12, mime-types@^2.1.24, mime-types@~2.1.19, mime-types@~2.1.34: +mime-types@^2.1.12, mime-types@^2.1.15, mime-types@^2.1.24, mime-types@~2.1.19, mime-types@~2.1.34: version "2.1.35" resolved "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== dependencies: mime-db "1.52.0" -mime@1.6.0, mime@^1.3.4: +mime@1.6.0: version "1.6.0" resolved "https://registry.npmmirror.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== -mime@2.6.0, mime@^2.4.4, mime@^2.5.2: +mime@2.6.0, mime@^2.4.4, mime@^2.4.5, mime@^2.5.2: version "2.6.0" resolved "https://registry.npmmirror.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367" integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== @@ -3148,6 +3193,19 @@ upper-case@^1.0.3, upper-case@^1.1.0, upper-case@^1.1.1, upper-case@^1.1.3: resolved "https://registry.npmmirror.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598" integrity sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA== +upyun@^3.4.6: + version "3.4.6" + resolved "https://registry.npmmirror.com/upyun/-/upyun-3.4.6.tgz#748aac637814d19faec983d839001a8f1c3277f0" + integrity sha512-ThAI7woGkVE2lsOq8MFYb0Oeg8avOQQbY3XmXmaq1aZVjzcglcMuI/RImBrq+KJw7nX39iNKCJKYs65xiAF53Q== + dependencies: + axios "^0.26.1" + base-64 "^1.0.0" + form-data "^4.0.0" + hmacsha1 "^1.0.0" + is-promise "^4.0.0" + md5 "^2.3.0" + mime-types "^2.1.15" + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" @@ -3415,13 +3473,13 @@ yargs@^13.3.0: y18n "^4.0.0" yargs-parser "^13.1.2" -yuque-hexo@^1.9.1: - version "1.9.1" - resolved "https://registry.npmmirror.com/yuque-hexo/-/yuque-hexo-1.9.1.tgz#46b9ca27aac873825cc02a4302170bd24abbd229" - integrity sha512-DuwlzuH2wLHRaD85JhD5HtfVYIrdP+KJNu5OJf8y3+RLUIxavgUcsCTctiUlStilIhUslC2R/vYxc3gySRQwbA== +yuque-hexo@^1.9.5: + version "1.9.5" + resolved "https://registry.npmmirror.com/yuque-hexo/-/yuque-hexo-1.9.5.tgz#752402c785ac2876c953c5091864b3d649e06960" + integrity sha512-iYN/G1rIjdNffE0831Z+cA3x4AvTquKWa1RdrqV+Dhl6XMhGDDY1MUWd8hVWJ6ObzzS8NdCseWycfTVxRTOYfg== dependencies: "@yuque/sdk" "^1.1.1" - ali-oss "6.8.0" + ali-oss "6.17.0" chalk "^2.4.1" common-bin "^2.7.3" cos-nodejs-sdk-v5 "^2.11.6" @@ -3440,4 +3498,5 @@ yuque-hexo@^1.9.1: rimraf "^2.6.2" superagent "^7.0.2" update-check "^1.5.3" + upyun "^3.4.6" urllib "^2.29.1"