Skip to content

Commit b507e0f

Browse files
committed
fix(security): pin wait-on to ^7.0.0 for Node 18 compatibility
wait-on 9.x requires Node >=20, but the docs CI (test-website.yml) runs on Node 18, causing 'incompatible module' on yarn install. Narrowing the resolution from >=7.0.0 to ^7.0.0 keeps the axios 1.x compatibility (wait-on 7.x was the first to drop the internal axios/lib/adapters/http import) while staying within the engines range of the CI's Node version.
1 parent 857c013 commit b507e0f

2 files changed

Lines changed: 33 additions & 72 deletions

File tree

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"http-proxy-middleware": "^2.0.8",
5151
"elliptic": "^6.6.1",
5252
"axios": ">=1.0.0",
53-
"wait-on": ">=7.0.0",
53+
"wait-on": "^7.0.0",
5454
"@babel/plugin-transform-modules-systemjs": ">=7.29.4"
5555
}
5656
}

docs/yarn.lock

Lines changed: 32 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,52 +1752,18 @@
17521752
resolved "https://registry.yarnpkg.com/@exodus/schemasafe/-/schemasafe-1.3.0.tgz#731656abe21e8e769a7f70a4d833e6312fe59b7f"
17531753
integrity sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==
17541754

1755-
"@hapi/address@^5.1.1":
1756-
version "5.1.1"
1757-
resolved "https://registry.npmjs.org/@hapi/address/-/address-5.1.1.tgz#e9925fc1b65f5cc3fbea821f2b980e4652e84cb6"
1758-
integrity sha512-A+po2d/dVoY7cYajycYI43ZbYMXukuopIsqCjh5QzsBCipDtdofHntljDlpccMjIfTy6UOkg+5KPriwYch2bXA==
1759-
dependencies:
1760-
"@hapi/hoek" "^11.0.2"
1761-
1762-
"@hapi/formula@^3.0.2":
1763-
version "3.0.2"
1764-
resolved "https://registry.npmjs.org/@hapi/formula/-/formula-3.0.2.tgz#81b538060ee079481c906f599906d163c4badeaf"
1765-
integrity sha512-hY5YPNXzw1He7s0iqkRQi+uMGh383CGdyyIGYtB+W5N3KHPXoqychklvHhKCC9M3Xtv0OCs/IHw+r4dcHtBYWw==
1766-
1767-
"@hapi/hoek@^11.0.2", "@hapi/hoek@^11.0.7":
1768-
version "11.0.7"
1769-
resolved "https://registry.npmjs.org/@hapi/hoek/-/hoek-11.0.7.tgz#56a920793e0a42d10e530da9a64cc0d3919c4002"
1770-
integrity sha512-HV5undWkKzcB4RZUusqOpcgxOaq6VOAH7zhhIr2g3G8NF/MlFO75SjOr2NfuSx0Mh40+1FqCkagKLJRykUWoFQ==
1771-
1772-
"@hapi/hoek@^9.0.0":
1755+
"@hapi/hoek@^9.0.0", "@hapi/hoek@^9.3.0":
17731756
version "9.3.0"
1774-
resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb"
1757+
resolved "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb"
17751758
integrity sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==
17761759

1777-
"@hapi/pinpoint@^2.0.1":
1778-
version "2.0.1"
1779-
resolved "https://registry.npmjs.org/@hapi/pinpoint/-/pinpoint-2.0.1.tgz#32077e715655fc00ab8df74b6b416114287d6513"
1780-
integrity sha512-EKQmr16tM8s16vTT3cA5L0kZZcTMU5DUOZTuvpnY738m+jyP3JIUj+Mm1xc1rsLkGBQ/gVnfKYPwOmPg1tUR4Q==
1781-
1782-
"@hapi/tlds@^1.1.1":
1783-
version "1.1.6"
1784-
resolved "https://registry.npmjs.org/@hapi/tlds/-/tlds-1.1.6.tgz#c98ed89ca76aa030352d6d7102d0f250aed89cfb"
1785-
integrity sha512-xdi7A/4NZokvV0ewovme3aUO5kQhW9pQ2YD1hRqZGhhSi5rBv4usHYidVocXSi9eihYsznZxLtAiEYYUL6VBGw==
1786-
1787-
"@hapi/topo@^5.0.0":
1760+
"@hapi/topo@^5.0.0", "@hapi/topo@^5.1.0":
17881761
version "5.1.0"
1789-
resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-5.1.0.tgz#dc448e332c6c6e37a4dc02fd84ba8d44b9afb012"
1762+
resolved "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz#dc448e332c6c6e37a4dc02fd84ba8d44b9afb012"
17901763
integrity sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==
17911764
dependencies:
17921765
"@hapi/hoek" "^9.0.0"
17931766

