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 @vitejs/plugin-react-swc from 3.4.1 to 3.7.0 #20

Closed
wants to merge 2 commits into from

Conversation

Tisankan
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade @vitejs/plugin-react-swc from 3.4.1 to 3.7.0.

ℹ️ 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 3 versions ahead of your current version.

  • The recommended version was released on 3 months ago.

Release notes
Package name: @vitejs/plugin-react-swc
  • 3.7.0 - 2024-05-22

    Support HMR for class components

    This is a long overdue and should fix some issues people had with HMR when migrating from CRA.

  • 3.6.0 - 2024-01-31

    Add parserConfig option

    This will unlock to use the plugin in some use cases where the original source code is not in TS. Using this option to keep using JSX inside .js files is highly discouraged and can be removed in any future version.

  • 3.5.0 - 2023-11-16

    Update peer dependency range to target Vite 5

    There were no breaking change that impacted this plugin, so any combination of React plugins and Vite core version will work.

    Align jsx runtime for optimized dependencies

    This will only affect people using internal libraries that contains untranspiled JSX. This change aligns the optimizer with the source code and avoid issues when the published source don't have React in the scope.

    Reminder: While being partially supported in Vite, publishing TS & JSX outside of internal libraries is highly discouraged.

  • 3.4.1 - 2023-10-30

    Add support for .mts (fixes #161)

    Using CJS in source code will not work in Vite (and will never be supported), so this is better to only use .ts.

    But to better align with Vite core defaults, .mts extension will now be processed like .ts. This maybe reverted in a future major.

from @vitejs/plugin-react-swc GitHub release notes

Important

  • 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.

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 @vitejs/plugin-react-swc from 3.4.1 to 3.7.0.

See this package in npm:
@vitejs/plugin-react-swc

See this project in Snyk:
https://app.snyk.io/org/tisankanvc/project/a100fd29-7c34-404c-8806-9ff421314805?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

github-actions bot commented Aug 30, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

package-lock.json

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.

Add support of .mts and .cts extension as a variant of .ts files.
2 participants