Skip to content

Commit ee4a0d6

Browse files
committed
downgrade jsdom to allow installation on node 16
1 parent 1c70abc commit ee4a0d6

File tree

2 files changed

+41
-12
lines changed

2 files changed

+41
-12
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"eslint-plugin-prettier": "^5.1.3",
8484
"eslint-plugin-promise": "^6.1.1",
8585
"eslint-plugin-unused-imports": "^3.1.0",
86-
"jsdom": "^24.0.0",
86+
"jsdom": "^23.2.0",
8787
"lint-staged": "^15.2.2",
8888
"node-fetch": "^3.3.2",
8989
"prettier": "^3.2.5",

yarn.lock

+40-11
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@
1515
"@jridgewell/gen-mapping" "^0.3.0"
1616
"@jridgewell/trace-mapping" "^0.3.9"
1717

18+
"@asamuzakjp/dom-selector@^2.0.1":
19+
version "2.0.2"
20+
resolved "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-2.0.2.tgz#160f601d9a465bbdf641410afdc527f37325506e"
21+
integrity sha512-x1KXOatwofR6ZAYzXRBL5wrdV0vwNxlTCK9NCuLqAzQYARqGcvFwiJA6A1ERuh+dgeA4Dxm3JBYictIes+SqUQ==
22+
dependencies:
23+
bidi-js "^1.0.3"
24+
css-tree "^2.3.1"
25+
is-potential-custom-element-name "^1.0.1"
26+
1827
"@babel/helper-string-parser@^7.23.4":
1928
version "7.23.4"
2029
resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz#9478c707febcbbe1ddb38a3d91a2e054ae622d83"
@@ -845,6 +854,13 @@ balanced-match@^1.0.0:
845854
resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
846855
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
847856

857+
bidi-js@^1.0.3:
858+
version "1.0.3"
859+
resolved "https://registry.npmjs.org/bidi-js/-/bidi-js-1.0.3.tgz#6f8bcf3c877c4d9220ddf49b9bb6930c88f877d2"
860+
integrity sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==
861+
dependencies:
862+
require-from-string "^2.0.2"
863+
848864
brace-expansion@^1.1.7:
849865
version "1.1.11"
850866
resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
@@ -999,6 +1015,14 @@ cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
9991015
shebang-command "^2.0.0"
10001016
which "^2.0.1"
10011017

1018+
css-tree@^2.3.1:
1019+
version "2.3.1"
1020+
resolved "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz#10264ce1e5442e8572fc82fbe490644ff54b5c20"
1021+
integrity sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==
1022+
dependencies:
1023+
mdn-data "2.0.30"
1024+
source-map-js "^1.0.1"
1025+
10021026
cssstyle@^4.0.1:
10031027
version "4.0.1"
10041028
resolved "https://registry.npmjs.org/cssstyle/-/cssstyle-4.0.1.tgz#ef29c598a1e90125c870525490ea4f354db0660a"
@@ -2191,11 +2215,12 @@ js-yaml@^4.1.0:
21912215
dependencies:
21922216
argparse "^2.0.1"
21932217

2194-
jsdom@^24.0.0:
2195-
version "24.0.0"
2196-
resolved "https://registry.npmjs.org/jsdom/-/jsdom-24.0.0.tgz#e2dc04e4c79da368481659818ee2b0cd7c39007c"
2197-
integrity sha512-UDS2NayCvmXSXVP6mpTj+73JnNQadZlr9N68189xib2tx5Mls7swlTNao26IoHv46BZJFvXygyRtyXd1feAk1A==
2218+
jsdom@^23.2.0:
2219+
version "23.2.0"
2220+
resolved "https://registry.npmjs.org/jsdom/-/jsdom-23.2.0.tgz#08083220146d41c467efa1c6969f02b525ba6c1d"
2221+
integrity sha512-L88oL7D/8ufIES+Zjz7v0aes+oBMh2Xnh3ygWvL0OaICOomKEPKuPnIfBJekiXr+BHbbMjrWn/xqrDQuxFTeyA==
21982222
dependencies:
2223+
"@asamuzakjp/dom-selector" "^2.0.1"
21992224
cssstyle "^4.0.1"
22002225
data-urls "^5.0.0"
22012226
decimal.js "^10.4.3"
@@ -2204,7 +2229,6 @@ jsdom@^24.0.0:
22042229
http-proxy-agent "^7.0.0"
22052230
https-proxy-agent "^7.0.2"
22062231
is-potential-custom-element-name "^1.0.1"
2207-
nwsapi "^2.2.7"
22082232
parse5 "^7.1.2"
22092233
rrweb-cssom "^0.6.0"
22102234
saxes "^6.0.0"
@@ -2361,6 +2385,11 @@ make-dir@^4.0.0:
23612385
dependencies:
23622386
semver "^7.5.3"
23632387

2388+
mdn-data@2.0.30:
2389+
version "2.0.30"
2390+
resolved "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz#ce4df6f80af6cfbe218ecd5c552ba13c4dfa08cc"
2391+
integrity sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==
2392+
23642393
merge-stream@^2.0.0:
23652394
version "2.0.0"
23662395
resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
@@ -2481,11 +2510,6 @@ npm-run-path@^5.1.0:
24812510
dependencies:
24822511
path-key "^4.0.0"
24832512

2484-
nwsapi@^2.2.7:
2485-
version "2.2.7"
2486-
resolved "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.7.tgz#738e0707d3128cb750dddcfe90e4610482df0f30"
2487-
integrity sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==
2488-
24892513
object-inspect@^1.12.3, object-inspect@^1.9.0:
24902514
version "1.12.3"
24912515
resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9"
@@ -2781,6 +2805,11 @@ regexp.prototype.flags@^1.5.2:
27812805
es-errors "^1.3.0"
27822806
set-function-name "^2.0.1"
27832807

2808+
require-from-string@^2.0.2:
2809+
version "2.0.2"
2810+
resolved "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909"
2811+
integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==
2812+
27842813
requires-port@^1.0.0:
27852814
version "1.0.0"
27862815
resolved "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
@@ -3009,7 +3038,7 @@ slice-ansi@^7.0.0:
30093038
ansi-styles "^6.2.1"
30103039
is-fullwidth-code-point "^5.0.0"
30113040

3012-
source-map-js@^1.0.2:
3041+
source-map-js@^1.0.1, source-map-js@^1.0.2:
30133042
version "1.0.2"
30143043
resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c"
30153044
integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==

0 commit comments

Comments
 (0)