1794-
"@hapi/topo@^6.0.2":
1795-
version "6.0.2"
1796-
resolved "https://registry.npmjs.org/@hapi/topo/-/topo-6.0.2.tgz#f219c1c60da8430228af4c1f2e40c32a0d84bbb4"
1797-
integrity sha512-KR3rD5inZbGMrHmgPxsJ9dbi6zEK+C3ZwUwTa+eMwWLz7oijWUTWD2pMSNNYJAU6Qq+65NkxXjqHr/7LM2Xkqg==
1798-
dependencies:
1799-
"@hapi/hoek" "^11.0.2"
1800-
18011767
"@jest/schemas@^29.6.3":
18021768
version "29.6.3"
18031769
resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03"
@@ -2035,6 +2001,13 @@
20352001
dependencies:
20362002
"@hapi/hoek" "^9.0.0"
20372003

2004+
"@sideway/address@^4.1.5":
2005+
version "4.1.5"
2006+
resolved "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz#4bc149a0076623ced99ca8208ba780d65a99b9d5"
2007+
integrity sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==
2008+
dependencies:
2009+
"@hapi/hoek" "^9.0.0"
2010+
20382011
"@sideway/formula@^3.0.1":
20392012
version "3.0.1"
20402013
resolved "https://registry.yarnpkg.com/@sideway/formula/-/formula-3.0.1.tgz#80fcbcbaf7ce031e0ef2dd29b1bfc7c3f583611f"
@@ -2064,11 +2037,6 @@
20642037
p-map "^4.0.0"
20652038
webpack-sources "^3.2.2"
20662039

2067-
"@standard-schema/spec@^1.1.0":
2068-
version "1.1.0"
2069-
resolved "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz#a79b55dbaf8604812f52d140b2c9ab41bc150bb8"
2070-
integrity sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==
2071-
20722040
"@svgr/babel-plugin-add-jsx-attribute@^6.5.1":
20732041
version "6.5.1"
20742042
resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-6.5.1.tgz#74a5d648bd0347bda99d82409d87b8ca80b9a1ba"
@@ -2933,7 +2901,7 @@ available-typed-arrays@^1.0.7:
29332901
dependencies:
29342902
possible-typed-array-names "^1.0.0"
29352903

2936-
axios@>=1.0.0, axios@^1.16.0:
2904+
axios@>=1.0.0, axios@^1.6.1:
29372905
version "1.16.0"
29382906
resolved "https://registry.npmjs.org/axios/-/axios-1.16.0.tgz#f8e5dd931cef2a5f8c32216d5784eda2f8750eb7"
29392907
integrity sha512-6hp5CwvTPlN2A31g5dxnwAX0orzM7pmCRDLnZSX772mv8WDqICwFjowHuPs04Mc8deIld1+ejhtaMn5vp6b+1w==
@@ -6047,6 +6015,17 @@ jiti@^1.18.2:
60476015
resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.20.0.tgz#2d823b5852ee8963585c8dd8b7992ffc1ae83b42"
60486016
integrity sha512-3TV69ZbrvV6U5DfQimop50jE9Dl6J8O1ja1dvBbMba/sZ3YBEQqJ2VZRoQPVnhlzjNtU1vaXRZVrVjU4qtm8yA==
60496017

