Skip to content

Commit

Permalink
Upgrade to JSDOM 19
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelltoth committed Feb 2, 2022
1 parent a4339cb commit 1de46a8
Show file tree
Hide file tree
Showing 2 changed files with 134 additions and 71 deletions.
2 changes: 1 addition & 1 deletion packages/jest-environment-jsdom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@types/node": "*",
"jest-mock": "^27.4.6",
"jest-util": "^27.4.2",
"jsdom": "^16.6.0"
"jsdom": "^19.0.0"
},
"devDependencies": {
"@jest/test-utils": "^27.4.6",
Expand Down
203 changes: 133 additions & 70 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4425,6 +4425,13 @@ __metadata:
languageName: node
linkType: hard

"@tootallnate/once@npm:2":
version: 2.0.0
resolution: "@tootallnate/once@npm:2.0.0"
checksum: dc4df8a377c5ba3dff31d05ff8d2a06a4382df2e7193396d7a119f41e4c0f0e84835949f69adfe5cefde700e577ee5aa5d7d026d9b1cef983794155e5a1f836f
languageName: node
linkType: hard

"@trysound/sax@npm:0.2.0":
version: 0.2.0
resolution: "@trysound/sax@npm:0.2.0"
Expand Down Expand Up @@ -5602,7 +5609,7 @@ __metadata:
languageName: node
linkType: hard

"acorn@npm:^8.0.4, acorn@npm:^8.2.4, acorn@npm:^8.4.1":
"acorn@npm:^8.0.4, acorn@npm:^8.4.1, acorn@npm:^8.5.0":
version: 8.7.0
resolution: "acorn@npm:8.7.0"
bin:
Expand Down Expand Up @@ -8248,10 +8255,10 @@ __metadata:
languageName: node
linkType: hard

"cssom@npm:^0.4.4":
version: 0.4.4
resolution: "cssom@npm:0.4.4"
checksum: db81cac44219b20d76b06f51d2614cead098478d1323b2df5e4b5d25bdc3f16d8474c3d45ae28f594a0933691c774fc2102837df66ccf375e280b0728ad53c5f
"cssom@npm:^0.5.0":
version: 0.5.0
resolution: "cssom@npm:0.5.0"
checksum: e9eff1b678f4f27d0cc4627c6424484043370c72d98738b73853275ff224a54cb378abb128bc9191fc027579c35ff2dd6d3276e53f78db0a30f683f601607544
languageName: node
linkType: hard

Expand Down Expand Up @@ -8294,14 +8301,14 @@ __metadata:
languageName: node
linkType: hard

"data-urls@npm:^2.0.0":
version: 2.0.0
resolution: "data-urls@npm:2.0.0"
"data-urls@npm:^3.0.1":
version: 3.0.1
resolution: "data-urls@npm:3.0.1"
dependencies:
abab: ^2.0.3
whatwg-mimetype: ^2.3.0
whatwg-url: ^8.0.0
checksum: 42239927c6a202e2d02b7f41c94ca53e3cea036898b97b8bf6120ed1b25e0dd11c48ec7aa5c84cf807c2cb9f3a637df9fb50f3ca25a52863186a4ac46254726b
whatwg-mimetype: ^3.0.0
whatwg-url: ^10.0.0
checksum: 1e5ca750e750165052ff0cff5f13362f628629d7599e090f9805a6c6f496cb1d409f411b2880d5224d6ccc3487d15fb452c05f29f2584001f82555e1c2650957
languageName: node
linkType: hard

Expand Down Expand Up @@ -8373,7 +8380,7 @@ __metadata:
languageName: node
linkType: hard

"decimal.js@npm:^10.2.1":
"decimal.js@npm:^10.3.1":
version: 10.3.1
resolution: "decimal.js@npm:10.3.1"
checksum: e042c676c7a934e5a2c4e02f2562e0e0d752c6cd8f933f4030f8540dd4c7074ba035e329df46c0cc46f0c9190d1804c366d0be46ea6f94af64e0096d2730b22b
Expand Down Expand Up @@ -8804,12 +8811,12 @@ __metadata:
languageName: node
linkType: hard

"domexception@npm:^2.0.1":
version: 2.0.1
resolution: "domexception@npm:2.0.1"
"domexception@npm:^4.0.0":
version: 4.0.0
resolution: "domexception@npm:4.0.0"
dependencies:
webidl-conversions: ^5.0.0
checksum: bde9f50cb568a29b0c24ab50500ff23e9a2160394f04ae5fd9db91c4303a4f892fd9a42b07a0d52cdae11d8a348b4e907dd4343176c6f5a74f8be6ffde60bd95
webidl-conversions: ^7.0.0
checksum: 68fb100c73375ba98c22bcdc806d3afb6dc529a7bbbd67b734f29f2178524ddc37f0e77b788e62fc1068ca6f81e35bf9309b91870c1791085c7631a1a1994b15
languageName: node
linkType: hard

Expand Down Expand Up @@ -10433,6 +10440,17 @@ __metadata:
languageName: node
linkType: hard

"form-data@npm:^4.0.0":
version: 4.0.0
resolution: "form-data@npm:4.0.0"
dependencies:
asynckit: ^0.4.0
combined-stream: ^1.0.8
mime-types: ^2.1.12
checksum: ecbe8f41bcf5c415f38e39058b34598a9261bb74a3d54b633d0b5dd8b7cf9a30b0626cd06ae8e79874a2ca88c222041142a7893e5afdd35fdfc3272264d03d44
languageName: node
linkType: hard

"form-data@npm:~2.3.2":
version: 2.3.3
resolution: "form-data@npm:2.3.3"
Expand Down Expand Up @@ -11361,12 +11379,12 @@ __metadata:
languageName: node
linkType: hard

"html-encoding-sniffer@npm:^2.0.1":
version: 2.0.1
resolution: "html-encoding-sniffer@npm:2.0.1"
"html-encoding-sniffer@npm:^3.0.0":
version: 3.0.0
resolution: "html-encoding-sniffer@npm:3.0.0"
dependencies:
whatwg-encoding: ^1.0.5
checksum: 6f49e83a2e9225ba92c4586701cd21c0cf26c4c1f1a5f330a911c90a792649cc47b5bb3e67e78ba23dfa6b5b9c70af34231f44729b173d52b4ba305467b39042
whatwg-encoding: ^2.0.0
checksum: 75715a0f9c9b9ee5f74a38779d1a99d407871dfe5eb4871583b211057c3c879e05b2e575375e38f8de55827ca0e52ce1721b09d578c3b51f329a757f1f18a15c
languageName: node
linkType: hard

Expand Down Expand Up @@ -11539,6 +11557,17 @@ __metadata:
languageName: node
linkType: hard

"http-proxy-agent@npm:^5.0.0":
version: 5.0.0
resolution: "http-proxy-agent@npm:5.0.0"
dependencies:
"@tootallnate/once": 2
agent-base: 6
debug: 4
checksum: d77c2e73d20357ee3cd0aef4ce02619710399d09bcf4f7d4eef37db7610928b964dadf6059426c06543e2930192c16e31fd255d821fa05fa6c2036c2dd339013
languageName: node
linkType: hard

"http-proxy-middleware@npm:^2.0.0":
version: 2.0.1
resolution: "http-proxy-middleware@npm:2.0.1"
Expand Down Expand Up @@ -11609,7 +11638,7 @@ __metadata:
languageName: node
linkType: hard

"iconv-lite@npm:^0.6.2":
"iconv-lite@npm:0.6.3, iconv-lite@npm:^0.6.2":
version: 0.6.3
resolution: "iconv-lite@npm:0.6.3"
dependencies:
Expand Down Expand Up @@ -12767,7 +12796,7 @@ __metadata:
"@types/node": "*"
jest-mock: ^27.4.6
jest-util: ^27.4.2
jsdom: ^16.6.0
jsdom: ^19.0.0
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -13471,22 +13500,22 @@ __metadata:
languageName: node
linkType: hard

"jsdom@npm:^16.6.0":
version: 16.7.0
resolution: "jsdom@npm:16.7.0"
"jsdom@npm:^19.0.0":
version: 19.0.0
resolution: "jsdom@npm:19.0.0"
dependencies:
abab: ^2.0.5
acorn: ^8.2.4
acorn: ^8.5.0
acorn-globals: ^6.0.0
cssom: ^0.4.4
cssom: ^0.5.0
cssstyle: ^2.3.0
data-urls: ^2.0.0
decimal.js: ^10.2.1
domexception: ^2.0.1
data-urls: ^3.0.1
decimal.js: ^10.3.1
domexception: ^4.0.0
escodegen: ^2.0.0
form-data: ^3.0.0
html-encoding-sniffer: ^2.0.1
http-proxy-agent: ^4.0.1
form-data: ^4.0.0
html-encoding-sniffer: ^3.0.0
http-proxy-agent: ^5.0.0
https-proxy-agent: ^5.0.0
is-potential-custom-element-name: ^1.0.1
nwsapi: ^2.2.0
Expand All @@ -13495,19 +13524,19 @@ __metadata:
symbol-tree: ^3.2.4
tough-cookie: ^4.0.0
w3c-hr-time: ^1.0.2
w3c-xmlserializer: ^2.0.0
webidl-conversions: ^6.1.0
whatwg-encoding: ^1.0.5
whatwg-mimetype: ^2.3.0
whatwg-url: ^8.5.0
ws: ^7.4.6
xml-name-validator: ^3.0.0
w3c-xmlserializer: ^3.0.0
webidl-conversions: ^7.0.0
whatwg-encoding: ^2.0.0
whatwg-mimetype: ^3.0.0
whatwg-url: ^10.0.0
ws: ^8.2.3
xml-name-validator: ^4.0.0
peerDependencies:
canvas: ^2.5.0
peerDependenciesMeta:
canvas:
optional: true
checksum: a8592d024a55655a37eef355b020d2dcbd6700f5eb18da51ee946db597a82efd6a80efea20d2a9eb262e37e2312ec2b2f3809518f8583d7f3583cd48157b0825
checksum: b2c39cff83b3697694c7836e45fa877163072b2ab1919edd4732106716c8bea8783e95a99e892268c22959040b5065d6b4791f8e257823d26898f56abee15958
languageName: node
linkType: hard

Expand Down Expand Up @@ -20735,6 +20764,15 @@ [email protected]:
languageName: node
linkType: hard

"tr46@npm:^3.0.0":
version: 3.0.0
resolution: "tr46@npm:3.0.0"
dependencies:
punycode: ^2.1.1
checksum: 3753671dac2d5f4ef009d93f6fca1ef9ef5d511455a501a42ca3027dc709726af17e2381365bbca07c1f0a91da53c698a8e4f711a7776f6bb932cdac6afca430
languageName: node
linkType: hard

"tr46@npm:~0.0.3":
version: 0.0.3
resolution: "tr46@npm:0.0.3"
Expand Down Expand Up @@ -21711,12 +21749,12 @@ [email protected]:
languageName: node
linkType: hard

"w3c-xmlserializer@npm:^2.0.0":
version: 2.0.0
resolution: "w3c-xmlserializer@npm:2.0.0"
"w3c-xmlserializer@npm:^3.0.0":
version: 3.0.0
resolution: "w3c-xmlserializer@npm:3.0.0"
dependencies:
xml-name-validator: ^3.0.0
checksum: 2327c8a6c7302ed4b685125c193f4b4b859ee12cd6e1938407a02dda9cfcfff7f0c103de387b268444c4b61d7892d5260b5c684eb7519886fb3a07798bd565ba
xml-name-validator: ^4.0.0
checksum: ec28ecc699c02b3fdd95aefe5daa0d6bdfb16218b82aee3732fa148ffe6a79a9ebcf6d524aeaec264754c1a30494c619c623e39aec9fa70f3bf9426c6cfa27f4
languageName: node
linkType: hard

Expand Down Expand Up @@ -21805,20 +21843,20 @@ [email protected]:
languageName: node
linkType: hard

"webidl-conversions@npm:^5.0.0":
version: 5.0.0
resolution: "webidl-conversions@npm:5.0.0"
checksum: af4e465fb3111f45930e48f8e4206d6ae41675f03f35d6dfa10b2d7186430236ef1b406d8c3e57f75c8a60e424ca715c9fe6b6b2316a1b999ecffe8280414dff
languageName: node
linkType: hard

"webidl-conversions@npm:^6.1.0":
version: 6.1.0
resolution: "webidl-conversions@npm:6.1.0"
checksum: 0ded175044ec0a06f41014b9ffc36a67eb22bff53b9cb43fa1e9d05eaded43a100d993a8179d3a9f0f820ff1e5b812107a97c8643b600a6ab5bef1e11fcae66b
languageName: node
linkType: hard

"webidl-conversions@npm:^7.0.0":
version: 7.0.0
resolution: "webidl-conversions@npm:7.0.0"
checksum: b83c81c2d7c92206eefd72759813f1f032723a79dfd8f1329f7424d54a8d23aa9b3a2b52af322a782930684fb77303ceaa85644ec15af55e16398d7fed174e61
languageName: node
linkType: hard

"webpack-bundle-analyzer@npm:^4.4.2":
version: 4.5.0
resolution: "webpack-bundle-analyzer@npm:4.5.0"
Expand Down Expand Up @@ -21993,12 +22031,12 @@ [email protected]:
languageName: node
linkType: hard

"whatwg-encoding@npm:^1.0.5":
version: 1.0.5
resolution: "whatwg-encoding@npm:1.0.5"
"whatwg-encoding@npm:^2.0.0":
version: 2.0.0
resolution: "whatwg-encoding@npm:2.0.0"
dependencies:
iconv-lite: 0.4.24
checksum: 44e4276ad2c770d1eb8c5a49294b863c581ef4bc78a10ac6a73a7eba00b377bc53ae0501d7ffce29a2c051b6af5ebbbd135f1da7d8eb98097af2cf12f7b2c984
iconv-lite: 0.6.3
checksum: f54b74e3315db0880f5ab6afcd768f3a54cacdb16b71272a7a9cb7e2095233432b41ed07d3ec6da30e0cfd57fc7ecd1e31ea68006f29a31386d300e1aa89dddf
languageName: node
linkType: hard

Expand All @@ -22009,10 +22047,20 @@ [email protected]:
languageName: node
linkType: hard

"whatwg-mimetype@npm:^2.3.0":
version: 2.3.0
resolution: "whatwg-mimetype@npm:2.3.0"
checksum: 926e6ef8c7e53d158e501ce5e3c0e491d343c3c97e71b3d30451ffe4b1d6f81844c336b46a446a0b4f3fe4f327d76e3451d53ee8055344a0f5f2f35b84518011
"whatwg-mimetype@npm:^3.0.0":
version: 3.0.0
resolution: "whatwg-mimetype@npm:3.0.0"
checksum: fb4b43aacf61e49e71a9a14a577fe593bac6e3e3dbe52dd6ad118362412807db9a2a6b027f776f00c1aca49570fbb12e866e01aed243998803a22f060b25b0ef
languageName: node
linkType: hard

"whatwg-url@npm:^10.0.0":
version: 10.0.0
resolution: "whatwg-url@npm:10.0.0"
dependencies:
tr46: ^3.0.0
webidl-conversions: ^7.0.0
checksum: a73bd87472f1965d1cd47c768a4ce7091e7c28b1724b20e1817f0f3a6c7d68f080eba7db93df9ab86eec9f35e9268d28e5dd6b0d5a6ea1491c971a60ed662466
languageName: node
linkType: hard

Expand All @@ -22037,7 +22085,7 @@ [email protected]:
languageName: node
linkType: hard

"whatwg-url@npm:^8.0.0, whatwg-url@npm:^8.4.0, whatwg-url@npm:^8.5.0":
"whatwg-url@npm:^8.4.0":
version: 8.7.0
resolution: "whatwg-url@npm:8.7.0"
dependencies:
Expand Down Expand Up @@ -22439,7 +22487,7 @@ [email protected]:
languageName: node
linkType: hard

"ws@npm:^7, ws@npm:^7.3.1, ws@npm:^7.4.6":
"ws@npm:^7, ws@npm:^7.3.1":
version: 7.5.6
resolution: "ws@npm:7.5.6"
peerDependencies:
Expand Down Expand Up @@ -22469,6 +22517,21 @@ [email protected]:
languageName: node
linkType: hard

"ws@npm:^8.2.3":
version: 8.4.2
resolution: "ws@npm:8.4.2"
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ^5.0.2
peerDependenciesMeta:
bufferutil:
optional: true
utf-8-validate:
optional: true
checksum: db6d213f2ad5eb4b7ecb68229a204350fe7421e457b6d136ec7d44bb177c5ae35111cfc31dc053e6e4415653d95899cf2c0284745e4783a6d9df53e03d8254cf
languageName: node
linkType: hard

"x-is-string@npm:^0.1.0":
version: 0.1.0
resolution: "x-is-string@npm:0.1.0"
Expand Down Expand Up @@ -22504,10 +22567,10 @@ [email protected]:
languageName: node
linkType: hard

"xml-name-validator@npm:^3.0.0":
version: 3.0.0
resolution: "xml-name-validator@npm:3.0.0"
checksum: b96679a42e6be36d2433987fe3cc45e972d20d7c2c2a787a2d6b2da94392bd9f23f671cdba29a91211289a2fa8e6965e466dbc1105d0e5730fc3a43e4f1a0688
"xml-name-validator@npm:^4.0.0":
version: 4.0.0
resolution: "xml-name-validator@npm:4.0.0"
checksum: e7c0e9e22111c79f0f02da0c052e16d241580bbad37046e58e64c369e51653aa8a97127893324c70cce8c47f1e72a985a17911f197c04ab843841a13a258de95
languageName: node
linkType: hard

Expand Down

0 comments on commit 1de46a8

Please sign in to comment.