Team-Isaac-Polito / isaac-website

Team Isaac website
0 stars 0 forks source link

Bump @vitejs/plugin-react from 4.0.4 to 4.2.1 #160

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 11 months ago

Bumps @vitejs/plugin-react from 4.0.4 to 4.2.1.

Release notes

Sourced from @​vitejs/plugin-react's releases.

v4.2.1

Remove generic parameter on Plugin to avoid type error with Rollup 4/Vite 5 and skipLibCheck: false.

I expect very few people to currently use this feature, but if you are extending the React plugin via api object, you can get back the typing of the hook by importing ViteReactPluginApi:

import type { Plugin } from 'vite'
import type { ViteReactPluginApi } from '@vitejs/plugin-react'

export const somePlugin: Plugin = { name: 'some-plugin', api: { reactBabel: (babelConfig) => { babelConfig.plugins.push('some-babel-plugin') }, } satisfies ViteReactPluginApi, }

v4.2.0

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.

v4.1.1

  • Enable retainLines to get correct line numbers for jsxDev (fix #235)

v4.1.0

  • Add @types/babel__cores to dependencies (fix #211)
  • Improve build perf when not using Babel plugins by lazy loading @babel/core #212
  • Better invalidation message when an export is added & fix HMR for export of nullish values #215
  • Include non-dev jsx runtime in optimizeDeps & support HMR for JS files using the non dev runtime #224
  • The build output now contains a index.d.cts file so you don't get types errors when setting moduleResolution to node16 or nodenext in your tsconfig (we recommend using bundler which is more close to how Vite works)
Changelog

Sourced from @​vitejs/plugin-react's changelog.

4.2.1 (2023-12-04)

Remove generic parameter on Plugin to avoid type error with Rollup 4/Vite 5 and skipLibCheck: false.

I expect very few people to currently use this feature, but if you are extending the React plugin via api object, you can get back the typing of the hook by importing ViteReactPluginApi:

import type { Plugin } from 'vite'
import type { ViteReactPluginApi } from '@vitejs/plugin-react'

export const somePlugin: Plugin = { name: 'some-plugin', api: { reactBabel: (babelConfig) => { babelConfig.plugins.push('some-babel-plugin') }, } satisfies ViteReactPluginApi, }

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

4.1.1 (2023-11-02)

  • Enable retainLines to get correct line numbers for jsxDev (fix #235)

4.1.0 (2023-09-24)

  • Add @types/babel__cores to dependencies (fix #211)
  • Improve build perf when not using Babel plugins by lazy loading @babel/core #212
  • Better invalidation message when an export is added & fix HMR for export of nullish values #215
  • Include non-dev jsx runtime in optimizeDeps & support HMR for JS files using the non dev runtime #224
  • The build output now contains a index.d.cts file so you don't get types errors when setting moduleResolution to node16 or nodenext in your tsconfig (we recommend using bundler which is more close to how Vite works)
Commits
  • 8b53547 release: plugin-react@4.2.1
  • ec63066 chore(deps): update dependency vite to v5 (#263)
  • 8512995 fix(deps): update all non-major dependencies (#259)
  • 7f53c63 fix: remove plugin type extension (#269)
  • 3748fc7 release: plugin-react@4.2.0
  • fb2b735 fix(deps): update all non-major dependencies (#254)
  • 96b66ed fix: align jsx runtime for optimized dependencies (#256)
  • f10a577 feat: update peer dep for vite 5 (#257)
  • 9956fb5 refactor: shorten react import regex pattern (#250)
  • b255776 release: plugin-react@4.1.1
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

github-actions[bot] commented 11 months ago

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Manifest Files

package-lock.json
  • @babel/code-frame@7.23.5
  • @babel/core@7.23.5
  • @babel/generator@7.23.5
  • @babel/helper-module-transforms@7.23.3
  • @babel/helper-string-parser@7.23.4
  • @babel/helpers@7.23.5
  • @babel/highlight@7.23.4
  • @babel/parser@7.23.5
  • @babel/plugin-transform-react-jsx-self@7.23.3
  • @babel/plugin-transform-react-jsx-source@7.23.3
  • @babel/traverse@7.23.5
  • @babel/types@7.23.5
  • @types/babel__core@7.20.5
  • @types/babel__generator@7.6.7
  • @types/babel__template@7.4.4
  • @types/babel__traverse@7.20.4
  • @vitejs/plugin-react@4.2.1
  • @babel/code-frame@7.22.13
  • @babel/core@7.23.2
  • @babel/generator@7.23.0
  • @babel/helper-module-transforms@7.23.0
  • @babel/helper-string-parser@7.22.5
  • @babel/helpers@7.23.2
  • @babel/highlight@7.22.20
  • @babel/parser@7.23.0
  • @babel/plugin-transform-react-jsx-self@7.22.5
  • @babel/plugin-transform-react-jsx-source@7.22.5
  • @babel/traverse@7.23.2
  • @babel/types@7.23.0
  • @vitejs/plugin-react@4.0.4
package.json
  • @vitejs/plugin-react@^4.2.1
  • @vitejs/plugin-react@^4.0.4