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

Bump @nuxt/vite-builder and nuxt #43

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2025

Bumps @nuxt/vite-builder to 3.15.3 and updates ancestor dependency nuxt. These dependencies need to be updated together.

Updates @nuxt/vite-builder from 3.12.4 to 3.15.3

Release notes

Sourced from @​nuxt/vite-builder's releases.

v3.15.3

3.15.3 is the next regularly scheduled patch release.

👀 Highlights

CORS configuration for dev server

Alongside a range of improvements, we've also shipped a significant fix to impose CORS origin restrictions on the dev server. This applies to your Vite or Webpack/Rspack dev middleware only.

This is a significant/breaking change we would not normally ship in a patch but it is a security fix (see GHSA-4gf7-ff8x-hq99 and GHSA-2452-6xj8-jh47) and we urge you to update ASAP.

You can configure the allowed origins and other CORS options via the devServer.cors options in your nuxt.config, which may be relevant if you are developing with a custom hostname:

export default defineNuxtConfig({
  devServer: {
    cors: {
      origin: ['https://custom-origin.com'],
    },
  },
})

✅ Upgrading

As usual, our recommendation for upgrading is to run:

npx nuxi@latest upgrade --force

This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.

👉 Changelog

compare changes

🔥 Performance

  • kit,nuxt: Don't resolve paths from local layers/modules (#30650)
  • nuxt: Reduce number of mkdirSync calls (#30651)
  • nuxt: Reduce unnecessary template updating (#30684)
  • kit: Reduce duplication between findPath and resolvePath (#30682)
  • kit: Run components compat check synchronously (#30685)
  • nuxt: Early return from annotation for non-object syntax plugins (#30683)
  • nuxt: Enable Transition component only on client side (#30720)

🩹 Fixes

  • vite: Override previous #app-manifest alias (#30618)
  • kit,nuxt,schema,vite: Improve watching behaviour (#30620)
  • nuxt: Fall back to plugin.src for variable name generation (#30649)
  • schema: Allow overriding dev/test environment value (#30667)

... (truncated)

Commits
  • 048f974 v3.15.3
  • c6056bd chore(deps): update all non-major dependencies (3.x) (#30733)
  • 406db5b fix(vite,webpack): restrict access via cors to local origins + allow configur...
  • 09d8db5 chore(deps): update vitest to v3.0.4 (3.x) (#30724)
  • 10a5495 fix(vite): inline shared folder in dev mode (#30690)
  • f1c2948 chore(deps): update all non-major dependencies (3.x) (#30694)
  • 64efade chore(deps): update vitest to v3.0.3 (3.x) (#30692)
  • 9bd71e4 fix(vite): add back invalidateModule call
  • b3f0c14 chore(deps): update all non-major dependencies (3.x) (#30687)
  • d2a95c5 fix(vite): drop unneeded call to invalidate module
  • Additional commits viewable in compare view

Updates nuxt from 3.12.4 to 3.15.3

Release notes

Sourced from nuxt's releases.

v3.15.3

3.15.3 is the next regularly scheduled patch release.

👀 Highlights

CORS configuration for dev server

Alongside a range of improvements, we've also shipped a significant fix to impose CORS origin restrictions on the dev server. This applies to your Vite or Webpack/Rspack dev middleware only.

This is a significant/breaking change we would not normally ship in a patch but it is a security fix (see GHSA-4gf7-ff8x-hq99 and GHSA-2452-6xj8-jh47) and we urge you to update ASAP.

You can configure the allowed origins and other CORS options via the devServer.cors options in your nuxt.config, which may be relevant if you are developing with a custom hostname:

export default defineNuxtConfig({
  devServer: {
    cors: {
      origin: ['https://custom-origin.com'],
    },
  },
})

✅ Upgrading

As usual, our recommendation for upgrading is to run:

npx nuxi@latest upgrade --force

This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.

👉 Changelog

compare changes

🔥 Performance

  • kit,nuxt: Don't resolve paths from local layers/modules (#30650)
  • nuxt: Reduce number of mkdirSync calls (#30651)
  • nuxt: Reduce unnecessary template updating (#30684)
  • kit: Reduce duplication between findPath and resolvePath (#30682)
  • kit: Run components compat check synchronously (#30685)
  • nuxt: Early return from annotation for non-object syntax plugins (#30683)
  • nuxt: Enable Transition component only on client side (#30720)

🩹 Fixes

  • vite: Override previous #app-manifest alias (#30618)
  • kit,nuxt,schema,vite: Improve watching behaviour (#30620)
  • nuxt: Fall back to plugin.src for variable name generation (#30649)
  • schema: Allow overriding dev/test environment value (#30667)

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 <dependency name> 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [@nuxt/vite-builder](https://github.com/nuxt/nuxt/tree/HEAD/packages/vite) to 3.15.3 and updates ancestor dependency [nuxt](https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt). These dependencies need to be updated together.


Updates `@nuxt/vite-builder` from 3.12.4 to 3.15.3
- [Release notes](https://github.com/nuxt/nuxt/releases)
- [Commits](https://github.com/nuxt/nuxt/commits/v3.15.3/packages/vite)

Updates `nuxt` from 3.12.4 to 3.15.3
- [Release notes](https://github.com/nuxt/nuxt/releases)
- [Commits](https://github.com/nuxt/nuxt/commits/v3.15.3/packages/nuxt)

---
updated-dependencies:
- dependency-name: "@nuxt/vite-builder"
  dependency-type: indirect
- dependency-name: nuxt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 27, 2025
Copy link

cloudflare-workers-and-pages bot commented Jan 27, 2025

Deploying blurple-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7cc580f
Status: ✅  Deploy successful!
Preview URL: https://b5cbfc99.blurple-web.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-mult.blurple-web.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants