Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

chore!: bump unit-mocha dependency versions #5907

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

Merged
merged 3 commits into from
Sep 29, 2020
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions 5 docs/migrations/migrate-from-v4.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ Please consider switching to ESLint. You can check out [`tslint-to-eslint-config

* Cypress is updated from v3 to v5. See <https://docs.cypress.io/guides/references/migration-guide.html> for a detailed migration guide.

### Unit-Mocha Plugin

* Updated `mocha` from v6 to v7, please refer to the release notes of [mocha v7](https://github.com/mochajs/mocha/releases/tag/v7.0.0) for a complete list of breaking changes.
* Updated `jsdom` from v15 to v16, the breaking changes are listed at <https://github.com/jsdom/jsdom/releases/tag/16.0.0>

### Internal Packages

#### `@vue/cli-shared-utils`
Expand Down
4 changes: 2 additions & 2 deletions 4 packages/@vue/cli-plugin-unit-mocha/generator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ module.exports = (api, options, rootOptions, invoking) => {

api.extendPackage({
devDependencies: {
'@vue/test-utils': isVue3 ? '^2.0.0-0' : '^1.0.3',
'chai': '^4.1.2'
'@vue/test-utils': isVue3 ? '^2.0.0-0' : '^1.1.0',
'chai': '^4.2.0'
},
scripts: {
'test:unit': 'vue-cli-service test:unit'
Expand Down
10 changes: 5 additions & 5 deletions 10 packages/@vue/cli-plugin-unit-mocha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
"homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-plugin-unit-mocha#readme",
"dependencies": {
"@vue/cli-shared-utils": "^4.5.5",
"jsdom": "^15.2.1",
"jsdom": "^16.4.0",
"jsdom-global": "^3.0.2",
"mocha": "^6.2.2",
"mochapack": "^1.1.15"
"mocha": "^7.2.0",
"mochapack": "^2.0.2"
},
"devDependencies": {
"@vue/test-utils": "^1.0.3",
"chai": "^4.1.2"
"@vue/test-utils": "^1.1.0",
"chai": "^4.2.0"
},
"peerDependencies": {
"@vue/cli-service": "^3.0.0 || ^4.0.0-0"
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.