From 61d0e74a432fc0c26c83e4a680dee5ab2f70ce20 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Tue, 31 Aug 2021 15:38:50 +0800 Subject: [PATCH] chore: jsdom version bump --- docs/migrations/migrate-from-v4.md | 2 +- packages/@vue/cli-plugin-unit-mocha/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/migrations/migrate-from-v4.md b/docs/migrations/migrate-from-v4.md index 4a9e33d519..5f902433a2 100644 --- a/docs/migrations/migrate-from-v4.md +++ b/docs/migrations/migrate-from-v4.md @@ -138,7 +138,7 @@ Please consider switching to ESLint. You can check out [`tslint-to-eslint-config ### Unit-Mocha Plugin * `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. -* `jsdom` is upgraded from v15 to v16, the breaking changes are listed at [`jsdom` v16.0.0 release](https://github.com/jsdom/jsdom/releases/tag/16.0.0) +* `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). ### Internal Packages diff --git a/packages/@vue/cli-plugin-unit-mocha/package.json b/packages/@vue/cli-plugin-unit-mocha/package.json index d62c31b9ab..fb5e3b1e0a 100644 --- a/packages/@vue/cli-plugin-unit-mocha/package.json +++ b/packages/@vue/cli-plugin-unit-mocha/package.json @@ -23,7 +23,7 @@ "homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-plugin-unit-mocha#readme", "dependencies": { "@vue/cli-shared-utils": "^5.0.0-beta.3", - "jsdom": "^16.4.0", + "jsdom": "^17.0.0", "jsdom-global": "^3.0.2", "mocha": "^8.3.0", "mochapack": "^2.1.0"