6018+
joi@^17.11.0:
6019+
version "17.13.3"
6020+
resolved "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz#0f5cc1169c999b30d344366d384b12d92558bcec"
6021+
integrity sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==
6022+
dependencies:
6023+
"@hapi/hoek" "^9.3.0"
6024+
"@hapi/topo" "^5.1.0"
6025+
"@sideway/address" "^4.1.5"
6026+
"@sideway/formula" "^3.0.1"
6027+
"@sideway/pinpoint" "^2.0.0"
6028+
60506029
joi@^17.6.0:
60516030
version "17.10.2"
60526031
resolved "https://registry.yarnpkg.com/joi/-/joi-17.10.2.tgz#4ecc348aa89ede0b48335aad172e0f5591e55b29"
@@ -6058,19 +6037,6 @@ joi@^17.6.0:
60586037
"@sideway/formula" "^3.0.1"
60596038
"@sideway/pinpoint" "^2.0.0"
60606039

6061-
joi@^18.2.1:
6062-
version "18.2.1"
6063-
resolved "https://registry.npmjs.org/joi/-/joi-18.2.1.tgz#a022e39496e25b010a6d4649975c160a4315bd79"
6064-
integrity sha512-2/OKlogiESf2Nh3TFCrRjrr9z1DRHeW0I+KReF67+4J0Ns+8hBtHRmoWAZ2OFU6I5+TWLEe6sVlSdXPjHm5UbQ==
6065-
dependencies:
6066-
"@hapi/address" "^5.1.1"
6067-
"@hapi/formula" "^3.0.2"
6068-
"@hapi/hoek" "^11.0.7"
6069-
"@hapi/pinpoint" "^2.0.1"
6070-
"@hapi/tlds" "^1.1.1"
6071-
"@hapi/topo" "^6.0.2"
6072-
"@standard-schema/spec" "^1.1.0"
6073-
60746040
js-levenshtein@^1.1.6:
60756041
version "1.1.6"
60766042
resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d"
@@ -6345,11 +6311,6 @@ lodash@4.17.21, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.
63456311
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
63466312
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
63476313

6348-
lodash@^4.18.1:
6349-
version "4.18.1"
6350-
resolved "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz#ff2b66c1f6326d59513de2407bf881439812771c"
6351-
integrity sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==
6352-
63536314
loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.2.0, loose-envify@^1.3.1, loose-envify@^1.4.0:
63546315
version "1.4.0"
63556316
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
@@ -8541,7 +8502,7 @@ run-parallel@^1.1.9:
85418502
dependencies:
85428503
queue-microtask "^1.2.2"
85438504

8544-
rxjs@^7.8.2:
8505+
rxjs@^7.8.1:
85458506
version "7.8.2"
85468507
resolved "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz#955bc473ed8af11a002a2be52071bf475638607b"
85478508
integrity sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==
@@ -9840,16 +9801,16 @@ vm-browserify@^1.1.2:
98409801
resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0"
98419802
integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==
98429803

9843-
wait-on@>=7.0.0, wait-on@^6.0.1:
9844-
version "9.0.10"
9845-
resolved "https://registry.npmjs.org/wait-on/-/wait-on-9.0.10.tgz#9c73ad1908b8e46e853e1271b2c9563f2c2d8e02"
9846-
integrity sha512-rCoJEhvMr0X6alHmwc9abbrA5ZrLZFKpFQVKPNFwl2h7DapXOGdmimIHDtLOWhT4PjhZhxFEtZoQgEXbkDWdZw==
9804+
wait-on@^6.0.1, wait-on@^7.0.0:
9805+
version "7.2.0"
9806+
resolved "https://registry.npmjs.org/wait-on/-/wait-on-7.2.0.tgz#d76b20ed3fc1e2bebc051fae5c1ff93be7892928"
9807+
integrity sha512-wCQcHkRazgjG5XoAq9jbTMLpNIjoSlZslrJ2+N9MxDsGEv1HnFoVjOCexL0ESva7Y9cu350j+DWADdk54s4AFQ==
98479808
dependencies:
9848-
axios "^1.16.0"
9849-
joi "^18.2.1"
9850-
lodash "^4.18.1"
9809+
axios "^1.6.1"
9810+
joi "^17.11.0"
9811+
lodash "^4.17.21"
98519812
minimist "^1.2.8"
9852-
rxjs "^7.8.2"
9813+
rxjs "^7.8.1"
98539814

98549815
warning@^4.0.3:
98559816
version "4.0.3"

0 commit comments

Comments
 (0)