Skip to content

Commit dfcfe7a

Browse files
committed
chore!: bump jsdom version
1 parent ccb46f9 commit dfcfe7a

File tree

3 files changed

+68
-29
lines changed

3 files changed

+68
-29
lines changed

docs/migrations/migrate-from-v4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Please consider switching to ESLint. You can check out [`tslint-to-eslint-config
168168
### Unit-Mocha Plugin
169169

170170
* `mocha` is upgraded from v6 to v8, please refer to the release notes of [mocha v7](https://github.com/mochajs/mocha/releases/tag/v7.0.0) and [mocha v8](https://github.com/mochajs/mocha/releases/tag/v8.0.0) for a complete list of breaking changes.
171-
* `jsdom` is upgraded from v15 to v17, user-facing breaking changes are listed in the [`jsdom` v16.0.0 release notes](https://github.com/jsdom/jsdom/releases/tag/16.0.0).
171+
* `jsdom` is upgraded from v15 to v18, user-facing breaking changes are listed in the [`jsdom` v16.0.0 release notes](https://github.com/jsdom/jsdom/releases/tag/16.0.0) and [v18.0.0 release notes](https://github.com/jsdom/jsdom/releases/tag/18.0.0).
172172

173173
### Internal Packages
174174

packages/@vue/cli-plugin-unit-mocha/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-plugin-unit-mocha#readme",
2424
"dependencies": {
2525
"@vue/cli-shared-utils": "^5.0.0-beta.7",
26-
"jsdom": "^17.0.0",
26+
"jsdom": "^18.0.1",
2727
"jsdom-global": "^3.0.2",
2828
"mocha": "^8.3.0",
2929
"mochapack": "^2.1.0"

yarn.lock

Lines changed: 66 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3092,6 +3092,11 @@
30923092
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82"
30933093
integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==
30943094

3095+
"@tootallnate/once@2":
3096+
version "2.0.0"
3097+
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf"
3098+
integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==
3099+
30953100
"@trysound/sax@0.2.0":
30963101
version "0.2.0"
30973102
resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad"
@@ -8454,7 +8459,7 @@ data-urls@^2.0.0:
84548459
whatwg-mimetype "^2.3.0"
84558460
whatwg-url "^8.0.0"
84568461

8457-
data-urls@^3.0.0:
8462+
data-urls@^3.0.1:
84588463
version "3.0.1"
84598464
resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-3.0.1.tgz#597fc2ae30f8bc4dbcf731fcd1b1954353afc6f8"
84608465
integrity sha512-Ds554NeT5Gennfoo9KN50Vh6tpgtvYEwraYjejXnyTpu1C7oXKxdFk75REooENHE8ndTVOJuv+BEs4/J/xcozw==
@@ -9058,6 +9063,13 @@ domexception@^2.0.1:
90589063
dependencies:
90599064
webidl-conversions "^5.0.0"
90609065

9066+
domexception@^4.0.0:
9067+
version "4.0.0"
9068+
resolved "https://registry.yarnpkg.com/domexception/-/domexception-4.0.0.tgz#4ad1be56ccadc86fc76d033353999a8037d03673"
9069+
integrity sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==
9070+
dependencies:
9071+
webidl-conversions "^7.0.0"
9072+
90619073
domhandler@^4.0.0, domhandler@^4.2.0:
90629074
version "4.2.2"
90639075
resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-4.2.2.tgz#e825d721d19a86b8c201a35264e226c678ee755f"
@@ -11939,6 +11951,13 @@ html-encoding-sniffer@^2.0.1:
1193911951
dependencies:
1194011952
whatwg-encoding "^1.0.5"
1194111953

11954+
html-encoding-sniffer@^3.0.0:
11955+
version "3.0.0"
11956+
resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz#2cb1a8cf0db52414776e5b2a7a04d5dd98158de9"
11957+
integrity sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==
11958+
dependencies:
11959+
whatwg-encoding "^2.0.0"
11960+
1194211961
html-entities@^1.3.1:
1194311962
version "1.4.0"
1194411963
resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.4.0.tgz#cfbd1b01d2afaf9adca1b10ae7dffab98c71d2dc"
@@ -12103,6 +12122,15 @@ http-proxy-agent@^4.0.0, http-proxy-agent@^4.0.1:
1210312122
agent-base "6"
1210412123
debug "4"
1210512124

12125+
http-proxy-agent@^5.0.0:
12126+
version "5.0.0"
12127+
resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz#5129800203520d434f142bc78ff3c170800f2b43"
12128+
integrity sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==
12129+
dependencies:
12130+
"@tootallnate/once" "2"
12131+
agent-base "6"
12132+
debug "4"
12133+
1210612134
http-proxy-middleware@0.19.1:
1210712135
version "0.19.1"
1210812136
resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz#183c7dc4aa1479150306498c210cdaf96080a43a"
@@ -12229,7 +12257,7 @@ iconv-lite@0.4.24, iconv-lite@^0.4.24:
1222912257
dependencies:
1223012258
safer-buffer ">= 2.1.2 < 3"
1223112259

12232-
iconv-lite@^0.6.2:
12260+
iconv-lite@0.6.3, iconv-lite@^0.6.2:
1223312261
version "0.6.3"
1223412262
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501"
1223512263
integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==
@@ -13930,23 +13958,23 @@ jsdom@^16.6.0:
1393013958
ws "^7.4.6"
1393113959
xml-name-validator "^3.0.0"
1393213960

13933-
jsdom@^17.0.0:
13934-
version "17.0.0"
13935-
resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-17.0.0.tgz#3ec82d1d30030649c8defedc45fff6aa3e5d06ae"
13936-
integrity sha512-MUq4XdqwtNurZDVeKScENMPHnkgmdIvMzZ1r1NSwHkDuaqI6BouPjr+17COo4/19oLNnmdpFDPOHVpgIZmZ+VA==
13961+
jsdom@^18.0.1:
13962+
version "18.0.1"
13963+
resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-18.0.1.tgz#7317c91be425f31ff25814ad427eed8a2a310b61"
13964+
integrity sha512-mgVzrYP4IJiJKVqXkAdBn+jg+nQgPusBxTJulz3m1Y/1RIrkk8aDoNaQE5BNbHwe72WwiwE7k3Av2THXDpvzPQ==
1393713965
dependencies:
1393813966
abab "^2.0.5"
13939-
acorn "^8.4.1"
13967+
acorn "^8.5.0"
1394013968
acorn-globals "^6.0.0"
1394113969
cssom "^0.5.0"
1394213970
cssstyle "^2.3.0"
13943-
data-urls "^3.0.0"
13971+
data-urls "^3.0.1"
1394413972
decimal.js "^10.3.1"
13945-
domexception "^2.0.1"
13973+
domexception "^4.0.0"
1394613974
escodegen "^2.0.0"
1394713975
form-data "^4.0.0"
13948-
html-encoding-sniffer "^2.0.1"
13949-
http-proxy-agent "^4.0.1"
13976+
html-encoding-sniffer "^3.0.0"
13977+
http-proxy-agent "^5.0.0"
1395013978
https-proxy-agent "^5.0.0"
1395113979
is-potential-custom-element-name "^1.0.1"
1395213980
nwsapi "^2.2.0"
@@ -13955,13 +13983,13 @@ jsdom@^17.0.0:
1395513983
symbol-tree "^3.2.4"
1395613984
tough-cookie "^4.0.0"
1395713985
w3c-hr-time "^1.0.2"
13958-
w3c-xmlserializer "^2.0.0"
13959-
webidl-conversions "^6.1.0"
13960-
whatwg-encoding "^1.0.5"
13961-
whatwg-mimetype "^2.3.0"
13962-
whatwg-url "^9.0.0"
13963-
ws "^8.0.0"
13964-
xml-name-validator "^3.0.0"
13986+
w3c-xmlserializer "^3.0.0"
13987+
webidl-conversions "^7.0.0"
13988+
whatwg-encoding "^2.0.0"
13989+
whatwg-mimetype "^3.0.0"
13990+
whatwg-url "^10.0.0"
13991+
ws "^8.2.3"
13992+
xml-name-validator "^4.0.0"
1396513993

1396613994
jsesc@^2.5.1:
1396713995
version "2.5.2"
@@ -22375,6 +22403,13 @@ w3c-xmlserializer@^2.0.0:
2237522403
dependencies:
2237622404
xml-name-validator "^3.0.0"
2237722405

22406+
w3c-xmlserializer@^3.0.0:
22407+
version "3.0.0"
22408+
resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-3.0.0.tgz#06cdc3eefb7e4d0b20a560a5a3aeb0d2d9a65923"
22409+
integrity sha512-3WFqGEgSXIyGhOmAFtlicJNMjEps8b1MG31NCA0/vOF9+nKMUW1ckhi9cnNHmf88Rzw5V+dwIwsm2C7X8k9aQg==
22410+
dependencies:
22411+
xml-name-validator "^4.0.0"
22412+
2237822413
wait-on@6.0.0:
2237922414
version "6.0.0"
2238022415
resolved "https://registry.yarnpkg.com/wait-on/-/wait-on-6.0.0.tgz#7e9bf8e3d7fe2daecbb7a570ac8ca41e9311c7e7"
@@ -22793,6 +22828,13 @@ whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.5:
2279322828
dependencies:
2279422829
iconv-lite "0.4.24"
2279522830

22831+
whatwg-encoding@^2.0.0:
22832+
version "2.0.0"
22833+
resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz#e7635f597fd87020858626805a2729fa7698ac53"
22834+
integrity sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==
22835+
dependencies:
22836+
iconv-lite "0.6.3"
22837+
2279622838
whatwg-fetch@^3.6.2:
2279722839
version "3.6.2"
2279822840
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz#dced24f37f2624ed0281725d51d0e2e3fe677f8c"
@@ -22842,14 +22884,6 @@ whatwg-url@^8.0.0, whatwg-url@^8.4.0, whatwg-url@^8.5.0:
2284222884
tr46 "^2.1.0"
2284322885
webidl-conversions "^6.1.0"
2284422886

22845-
whatwg-url@^9.0.0:
22846-
version "9.1.0"
22847-
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-9.1.0.tgz#1b112cf237d72cd64fa7882b9c3f6234a1c3050d"
22848-
integrity sha512-CQ0UcrPHyomtlOCot1TL77WyMIm/bCwrJ2D6AOKGwEczU9EpyoqAokfqrf/MioU9kHcMsmJZcg1egXix2KYEsA==
22849-
dependencies:
22850-
tr46 "^2.1.0"
22851-
webidl-conversions "^6.1.0"
22852-
2285322887
when@~3.6.x:
2285422888
version "3.6.4"
2285522889
resolved "https://registry.yarnpkg.com/when/-/when-3.6.4.tgz#473b517ec159e2b85005497a13983f095412e34e"
@@ -23363,7 +23397,7 @@ ws@^6.1.0, ws@^6.2.1:
2336323397
dependencies:
2336423398
async-limiter "~1.0.0"
2336523399

23366-
ws@^8.0.0, ws@^8.1.0:
23400+
ws@^8.1.0, ws@^8.2.3:
2336723401
version "8.2.3"
2336823402
resolved "https://registry.yarnpkg.com/ws/-/ws-8.2.3.tgz#63a56456db1b04367d0b721a0b80cae6d8becbba"
2336923403
integrity sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==
@@ -23378,6 +23412,11 @@ xml-name-validator@^3.0.0:
2337823412
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"
2337923413
integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==
2338023414

23415+
xml-name-validator@^4.0.0:
23416+
version "4.0.0"
23417+
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-4.0.0.tgz#79a006e2e63149a8600f15430f0a4725d1524835"
23418+
integrity sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==
23419+
2338123420
xml2js@^0.4.19:
2338223421
version "0.4.23"
2338323422
resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.23.tgz#a0c69516752421eb2ac758ee4d4ccf58843eac66"

0 commit comments

Comments
 (0)