Skip to content
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.3 #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nerds-github
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade vue-i18n from 9.10.2 to 10.0.3.

ℹ️ 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.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 24 versions ahead of your current version.

  • The recommended version was released on a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Cross-site Scripting (XSS)
SNYK-JS-ROLLUP-8073097
362 Proof of Concept
Release notes
Package name: vue-i18n
  • 10.0.3 - 2024-09-22

    What's Changed

    🐛 Bug Fixes

    • fix(petite-vue-i18n): cannot register correctly message resolver and locale fallbacker by @ kazupon in #1967

    📝️ Documentations

    • docs: add unplugin-vue-i18n setting for petite-vue-i18n by @ kazupon in #1968

    Full Changelog: v10.0.2...v10.0.3

  • 10.0.2 - 2024-09-21

    What's Changed

    ⚡ Improvement Features

    📝️ Documentations

    Full Changelog: v10.0.1...v10.0.2

  • 10.0.1 - 2024-09-12

    What's Changed

    🐛 Bug Fixes

    New Contributors

    Full Changelog: v10.0.0...v10.0.1

  • 10.0.0 - 2024-09-10

    We are excited to announce the release of Vue I18n v10.
    We had many contributors.

    Thanks for your contributing ❤️

    Summary

    petite-vue-i18n General Availability

    petite-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:

    • CSP restrictions: Difficult to work with service/web workers, edge-side runtimes of CDNs, etc.
    • Backend integration: Hard to fetch messages from a backend (e.g., a database via API) and localize them dynamically.

    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 and t Overload Signatures for Legacy API Mode

    In Vue I18n v9, $t and t 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 and t overload signatures as Composition API mode.

    For details on the signature pattern, see the migration guide.

    Deprecation of tc and $tc for Legacy API Mode

    The t and $t functions already support pluralization, so tc 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

    ❗ Braeking Changes

    • breaking: drop translation component <i18n> v8.x compatibility by @ kazupon in #1844
    • breaking: drop te behavior v8.x compatibility on v9 by @ kazupon in #1845
    • feat!: deprecate tc and $tc for Legacy API mode by @ kazupon in #1839
    • breaking: drop fully formatter option codes on Legacy API by @ kazupon in #1826
    • breaking: drop fully preserveDirectiveContent option codes on Legacy API by @ kazupon in #1827
    • breaking: drop fully preserve modifier codes on v-t directive by @ kazupon in #1828
    • breaking: drop fully getChoiceIndex on Legacy API by @ kazupon in #1829
    • breaking: drop vue-i18n-bridge by @ kazupon in #1816
    • breaking: drop allowComposition option by @ kazupon in #1817
    • breaking: drop modulo syntax by @ kazupon in #1814

    ⚡ Improvement Features

    ✏️ Documentation & Sample Updates

    🐛 Bug Fixes

    New Contributors

    Full Changelog: v9.13.1...v10.0.0

  • 10.0.0-rc.1 - 2024-09-05

    What's Changed

    ⚡ Improvement Features

    Full Changelog: v10.0.0-beta.6...v10.0.0-rc.1

  • 10.0.0-beta.6 - 2024-08-29

    What's Changed

    🐛 Bug Fixes

    📝️ Documentations

    🍭 Examples

    New Contributors

    Full Changelog: v10.0.0-beta.5...v10.0.0-beta.6

  • 10.0.0-beta.5 - 2024-07-19

    What's Changed

    📝️ Documentations

    Full Changelog: v10.0.0-beta.4...v10.0.0-beta.5

  • 10.0.0-beta.4 - 2024-07-16

    What's Changed

    🌟 Features

    📝️ Documentations

    • Added a comment about pluralRules to the code in pluralization docs by @ M1h4n1k in #1873

    New Contributors

    Full Changelog: v10.0.0-beta.3...v10.0.0-beta.4

  • 10.0.0-beta.3 - 2024-07-14

    What's Changed

    ⚡ Improvement Features

    Full Changelog: v10.0.0-beta.2...v10.0.0-beta.3

  • 10.0.0-beta.2 - 2024-07-05
  • 10.0.0-beta.1 - 2024-05-23
  • 10.0.0-alpha.5 - 2024-05-15
  • 10.0.0-alpha.4 - 2024-05-09
  • 10.0.0-alpha.3 - 2024-04-27
  • 10.0.0-alpha.2 - 2024-04-22
  • 10.0.0-alpha.1 - 2024-04-21
  • 9.14.1 - 2024-09-26
  • 9.14.0 - 2024-08-16

    What's Changed

    ⚡ Improvement Features

    Full Changelog: v9.13.1...v9.14.0

  • 9.13.1 - 2024-04-20
  • 9.13.0 - 2024-04-17
  • 9.12.1 - 2024-04-14
  • 9.12.0 - 2024-04-12
  • 9.11.1 - 2024-04-10
  • 9.11.0 - 2024-04-04
  • 9.10.2 - 2024-03-15
from vue-i18n GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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:

Snyk has created this PR to upgrade vue-i18n from 9.10.2 to 10.0.3.

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
Copy link

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:

No release type found in pull request title "[Snyk] Upgrade vue-i18n from 9.10.2 to 10.0.3". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - feat: A new feature
 - fix: A bug fix
 - docs: Documentation only changes
 - style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
 - refactor: A code change that neither fixes a bug nor adds a feature
 - perf: A code change that improves performance
 - test: Adding missing tests or correcting existing tests
 - build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
 - ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
 - chore: Other changes that don't modify src or test files
 - revert: Reverts a previous commit

Copy link

sourcery-ai bot commented Oct 26, 2024

🧙 Sourcery has finished reviewing your pull request!


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants