[Snyk] Upgrade @vue/cli-plugin-unit-mocha from 4.1.2 to 4.2.2 - #45
Open
snyk-bot wants to merge 1 commit into
Open
[Snyk] Upgrade @vue/cli-plugin-unit-mocha from 4.1.2 to 4.2.2#45snyk-bot wants to merge 1 commit into
snyk-bot wants to merge 1 commit into
Conversation
Snyk has created this PR to upgrade @vue/cli-plugin-unit-mocha from 4.1.2 to 4.2.2. See this package in NPM: https://www.npmjs.com/package/@vue/cli-plugin-unit-mocha See this project in Snyk: https://app.snyk.io/org/michaelwybraniec/project/89b438bf-d33a-4ea2-8470-2142bb4cf8b4?utm_source=github&utm_medium=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade @vue/cli-plugin-unit-mocha from 4.1.2 to 4.2.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.Release notes
Package name: @vue/cli-plugin-unit-mocha
-
4.2.2 - 2020-02-07
- 0d0168b fix(ui): fix the incorrect RegExp used for CORS check (@sodatea)
-
4.2.1 - 2020-02-07
- 776275d fix: add graphql-server.js to npm files (@sodatea)
-
4.2.0 - 2020-02-07
- The default ESLint version is bumped to v6. Users can upgrade through
- The default TypeScript version is bumped from
- For ESLint + TypeScript + Nightwatch users, due to the ESLint rule change, an additional rule needs to be added to
- The default
- #5149 feat(GeneratorAPI): allow passing options to
- #5147 feat: create projects with @vue/test-utils beta 31 (@sodatea)
- #5134 feat: lock minor versions when creating projects / adding plugins (@sodatea)
- #5128 feat: upgrade to typescript@~3.7.5 (@sodatea)
- #5091 feat:
- #4828 feat: add option
- #4953 feat: adds transparent PnP support to Webpack (@arcanis)
- #2411 feat(cli): add
- #4933 feat: upgrade to eslint 6 (@sodatea)
- #4827 feat: respect existing package.json (@zyy7259)
- #4959 feat: specify babel runtime version (@zyy7259)
- #5029 feat: don't throw on console/debugger statements for
- #5150 fix: should infer package manager from config if there's no lockfile in the project (@sodatea)
- #5045 refactor: use a plain http request to get package metadata (@sodatea)
- #5062 fix
- #5038 fix:
- #4985 fix(CORS): only allow connections from the designated host (@Akryum)
- #5142 fix(CORS): fixup #4985, allow same-origin ws requests of any domain (@sodatea)
- #5108 fix(e2e-cypress): make
- #4910 fix: comment eslint disable in cypress config (@cexbrayat)
- #5113 fix: correctly calculate cacheIdentifier from lockfiles (@sodatea)
- #5089 fix: pwa-plugin avoid generating manifest when path is an URL (@tkint)
- #5028 fix applyESLint when eslint plugin is added after unit test plugins (@sodatea)
- #5069 Use a single websocket connection for HMR (@lbogdan)
- #5016 fix(e2e-nightwatch): check for correct flag name (@LinusBorg)
- #5019 Updated zh-cn translation in cli section (@mactanxin)
- #5133 refactor: remove usage of deprecated babel functions, preparing for babel 8 (@sodatea)
- #5123 fix:
- #5060 refactor: use the
- #5110 refactor: use env variables to set registry for package managers (@sodatea)
- #5092 refactor: use
- #4991 🎨 style: unified components' naming style (@taoweicn)
- Alexander Sokolov (@Alex-Sokolov)
- Bogdan Luca (@lbogdan)
- Cédric Exbrayat (@cexbrayat)
- Dan Hogan (@danhogan)
- Daniel Bächtold (@danbaechtold)
- Eduardo San Martin Morote (@posva)
- Guillaume Chau (@Akryum)
- Haoqun Jiang (@sodatea)
- Marcel Lindig (@nullpilot)
- Maël Nison (@arcanis)
- Pavan Kumar Sunkara (@pksunkara)
- Tao Wei (@taoweicn)
- Thomas Kint (@tkint)
- Thorsten Lünborg (@LinusBorg)
- Xin Tan (@mactanxin)
- Yingya Zhang (@zyy7259)
- plantainX (@cheqianxiao)
-
4.1.2 - 2019-12-28
- #4974 fix: fix several bugs in the PWA plugin UI, make it usable again (@sodatea)
- #4922 fix: should download to different tmp directories for different preset names (@sodatea)
- #4924 fix: do not throw when babel config contains
- #5004 build: fix npm link to homepage (@Scrum)
- #4754 docs: update debugging instructions (@zigomir)
- Other
- #4976 docs: his -> their (@sodatea)
- #4973 docs: mention navigateFallback option for PWA App Shell caching (@clementmas)
- #4917 docs: [RU] Translation update (@Alex-Sokolov)
- dependency maintenance across all packages
- #4904 refactor: use inline approach (@jamesgeorge007)
- #4909 changed var-name
- Alexander Sokolov (@Alex-Sokolov)
- Haoqun Jiang (@sodatea)
- Ivan Demidov (@Scrum)
- James George (@jamesgeorge007)
- Jorge Moliner (@whoisjorge)
- Jun-Kyu Kim (@x6ax6b)
- Kumar Gaurav (@ikumargaurav)
- clem (@clementmas)
- ziga (@zigomir)
from @vue/cli-plugin-unit-mocha GitHub release notes🐛 Bug Fix
@vue/cli🐛 Bug Fix
@vue/cli-uiHow to Upgrade
First, reinstall the latest version of
@vue/cliglobally.Then in the projects, run
Notable Changes
Vue CLI UI CORS Issue
A critical CORS vulnerability is fixed in this version.
We recommend all users of
vue uito upgrade to this version as soon as possible.#4985 #5142
Lock Minor Version By Default
From this version on, newly-created projects and newly-added CLI plugins will lock the plugin version ranges to their minor versions.
The core functionalities of Vue CLI is quite stable at the moment. So we decided to make this change to improve project stability even more.
Users can run
vue upgradeperiodically to bump the minor versions in the projects.We also expect this change to make the adoption of new features smoother.
See more detailed explanation at #5012
ESLint 6
With the recent updates in the ecosystem (eslint-plugin-vue, @vue/eslint-config-airbnb, @vue/eslint-config-standard, @vue/eslint-config-prettier, @vue/eslint-config-typescript), Vue CLI now supports ESLint 6. It will scaffold all new projects will ESLint 6.
For users from older versions, ESLint 5 is still supported. If you want to adopt ESLint 6 in the project, it's recommended to migrate through the
vue upgradecommand; otherwise, there will be much manual work to do.Optional Chaining & Nullish Coalescing
We now support the optional chaining and nullish coalescing operators!
If you're using Babel, these syntaxes supported by default since this version, so no actions to take.
If you're using TypeScript, the
vue upgradecommand will automatically do the necessaryconfigurations for you, or you can manually upgrade your typescript dependency to 3.7.0 or later.
vue upgradeandvue migrateSee the Pull Request at #5091
You may have encountered the
TypeError: Invalid Version: N/Aerror if you ranvue upgradein a monorepo or forgot to runnpm installfirst.It is because, to run corresponding migration scripts, Vue CLI needs to know which versions of plugins the project previously depended on.
Monorepo support has been added since v4.2.
But in case of missing dependencies or any other edge cases, you can pass a
--fromoption to the command to skip the local version detection step. For example:vue upgrade eslint --from 4.1.2.A
vue migrate --fromcommand is available for those already bumped to the latest versions but didn't run the migration scripts.Better Yarn 2 Support
Previously in v4.1.0, we added basic Yarn 2 support with the introduction of
vue-cli-plugin-pnppackage.Now since Yarn 2 has officially released, we have also improved the support in Vue CLI.
You can create new projects directly with Yarn 2 and run it. That extra plugin is no longer required.
yarn dlx -p @vue/cli vue create hello-yarn-2 --default cd hello-yarn-2 yarn serveProject Template Changes
vue upgrade.~3.5.3to~3.7.5. Users can upgrade throughvue upgrade, or manually change the dependency version inpackage.jsontests/e2e/.eslintrc. We haven't implemented an automatic migration script for it. Please add it manually. See https://github.com/vuejs/vue-cli/blob/v4.2.0/packages/%40vue/cli-plugin-e2e-nightwatch/generator/template/tests/e2e/_eslintrc.js#L5@vue/test-utilsversion used for unit tests is bumped from1.0.0-beta.29to1.0.0-beta.31. Due to the breaking changes, we didn't migrate it automatically for old projects. Please read the release notes and upgrade at your own will.Detailed Changelog
🚀 New Features
@vue/cli-plugin-babel,@vue/cli-plugin-eslint,@vue/cli-plugin-typescript,@vue/cliapi.extendPackage(@sodatea)@vue/cli-plugin-unit-jest,@vue/cli-plugin-unit-mocha@vue/cli-ui,@vue/cli@vue/cli-plugin-typescript,@vue/cli-ui@vue/clivue upgrademonorepo support,--fromoption, and a newvue migrate --fromcommand (@sodatea)--mergetocreatecommand (@zyy7259)@vue/cli-service--stdinflag to serve (@nullpilot)@vue/babel-preset-app,@vue/cli-plugin-e2e-nightwatch,@vue/cli-plugin-eslint,@vue/cli-plugin-pwa,@vue/cli-ui-addon-webpack,@vue/cli-ui-addon-widgets,@vue/cli-ui,@vue/cli@vue/cli-service,@vue/cli-shared-utils,@vue/cli@vue/babel-preset-app@vue/cli-service-globalvue serve(@sodatea)🐛 Bug Fix
@vue/cli-shared-utils,@vue/cli@vue/cliafterInvoke/onCreateCompletecallbacks in Migrator (@sodatea)extendPackagedependency versions should be string (@pksunkara)@vue/cli-ui,@vue/cli@vue/cli-plugin-e2e-cypress--headlesswork with--browser chrome(@LinusBorg)@vue/cli-service@vue/cli-plugin-pwa@vue/cli-plugin-unit-jest,@vue/cli-plugin-unit-mocha@vue/cli-service,@vue/cli-test-utils@vue/cli-plugin-e2e-nightwatch📝 Documentation
🏠 Internal
@vue/babel-preset-app,@vue/cli-plugin-babel@vue/cli-servicevue-template-compilercan be optional if@vue/compiler-sfcpresents (@sodatea)titleoption in the html template, instead of hard-code the project name (@sodatea)@vue/cli@vue/cli-shared-utilscreateRequireto load/resolve modules (@sodatea)@vue/cli-plugin-router,@vue/cli-plugin-typescript,@vue/cli-serviceCommitters: 17
4.1.2 (2019-12-28)
🐛 Bug Fix
@vue/cli-plugin-pwa@vue/cli@vue/cli-plugin-babelignore/include/exclude(@sodatea)📝 Documentation
@vue/cli-service-global@vue/cli-plugin-unit-jest🏠 Internal
@vue/cli@vue/cli-serviceasynctoisAsync(@ikumargaurav)Committers: 9
Commit messages
Package name: @vue/cli-plugin-unit-mocha
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs