PreMiD / Website

📂 All our website insides for free.
https://premid.app
Mozilla Public License 2.0
80 stars 40 forks source link

chore(deps): update dependency @nuxt/types to v2.16.0 #1066

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nuxt/types 2.15.8 -> 2.16.0 age adoption passing confidence

Release Notes

nuxt/nuxt.js ### [`v2.16.0`](https://togithub.com/nuxt/nuxt/releases/tag/v2.16.0) [Compare Source](https://togithub.com/nuxt/nuxt.js/compare/v2.15.8...v2.16.0) > Nuxt 2.16.0 is the first minor release since Feb 15, 2021. The focus is mostly on releasing the latest fixes and enhancements that have been present in `nuxt-edge` for some time. #### ✨ Highlights - upgrade to [PostCSS 8](https://togithub.com/nuxt/nuxt/pull/9671) - default to [`core-js` v3](https://togithub.com/nuxt/nuxt/pull/9987) - ... full details below #### ⚠️ Breaking changes - **In this PR we only support Node 14+**. This is mostly an issue for dependencies, which we need to keep updated for security reasons. Going forward until [its own EOL](https://nuxt.com/vision-2023#migrating-to-nuxt-3), Nuxt 2 will only officially support Node versions that have not reached [their EOL](https://togithub.com/nodejs/release#release-schedule). - **New postcss options format**. See [https://github.com/nuxt/nuxt/pull/9671](https://togithub.com/nuxt/nuxt/pull/9671) for full details. - **Dependency upgrades**. A number of dependencies have dropped support for earlier node versions. [`dotenv`](https://togithub.com/nuxt/nuxt/pull/18364) has changed how it parses `.env` files in a number of edge cases. [`glob`](https://togithub.com/nuxt/nuxt/pull/18370) now requires `/` instead of `\` on windows machines. There may also be other changes that affect your usage, so please do upgrade with care. - **Vue 2.7 upgrade**. Although you can use Vue 2.7 with any release of Nuxt 2, 2.16.0 for the first time includes it as a dependency, which means that you may well encounter some issues associated with upgrading Vue 2.6 -> Vue 2.7. This may be a good time to consider using the composition API utilities provided by https://github.com/nuxt/bridge instead, which mirror Nuxt 3's more precisely than `@nuxtjs/composition-api`. (You can opt-in to *just* these utilities by disabling the other bridge modules individually.) #### Changelog [compare changes](https://togithub.com/nuxt/nuxt/compare/v2.15.8...v2.16.0) ##### 🚀 Enhancements - **config:** Support `nuxtrc` in dist directory ([#​9280](https://togithub.com/nuxt/nuxt.js/issues/9280)) - **generator:** Add ignoreEnv generate option during ensureBuild(cmd) ([#​8955](https://togithub.com/nuxt/nuxt.js/issues/8955)) - **server:** Allow disabling `serve-static` middleware ([#​9365](https://togithub.com/nuxt/nuxt.js/issues/9365)) - **types:** Add `asyncData` return types to component instance type ([#​9239](https://togithub.com/nuxt/nuxt.js/issues/9239)) - **vue-app:** `context.beforeSerialize` method ([#​9332](https://togithub.com/nuxt/nuxt.js/issues/9332)) - **vue-app:** Pass `store` to `createRouter` ([#​9629](https://togithub.com/nuxt/nuxt.js/issues/9629)) - Default to `core-js` version 3 ([#​9987](https://togithub.com/nuxt/nuxt.js/issues/9987)) - **webpack:** ⚠️ Update postcss to v8 ([#​9671](https://togithub.com/nuxt/nuxt.js/issues/9671)) ##### 🩹 Fixes - **vue-app:** Respect `scroll-margin-top` when navigating with hash ([#​9187](https://togithub.com/nuxt/nuxt.js/issues/9187)) - **webpack:** Use `javascript/auto` for js rule ([#​9180](https://togithub.com/nuxt/nuxt.js/issues/9180)) - **server:** Unregister error event listener ([#​9245](https://togithub.com/nuxt/nuxt.js/issues/9245)) - **babel-preset-app:** Respect explicit options.targets for modern preset ([#​9337](https://togithub.com/nuxt/nuxt.js/issues/9337)) - **types:** Add nuxt.config alias type ([#​9424](https://togithub.com/nuxt/nuxt.js/issues/9424)) - **vue-app:** Check whether route exists within nuxt app before replacing ([#​9431](https://togithub.com/nuxt/nuxt.js/issues/9431)) - **vue-renderer:** Decode route path for `payload.js` ([#​9494](https://togithub.com/nuxt/nuxt.js/issues/9494)) - **vue-app:** Don't normalise route path if it's valid ([#​9460](https://togithub.com/nuxt/nuxt.js/issues/9460)) - **vue-app:** Redirect to external url replaces current history entry ([#​9500](https://togithub.com/nuxt/nuxt.js/issues/9500)) - **utils:** `trailingSlash` causes error with dynamic nuxt-child routes ([#​9505](https://togithub.com/nuxt/nuxt.js/issues/9505)) - **types:** Add `onNuxtLoaded` and `onNuxtReady` types ([#​9510](https://togithub.com/nuxt/nuxt.js/issues/9510)) - **vue-app:** Re-register components construtor in HMR ([#​9539](https://togithub.com/nuxt/nuxt.js/issues/9539)) - **types:** Add typing for `build.stats` options ([#​9555](https://togithub.com/nuxt/nuxt.js/issues/9555)) - **babel:** Loose option for babel private-property-in-object ([#​9631](https://togithub.com/nuxt/nuxt.js/issues/9631)) - **vue-app:** Serialize route meta to allow functions ([#​9634](https://togithub.com/nuxt/nuxt.js/issues/9634)) - **vue-app:** `null` check for `$root` access ([#​9150](https://togithub.com/nuxt/nuxt.js/issues/9150)) - **generator:** Allow passing `builder` to `getGenerator` ([#​9574](https://togithub.com/nuxt/nuxt.js/issues/9574)) - **generator:** Throw an error when Builder is missing ([#​9663](https://togithub.com/nuxt/nuxt.js/issues/9663)) - **vue-app:** Use correct `$config` for finding basePath ([#​9706](https://togithub.com/nuxt/nuxt.js/issues/9706)) - **vue-renderer:** Ensure custom build indicator preserves some whitespace ([#​9705](https://togithub.com/nuxt/nuxt.js/issues/9705)) - 'npm run test' fails because the last command lacks 'yarn' ([#​9761](https://togithub.com/nuxt/nuxt.js/issues/9761)) - **generator:** Decode path with `ufo` ([#​9739](https://togithub.com/nuxt/nuxt.js/issues/9739)) - **cli:** Ensure nuxt instance is closed when skipping build ([`3e9d7e3`](https://togithub.com/nuxt/nuxt.js/commit/3e9d7e3e7)) - Nuxt-child-key in web-types.json ([#​9792](https://togithub.com/nuxt/nuxt.js/issues/9792)) - **types:** Return type of $fetch ([#​9854](https://togithub.com/nuxt/nuxt.js/issues/9854)) - **deps:** Update `ua-parser-js` to 1.x ([#​9979](https://togithub.com/nuxt/nuxt.js/issues/9979)) - **deps:** Update `ya-parser-js` to latest `0.7.x` ([#​9979](https://togithub.com/nuxt/nuxt.js/issues/9979)) - **vue-app:** Call ssrContext.unsetMutationObserver only if it exists ([#​10132](https://togithub.com/nuxt/nuxt.js/issues/10132)) - **webpack:** Allow files with `.cjs` extension to be transpiled ([#​10340](https://togithub.com/nuxt/nuxt.js/issues/10340)) - **vue-app:** Preview mode fetch ([#​10489](https://togithub.com/nuxt/nuxt.js/issues/10489)) - **webpack:** Resolve `.wasm` extension with lower priority ([#​10676](https://togithub.com/nuxt/nuxt.js/issues/10676)) - **vue-app:** Clear hide timeout when calling `clear()` ([#​10086](https://togithub.com/nuxt/nuxt.js/issues/10086)) ##### 📦 Build - Use 7 digit edge hashes ([`0501a42`](https://togithub.com/nuxt/nuxt.js/commit/0501a424b)) - Upgrade to rollup v3 ([#​18686](https://togithub.com/nuxt/nuxt.js/issues/18686)) ##### 🌊 Types - Add `prefetchPayloads` to router options ([#​9715](https://togithub.com/nuxt/nuxt.js/issues/9715)) ##### 🏡 Chore - **release:** V2.15.6 ([`a53fd32`](https://togithub.com/nuxt/nuxt.js/commit/a53fd32d6)) - **pkg:** Build for es2019 target ([#​9328](https://togithub.com/nuxt/nuxt.js/issues/9328)) - **types:** Add types for new `false` option for `render.static` ([#​9372](https://togithub.com/nuxt/nuxt.js/issues/9372)) - Update error tests ([`d4e5998`](https://togithub.com/nuxt/nuxt.js/commit/d4e5998f9)) - **test:** Revert jest and babel-jest to 26 ([#​9377](https://togithub.com/nuxt/nuxt.js/issues/9377)) - Ignore audit 1754,1755 ([`39f7859`](https://togithub.com/nuxt/nuxt.js/commit/39f785967)) - Fix vetur extension syntax for GitPod ([#​9572](https://togithub.com/nuxt/nuxt.js/issues/9572)) - Ignore globby > 12 upgrade as needs native esm ([`e0968a3`](https://togithub.com/nuxt/nuxt.js/commit/e0968a3ad)) - Update rollup plugins ([`5614399`](https://togithub.com/nuxt/nuxt.js/commit/5614399b4)) - Fix code formatting ([`17bbb21`](https://togithub.com/nuxt/nuxt.js/commit/17bbb21b5)) - **utils:** Improve `stripWhitespace` utility ([#​9668](https://togithub.com/nuxt/nuxt.js/issues/9668)) - Update license year to present ([#​9682](https://togithub.com/nuxt/nuxt.js/issues/9682)) - Add separate file with security disclosure info ([#​9738](https://togithub.com/nuxt/nuxt.js/issues/9738)) - Update logo ([#​9796](https://togithub.com/nuxt/nuxt.js/issues/9796)) - **doc:** Fix link to contribution guide ([#​9815](https://togithub.com/nuxt/nuxt.js/issues/9815)) - **test:** Fix external redirect link ([#​9816](https://togithub.com/nuxt/nuxt.js/issues/9816)) - Update funding.yml ([`1f85137`](https://togithub.com/nuxt/nuxt.js/commit/1f8513720)) - Update lockfile ([`7614360`](https://togithub.com/nuxt/nuxt.js/commit/76143601f)) - Update audit list ([`6f73c36`](https://togithub.com/nuxt/nuxt.js/commit/6f73c36ae)) - Update lockfile and audit ([`1878b26`](https://togithub.com/nuxt/nuxt.js/commit/1878b26f9)) - Update issue template with nuxt 3 ([#​9948](https://togithub.com/nuxt/nuxt.js/issues/9948)) - Enable blank issues ([`54542c1`](https://togithub.com/nuxt/nuxt.js/commit/54542c1b0)) - **radme:** Fix browserstack and saucelabs icons ([#​10068](https://togithub.com/nuxt/nuxt.js/issues/10068)) - Update dependencies ([#​10510](https://togithub.com/nuxt/nuxt.js/issues/10510)) - Update repo ([`773d292`](https://togithub.com/nuxt/nuxt.js/commit/773d292b5)) - Ignore vue and vuex major updates ([`bafc814`](https://togithub.com/nuxt/nuxt.js/commit/bafc814ef)) - Update README.md ([#​10831](https://togithub.com/nuxt/nuxt.js/issues/10831)) - Update pull request template ([`0db7e7b`](https://togithub.com/nuxt/nuxt.js/commit/0db7e7b39)) - Update issue templates ([`f36fb9c`](https://togithub.com/nuxt/nuxt.js/commit/f36fb9cd0)) - Rename 2.x bug template ([`ba966cf`](https://togithub.com/nuxt/nuxt.js/commit/ba966cf9e)) - Move nuxt 2 report to bottom ([`ce7b1a9`](https://togithub.com/nuxt/nuxt.js/commit/ce7b1a939)) - Bump `ua-parser-js` version ([`1cedad5`](https://togithub.com/nuxt/nuxt.js/commit/1cedad5fc)) - Bump test/dev dependencies ([#​18672](https://togithub.com/nuxt/nuxt.js/issues/18672)) - Upgrade unjs dependencies ([#​18670](https://togithub.com/nuxt/nuxt.js/issues/18670)) - Use named export from `defu` ([#​18679](https://togithub.com/nuxt/nuxt.js/issues/18679)) ##### ✅ Tests - Update async size test ([`23e2018`](https://togithub.com/nuxt/nuxt.js/commit/23e2018a1)) - Update size limit tests ([`4f11d3c`](https://togithub.com/nuxt/nuxt.js/commit/4f11d3c1a)) ##### 🤖 CI - Update test branch condition ([`331a2d7`](https://togithub.com/nuxt/nuxt.js/commit/331a2d724)) - Update workflows ([`9677fbe`](https://togithub.com/nuxt/nuxt.js/commit/9677fbe53)) ##### ⚠️ Breaking Changes - **webpack:** ⚠️ Update postcss to v8 ([#​9671](https://togithub.com/nuxt/nuxt.js/issues/9671)) ##### ❤️ Contributors - Xin Du (Clark) - Daniel Roe - Arik - Bot08 - Pooya Parsa - Yuyao Nie - Sébastien Chopin - Clément Ollivier - Michiel Doesburg - Rafał Chłodnicki - Abdfn - K-utsumi - Matteo Rigon - Mehmet - Thibault Vlacich - Jon-ht - Ahmadou Waly NDIAYE - Daniil Okhlopkov - Aewshyae - Michał Kędrzyński - Mrazauskas - Loick Le Digabel - Payel Karmakar - SlayerOfTheBad - Ofer Shaal - Mohammad Saleh Fadaei - Andrew Luca - David Ovčačík - Carbotaniuman - William L'Archeveque - Matthieu Sieben

Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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



This PR has been generated by Mend Renovate. View repository job log here.