Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump jsdom #11442

Merged
merged 3 commits into from May 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,8 @@

### Fixes

- `[jest-environment-jsdom]` Bump version of JSDOM to avoid deprecated `request` package ([#11442](https://github.com/facebook/jest/pull/11442))

### Chore & Maintenance

### Performance
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -72,7 +72,6 @@
"rimraf": "^3.0.0",
"semver": "^7.3.2",
"slash": "^3.0.0",
"stealthy-require": "^1.1.1",
"string-length": "^4.0.1",
"strip-ansi": "^6.0.0",
"strip-json-comments": "^3.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-environment-jsdom/package.json
Expand Up @@ -20,7 +20,7 @@
"@types/node": "*",
"jest-mock": "^27.0.0-next.10",
"jest-util": "^27.0.0-next.11",
"jsdom": "^16.4.0"
"jsdom": "^16.6.0"
},
"devDependencies": {
"@jest/test-utils": "^27.0.0",
Expand Down
3 changes: 0 additions & 3 deletions testSetupFile.js
Expand Up @@ -8,6 +8,3 @@
// Some of the `jest-runtime` tests are very slow and cause
// timeouts on travis
jest.setTimeout(70000);

// this module does some funky stuff with `require.cache`, flooding the terminal with output
jest.mock('stealthy-require', () => (_, m) => m());
85 changes: 27 additions & 58 deletions yarn.lock
Expand Up @@ -2659,7 +2659,6 @@ __metadata:
rimraf: ^3.0.0
semver: ^7.3.2
slash: ^3.0.0
stealthy-require: ^1.1.1
string-length: ^4.0.1
strip-ansi: ^6.0.0
strip-json-comments: ^3.1.1
Expand Down Expand Up @@ -4747,9 +4746,9 @@ __metadata:
linkType: hard

"@types/node@npm:^14.0.27, @types/node@npm:^14.14.28":
version: 14.14.45
resolution: "@types/node@npm:14.14.45"
checksum: b9ad381a8cc5273bfd75d5870f57eed2b0978a5afe9e7e0347fcdb955e9fed502277a374c2837c3e1fe6a7ade58d53a460d954dbbe50e2f18bdd7e86075ffca9
version: 14.17.1
resolution: "@types/node@npm:14.17.1"
checksum: 3ab1180ff2579f4039aa2416087df03e4e8b5f930b64e024ad2b2ae73e546f6054c3bae0324180d425944c7c408c02fdf6ca71f5a265ed05f28aeaae0a2c3599
languageName: node
linkType: hard

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

"acorn@npm:^8.0.4, acorn@npm:^8.1.0":
"acorn@npm:^8.0.4, acorn@npm:^8.2.4":
version: 8.2.4
resolution: "acorn@npm:8.2.4"
bin:
Expand Down Expand Up @@ -12968,7 +12967,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"is-potential-custom-element-name@npm:^1.0.0":
"is-potential-custom-element-name@npm:^1.0.1":
version: 1.0.1
resolution: "is-potential-custom-element-name@npm:1.0.1"
checksum: 25520ce8de393b87c8a2ce4d410c424d16baab0d5a43cbf76af148940725e489dbf3541a43371bcc0881fcb186d9a4ed18b774a11ac8743dd064303cea8de50d
Expand Down Expand Up @@ -13413,7 +13412,7 @@ fsevents@^1.2.7:
"@types/node": "*"
jest-mock: ^27.0.0-next.10
jest-util: ^27.0.0-next.11
jsdom: ^16.4.0
jsdom: ^16.6.0
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -14150,25 +14149,26 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"jsdom@npm:^16.4.0":
version: 16.5.3
resolution: "jsdom@npm:16.5.3"
"jsdom@npm:^16.6.0":
version: 16.6.0
resolution: "jsdom@npm:16.6.0"
dependencies:
abab: ^2.0.5
acorn: ^8.1.0
acorn: ^8.2.4
acorn-globals: ^6.0.0
cssom: ^0.4.4
cssstyle: ^2.3.0
data-urls: ^2.0.0
decimal.js: ^10.2.1
domexception: ^2.0.1
escodegen: ^2.0.0
form-data: ^3.0.0
html-encoding-sniffer: ^2.0.1
is-potential-custom-element-name: ^1.0.0
http-proxy-agent: ^4.0.1
https-proxy-agent: ^5.0.0
is-potential-custom-element-name: ^1.0.1
nwsapi: ^2.2.0
parse5: 6.0.1
request: ^2.88.2
request-promise-native: ^1.0.9
saxes: ^5.0.1
symbol-tree: ^3.2.4
tough-cookie: ^4.0.0
Expand All @@ -14178,14 +14178,14 @@ fsevents@^1.2.7:
whatwg-encoding: ^1.0.5
whatwg-mimetype: ^2.3.0
whatwg-url: ^8.5.0
ws: ^7.4.4
ws: ^7.4.5
xml-name-validator: ^3.0.0
peerDependencies:
canvas: ^2.5.0
peerDependenciesMeta:
canvas:
optional: true
checksum: 02f6e3b5bb6c75f70b256f9fb522ce67cdf035c8e073a61f152876570d29453f164a4f1ea38a62e419511f81f6f75ced793e6332b66a647dc8012daacff27b8e
checksum: ee0c9ef2cf499d01d6186622a3788df72fa970a2eb695a237efebace6d99875a3402062842420badddad02cf1e90a0de88c65a266366721a45732144f7616db6
languageName: node
linkType: hard

Expand Down Expand Up @@ -20213,30 +20213,6 @@ react-native@0.64.0:
languageName: node
linkType: hard

"request-promise-core@npm:1.1.4":
version: 1.1.4
resolution: "request-promise-core@npm:1.1.4"
dependencies:
lodash: ^4.17.19
peerDependencies:
request: ^2.34
checksum: 7c9c90bf00158f6669e7167425cd113edadaca44b5aebc7c6a7969d9f50d93bfae8275038bdf6389b4e94f1cacacca7e5830d28701692818bdfba353eeb2ddfd
languageName: node
linkType: hard

"request-promise-native@npm:^1.0.9":
version: 1.0.9
resolution: "request-promise-native@npm:1.0.9"
dependencies:
request-promise-core: 1.1.4
stealthy-require: ^1.1.1
tough-cookie: ^2.3.3
peerDependencies:
request: ^2.34
checksum: 532570f00559f826ad372d36a152c3cf1aa184d0876b04ed7c18a9fa391fa2108978eca837ae1fb681d2dab63bd6c74c6660022b82ecdb2682d77859314d0b6e
languageName: node
linkType: hard

"request@npm:^2.88.0, request@npm:^2.88.2":
version: 2.88.2
resolution: "request@npm:2.88.2"
Expand Down Expand Up @@ -21563,13 +21539,6 @@ react-native@0.64.0:
languageName: node
linkType: hard

"stealthy-require@npm:^1.1.1":
version: 1.1.1
resolution: "stealthy-require@npm:1.1.1"
checksum: f24a9bc613817dea37afcbf64578f2ba0195916d906ebdaa1c1d5b8e9d51fd462cbf4c61ae04217babd0cf662e6c0115fd972dffa8e62a7f6f44f3109fb4c796
languageName: node
linkType: hard

"stream-browserify@npm:^2.0.1":
version: 2.0.2
resolution: "stream-browserify@npm:2.0.2"
Expand Down Expand Up @@ -22441,16 +22410,6 @@ react-native@0.64.0:
languageName: node
linkType: hard

"tough-cookie@npm:^2.3.3, tough-cookie@npm:~2.5.0":
version: 2.5.0
resolution: "tough-cookie@npm:2.5.0"
dependencies:
psl: ^1.1.28
punycode: ^2.1.1
checksum: bf5d6fac5ce0bebc5876cb9b9a79d3d9ea21c9e4099f3d3e64701d6ba170a052cb88cece6737ec2473bac4f0a4f6c75d46ec17985be8587c6bbdd38d91625cb4
languageName: node
linkType: hard

"tough-cookie@npm:^4.0.0":
version: 4.0.0
resolution: "tough-cookie@npm:4.0.0"
Expand All @@ -22462,6 +22421,16 @@ react-native@0.64.0:
languageName: node
linkType: hard

"tough-cookie@npm:~2.5.0":
version: 2.5.0
resolution: "tough-cookie@npm:2.5.0"
dependencies:
psl: ^1.1.28
punycode: ^2.1.1
checksum: bf5d6fac5ce0bebc5876cb9b9a79d3d9ea21c9e4099f3d3e64701d6ba170a052cb88cece6737ec2473bac4f0a4f6c75d46ec17985be8587c6bbdd38d91625cb4
languageName: node
linkType: hard

"tr46@npm:^1.0.1":
version: 1.0.1
resolution: "tr46@npm:1.0.1"
Expand Down Expand Up @@ -24312,7 +24281,7 @@ react-native@0.64.0:
languageName: node
linkType: hard

"ws@npm:^7, ws@npm:^7.3.1, ws@npm:^7.4.4":
"ws@npm:^7, ws@npm:^7.3.1, ws@npm:^7.4.5":
version: 7.4.5
resolution: "ws@npm:7.4.5"
peerDependencies:
Expand Down