-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Snyk] Upgrade vue-i18n from 9.10.2 to 10.0.4 #23
base: master
Are you sure you want to change the base?
[Snyk] Upgrade vue-i18n from 9.10.2 to 10.0.4 #23
Conversation
Snyk has created this PR to upgrade vue-i18n from 9.10.2 to 10.0.4. See this package in npm: vue-i18n See this project in Snyk: https://app.snyk.io/org/nerds-github/project/a6d95be2-6fa7-418d-8fd1-0cd3974eee23?utm_source=github&utm_medium=referral&page=upgrade-pr
Reviewer's Guide by SourceryThis PR upgrades vue-i18n from version 9.10.2 to 10.0.4, which is a major version upgrade that includes several breaking changes and security fixes. The upgrade addresses multiple vulnerabilities including ReDoS, Prototype Pollution, and Cross-site Scripting (XSS) issues. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
Hey there and thank you for opening this pull request! 👋🏼 We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted. Details:
|
Snyk has created this PR to upgrade vue-i18n from 9.10.2 to 10.0.4.
ℹ️ 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.
The recommended version is 26 versions ahead of your current version.
The recommended version was released on 2 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-CROSSSPAWN-8303230
SNYK-JS-INTLIFYSHARED-8442251
SNYK-JS-VUEI18N-8442254
SNYK-JS-INTLIFYCOREBASE-8442262
SNYK-JS-ROLLUP-8073097
SNYK-JS-VUEI18N-8442260
Release notes
Package name: vue-i18n
What's Changed
🐛 Bug Fixes
📝️ Documentations
New Contributors
Full Changelog: v10.0.3...v10.0.4
What's Changed
🐛 Bug Fixes
📝️ Documentations
Full Changelog: v10.0.2...v10.0.3
What's Changed
⚡ Improvement Features
deepCopy
mutatessrc
arguments by @ BobbieGoede in #1947📝️ Documentations
Full Changelog: v10.0.1...v10.0.2
What's Changed
🐛 Bug Fixes
New Contributors
Full Changelog: v10.0.0...v10.0.1
We are excited to announce the release of Vue I18n v10.
We had many contributors.
Thanks for your contributing ❤️
Summary
petite-vue-i18n
General Availabilitypetite-vue-i18n
is an alternative distribution of Vue I18n, providing only minimal features.If you don't need the full functionality of vue-i18n and are just looking for basic translation features with a smaller footprint, this will suit your use case.
For more details, please see the docs.
JIT Compilation Enabled by Default
JIT compilation was introduced in v9.3, but it was not enabled by default.
However, it had the following issues:
Starting from v10, JIT compilation is enabled by default.
Support for Generated Locale Types
We provide an interface to extend the Locale type in TypeScript, similar to
ComponentCustomProperties
in Vue.This feature is useful when using vue-i18n as part of a framework.
For more details, see the PR for the Nuxt I18n use case.
Changes to
$t
andt
Overload Signatures for Legacy API ModeIn Vue I18n v9,
$t
andt
had different overload signatures in Composition API mode compared to Legacy API mode.When migrating from Legacy API mode to Composition API mode, these differences sometimes caused confusion.
Starting from v10, Legacy API mode will use the same
$t
andt
overload signatures as Composition API mode.For details on the signature pattern, see the migration guide.
Deprecation of
tc
and$tc
for Legacy API ModeThe
t
and$t
functions already support pluralization, sotc
and$tc
can be replaced.In v10,
tc
and$tc
still exist to aid in migration, but they will be fully removed in v11.If you use them, Vue I18n will display a console warning in your application.
For migration instructions, see the docs.
Dropping Deprecated Features from v9
Some features were marked as deprecated in v9 with warnings.
These deprecated features will be completely removed in v10.
For more details on the deprecated features, see the docs.
🌟 Features
$t
overloaded signature for Legacy API mode by @ kazupon in #1832❗ Braeking Changes
<i18n>
v8.x compatibility by @ kazupon in #1844te
behavior v8.x compatibility on v9 by @ kazupon in #1845tc
and$tc
for Legacy API mode by @ kazupon in #1839formatter
option codes on Legacy API by @ kazupon in #1826preserveDirectiveContent
option codes on Legacy API by @ kazupon in #1827preserve
modifier codes onv-t
directive by @ kazupon in #1828getChoiceIndex
on Legacy API by @ kazupon in #1829allowComposition
option by @ kazupon in #1817⚡ Improvement Features
✏️ Documentation & Sample Updates
🐛 Bug Fixes
$t
types by @ mitjans in #1883New Contributors
Full Changelog: v9.13.1...v10.0.0
What's Changed
⚡ Improvement Features
Full Changelog: v10.0.0-beta.6...v10.0.0-rc.1
What's Changed
🐛 Bug Fixes
📝️ Documentations
🍭 Examples
New Contributors
Full Changelog: v10.0.0-beta.5...v10.0.0-beta.6
What's Changed
📝️ Documentations
Full Changelog: v10.0.0-beta.4...v10.0.0-beta.5
What's Changed
🐛 Bug Fixes
deepCopy
mutatessrc
arguments by @ BobbieGoede in #1975Full Changelog: v9.14.0...v9.14.1
What's Changed
⚡ Improvement Features
Full Changelog: v9.13.1...v9.14.0
Important
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:
Summary by Sourcery
Upgrade vue-i18n from version 9.10.2 to 10.0.4 to address several vulnerabilities and introduce new features, including default JIT compilation and support for generated locale types. This major version upgrade may include breaking changes, so review the changes carefully.
New Features:
Bug Fixes:
Enhancements:
Documentation: