Skip to content

Commit

Permalink
feat: upgrade to JSDOM@21
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed May 2, 2023
1 parent 57e9872 commit f9be3a3
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 61 deletions.
4 changes: 2 additions & 2 deletions packages/jest-environment-jsdom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"@jest/environment": "workspace:^",
"@jest/fake-timers": "workspace:^",
"@jest/types": "workspace:^",
"@types/jsdom": "^20.0.0",
"@types/jsdom": "^21.1.1",
"@types/node": "*",
"jest-mock": "workspace:^",
"jest-util": "workspace:^",
"jsdom": "^20.0.0"
"jsdom": "^21.1.2"
},
"devDependencies": {
"@jest/test-utils": "workspace:^"
Expand Down
111 changes: 52 additions & 59 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4766,14 +4766,14 @@ __metadata:
languageName: node
linkType: hard

"@types/jsdom@npm:^20.0.0":
version: 20.0.1
resolution: "@types/jsdom@npm:20.0.1"
"@types/jsdom@npm:^21.1.1":
version: 21.1.1
resolution: "@types/jsdom@npm:21.1.1"
dependencies:
"@types/node": "*"
"@types/tough-cookie": "*"
parse5: ^7.0.0
checksum: d55402c5256ef451f93a6e3d3881f98339fe73a5ac2030588df056d6835df8367b5a857b48d27528289057e26dcdd3f502edc00cb877c79174cb3a4c7f2198c1
checksum: 7450d6e23aa31b837a1682f0e59b06838aacca85c9d030035f40e21d559169c773aee5cee9244f23c3004b78f7064f0c540ceb808d2f187deb3140f2b0449dee
languageName: node
linkType: hard

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

"acorn@npm:^8.0.4, acorn@npm:^8.1.0, acorn@npm:^8.4.1, acorn@npm:^8.5.0, acorn@npm:^8.7.1, acorn@npm:^8.8.0, acorn@npm:^8.8.1":
"acorn@npm:^8.0.4, acorn@npm:^8.1.0, acorn@npm:^8.4.1, acorn@npm:^8.5.0, acorn@npm:^8.7.1, acorn@npm:^8.8.0, acorn@npm:^8.8.2":
version: 8.8.2
resolution: "acorn@npm:8.8.2"
bin:
Expand Down Expand Up @@ -8201,26 +8201,12 @@ __metadata:
languageName: node
linkType: hard

"cssom@npm:^0.5.0":
version: 0.5.0
resolution: "cssom@npm:0.5.0"
checksum: 823471aa30091c59e0a305927c30e7768939b6af70405808f8d2ce1ca778cddcb24722717392438329d1691f9a87cb0183b64b8d779b56a961546d54854fde01
languageName: node
linkType: hard

"cssom@npm:~0.3.6":
version: 0.3.8
resolution: "cssom@npm:0.3.8"
checksum: 24beb3087c76c0d52dd458be9ee1fbc80ac771478a9baef35dd258cdeb527c68eb43204dd439692bb2b1ae5272fa5f2946d10946edab0d04f1078f85e06bc7f6
languageName: node
linkType: hard

"cssstyle@npm:^2.3.0":
version: 2.3.0
resolution: "cssstyle@npm:2.3.0"
"cssstyle@npm:^3.0.0":
version: 3.0.0
resolution: "cssstyle@npm:3.0.0"
dependencies:
cssom: ~0.3.6
checksum: 5f05e6fd2e3df0b44695c2f08b9ef38b011862b274e320665176467c0725e44a53e341bc4959a41176e83b66064ab786262e7380fd1cabeae6efee0d255bb4e3
rrweb-cssom: ^0.6.0
checksum: 31f694dfed9998ed93570fe539610837b878193dd8487c33cb12db8004333c53c2a3904166288bbec68388c72fb01014d46d3243ddfb02fe845989d852c06f27
languageName: node
linkType: hard

Expand All @@ -8238,14 +8224,14 @@ __metadata:
languageName: node
linkType: hard

"data-urls@npm:^3.0.2":
version: 3.0.2
resolution: "data-urls@npm:3.0.2"
"data-urls@npm:^4.0.0":
version: 4.0.0
resolution: "data-urls@npm:4.0.0"
dependencies:
abab: ^2.0.6
whatwg-mimetype: ^3.0.0
whatwg-url: ^11.0.0
checksum: 033fc3dd0fba6d24bc9a024ddcf9923691dd24f90a3d26f6545d6a2f71ec6956f93462f2cdf2183cc46f10dc01ed3bcb36731a8208456eb1a08147e571fe2a76
whatwg-url: ^12.0.0
checksum: 006e869b5bf079647949a3e9b1dd69d84b2d5d26e6b01c265485699bc96e83817d4b5aae758b2910a4c58c0601913f3a0034121c1ca2da268e9a244c57515b15
languageName: node
linkType: hard

Expand Down Expand Up @@ -8310,7 +8296,7 @@ __metadata:
languageName: node
linkType: hard

"decimal.js@npm:^10.4.2":
"decimal.js@npm:^10.4.3":
version: 10.4.3
resolution: "decimal.js@npm:10.4.3"
checksum: 796404dcfa9d1dbfdc48870229d57f788b48c21c603c3f6554a1c17c10195fc1024de338b0cf9e1efe0c7c167eeb18f04548979bcc5fdfabebb7cc0ae3287bae
Expand Down Expand Up @@ -12809,11 +12795,11 @@ __metadata:
"@jest/fake-timers": "workspace:^"
"@jest/test-utils": "workspace:^"
"@jest/types": "workspace:^"
"@types/jsdom": ^20.0.0
"@types/jsdom": ^21.1.1
"@types/node": "*"
jest-mock: "workspace:^"
jest-util: "workspace:^"
jsdom: ^20.0.0
jsdom: ^21.1.2
peerDependencies:
canvas: ^2.5.0
peerDependenciesMeta:
Expand Down Expand Up @@ -13519,42 +13505,42 @@ __metadata:
languageName: node
linkType: hard

"jsdom@npm:^20.0.0":
version: 20.0.3
resolution: "jsdom@npm:20.0.3"
"jsdom@npm:^21.1.2":
version: 21.1.2
resolution: "jsdom@npm:21.1.2"
dependencies:
abab: ^2.0.6
acorn: ^8.8.1
acorn: ^8.8.2
acorn-globals: ^7.0.0
cssom: ^0.5.0
cssstyle: ^2.3.0
data-urls: ^3.0.2
decimal.js: ^10.4.2
cssstyle: ^3.0.0
data-urls: ^4.0.0
decimal.js: ^10.4.3
domexception: ^4.0.0
escodegen: ^2.0.0
form-data: ^4.0.0
html-encoding-sniffer: ^3.0.0
http-proxy-agent: ^5.0.0
https-proxy-agent: ^5.0.1
is-potential-custom-element-name: ^1.0.1
nwsapi: ^2.2.2
parse5: ^7.1.1
nwsapi: ^2.2.4
parse5: ^7.1.2
rrweb-cssom: ^0.6.0
saxes: ^6.0.0
symbol-tree: ^3.2.4
tough-cookie: ^4.1.2
w3c-xmlserializer: ^4.0.0
webidl-conversions: ^7.0.0
whatwg-encoding: ^2.0.0
whatwg-mimetype: ^3.0.0
whatwg-url: ^11.0.0
ws: ^8.11.0
whatwg-url: ^12.0.1
ws: ^8.13.0
xml-name-validator: ^4.0.0
peerDependencies:
canvas: ^2.5.0
peerDependenciesMeta:
canvas:
optional: true
checksum: 6e2ae21db397133a061b270c26d2dbc0b9051733ea3b896a7ece78d79f475ff0974f766a413c1198a79c793159119169f2335ddb23150348fbfdcfa6f3105536
checksum: 6b3cf2d15e5a5712b3db5ff56eba82b97c9a879b52e95063cc8323bdf8837b6ca15cfec85b57ab71c95c6b4a4098bf67f274c6ff4e9ff519aa4811a04f290610
languageName: node
linkType: hard

Expand Down Expand Up @@ -15907,7 +15893,7 @@ __metadata:
languageName: node
linkType: hard

"nwsapi@npm:^2.2.2":
"nwsapi@npm:^2.2.4":
version: 2.2.4
resolution: "nwsapi@npm:2.2.4"
checksum: a5eb9467158bdf255d27e9c4555e9ca02e4ba84ddce9b683856ed49de23eb1bb28ae3b8e791b7a93d156ad62b324a56f4d44cad827c2ca288c107ed6bdaff8a8
Expand Down Expand Up @@ -16457,7 +16443,7 @@ __metadata:
languageName: node
linkType: hard

"parse5@npm:^7.0.0, parse5@npm:^7.1.1":
"parse5@npm:^7.0.0, parse5@npm:^7.1.2":
version: 7.1.2
resolution: "parse5@npm:7.1.2"
dependencies:
Expand Down Expand Up @@ -17457,7 +17443,7 @@ __metadata:
languageName: node
linkType: hard

"punycode@npm:^2.1.0, punycode@npm:^2.1.1":
"punycode@npm:^2.1.0, punycode@npm:^2.1.1, punycode@npm:^2.3.0":
version: 2.3.0
resolution: "punycode@npm:2.3.0"
checksum: 39f760e09a2a3bbfe8f5287cf733ecdad69d6af2fe6f97ca95f24b8921858b91e9ea3c9eeec6e08cede96181b3bb33f95c6ffd8c77e63986508aa2e8159fa200
Expand Down Expand Up @@ -18695,6 +18681,13 @@ __metadata:
languageName: node
linkType: hard

"rrweb-cssom@npm:^0.6.0":
version: 0.6.0
resolution: "rrweb-cssom@npm:0.6.0"
checksum: 182312f6e4f41d18230ccc34f14263bc8e8a6b9d30ee3ec0d2d8e643c6f27964cd7a8d638d4a00e988d93e8dc55369f4ab5a473ccfeff7a8bab95b36d2b5499c
languageName: node
linkType: hard

"rst-selector-parser@npm:^2.2.3":
version: 2.2.3
resolution: "rst-selector-parser@npm:2.2.3"
Expand Down Expand Up @@ -20337,12 +20330,12 @@ __metadata:
languageName: node
linkType: hard

"tr46@npm:^3.0.0":
version: 3.0.0
resolution: "tr46@npm:3.0.0"
"tr46@npm:^4.1.1":
version: 4.1.1
resolution: "tr46@npm:4.1.1"
dependencies:
punycode: ^2.1.1
checksum: 44c3cc6767fb800490e6e9fd64fd49041aa4e49e1f6a012b34a75de739cc9ed3a6405296072c1df8b6389ae139c5e7c6496f659cfe13a04a4bff3a1422981270
punycode: ^2.3.0
checksum: aeeb821ac2cd792e63ec84888b4fd6598ac6ed75d861579e21a5cf9d4ee78b2c6b94e7d45036f2ca2088bc85b9b46560ad23c4482979421063b24137349dbd96
languageName: node
linkType: hard

Expand Down Expand Up @@ -21667,13 +21660,13 @@ __metadata:
languageName: node
linkType: hard

"whatwg-url@npm:^11.0.0":
version: 11.0.0
resolution: "whatwg-url@npm:11.0.0"
"whatwg-url@npm:^12.0.0, whatwg-url@npm:^12.0.1":
version: 12.0.1
resolution: "whatwg-url@npm:12.0.1"
dependencies:
tr46: ^3.0.0
tr46: ^4.1.1
webidl-conversions: ^7.0.0
checksum: ed4826aaa57e66bb3488a4b25c9cd476c46ba96052747388b5801f137dd740b73fde91ad207d96baf9f17fbcc80fc1a477ad65181b5eb5fa718d27c69501d7af
checksum: 8698993b763c1e7eda5ed16c31dab24bca6489626aca7caf8b5a2b64684dda6578194786f10ec42ceb1c175feea16d0a915096e6419e08d154ce551c43176972
languageName: node
linkType: hard

Expand Down Expand Up @@ -22170,7 +22163,7 @@ __metadata:
languageName: node
linkType: hard

"ws@npm:^8.11.0, ws@npm:^8.13.0":
"ws@npm:^8.13.0":
version: 8.13.0
resolution: "ws@npm:8.13.0"
peerDependencies:
Expand Down

0 comments on commit f9be3a3

Please sign in to comment.