diff --git a/package.json b/package.json index 7aa0ca890..5764dbd89 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "version": "6.3.0" }, "dependencies": { - "@docsearch/js": "^3.9.0", + "@docsearch/js": "^4.3.1", "aplayer": "^1.10.1", "crypto": "^1.0.1", "hexo": "^6.3.0", diff --git a/yarn.lock b/yarn.lock index e1ea84a67..05ef00eb1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,149 +2,6 @@ # yarn lockfile v1 -"@algolia/autocomplete-core@1.17.9": - version "1.17.9" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-core/-/autocomplete-core-1.17.9.tgz#83374c47dc72482aa45d6b953e89377047f0dcdc" - integrity sha512-O7BxrpLDPJWWHv/DLA9DRFWs+iY1uOJZkqUwjS5HSZAGcl0hIVCQ97LTLewiZmZ402JYUrun+8NqFP+hCknlbQ== - dependencies: - "@algolia/autocomplete-plugin-algolia-insights" "1.17.9" - "@algolia/autocomplete-shared" "1.17.9" - -"@algolia/autocomplete-plugin-algolia-insights@1.17.9": - version "1.17.9" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-plugin-algolia-insights/-/autocomplete-plugin-algolia-insights-1.17.9.tgz#74c86024d09d09e8bfa3dd90b844b77d9f9947b6" - integrity sha512-u1fEHkCbWF92DBeB/KHeMacsjsoI0wFhjZtlCq2ddZbAehshbZST6Hs0Avkc0s+4UyBGbMDnSuXHLuvRWK5iDQ== - dependencies: - "@algolia/autocomplete-shared" "1.17.9" - -"@algolia/autocomplete-preset-algolia@1.17.9": - version "1.17.9" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.17.9.tgz#911f3250544eb8ea4096fcfb268f156b085321b5" - integrity sha512-Na1OuceSJeg8j7ZWn5ssMu/Ax3amtOwk76u4h5J4eK2Nx2KB5qt0Z4cOapCsxot9VcEN11ADV5aUSlQF4RhGjQ== - dependencies: - "@algolia/autocomplete-shared" "1.17.9" - -"@algolia/autocomplete-shared@1.17.9": - version "1.17.9" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-shared/-/autocomplete-shared-1.17.9.tgz#5f38868f7cb1d54b014b17a10fc4f7e79d427fa8" - integrity sha512-iDf05JDQ7I0b7JEA/9IektxN/80a2MZ1ToohfmNS3rfeuQnIKI3IJlIafD0xu4StbtQTghx9T3Maa97ytkXenQ== - -"@algolia/client-abtesting@5.20.3": - version "5.20.3" - resolved "https://registry.yarnpkg.com/@algolia/client-abtesting/-/client-abtesting-5.20.3.tgz#e4120919292c57270546cdf8f7030ac8f035c9a2" - integrity sha512-wPOzHYSsW+H97JkBLmnlOdJSpbb9mIiuNPycUCV5DgzSkJFaI/OFxXfZXAh1gqxK+hf0miKue1C9bltjWljrNA== - dependencies: - "@algolia/client-common" "5.20.3" - "@algolia/requester-browser-xhr" "5.20.3" - "@algolia/requester-fetch" "5.20.3" - "@algolia/requester-node-http" "5.20.3" - -"@algolia/client-analytics@5.20.3": - version "5.20.3" - resolved "https://registry.yarnpkg.com/@algolia/client-analytics/-/client-analytics-5.20.3.tgz#242d448ee34667a52bf1efe5c39b58546d71201f" - integrity sha512-XE3iduH9lA7iTQacDGofBQyIyIgaX8qbTRRdj1bOCmfzc9b98CoiMwhNwdTifmmMewmN0EhVF3hP8KjKWwX7Yw== - dependencies: - "@algolia/client-common" "5.20.3" - "@algolia/requester-browser-xhr" "5.20.3" - "@algolia/requester-fetch" "5.20.3" - "@algolia/requester-node-http" "5.20.3" - -"@algolia/client-common@5.20.3": - version "5.20.3" - resolved "https://registry.yarnpkg.com/@algolia/client-common/-/client-common-5.20.3.tgz#7eec522ca18ae446b775092d17d47eecf97c6af9" - integrity sha512-IYRd/A/R3BXeaQVT2805lZEdWo54v39Lqa7ABOxIYnUvX2vvOMW1AyzCuT0U7Q+uPdD4UW48zksUKRixShcWxA== - -"@algolia/client-insights@5.20.3": - version "5.20.3" - resolved "https://registry.yarnpkg.com/@algolia/client-insights/-/client-insights-5.20.3.tgz#1bcd9e3090512d3f32e64c2c0b839c7ebfd40574" - integrity sha512-QGc/bmDUBgzB71rDL6kihI2e1Mx6G6PxYO5Ks84iL3tDcIel1aFuxtRF14P8saGgdIe1B6I6QkpkeIddZ6vWQw== - dependencies: - "@algolia/client-common" "5.20.3" - "@algolia/requester-browser-xhr" "5.20.3" - "@algolia/requester-fetch" "5.20.3" - "@algolia/requester-node-http" "5.20.3" - -"@algolia/client-personalization@5.20.3": - version "5.20.3" - resolved "https://registry.yarnpkg.com/@algolia/client-personalization/-/client-personalization-5.20.3.tgz#ca1fe559112bd9aedefa38ca712d69b0bc2bfddf" - integrity sha512-zuM31VNPDJ1LBIwKbYGz/7+CSm+M8EhlljDamTg8AnDilnCpKjBebWZR5Tftv/FdWSro4tnYGOIz1AURQgZ+tQ== - dependencies: - "@algolia/client-common" "5.20.3" - "@algolia/requester-browser-xhr" "5.20.3" - "@algolia/requester-fetch" "5.20.3" - "@algolia/requester-node-http" "5.20.3" - -"@algolia/client-query-suggestions@5.20.3": - version "5.20.3" - resolved "https://registry.yarnpkg.com/@algolia/client-query-suggestions/-/client-query-suggestions-5.20.3.tgz#fed613ab3c7e0be1cb5dcca09fdab65de17e2800" - integrity sha512-Nn872PuOI8qzi1bxMMhJ0t2AzVBqN01jbymBQOkypvZHrrjZPso3iTpuuLLo9gi3yc/08vaaWTAwJfPhxPwJUw== - dependencies: - "@algolia/client-common" "5.20.3" - "@algolia/requester-browser-xhr" "5.20.3" - "@algolia/requester-fetch" "5.20.3" - "@algolia/requester-node-http" "5.20.3" - -"@algolia/client-search@5.20.3": - version "5.20.3" - resolved "https://registry.yarnpkg.com/@algolia/client-search/-/client-search-5.20.3.tgz#d8ce41dea173112d4a971d697f34145a1354befd" - integrity sha512-9+Fm1ahV8/2goSIPIqZnVitV5yHW5E5xTdKy33xnqGd45A9yVv5tTkudWzEXsbfBB47j9Xb3uYPZjAvV5RHbKA== - dependencies: - "@algolia/client-common" "5.20.3" - "@algolia/requester-browser-xhr" "5.20.3" - "@algolia/requester-fetch" "5.20.3" - "@algolia/requester-node-http" "5.20.3" - -"@algolia/ingestion@1.20.3": - version "1.20.3" - resolved "https://registry.yarnpkg.com/@algolia/ingestion/-/ingestion-1.20.3.tgz#32283c2cde45d47b6731bbaaa170703ddf9c3874" - integrity sha512-5GHNTiZ3saLjTNyr6WkP5hzDg2eFFAYWomvPcm9eHWskjzXt8R0IOiW9kkTS6I6hXBwN5H9Zna5mZDSqqJdg+g== - dependencies: - "@algolia/client-common" "5.20.3" - "@algolia/requester-browser-xhr" "5.20.3" - "@algolia/requester-fetch" "5.20.3" - "@algolia/requester-node-http" "5.20.3" - -"@algolia/monitoring@1.20.3": - version "1.20.3" - resolved "https://registry.yarnpkg.com/@algolia/monitoring/-/monitoring-1.20.3.tgz#8165d8fbb89134876e9055f3432a3de72dc150bc" - integrity sha512-KUWQbTPoRjP37ivXSQ1+lWMfaifCCMzTnEcEnXwAmherS5Tp7us6BAqQDMGOD4E7xyaS2I8pto6WlOzxH+CxmA== - dependencies: - "@algolia/client-common" "5.20.3" - "@algolia/requester-browser-xhr" "5.20.3" - "@algolia/requester-fetch" "5.20.3" - "@algolia/requester-node-http" "5.20.3" - -"@algolia/recommend@5.20.3": - version "5.20.3" - resolved "https://registry.yarnpkg.com/@algolia/recommend/-/recommend-5.20.3.tgz#bfe36b49287cdf07ad5369640dd65f4b12117e30" - integrity sha512-oo/gG77xTTTclkrdFem0Kmx5+iSRFiwuRRdxZETDjwzCI7svutdbwBgV/Vy4D4QpYaX4nhY/P43k84uEowCE4Q== - dependencies: - "@algolia/client-common" "5.20.3" - "@algolia/requester-browser-xhr" "5.20.3" - "@algolia/requester-fetch" "5.20.3" - "@algolia/requester-node-http" "5.20.3" - -"@algolia/requester-browser-xhr@5.20.3": - version "5.20.3" - resolved "https://registry.yarnpkg.com/@algolia/requester-browser-xhr/-/requester-browser-xhr-5.20.3.tgz#7bc054eb70669e601e0b1ab034d360eb44c900b6" - integrity sha512-BkkW7otbiI/Er1AiEPZs1h7lxbtSO9p09jFhv3/iT8/0Yz0CY79VJ9iq+Wv1+dq/l0OxnMpBy8mozrieGA3mXQ== - dependencies: - "@algolia/client-common" "5.20.3" - -"@algolia/requester-fetch@5.20.3": - version "5.20.3" - resolved "https://registry.yarnpkg.com/@algolia/requester-fetch/-/requester-fetch-5.20.3.tgz#e280a3bd142984a31b172743119f21a3ccef576b" - integrity sha512-eAVlXz7UNzTsA1EDr+p0nlIH7WFxo7k3NMxYe8p38DH8YVWLgm2MgOVFUMNg9HCi6ZNOi/A2w/id2ZZ4sKgUOw== - dependencies: - "@algolia/client-common" "5.20.3" - -"@algolia/requester-node-http@5.20.3": - version "5.20.3" - resolved "https://registry.yarnpkg.com/@algolia/requester-node-http/-/requester-node-http-5.20.3.tgz#cf06a8568efd7f3ad02414e13f2fa94c15edfc37" - integrity sha512-FqR3pQPfHfQyX1wgcdK6iyqu86yP76MZd4Pzj1y/YLMj9rRmRCY0E0AffKr//nrOFEwv6uY8BQY4fd9/6b0ZCg== - dependencies: - "@algolia/client-common" "5.20.3" - "@babel/helper-string-parser@^7.18.10": version "7.18.10" resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.18.10.tgz" @@ -165,28 +22,12 @@ "@babel/helper-validator-identifier" "^7.18.6" to-fast-properties "^2.0.0" -"@docsearch/css@3.9.0": - version "3.9.0" - resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.9.0.tgz#3bc29c96bf024350d73b0cfb7c2a7b71bf251cd5" - integrity sha512-cQbnVbq0rrBwNAKegIac/t6a8nWoUAn8frnkLFW6YARaRmAQr5/Eoe6Ln2fqkUCZ40KpdrKbpSAmgrkviOxuWA== - -"@docsearch/js@^3.9.0": - version "3.9.0" - resolved "https://registry.yarnpkg.com/@docsearch/js/-/js-3.9.0.tgz#924036ce7717bc64c6a7d1087bf1181301f90ffe" - integrity sha512-4bKHcye6EkLgRE8ze0vcdshmEqxeiJM77M0JXjef7lrYZfSlMunrDOCqyLjiZyo1+c0BhUqA2QpFartIjuHIjw== - dependencies: - "@docsearch/react" "3.9.0" - preact "^10.0.0" - -"@docsearch/react@3.9.0": - version "3.9.0" - resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.9.0.tgz#d0842b700c3ee26696786f3c8ae9f10c1a3f0db3" - integrity sha512-mb5FOZYZIkRQ6s/NWnM98k879vu5pscWqTLubLFBO87igYYT4VzVazh4h5o/zCvTIZgEt3PvsCOMOswOUo9yHQ== +"@docsearch/js@^4.3.1": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@docsearch/js/-/js-4.3.1.tgz#ce1e7f17316b1a1e86844a843f8651778d3f2b41" + integrity sha512-Xi2OztaQqTnNj0HGTcS/RtoXe4ASOgKRuH8hAKKqISqv13oUxpVBIBUHpvPIU4qgmJRZN2gA2gdjdn+VuvrvRQ== dependencies: - "@algolia/autocomplete-core" "1.17.9" - "@algolia/autocomplete-preset-algolia" "1.17.9" - "@docsearch/css" "3.9.0" - algoliasearch "^5.14.2" + htm "3.1.1" "@socket.io/component-emitter@~3.1.0": version "3.1.0" @@ -325,25 +166,6 @@ algoliasearch@^3.35.1: semver "^5.1.0" tunnel-agent "^0.6.0" -algoliasearch@^5.14.2: - version "5.20.3" - resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-5.20.3.tgz#32d79b9ffaf5a085943fab304698f46c5a3faed9" - integrity sha512-iNC6BGvipaalFfDfDnXUje8GUlW5asj0cTMsZJwO/0rhsyLx1L7GZFAY8wW+eQ6AM4Yge2p5GSE5hrBlfSD90Q== - dependencies: - "@algolia/client-abtesting" "5.20.3" - "@algolia/client-analytics" "5.20.3" - "@algolia/client-common" "5.20.3" - "@algolia/client-insights" "5.20.3" - "@algolia/client-personalization" "5.20.3" - "@algolia/client-query-suggestions" "5.20.3" - "@algolia/client-search" "5.20.3" - "@algolia/ingestion" "1.20.3" - "@algolia/monitoring" "1.20.3" - "@algolia/recommend" "5.20.3" - "@algolia/requester-browser-xhr" "5.20.3" - "@algolia/requester-fetch" "5.20.3" - "@algolia/requester-node-http" "5.20.3" - align-text@^0.1.1, align-text@^0.1.3: version "0.1.4" resolved "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz" @@ -2037,6 +1859,11 @@ highlight.js@^8.6.0: version "8.9.1" resolved "https://registry.npmjs.org/highlight.js/-/highlight.js-8.9.1.tgz" +htm@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/htm/-/htm-3.1.1.tgz#49266582be0dc66ed2235d5ea892307cc0c24b78" + integrity sha512-983Vyg8NwUE7JkZ6NmOqpCZ+sh1bKv2iYTlUkzlWmA5JD2acKoxd4KVxbMmxX/85mtfdnDmTFoNKcg5DGAvxNQ== + html-encoding-sniffer@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz#696df529a7cfd82446369dc5193e590a3735b448" @@ -3031,10 +2858,6 @@ posix-character-classes@^0.1.0: version "0.1.1" resolved "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz" -preact@^10.0.0: - version "10.10.0" - resolved "https://registry.npmjs.org/preact/-/preact-10.10.0.tgz" - prelude-ls@~1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz"