From f6a47846790a91be5cb1af9d4d92dcba124b42b8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 27 Oct 2025 07:45:15 +0000 Subject: [PATCH] fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MINDOCUMENT-13045385 --- package-lock.json | 250 +++++++++++++++++++++++++++++----------------- package.json | 2 +- 2 files changed, 158 insertions(+), 94 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9c50729d5455..7b1175993014 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,7 +1,7 @@ { "name": "docs.github.com", - "requires": true, "lockfileVersion": 1, + "requires": true, "dependencies": { "@actions/core": { "version": "1.2.6", @@ -9,6 +9,121 @@ "integrity": "sha512-ZQYitnqiyBc3D+k7LsgSBmMDVkOVidaagDG7j3fOym77jNunWRuYx7VSHa9GNfFZh+zh61xsCjRj4JxMZlDqTA==", "dev": true }, + "@algolia/cache-browser-local-storage": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.0.0.tgz", + "integrity": "sha512-kHyM/zWd9lJdGpR3lCCWls1gaehWFr3bLGivAYYAMImNGGHJ7moTu8X+4sZWxoSFBhvKMjvPcfrnYQb26hiQpA==", + "requires": { + "@algolia/cache-common": "4.0.0" + } + }, + "@algolia/cache-common": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@algolia/cache-common/-/cache-common-4.0.0.tgz", + "integrity": "sha512-E2oexbhkhp8ehuSTaQfVf9IxemM4JnKVsfBvpkTD7gE2TXzRntAvMUGPA7Pyx+VyvLlRwp10bFhUjPvLcXJEUQ==" + }, + "@algolia/cache-in-memory": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@algolia/cache-in-memory/-/cache-in-memory-4.0.0.tgz", + "integrity": "sha512-NwPDl8Ito34MwB3GA3xovo2WOfwnrtRKs/EExVUw0tExfNx+yxeIp1U2rxXlfPgGH/un39v2mdquu5kbWAxI4A==", + "requires": { + "@algolia/cache-common": "4.0.0" + } + }, + "@algolia/client-account": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@algolia/client-account/-/client-account-4.0.0.tgz", + "integrity": "sha512-HtmEu9wvudXijfEMrQA9CpN/4xGFCoCuM9MdY1nYM+D+6liCbOcLkcZ779jvAyC8OphO08nuJSF1E1IIBswyLA==", + "requires": { + "@algolia/client-common": "4.0.0", + "@algolia/client-search": "4.0.0", + "@algolia/transporter": "4.0.0" + } + }, + "@algolia/client-analytics": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@algolia/client-analytics/-/client-analytics-4.0.0.tgz", + "integrity": "sha512-vFaJXV903VcT5bxRgD0x2V1ytPL+OmhDlIqaOaCMWSxuh8lg3Xz44yrjxYzVYKGcE+5JLS9CBmNa/B/r2oJwZw==", + "requires": { + "@algolia/client-common": "4.0.0", + "@algolia/client-search": "4.0.0", + "@algolia/requester-common": "4.0.0", + "@algolia/transporter": "4.0.0" + } + }, + "@algolia/client-common": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@algolia/client-common/-/client-common-4.0.0.tgz", + "integrity": "sha512-WkKyQI6qikRrykfn1G1qmC7Ug3xCRji1r5LOVcX0Xe8LS9jd0hcIHCC/bLIo/Gmt8CkR6XBT7CamkT8HWgTomQ==", + "requires": { + "@algolia/requester-common": "4.0.0", + "@algolia/transporter": "4.0.0" + } + }, + "@algolia/client-recommendation": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@algolia/client-recommendation/-/client-recommendation-4.0.0.tgz", + "integrity": "sha512-S2NF7zuhstpCHlJJfFJ5+6QMsstXSGPd1cOLwZ9L3I6p1HjSK55/JAVz/RggcY6z878pBLKxDEC1aUKUJ00+IQ==", + "requires": { + "@algolia/client-common": "4.0.0", + "@algolia/requester-common": "4.0.0", + "@algolia/transporter": "4.0.0" + } + }, + "@algolia/client-search": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@algolia/client-search/-/client-search-4.0.0.tgz", + "integrity": "sha512-NbBFM4eteYVASNbOHVqNjuQ0F/otxCwEkvFd5+w1z7+6NtuJV+3B3iKzGmQR2uP4DD6NokyRgX8eoKy1beUq4A==", + "requires": { + "@algolia/client-common": "4.0.0", + "@algolia/requester-common": "4.0.0", + "@algolia/transporter": "4.0.0" + } + }, + "@algolia/logger-common": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@algolia/logger-common/-/logger-common-4.0.0.tgz", + "integrity": "sha512-/SiAOVBtt2a37UTXLx5gKDShsFDJ1wJoD77hVpHZnsOrMrkXC61iCqDMUkyNMvbbg8Zb4feStVyoklTHWlqCHg==" + }, + "@algolia/logger-console": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@algolia/logger-console/-/logger-console-4.0.0.tgz", + "integrity": "sha512-wdBZRKkHQdUlIYhxVhJEMJkFJHLi8bVluy0PcqI+Z6iPsfix2Uq+SdH9QoApEOynkRuhMFeGep6QtS30wrfZ+Q==", + "requires": { + "@algolia/logger-common": "4.0.0" + } + }, + "@algolia/requester-browser-xhr": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.0.0.tgz", + "integrity": "sha512-rC80tnfte9rxjVnA3xSqetE7c5fc4tHG310eCEPatzCtTTs7Q5r33mAWZY8dgX4iZ1+cuUvzwHmUeut32MRBmw==", + "requires": { + "@algolia/requester-common": "4.0.0" + } + }, + "@algolia/requester-common": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@algolia/requester-common/-/requester-common-4.0.0.tgz", + "integrity": "sha512-Jq9uOqKbCEUN7ksN/JkW9CNyPwEut+CZ88GR8AcrTxMBmzy9A2+gT1vTBvRqlMQoaTJkYf6PhByrVQs5ZA37DQ==" + }, + "@algolia/requester-node-http": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@algolia/requester-node-http/-/requester-node-http-4.0.0.tgz", + "integrity": "sha512-jSTaeA0BxF+4OO4hUx8K0OQX7+7/LN9uF+d3utWKDJL4cpfWpB6ImYk3wzGEP92PnmtDxgMqbwi3rXyfVZhAoQ==", + "requires": { + "@algolia/requester-common": "4.0.0" + } + }, + "@algolia/transporter": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@algolia/transporter/-/transporter-4.0.0.tgz", + "integrity": "sha512-b2LnzkbG4l/2OSWoWaG2iq+WqqK63BcwLbYD8dt8XDp9hoeaFTCj95KN5jT4iO7oQ2it+uJ9e3YFjCevvbS/Ww==", + "requires": { + "@algolia/cache-common": "4.0.0", + "@algolia/logger-common": "4.0.0", + "@algolia/requester-common": "4.0.0" + } + }, "@babel/code-frame": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz", @@ -5025,11 +5140,6 @@ "integrity": "sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g==", "dev": true }, - "agentkeepalive": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-2.2.0.tgz", - "integrity": "sha1-xdG9SxKQCPEWPyNvhuX66iAm4u8=" - }, "aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", @@ -5061,32 +5171,24 @@ "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==" }, "algoliasearch": { - "version": "3.35.1", - "resolved": "https://registry.npmjs.org/algoliasearch/-/algoliasearch-3.35.1.tgz", - "integrity": "sha512-K4yKVhaHkXfJ/xcUnil04xiSrB8B8yHZoFEhWNpXg23eiCnqvTZw1tn/SqvdsANlYHLJlKl0qi3I/Q2Sqo7LwQ==", - "requires": { - "agentkeepalive": "^2.2.0", - "debug": "^2.6.9", - "envify": "^4.0.0", - "es6-promise": "^4.1.0", - "events": "^1.1.0", - "foreach": "^2.0.5", - "global": "^4.3.2", - "inherits": "^2.0.1", - "isarray": "^2.0.1", - "load-script": "^1.0.0", - "object-keys": "^1.0.11", - "querystring-es3": "^0.2.1", - "reduce": "^1.0.1", - "semver": "^5.1.0", - "tunnel-agent": "^0.6.0" - }, - "dependencies": { - "isarray": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" - } + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/algoliasearch/-/algoliasearch-4.0.0.tgz", + "integrity": "sha512-n1ZZqkubIktg6OwCU4zaU+QEbZSngFR6d5puXu5aaZ46mjz/Oeg/OZjbHG7e6jX2ZLhHVaJyQ5IAxbCXK3oILg==", + "requires": { + "@algolia/cache-browser-local-storage": "4.0.0", + "@algolia/cache-common": "4.0.0", + "@algolia/cache-in-memory": "4.0.0", + "@algolia/client-account": "4.0.0", + "@algolia/client-analytics": "4.0.0", + "@algolia/client-common": "4.0.0", + "@algolia/client-recommendation": "4.0.0", + "@algolia/client-search": "4.0.0", + "@algolia/logger-common": "4.0.0", + "@algolia/logger-console": "4.0.0", + "@algolia/requester-browser-xhr": "4.0.0", + "@algolia/requester-common": "4.0.0", + "@algolia/requester-node-http": "4.0.0", + "@algolia/transporter": "4.0.0" } }, "algoliasearch-helper": { @@ -5174,6 +5276,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "devOptional": true, "requires": { "micromatch": "^3.1.4", "normalize-path": "^2.1.1" @@ -8311,11 +8414,6 @@ "entities": "^1.1.1" } }, - "dom-walk": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz", - "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg=" - }, "domain-browser": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", @@ -8677,15 +8775,6 @@ "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" }, - "envify": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/envify/-/envify-4.1.0.tgz", - "integrity": "sha512-IKRVVoAYr4pIx4yIWNsz9mOsboxlNXiu7TNBnem/K/uTHdkyzXWDzHCK7UTolqBbgaBz0tQHsD3YNls0uIIjiw==", - "requires": { - "esprima": "^4.0.0", - "through": "~2.3.4" - } - }, "eol": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eol/-/eol-0.2.0.tgz", @@ -8756,7 +8845,8 @@ "es6-promise": { "version": "4.2.8", "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", - "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" + "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", + "dev": true }, "es6-promisify": { "version": "5.0.0", @@ -10709,15 +10799,6 @@ } } }, - "global": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/global/-/global-4.4.0.tgz", - "integrity": "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==", - "requires": { - "min-document": "^2.19.0", - "process": "^0.11.10" - } - }, "global-dirs": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.0.1.tgz", @@ -11288,6 +11369,12 @@ } } }, + "html_codesniffer": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/html_codesniffer/-/html_codesniffer-2.5.1.tgz", + "integrity": "sha512-vcz0yAaX/OaV6sdNHuT9alBOKkSxYb8h5Yq26dUqgi7XmCgGUSa7U9PiY1PBXQFMjKv1wVPs5/QzHlGuxPDUGg==", + "dev": true + }, "html-encoding-sniffer": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", @@ -11318,12 +11405,6 @@ "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-1.0.5.tgz", "integrity": "sha512-uE/TxKuyNIcx44cIWnjr/rfIATDH7ZaOMmstu0CwhFG1Dunhlp4OC6/NMbhiwoq5BpW0ubi303qnEk/PZj614w==" }, - "html_codesniffer": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/html_codesniffer/-/html_codesniffer-2.5.1.tgz", - "integrity": "sha512-vcz0yAaX/OaV6sdNHuT9alBOKkSxYb8h5Yq26dUqgi7XmCgGUSa7U9PiY1PBXQFMjKv1wVPs5/QzHlGuxPDUGg==", - "dev": true - }, "htmlparser2": { "version": "3.10.1", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", @@ -16193,11 +16274,6 @@ } } }, - "load-script": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/load-script/-/load-script-1.0.0.tgz", - "integrity": "sha1-BJGTngvuVkPuSUp+PaPSuscMbKQ=" - }, "loader-runner": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", @@ -16656,14 +16732,6 @@ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==" }, - "min-document": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", - "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", - "requires": { - "dom-walk": "^0.1.0" - } - }, "mini-css-extract-plugin": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-1.6.0.tgz", @@ -17362,6 +17430,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "devOptional": true, "requires": { "remove-trailing-separator": "^1.0.1" } @@ -18945,14 +19014,6 @@ "resolved": "https://registry.npmjs.org/readline-sync/-/readline-sync-1.4.10.tgz", "integrity": "sha512-gNva8/6UAe8QYepIQH/jQ2qn91Qj0B9sYjMBBs3QOB8F2CXcKgLxQaJRP76sWVRQt+QU+8fAkCbCvjjMFu7Ycw==" }, - "reduce": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/reduce/-/reduce-1.0.2.tgz", - "integrity": "sha512-xX7Fxke/oHO5IfZSk77lvPa/7bjMh9BuCk4OOoX5XTXrM7s0Z+MkPfSDfz0q7r91BhhGSs8gii/VEN/7zhCPpQ==", - "requires": { - "object-keys": "^1.1.0" - } - }, "referrer-policy": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/referrer-policy/-/referrer-policy-1.2.0.tgz", @@ -19167,7 +19228,8 @@ "remove-trailing-separator": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", - "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=" + "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", + "devOptional": true }, "repeat-element": { "version": "1.1.2", @@ -20543,6 +20605,14 @@ "resolved": "https://registry.npmjs.org/strftime/-/strftime-0.10.0.tgz", "integrity": "sha1-s/D6QZKVICpaKJ9ta+n0kJphcZM=" }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "~5.1.0" + } + }, "string-length": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.1.tgz", @@ -20732,14 +20802,6 @@ } } }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - }, "stringify-entities": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-2.0.0.tgz", @@ -21152,7 +21214,8 @@ "through": { "version": "2.3.8", "resolved": "http://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true }, "through2": { "version": "2.0.3", @@ -21504,6 +21567,7 @@ "version": "0.6.0", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, "requires": { "safe-buffer": "^5.0.1" } diff --git a/package.json b/package.json index 318f8eeca11f..15b04da49eca 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@octokit/rest": "^16.38.1", "@primer/css": "^15.2.0", "@primer/octicons": "^11.3.0", - "algoliasearch": "^3.35.1", + "algoliasearch": "^4.0.0", "babel-loader": "^8.2.2", "browser-date-formatter": "^3.0.3", "change-case": "^3.1.0",