Skip to content

Commit

Permalink
chore(deps): update dependency nuxt to v3.15.3 (#943)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [nuxt](https://nuxt.com)
([source](https://redirect.github.com/nuxt/nuxt/tree/HEAD/packages/nuxt))
| [`3.15.2` ->
`3.15.3`](https://renovatebot.com/diffs/npm/nuxt/3.15.2/3.15.3) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/nuxt/3.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nuxt/3.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nuxt/3.15.2/3.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nuxt/3.15.2/3.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>nuxt/nuxt (nuxt)</summary>

###
[`v3.15.3`](https://redirect.github.com/nuxt/nuxt/releases/tag/v3.15.3)

[Compare
Source](https://redirect.github.com/nuxt/nuxt/compare/v3.15.2...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](https://redirect.github.com/nuxt/nuxt/commit/406db5b4d). 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:

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

#### ✅ Upgrading

As usual, our recommendation for upgrading is to run:

```sh
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](https://redirect.github.com/nuxt/nuxt/compare/v3.15.2...v3.15.3)

##### 🔥 Performance

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

##### 🩹 Fixes

- **vite:** Override previous `#app-manifest` alias
([#&#8203;30618](https://redirect.github.com/nuxt/nuxt/pull/30618))
- **kit,nuxt,schema,vite:** Improve watching behaviour
([#&#8203;30620](https://redirect.github.com/nuxt/nuxt/pull/30620))
- **nuxt:** Fall back to `plugin.src` for variable name generation
([#&#8203;30649](https://redirect.github.com/nuxt/nuxt/pull/30649))
- **schema:** Allow overriding `dev`/`test` environment value
([#&#8203;30667](https://redirect.github.com/nuxt/nuxt/pull/30667))
- **vite:** Drop unneeded call to invalidate module
([d2a95c542](https://redirect.github.com/nuxt/nuxt/commit/d2a95c542))
- **vite:** Add back `invalidateModule` call
([9bd71e498](https://redirect.github.com/nuxt/nuxt/commit/9bd71e498))
- **nuxt:** Do not warn about `[[` optional dynamic params
([#&#8203;30619](https://redirect.github.com/nuxt/nuxt/pull/30619))
- **vite:** Inline shared folder in dev mode
([#&#8203;30690](https://redirect.github.com/nuxt/nuxt/pull/30690))
- **nuxt:** Deep clone extracted page meta
([#&#8203;30717](https://redirect.github.com/nuxt/nuxt/pull/30717))
- **vite,webpack:** Restrict access via cors to local origins + allow
configuration via `devServer.cors`
([406db5b4d](https://redirect.github.com/nuxt/nuxt/commit/406db5b4d))

##### 💅 Refactors

- **vite:** Drop `externality` and use vite internal config
([#&#8203;30634](https://redirect.github.com/nuxt/nuxt/pull/30634))

##### 📖 Documentation

- Add link to custom `useFetch` example
([#&#8203;30629](https://redirect.github.com/nuxt/nuxt/pull/30629))
- Fix example command
([#&#8203;30628](https://redirect.github.com/nuxt/nuxt/pull/30628))
- Fix links to `nuxi` source code
([4fabe0025](https://redirect.github.com/nuxt/nuxt/commit/4fabe0025))
- Add description for prefetch and other details of `NuxtLink`
([#&#8203;30614](https://redirect.github.com/nuxt/nuxt/pull/30614))
- Update nuxt/content example
([542987627](https://redirect.github.com/nuxt/nuxt/commit/542987627))
- Adjust examples, type and description for `addRouteMiddleware`
([#&#8203;30656](https://redirect.github.com/nuxt/nuxt/pull/30656))
- Explain how to use `ClientOnly` with `onMounted` hook
([#&#8203;30670](https://redirect.github.com/nuxt/nuxt/pull/30670))
- Update links to unhead source
([eb5344b43](https://redirect.github.com/nuxt/nuxt/commit/eb5344b43))
- Add more context about `navigation` mode in `callOnce` composable
([#&#8203;30612](https://redirect.github.com/nuxt/nuxt/pull/30612))
- Add example on how to disable default routes for ssg
([#&#8203;30729](https://redirect.github.com/nuxt/nuxt/pull/30729))

##### 📦 Build

- **schema:** Use new `inlineDependencies` option
([01adefcec](https://redirect.github.com/nuxt/nuxt/commit/01adefcec))

##### 🏡 Chore

- **kit:** Explicitly inline `lodash-es`
([0c01273f5](https://redirect.github.com/nuxt/nuxt/commit/0c01273f5))
- Add debug timing jiti/unbuild plugins
([#&#8203;30648](https://redirect.github.com/nuxt/nuxt/pull/30648))
- Do not clobber global tracker objects
([df8554331](https://redirect.github.com/nuxt/nuxt/commit/df8554331))
- Remove stray console log
([47c40f310](https://redirect.github.com/nuxt/nuxt/commit/47c40f310))
- Improve debugging plugins
([492b1ec65](https://redirect.github.com/nuxt/nuxt/commit/492b1ec65))
- Write metrics to disk for better diffing
([c5c6b8105](https://redirect.github.com/nuxt/nuxt/commit/c5c6b8105))
- Lint
([86aff854c](https://redirect.github.com/nuxt/nuxt/commit/86aff854c))

##### 🤖 CI

- Run bundle size assertion outside of matrix
([#&#8203;30688](https://redirect.github.com/nuxt/nuxt/pull/30688))
- Reenable nuxt benchmarking
([#&#8203;30711](https://redirect.github.com/nuxt/nuxt/pull/30711))

##### ❤️ Contributors

- Alex Liu
([@&#8203;Mini-ghost](https://redirect.github.com/Mini-ghost))
- Daniel Roe
([@&#8203;danielroe](https://redirect.github.com/danielroe))
- Alan Schio ([@&#8203;schirrel](https://redirect.github.com/schirrel))
-   xjccc ([@&#8203;xjccc](https://redirect.github.com/xjccc))
- Saeid Zareie
([@&#8203;Saeid-Za](https://redirect.github.com/Saeid-Za))
- Zakhar Shymanchyk
([@&#8203;zshimanchik](https://redirect.github.com/zshimanchik))
-   Arturs Jansons ([@&#8203;iegik](https://redirect.github.com/iegik))
- Maxime Pauvert
([@&#8203;maximepvrt](https://redirect.github.com/maximepvrt))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/JoshuaKGoldberg/emoji-blast).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jan 28, 2025
1 parent 698dca9 commit 6cf817a
Showing 1 changed file with 162 additions and 206 deletions.
Loading

0 comments on commit 6cf817a

Please sign in to comment.