vue-types
vue-types copied to clipboard
chore(deps): update all non-major dependencies (minor)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence | Type | Update |
|---|---|---|---|---|---|---|---|
| @eslint/js (source) | 9.8.0 -> 9.13.0 |
devDependencies | minor | ||||
| @nuxt/kit (source) | 3.12.4 -> 3.13.2 |
dependencies | minor | ||||
| @nuxt/schema (source) | 3.12.4 -> 3.13.2 |
devDependencies | minor | ||||
| @types/node (source) | 20.14.15 -> 20.16.13 |
devDependencies | minor | ||||
| @vitest/coverage-v8 (source) | 2.0.5 -> 2.1.3 |
devDependencies | minor | ||||
| eslint (source) | 9.11.1 -> 9.13.0 |
dependencies | minor | ||||
| node (source) | 20.16.0 -> 20.18.0 |
minor | |||||
| nuxt (source) | 3.12.4 -> 3.13.2 |
devDependencies | minor | ||||
| pnpm (source) | 9.6.0 -> 9.12.2 |
packageManager | minor | ||||
| typescript (source) | 5.5.4 -> 5.6.3 |
devDependencies | minor | ||||
| typescript-eslint (source) | 8.0.1 -> 8.10.0 |
devDependencies | minor | ||||
| vite (source) | 5.3.6 -> 5.4.9 |
devDependencies | minor | ||||
| vitepress (source) | 1.3.4 -> 1.4.1 |
devDependencies | minor | ||||
| vitest (source) | 2.0.5 -> 2.1.3 |
devDependencies | minor | ||||
| vue (source) | 3.4.38 -> 3.5.12 |
devDependencies | minor |
Release Notes
eslint/eslint (@eslint/js)
v9.13.0
v9.12.0
Features
5a6a053feat: update tojitiv2 (#18954) (Arya Emami)17a07fbfeat: Hooks for test cases (RuleTester) (#18771) (Anna Bocharova)2ff0e51feat: Implement alternate config lookup (#18742) (Nicholas C. Zakas)2d17453feat: Implement modified cyclomatic complexity (#18896) (Dmitry Pashkevich)
Bug Fixes
ea380cafix: Upgrade retry to avoid EMFILE errors (#18986) (Nicholas C. Zakas)fdd6319fix: Issues with type definitions (#18940) (Arya Emami)
Documentation
ecbd522docs: Mention code explorer (#18978) (Nicholas C. Zakas)7ea4eccdocs: Clarifying the Use of Meta Objects (#18697) (Amaresh S M)d3e4b2edocs: Clarify how to exclude.jsfiles (#18976) (Milos Djermanovic)57232ffdocs: Mention plugin-kit in language docs (#18973) (Nicholas C. Zakas)b80ed00docs: Update README (GitHub Actions Bot)cb69ab3docs: Update README (GitHub Actions Bot)7fb0d95docs: Update README (GitHub Actions Bot)493348adocs: Update README (GitHub Actions Bot)87a582cdocs: fix typo inid-matchrule (#18944) (Jay)
Chores
555aafdchore: upgrade to@eslint/[email protected](#18987) (Francesco Trotta)873ae60chore: package.json update for @eslint/js release (Jenkins)d0a5414refactor: replace strip-ansi with native module (#18982) (Cristopher)b827029chore: Enable JSON5 linting (#18979) (Milos Djermanovic)8f55ca2chore: Upgrade espree, eslint-visitor-keys, eslint-scope (#18962) (Nicholas C. Zakas)c1a2725chore: update dependency mocha to ^10.7.3 (#18945) (Milos Djermanovic)
v9.11.1
Bug Fixes
20fd916fix: add@eslint/core,@types/estree, &@types/json-schemadeps (#18938) (Nitin Kumar)2738322fix: add missing types forrequire-atomic-updatesrule (#18937) (Kristóf Poduszló)d71ff30fix: add missing types forobject-shorthandrule (#18935) (Kristóf Poduszló)561cadcfix: add missing types forno-unsafe-negationrule (#18932) (Kristóf Poduszló)8843656fix: add missing types forno-underscore-danglerule (#18931) (Kristóf Poduszló)92cde5cfix: add missing types forno-shadowrule (#18930) (Kristóf Poduszló)b3cbe11fix: add missing types forno-sequencesrule (#18929) (Kristóf Poduszló)976f77ffix: add missing types forno-unused-expressionsrule (#18933) (Kristóf Poduszló)
Documentation
Chores
df4a859chore: upgrade @eslint/js@9.11.1 (#18943) (Milos Djermanovic)36d8095chore: package.json update for @eslint/js release (Jenkins)
v9.11.0
v9.10.0
v9.9.1
Bug Fixes
Documentation
4840930docs: Update README with version support and clean up content (#18804) (Nicholas C. Zakas)f61f40ddocs: Update globals examples (#18805) (Nicholas C. Zakas)241fceadocs: Use and define languages (#18795) (Nicholas C. Zakas)5dbdd63docs: eslint-plugin-markdown -> @eslint/markdown (#18797) (Nicholas C. Zakas)c6c8ddddocs: update links to eslint-visitor-keys repo (#18796) (Francesco Trotta)f981d05docs: Update README (GitHub Actions Bot)b516974docs: update links toeslint/jsrepo (#18781) (Francesco Trotta)fb7a3f5docs: update note for package managers (#18779) (Jay)
Chores
b0c34d0chore: upgrade to @eslint/js@9.9.1 (#18809) (Francesco Trotta)cd5a0dachore: package.json update for @eslint/js release (Jenkins)e112642refactor: Extract parsing logic from Linter (#18790) (Nicholas C. Zakas)0f68a85chore: use eslint-plugin-yml on yaml files only (#18801) (Milos Djermanovic)f8d1b3cchore: update dependencies for browser tests (#18794) (Christian Bromann)aed2624chore: update dependency @eslint/config-array to ^0.18.0 (#18788) (renovate[bot])5c29128chore: update dependency @eslint/core to ^0.4.0 (#18789) (renovate[bot])5d66fb2chore: migrate linting workflow to use trunk check meta-linter (#18643) (Chris Clearwater)bf96855chore: add ids to github issue templates (#18775) (Strek)
v9.9.0
nuxt/nuxt (@nuxt/kit)
v3.13.2
3.13.2 is the next regularly scheduled patch release.
✅ 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
🔥 Performance
- nuxt: Remove interop default for dynamic components (#28912)
🩹 Fixes
- nuxt: Fix ssr log querySelector (#28864)
- schema: Enable
propsDestructureby default (#28830) - nuxt: Ensure injected
routehas enumerable keys (#28841) - nuxt: Don't override vue instance with legacy
asyncData(#28842) - nuxt: Render server errors with
ssr: false(#28834) - nuxt: Resolve full component paths (#28843)
- nuxt: Improve accuracy of module resolution conditions (#28846)
- nuxt: Log more context of prerendering errors (#28895)
- nuxt: Enable
injectAtEndto reduce circular auto-imports (#28822) - nuxt: Ensure we process files in
buildDirfor unimport (#28899) - nuxt: Do not accept attrs on
<NuxtErrorBoundary>(#28901) - nuxt,schema: Accept any module in inline
modulesarray (#28922) - nuxt: Fall back to original component
filePath(#28925) - nuxt: Make
runWithContextgeneric (#28926) - nuxt: Set
inheritAttrs: falsefor fragment components (#28939) - nuxt: Use case-insensitive regexp for
<script>blocks (4fd24381c) - nuxt: Ensure component imports are injected last (#28944)
- nuxt: Catch chunk errors directly in navigation (820908696)
- nuxt: Add missing
isNuxtMajorVersionexport (#29016) - nuxt: Correct type for
useError(#28996)
💅 Refactors
- nuxt: Use
vite:preloadErrorevent (#28862)
📖 Documentation
- Add known limitations for app.config.ts (#28875)
- Typo fixed missing closing angle bracket (#28880)
- Update useFetch troubleshooting section (#28918)
- Capitalize text (#28972)
- Fix typo (#28983)
- Add clarity to
useFetchparameter signature (#28993) - Remove confusing reference to 'SPA' (#28991)
🏡 Chore
- Use consola to log out compatibility info (#28854)
- vite: Use correct type import (3f508d521)
- Enable
noUncheckedSideEffectImports(#28903) - Add
pending triageto blank issues (#28923) - Correct comment style (c4181b5a2)
- Fix typos (462380d45)
- Refresh lockfile, use
htmlnano+ pin workflow deps (#28946) - Pin dep + workflow by hash (4d81334c9)
- ui-templates: Use class-selector (043329f52)
✅ Tests
- Collect bundle sizes in parallel (1ce81069d)
- Add regression test for using
routein template (#28967) - Convert set to array (6ee3b3adc)
- Switch inline snapshot to object comparison (ae5135363)
🤖 CI
- Access issue number from payload (8e4585c14)
- Configure codeql to ignore tests (d5f98a757)
- Add default permissions for workflows (3ede01cd4)
- Scan source files with codeql (#28943)
- Skip setting up node before codeql scan (c4d7c92e9)
❤️ Contributors
- Daniel Roe (@danielroe)
- Artem Maslov (@Twocram)
- Paulo Ricardo Severo (@prsevero)
- Nishant Aanjaney Jalan (@cybercoder-naj)
- @beer (@iiio2)
- Julien Huang (@huang-julien)
- Liran Tal (@lirantal)
- Anthony Fu (@antfu)
- Osama Abdallah Essa Haikal (@OsamaHaikal)
v3.13.1
3.13.1 is the next regularly scheduled patch release.
👀 Highlights
Although this is a patch release, there are two features I'd love to draw your attention to.
- 🆔
useIdnow uses a built-in Vue composable for stable ids between server + client! https://github.com/nuxt/nuxt/pull/28285 - 🔥 a new
experimental.buildCachefeature now allows for quicker app rebuilds https://github.com/nuxt/nuxt/pull/28726
As always, feedback is appreciated 🙏 ❤️
✅ 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
🔥 Performance
- nuxt: Cache vue app build outputs (#28726)
- nuxt: Use
ServerPlaceholderfor ssr client components (#28563) - nuxt: Use reducer array + handle modified proto (#28768)
🩹 Fixes
- schema: Resolve user-provided
serverDirrelative to root (#28700) - nuxt: Handle mismatching declaration/plugin extensions (#28709)
- nuxt: Do not accept arbitrary strings for
MiddlewareKey(#28676) - nuxt: Do not pass listeners to custom
NuxtLink(#28738) - nuxt: Generate basic jsdoc for module config entry (#27689)
- nuxt: Augment
NuxtOptionsas well as config (#28747) - nuxt: Improve error logging in import protections (#28753)
- nuxt: Handle deleted cookies from
CookieStoreevents (#28760) - nuxt: Allow updating
appConfigwith non-iterable objects (#28773) - nuxt: Improve
isNuxtErrortype inference (#28814)
💅 Refactors
- nuxt: Update to vue v3.5 + native
useId(#28285)
📖 Documentation
- Fix typo (#28724)
- Update broken/redirected links (#28739)
- Capitalize text (#28734)
- Updated line number for nuxt build-time hooks (#28746)
- Add missing
queryreturned value fromuseRoute()(#28743) - Persist package manager choice in code blocks (#28514)
- Fix postcss codeblock typo (#28801)
- Include
--frozen-lockfilewhen installing dependencies (#28794)
🏡 Chore
- Use
tinyexecinternally (#28684) - Use
tinyglobbyinternally (#28686) - Trim tag (#28687)
- Fix ci typo (#28721)
- Tidying workflows + add sherif workflow (#28793)
- Ignore eslint warnings about console logging (#28795)
✅ Tests
- Update bundle size (99df4c222)
❤️ Contributors
- Gianluca Di Francesco (@gianlucadifrancesco)
- Daniel Roe (@danielroe)
- Joaquín Sánchez (@userquin)
- Heb (@Hebilicious)
- Eckhardt (Kaizen) Dreyer (@Eckhardt-D)
- Gustav Odinger (@gustavwilliam)
- Julien Huang (@huang-julien)
- Ismail Sabet (@ismailsabet)
- Max (@onmax)
- Anthony Fu (@antfu)
- @beer (@iiio2)
- riskrole (@riskrole)
- Thimo Sietsma (@th1m0)
v3.13.0
👀 Highlights
I'm pretty excited about this release - we've ported some features we had planned for Nuxt v4 back to v3, as well as a raft of bug fixes and performance improvements - as usual.
Here are a few of things I'm most excited about.
🏘️ Route Groups
We now support naming directories with parentheses/brackets to organise your routes without affecting the path.
For example:
-| pages/
---| index.vue
---| (marketing)/
-----| about.vue
-----| contact.vue
This will produce /, /about and /contact pages in your app. The marketing group is ignored for purposes of your URL structure.
Read more in the original PR.
🏝️ Islands and Head Metadata
It's now possible for server component islands to manipulate the head, such as by adding SEO metadata when rendering.
Read more in #27987.
🪝 Custom Prefetch Triggers
We now support custom prefetch triggers for NuxtLink (#27846).
For example:
<template>
<div>
<NuxtLink prefetch-on="interaction">
This will prefetch when hovered or when it gains focus
</NuxtLink>
<!-- note that you probably don't want both enabled! -->
<NuxtLink :prefetch-on="{ visibility: true, interaction: true }">
This will prefetch when hovered/focus - or when it becomes visible
</NuxtLink>
</div>
</template>
It's also possible to enable/disable these globally for your app and override them per link.
For example:
export default defineNuxtConfig({
experimental: {
defaults: {
nuxtLink: {
prefetch: true,
prefetchOn: { visibility: false, interaction: true }
}
}
}
})
🗺️ Better Server Source Maps
When running with node --enable-source-maps, you may have noticed that the source maps for the Vue files in your server build pointed to the Vite build output (something like .nuxt/dist/server/_nuxt/index-O15BBwZ3.js).
Now, even after your Nitro build, your server source maps will reference your original source files (#28521).
Note that one of the easiest ways of improving your build performance is to turn off source maps if you aren't using them, which you can do easily in your nuxt.config:
export default defineNuxtConfig({
sourcemap: {
server: false,
client: true,
},
})
🎁 New Features for Module Authors
In the run-up to Nuxt v4, we're working on adding some key functionality for module authors, including a new isNuxtMajorVersion utility where required (#27579) and better inferred typing for merged module options using the new defineNuxtModule().with() method (#27520).
✨ Improved Dev Warnings
We no longer warn when using data fetching composables in middleware (#28604) and we warn when user components' names begin with Lazy (#27838).
🚨 Vue TypeScript Changes
For a while, in the Vue ecosystem, we've been augmenting @vue/runtime-core to add custom properties and more to vue. However, this inadvertently breaks the types for projects that augment vue - which is now the officially recommended in the docs way to augment these interfaces (for example, ComponentCustomProperties, GlobalComponents and so on).
This means all libraries must update their code (or it will break the types of libraries that augment vue instead).
We've updated our types in Nuxt along these lines but you may experience issues with the latest vue-router when used with libraries which haven't yet done so.
Please create an issue with a reproduction - I'll happily help create a PR to resolve in the upstream library in question. Or you may be able to work around the issue by creating a declarations.d.ts in the root of your project with the following code (credit):
import type {
ComponentCustomOptions as _ComponentCustomOptions,
ComponentCustomProperties as _ComponentCustomProperties,
} from 'vue';
declare module '@​vue/runtime-core' {
interface ComponentCustomProperties extends _ComponentCustomProperties {}
interface ComponentCustomOptions extends _ComponentCustomOptions {}
}
✅ 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
🚀 Enhancements
- nuxt: Await custom
routesfunction inrouter.options(#27644) - kit: Add new
isNuxtMajorVersioncompatibility util (#27579) - kit,schema: Add
.withfor better module options types (#27520) - nuxt: Warn when user components' names begin with
Lazy(#27838) - nuxt: Allow specifying app id when creating a nuxt app (#28392)
- nuxt: Custom enable/disable hooks for
usePreviewMode(#28371) - kit: Add
prependoption toaddRouteMiddleware(#28496) - nuxt: Allow organising pages within route groups (#28276)
- vite: Preserve vite sourcemaps for nitro build (#28521)
- nuxt: Allow defining triggers for prefetching links (#27846)
- nuxt: Namespace
__NUXT__when using multi-app (#27263) - nuxt: Allow server islands to manipulate head (#27987)
🔥 Performance
- nuxt: Call cookie
decodefunction only for named cookie (#28215) - nuxt: Avoid making client-only component setup async (#28334)
- nuxt: Avoid multiple calls to
getCachedData(#28472)
🩹 Fixes
- nuxt: Don't warn for
definePageMetain client-only pages (#28246) - kit: Include module
dist/runtime/in tsconfig includes (#28237) - schema: Support absolute/relative paths for
assetsDir(59f0099f4) - schema: Do not override user
serverDir(#28249) - schema: Use new options syntax for
vite-plugin-vue(#28307) - schema: Export new module return types (c0ad8db93)
- kit: Add missing type import (1a60b4541)
- vite,webpack: Handle local postcss plugins (#28481)
- nuxt: Handle
scroll-padding-top: autoin scrollBehavior (#28320) - nuxt: Ensure
runtimeConfig.publicis reactive on client (#28443) - nuxt: Update renamed stub composables from
nuxt/scripts(#28449) - nuxt: Augment
@vue/runtime-coreand@vue/runtime-dom(#28446) - nuxt: Scan jsx pages for page metadata (#28479)
- nuxt: Handle plugin type extensions more correctly (#28480)
- vite: Respect
baseURLfor public assets in dev (#28482) - vite: Add transformation result to log for parse errors (#28508)
- vite: Include module symbols in generated code (#28509)
- nuxt: Add reason when aborting request in
useFetch(#28517) - nuxt: Only augment
vue, not sub-packages (#28542) - nuxt: Avoid stripping js extensions in plugin injections (#28593)
- nuxt: Preserve route-specific metadata on
route.meta(#28441) - nuxt: Don't warn when data fetching in middleware (#28604)
- nuxt: Extract route rules/page meta in 2+ script blocks (#28625)
- nuxt: Allow customising status code in
validatemethod (#28612) - nuxt: Do not provide default
prefetchOnprop (#28630) - nuxt: Revert back to object syntax for island head (#28656)
📖 Documentation
- Fix issue in cookie passing example (#28223)
- Fix note in layers usage chapter (#28236)
- Fix spaces (#28233)
- Add
vuelang to sample code (#28247) - Use
splitSetCookieStringfromcookie-es(29f95ae0d) - Use
headers.getSetCookie(45c6df9a4) - Fix codemod command typos (#28279)
bunx->bun x(#28277)- Add missing comma to example (#28300)
- Add language to example schema codeblock (#28294)
- Update link to RuntimeNuxtHooks (#28336)
- Update links to social media (cd5195047)
- Setup host property and usage example (#28331)
- Fix TypeScript errors for examples (#28403)
- Improve readability of link to mdn (#28327)
- Use ts for create-error example (#28411)
- Alias links in jsdoc
@seeblocks (#28270) - Link to vue test utils docs for
mountSuspended(#28463) - Remove vue-tsc major version constraint (#28484)
- Recommend '#teleports' target instead of 'body' (#28489)
- Correct custom routing link (#28497)
- Improve typing of default exports (#28520)
- Fix
optionstype in custom useFetch recipe (#28389) - Update useRuntimeConfig source path (#28553)
- Add line-breaks to tips in Module Author Guide (#28587)
- Update nuxt scripts status (#28629)
🏡 Chore
- schema: Fix typo (#28377)
- nuxt: Use router code reference permalink (#28356)
- nuxt: Remove unnecessary await (#28407)
- Upgrade vue in a separate pr (#28414)
- Update docs typecheck command (49de5f731)
- Lint (cab9e5c35)
- Fix some typos in comments (#28501)
✅ Tests
- Disable
pageTransitionin client-only page (#27839) - Ignore
SharedComponentin server head (510f3e28f) - Update bundle size (3ecb95a7c)
🤖 CI
- Add reproduire-sur-stackblitz workflow (#28531)
❤️ Contributors
- Daniel Roe (@danielroe)
- Julien Huang (@huang-julien)
- Maxime Pauvert (@maximepvrt)
- felix-dolderer (@felix-dolderer)
- Nicolas Payot (@nicolaspayot)
- Kewin Szlezingier (@kewinzaq1)
- Vasily Kuzin (@ExEr7um)
- xjccc (@xjccc)
- Martin André (@Martichou)
- Mike Laumann Bellika (@MikeBellika)
- Typed SIGTERM (@typed-sigterm)
- Horu (@HigherOrderLogic)
- Son Tran (@trandaison)
- rubyisrust (@rubyisrust)
- Matej Černý (@CernyMatej)
- Riley Ho (@rileychh)
- Adam DeHaven (@adamdehaven)
- Potter (@yxw007)
- Martin Masevski (@Archetipo95)
- BoogieBen. (@boogie-ben)
- Tobias Diez (@tobiasdiez)
- Michael Brevard (@GalacticHypernova)
- Damian Głowala (@DamianGlowala)
- Lucie (@lihbr)
- Yasser Lahbibi (@yassilah)
- Sébastien Chopin (@atinux)
- @beer (@iiio2)
- AuroraTea (@AuroraTea)
- Bobbie Goede (@BobbieGoede)
- Alexander Lichter (@manniL)
- nuxt-studio[bot] (@nuxt-studio[bot])
- Vaci (@vacijj)
- FELIPE COSTA DE OLIVEIRA (@FelipeO16)
- 一纸忘忧 (@ikxin)
- Meo (@miaobuao)
- Mohab Sameh (@mohab-sameh)
- Quentin Macq (@quentinmcq)
- Johan Krijt (@johankrijt)
vitest-dev/vitest (@vitest/coverage-v8)
v2.1.3
🐞 Bug Fixes
- Fix error diff of
toBeNaN, toBeUndefined, toBeNull, toBeTruthy, toBeFalsy- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6697 (e0027) - browser:
- Provide aria role intellisense - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6629 (f36ea)
- Not.toBeInTheDocument works with locators API - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6634 (8bef5)
- Use
/mockServiceWorker.jsinstead of/__vitest_msw__- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6687 (4b2ce) - Don't override the esbuild option in the browser mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6692 (d131f)
- expect:
- Preserve prototype in
toMatchObjectdiff - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6620 (d289e)
- Preserve prototype in
- mocker:
- Specify correct spy dependency - by @sheremet-va (7e958)
- runner:
- Ensure sequential suite overrides sequence.concurrent - by @dsyddall and @hi-ogawa in [https://github.com/vitest-dev/vite
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
⚠️ No Changeset found
Latest commit: 5f9a7bbf6c1c9c1450d946b6c68ce0322d24a659
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR