Merge branch 'main' into patch-21

This commit is contained in:
Michael Brevard 2024-03-25 15:29:18 +02:00 committed by GitHub
commit caf73523c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 211 additions and 155 deletions

View File

@ -19,4 +19,4 @@ jobs:
- name: 'Checkout Repository' - name: 'Checkout Repository'
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: 'Dependency Review' - name: 'Dependency Review'
uses: actions/dependency-review-action@0fa40c3c10055986a88de3baa0d6ec17c5a894b3 # v4.2.3 uses: actions/dependency-review-action@733dd5d4a5203f238c33806593ec0f5fc5343d8c # v4.2.4

View File

@ -299,6 +299,10 @@ Now you can register server-only components with the `.server` suffix and use th
Server-only components use [`<NuxtIsland>`](/docs/api/components/nuxt-island) under the hood, meaning that `lazy` prop and `#fallback` slot are both passed down to it. Server-only components use [`<NuxtIsland>`](/docs/api/components/nuxt-island) under the hood, meaning that `lazy` prop and `#fallback` slot are both passed down to it.
::alert{type=warning}
Server components (and islands) must have a single root element. (HTML comments are considered elements as well.)
::
::alert{type=warning} ::alert{type=warning}
Most features for server-only components and island components, such as slots and client components, are only available for single file components. Most features for server-only components and island components, such as slots and client components, are only available for single file components.
:: ::

View File

@ -57,7 +57,7 @@ If you are using [`app.vue`](/docs/guide/directory-structure/app), make sure to
</template> </template>
``` ```
Pages **must have a single root element** to allow [route transitions](/docs/getting-started/transitions) between pages, HTML comments are considered elements as well. Pages **must have a single root element** to allow [route transitions](/docs/getting-started/transitions) between pages. HTML comments are considered elements as well.
This means that when the route is server-rendered, or statically generated, you will be able to see its contents correctly, but when you navigate towards that route during client-side navigation the transition between routes will fail and you'll see that the route will not be rendered. This means that when the route is server-rendered, or statically generated, you will be able to see its contents correctly, but when you navigate towards that route during client-side navigation the transition between routes will fail and you'll see that the route will not be rendered.
@ -365,6 +365,10 @@ You can define a page as [client only](/docs/guide/directory-structure/component
You can define a page as [server only](/docs/guide/directory-structure/components#server-components) by giving it a `.server.vue` suffix. While you will be able to navigate to the page using client-side navigation, controlled by `vue-router`, it will be rendered with a server component automatically, meaning the code required to render the page will not be in your client-side bundle. You can define a page as [server only](/docs/guide/directory-structure/components#server-components) by giving it a `.server.vue` suffix. While you will be able to navigate to the page using client-side navigation, controlled by `vue-router`, it will be rendered with a server component automatically, meaning the code required to render the page will not be in your client-side bundle.
::alert{type=warning}
Server-only pages must have a single root element. (HTML comments are considered elements as well.)
::
## Custom Routing ## Custom Routing
As your app gets bigger and more complex, your routing might require more flexibility. For this reason, Nuxt directly exposes the router, routes and router options for customization in different ways. As your app gets bigger and more complex, your routing might require more flexibility. For this reason, Nuxt directly exposes the router, routes and router options for customization in different ways.

View File

@ -39,7 +39,7 @@
"@nuxt/webpack-builder": "workspace:*", "@nuxt/webpack-builder": "workspace:*",
"rollup": "^4.13.0", "rollup": "^4.13.0",
"nuxt": "workspace:*", "nuxt": "workspace:*",
"vite": "5.2.5", "vite": "5.2.6",
"vue": "3.4.21", "vue": "3.4.21",
"magic-string": "^0.30.8" "magic-string": "^0.30.8"
}, },
@ -68,7 +68,7 @@
"fs-extra": "11.2.0", "fs-extra": "11.2.0",
"globby": "14.0.1", "globby": "14.0.1",
"h3": "1.11.1", "h3": "1.11.1",
"happy-dom": "14.3.3", "happy-dom": "14.3.6",
"jiti": "1.21.0", "jiti": "1.21.0",
"markdownlint-cli": "0.39.0", "markdownlint-cli": "0.39.0",
"nitropack": "2.9.4", "nitropack": "2.9.4",

View File

@ -52,7 +52,7 @@
"lodash-es": "4.17.21", "lodash-es": "4.17.21",
"nitropack": "2.9.4", "nitropack": "2.9.4",
"unbuild": "latest", "unbuild": "latest",
"vite": "5.2.5", "vite": "5.2.6",
"vitest": "1.4.0", "vitest": "1.4.0",
"webpack": "5.91.0" "webpack": "5.91.0"
}, },

View File

@ -66,9 +66,9 @@
"@nuxt/telemetry": "^2.5.3", "@nuxt/telemetry": "^2.5.3",
"@nuxt/ui-templates": "^1.3.1", "@nuxt/ui-templates": "^1.3.1",
"@nuxt/vite-builder": "workspace:*", "@nuxt/vite-builder": "workspace:*",
"@unhead/dom": "^1.8.20", "@unhead/dom": "^1.9.1",
"@unhead/ssr": "^1.8.20", "@unhead/ssr": "^1.9.1",
"@unhead/vue": "^1.8.20", "@unhead/vue": "^1.9.1",
"@vue/shared": "^3.4.21", "@vue/shared": "^3.4.21",
"acorn": "8.11.3", "acorn": "8.11.3",
"c12": "^1.10.0", "c12": "^1.10.0",
@ -122,7 +122,7 @@
"@types/fs-extra": "11.0.4", "@types/fs-extra": "11.0.4",
"@vitejs/plugin-vue": "5.0.4", "@vitejs/plugin-vue": "5.0.4",
"unbuild": "latest", "unbuild": "latest",
"vite": "5.2.5", "vite": "5.2.6",
"vitest": "1.4.0" "vitest": "1.4.0"
}, },
"peerDependencies": { "peerDependencies": {

View File

@ -34,6 +34,7 @@ const HAS_SLOT_OR_CLIENT_RE = /(<slot[^>]*>)|(nuxt-client)/
const TEMPLATE_RE = /<template>([\s\S]*)<\/template>/ const TEMPLATE_RE = /<template>([\s\S]*)<\/template>/
const NUXTCLIENT_ATTR_RE = /\s:?nuxt-client(="[^"]*")?/g const NUXTCLIENT_ATTR_RE = /\s:?nuxt-client(="[^"]*")?/g
const IMPORT_CODE = '\nimport { vforToArray as __vforToArray } from \'#app/components/utils\'' + '\nimport NuxtTeleportIslandComponent from \'#app/components/nuxt-teleport-island-component\'' + '\nimport NuxtTeleportSsrSlot from \'#app/components/nuxt-teleport-island-slot\'' const IMPORT_CODE = '\nimport { vforToArray as __vforToArray } from \'#app/components/utils\'' + '\nimport NuxtTeleportIslandComponent from \'#app/components/nuxt-teleport-island-component\'' + '\nimport NuxtTeleportSsrSlot from \'#app/components/nuxt-teleport-island-slot\''
const EXTRACTED_ATTRS_RE = /v-(?:if|else-if|else)(="[^"]*")?/g
function wrapWithVForDiv (code: string, vfor: string): string { function wrapWithVForDiv (code: string, vfor: string): string {
return `<div v-for="${vfor}" style="display: contents;">${code}</div>` return `<div v-for="${vfor}" style="display: contents;">${code}</div>`
@ -79,29 +80,31 @@ export const islandsTransform = createUnplugin((options: ServerOnlyComponentTran
if (node.name === 'slot') { if (node.name === 'slot') {
const { attributes, children, loc } = node const { attributes, children, loc } = node
// pass slot fallback to NuxtTeleportSsrSlot fallback
if (children.length) {
const attrString = Object.entries(attributes).map(([name, value]) => name ? `${name}="${value}" ` : value).join(' ')
const slice = code.slice(startingIndex + loc[0].end, startingIndex + loc[1].start).replaceAll(/:?key="[^"]"/g, '')
s.overwrite(startingIndex + loc[0].start, startingIndex + loc[1].end, `<slot ${attrString} /><template #fallback>${attributes['v-for'] ? wrapWithVForDiv(slice, attributes['v-for']) : slice}</template>`)
}
const slotName = attributes.name ?? 'default' const slotName = attributes.name ?? 'default'
let vfor: [string, string] | undefined let vfor: string | undefined
if (attributes['v-for']) { if (attributes['v-for']) {
vfor = attributes['v-for'].split(' in ').map((v: string) => v.trim()) as [string, string] vfor = attributes['v-for']
} }
delete attributes['v-for'] delete attributes['v-for']
if (attributes.name) { delete attributes.name } if (attributes.name) { delete attributes.name }
if (attributes['v-bind']) { if (attributes['v-bind']) {
attributes._bind = attributes['v-bind'] attributes._bind = extractAttributes(attributes, ['v-bind'])['v-bind']
delete attributes['v-bind']
} }
const bindings = getPropsToString(attributes, vfor) const teleportAttributes = extractAttributes(attributes, ['v-if', 'v-else-if', 'v-else'])
const bindings = getPropsToString(attributes, vfor?.split(' in ').map((v: string) => v.trim()) as [string, string])
// add the wrapper // add the wrapper
s.appendLeft(startingIndex + loc[0].start, `<NuxtTeleportSsrSlot name="${slotName}" :props="${bindings}">`) s.appendLeft(startingIndex + loc[0].start, `<NuxtTeleportSsrSlot${attributeToString(teleportAttributes)} name="${slotName}" :props="${bindings}">`)
if (children.length) {
// pass slot fallback to NuxtTeleportSsrSlot fallback
const attrString = attributeToString(attributes)
const slice = code.slice(startingIndex + loc[0].end, startingIndex + loc[1].start).replaceAll(/:?key="[^"]"/g, '')
s.overwrite(startingIndex + loc[0].start, startingIndex + loc[1].end, `<slot${attrString.replaceAll(EXTRACTED_ATTRS_RE, '')}/><template #fallback>${vfor ? wrapWithVForDiv(slice, vfor) : slice}</template>`)
} else {
s.overwrite(startingIndex + loc[0].start, startingIndex + loc[0].end, code.slice(startingIndex + loc[0].start, startingIndex + loc[0].end).replaceAll(EXTRACTED_ATTRS_RE, ''))
}
s.appendRight(startingIndex + loc[1].end, '</NuxtTeleportSsrSlot>') s.appendRight(startingIndex + loc[1].end, '</NuxtTeleportSsrSlot>')
} else if (options.selectiveClient && ('nuxt-client' in node.attributes || ':nuxt-client' in node.attributes)) { } else if (options.selectiveClient && ('nuxt-client' in node.attributes || ':nuxt-client' in node.attributes)) {
hasNuxtClient = true hasNuxtClient = true
@ -132,13 +135,31 @@ export const islandsTransform = createUnplugin((options: ServerOnlyComponentTran
} }
}) })
/**
* extract attributes from a node
*/
function extractAttributes (attributes: Record<string, string>, names: string[]) {
const extracted:Record<string, string> = {}
for (const name of names) {
if (name in attributes) {
extracted[name] = attributes[name]
delete attributes[name]
}
}
return extracted
}
function attributeToString (attributes: Record<string, string>) {
return Object.entries(attributes).map(([name, value]) => value ? ` ${name}="${value}"` : ` ${name}`).join('')
}
function isBinding (attr: string): boolean { function isBinding (attr: string): boolean {
return attr.startsWith(':') return attr.startsWith(':')
} }
function getPropsToString (bindings: Record<string, string>, vfor?: [string, string]): string { function getPropsToString (bindings: Record<string, string>, vfor?: [string, string]): string {
if (Object.keys(bindings).length === 0) { return 'undefined' } if (Object.keys(bindings).length === 0) { return 'undefined' }
const content = Object.entries(bindings).filter(b => b[0] && b[0] !== '_bind').map(([name, value]) => isBinding(name) ? `${name.slice(1)}: ${value}` : `${name}: \`${value}\``).join(',') const content = Object.entries(bindings).filter(b => b[0] && b[0] !== '_bind').map(([name, value]) => isBinding(name) ? `[\`${name.slice(1)}\`]: ${value}` : `[\`${name}\`]: \`${value}\``).join(',')
const data = bindings._bind ? `mergeProps(${bindings._bind}, { ${content} })` : `{ ${content} }` const data = bindings._bind ? `mergeProps(${bindings._bind}, { ${content} })` : `{ ${content} }`
if (!vfor) { if (!vfor) {
return `[${data}]` return `[${data}]`

View File

@ -65,8 +65,8 @@ describe('islandTransform - server and island components', () => {
<div> <div>
<NuxtTeleportSsrSlot name="default" :props="undefined"><slot /></NuxtTeleportSsrSlot> <NuxtTeleportSsrSlot name="default" :props="undefined"><slot /></NuxtTeleportSsrSlot>
<NuxtTeleportSsrSlot name="named" :props="[{ some-data: someData }]"><slot name="named" :some-data="someData" /></NuxtTeleportSsrSlot> <NuxtTeleportSsrSlot name="named" :props="[{ [\`some-data\`]: someData }]"><slot name="named" :some-data="someData" /></NuxtTeleportSsrSlot>
<NuxtTeleportSsrSlot name="other" :props="[{ some-data: someData }]"><slot <NuxtTeleportSsrSlot name="other" :props="[{ [\`some-data\`]: someData }]"><slot
name="other" name="other"
:some-data="someData" :some-data="someData"
/></NuxtTeleportSsrSlot> /></NuxtTeleportSsrSlot>
@ -99,7 +99,7 @@ describe('islandTransform - server and island components', () => {
expect(normalizeLineEndings(result)).toMatchInlineSnapshot(` expect(normalizeLineEndings(result)).toMatchInlineSnapshot(`
"<template> "<template>
<div> <div>
<NuxtTeleportSsrSlot name="default" :props="[{ some-data: someData }]"><slot :some-data="someData" /><template #fallback> <NuxtTeleportSsrSlot name="default" :props="[{ [\`some-data\`]: someData }]"><slot :some-data="someData"/><template #fallback>
<div>fallback</div> <div>fallback</div>
</template></NuxtTeleportSsrSlot> </template></NuxtTeleportSsrSlot>
</div> </div>
@ -158,7 +158,7 @@ describe('islandTransform - server and island components', () => {
<p>message: {{ message }}</p> <p>message: {{ message }}</p>
<p>Below is the slot I want to be hydrated on the client</p> <p>Below is the slot I want to be hydrated on the client</p>
<div> <div>
<NuxtTeleportSsrSlot name="default" :props="undefined"><slot /><template #fallback> <NuxtTeleportSsrSlot name="default" :props="undefined"><slot/><template #fallback>
This is the default content of the slot, I should not see this after This is the default content of the slot, I should not see this after
the client loading has completed. the client loading has completed.
</template></NuxtTeleportSsrSlot> </template></NuxtTeleportSsrSlot>
@ -183,6 +183,33 @@ describe('islandTransform - server and island components', () => {
" "
`) `)
}) })
it('expect v-if/v-else/v-else-if to be set in teleport component wrapper', async () => {
const result = await viteTransform(`<script setup lang="ts">
const foo = true;
</script>
<template>
<slot v-if="foo" />
<slot v-else-if="test" />
<slot v-else />
</template>
`, 'WithVif.vue', false, true)
expect(normalizeLineEndings(result)).toMatchInlineSnapshot(`
"<script setup lang="ts">
import { vforToArray as __vforToArray } from '#app/components/utils'
import NuxtTeleportIslandComponent from '#app/components/nuxt-teleport-island-component'
import NuxtTeleportSsrSlot from '#app/components/nuxt-teleport-island-slot'
const foo = true;
</script>
<template>
<NuxtTeleportSsrSlot v-if="foo" name="default" :props="undefined"><slot /></NuxtTeleportSsrSlot>
<NuxtTeleportSsrSlot v-else-if="test" name="default" :props="undefined"><slot /></NuxtTeleportSsrSlot>
<NuxtTeleportSsrSlot v-else name="default" :props="undefined"><slot /></NuxtTeleportSsrSlot>
</template>
"
`)
})
}) })
describe('nuxt-client', () => { describe('nuxt-client', () => {

View File

@ -38,7 +38,7 @@
"@types/file-loader": "5.0.4", "@types/file-loader": "5.0.4",
"@types/pug": "2.0.10", "@types/pug": "2.0.10",
"@types/sass-loader": "8.0.8", "@types/sass-loader": "8.0.8",
"@unhead/schema": "1.8.20", "@unhead/schema": "1.9.1",
"@vitejs/plugin-vue": "5.0.4", "@vitejs/plugin-vue": "5.0.4",
"@vitejs/plugin-vue-jsx": "3.1.0", "@vitejs/plugin-vue-jsx": "3.1.0",
"@vue/compiler-core": "3.4.21", "@vue/compiler-core": "3.4.21",
@ -52,7 +52,7 @@
"unbuild": "latest", "unbuild": "latest",
"unctx": "2.3.1", "unctx": "2.3.1",
"unenv": "1.9.0", "unenv": "1.9.0",
"vite": "5.2.5", "vite": "5.2.6",
"vue": "3.4.21", "vue": "3.4.21",
"vue-bundle-renderer": "2.0.0", "vue-bundle-renderer": "2.0.0",
"vue-loader": "17.4.2", "vue-loader": "17.4.2",

View File

@ -62,7 +62,7 @@
"ufo": "^1.5.3", "ufo": "^1.5.3",
"unenv": "^1.9.0", "unenv": "^1.9.0",
"unplugin": "^1.10.0", "unplugin": "^1.10.0",
"vite": "^5.2.5", "vite": "^5.2.6",
"vite-node": "^1.4.0", "vite-node": "^1.4.0",
"vite-plugin-checker": "^0.6.4", "vite-plugin-checker": "^0.6.4",
"vue-bundle-renderer": "^2.0.0" "vue-bundle-renderer": "^2.0.0"

View File

@ -11,7 +11,7 @@ overrides:
'@nuxt/webpack-builder': workspace:* '@nuxt/webpack-builder': workspace:*
rollup: ^4.13.0 rollup: ^4.13.0
nuxt: workspace:* nuxt: workspace:*
vite: 5.2.5 vite: 5.2.6
vue: 3.4.21 vue: 3.4.21
magic-string: ^0.30.8 magic-string: ^0.30.8
@ -27,7 +27,7 @@ importers:
version: link:packages/kit version: link:packages/kit
'@nuxt/test-utils': '@nuxt/test-utils':
specifier: 3.12.0 specifier: 3.12.0
version: 3.12.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.3)(playwright-core@1.42.1)(vite@5.2.5)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21) version: 3.12.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.6)(playwright-core@1.42.1)(vite@5.2.6)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21)
'@nuxt/webpack-builder': '@nuxt/webpack-builder':
specifier: workspace:* specifier: workspace:*
version: link:packages/webpack version: link:packages/webpack
@ -92,8 +92,8 @@ importers:
specifier: 1.11.1 specifier: 1.11.1
version: 1.11.1 version: 1.11.1
happy-dom: happy-dom:
specifier: 14.3.3 specifier: 14.3.6
version: 14.3.3 version: 14.3.6
jiti: jiti:
specifier: 1.21.0 specifier: 1.21.0
version: 1.21.0 version: 1.21.0
@ -138,10 +138,10 @@ importers:
version: 1.5.3 version: 1.5.3
vitest: vitest:
specifier: 1.4.0 specifier: 1.4.0
version: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.3) version: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.6)
vitest-environment-nuxt: vitest-environment-nuxt:
specifier: 1.0.0 specifier: 1.0.0
version: 1.0.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.3)(playwright-core@1.42.1)(vite@5.2.5)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21) version: 1.0.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.6)(playwright-core@1.42.1)(vite@5.2.6)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21)
vue: vue:
specifier: 3.4.21 specifier: 3.4.21
version: 3.4.21(typescript@5.4.3) version: 3.4.21(typescript@5.4.3)
@ -228,11 +228,11 @@ importers:
specifier: latest specifier: latest
version: 2.0.0(typescript@5.4.3) version: 2.0.0(typescript@5.4.3)
vite: vite:
specifier: 5.2.5 specifier: 5.2.6
version: 5.2.5(@types/node@20.11.30) version: 5.2.6(@types/node@20.11.30)
vitest: vitest:
specifier: 1.4.0 specifier: 1.4.0
version: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.3) version: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.6)
webpack: webpack:
specifier: 5.91.0 specifier: 5.91.0
version: 5.91.0 version: 5.91.0
@ -244,7 +244,7 @@ importers:
version: 2.0.2 version: 2.0.2
'@nuxt/devtools': '@nuxt/devtools':
specifier: ^1.1.3 specifier: ^1.1.3
version: 1.1.3(@unocss/reset@0.58.6)(floating-vue@5.2.2)(nuxt@packages+nuxt)(rollup@4.13.0)(unocss@0.58.6)(vite@5.2.5)(vue@3.4.21) version: 1.1.3(@unocss/reset@0.58.6)(floating-vue@5.2.2)(nuxt@packages+nuxt)(rollup@4.13.0)(unocss@0.58.6)(vite@5.2.6)(vue@3.4.21)
'@nuxt/kit': '@nuxt/kit':
specifier: workspace:* specifier: workspace:*
version: link:../kit version: link:../kit
@ -264,14 +264,14 @@ importers:
specifier: ^14.18.0 || >=16.10.0 specifier: ^14.18.0 || >=16.10.0
version: 20.11.30 version: 20.11.30
'@unhead/dom': '@unhead/dom':
specifier: ^1.8.20 specifier: ^1.9.1
version: 1.8.20 version: 1.9.1
'@unhead/ssr': '@unhead/ssr':
specifier: ^1.8.20 specifier: ^1.9.1
version: 1.8.20 version: 1.9.1
'@unhead/vue': '@unhead/vue':
specifier: ^1.8.20 specifier: ^1.9.1
version: 1.8.20(vue@3.4.21) version: 1.9.1(vue@3.4.21)
'@vue/shared': '@vue/shared':
specifier: ^3.4.21 specifier: ^3.4.21
version: 3.4.21 version: 3.4.21
@ -422,16 +422,16 @@ importers:
version: 11.0.4 version: 11.0.4
'@vitejs/plugin-vue': '@vitejs/plugin-vue':
specifier: 5.0.4 specifier: 5.0.4
version: 5.0.4(vite@5.2.5)(vue@3.4.21) version: 5.0.4(vite@5.2.6)(vue@3.4.21)
unbuild: unbuild:
specifier: latest specifier: latest
version: 2.0.0(typescript@5.4.3) version: 2.0.0(typescript@5.4.3)
vite: vite:
specifier: 5.2.5 specifier: 5.2.6
version: 5.2.5(@types/node@20.11.30) version: 5.2.6(@types/node@20.11.30)
vitest: vitest:
specifier: 1.4.0 specifier: 1.4.0
version: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.3) version: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.6)
packages/schema: packages/schema:
dependencies: dependencies:
@ -482,14 +482,14 @@ importers:
specifier: 8.0.8 specifier: 8.0.8
version: 8.0.8 version: 8.0.8
'@unhead/schema': '@unhead/schema':
specifier: 1.8.20 specifier: 1.9.1
version: 1.8.20 version: 1.9.1
'@vitejs/plugin-vue': '@vitejs/plugin-vue':
specifier: 5.0.4 specifier: 5.0.4
version: 5.0.4(vite@5.2.5)(vue@3.4.21) version: 5.0.4(vite@5.2.6)(vue@3.4.21)
'@vitejs/plugin-vue-jsx': '@vitejs/plugin-vue-jsx':
specifier: 3.1.0 specifier: 3.1.0
version: 3.1.0(vite@5.2.5)(vue@3.4.21) version: 3.1.0(vite@5.2.6)(vue@3.4.21)
'@vue/compiler-core': '@vue/compiler-core':
specifier: 3.4.21 specifier: 3.4.21
version: 3.4.21 version: 3.4.21
@ -524,8 +524,8 @@ importers:
specifier: 1.9.0 specifier: 1.9.0
version: 1.9.0 version: 1.9.0
vite: vite:
specifier: 5.2.5 specifier: 5.2.6
version: 5.2.5(@types/node@20.11.30) version: 5.2.6(@types/node@20.11.30)
vue: vue:
specifier: 3.4.21 specifier: 3.4.21
version: 3.4.21(typescript@5.4.3) version: 3.4.21(typescript@5.4.3)
@ -555,10 +555,10 @@ importers:
version: 5.0.5(rollup@4.13.0) version: 5.0.5(rollup@4.13.0)
'@vitejs/plugin-vue': '@vitejs/plugin-vue':
specifier: ^5.0.4 specifier: ^5.0.4
version: 5.0.4(vite@5.2.5)(vue@3.4.21) version: 5.0.4(vite@5.2.6)(vue@3.4.21)
'@vitejs/plugin-vue-jsx': '@vitejs/plugin-vue-jsx':
specifier: ^3.1.0 specifier: ^3.1.0
version: 3.1.0(vite@5.2.5)(vue@3.4.21) version: 3.1.0(vite@5.2.6)(vue@3.4.21)
autoprefixer: autoprefixer:
specifier: ^10.4.19 specifier: ^10.4.19
version: 10.4.19(postcss@8.4.38) version: 10.4.19(postcss@8.4.38)
@ -638,14 +638,14 @@ importers:
specifier: ^1.10.0 specifier: ^1.10.0
version: 1.10.0 version: 1.10.0
vite: vite:
specifier: 5.2.5 specifier: 5.2.6
version: 5.2.5(@types/node@20.11.30) version: 5.2.6(@types/node@20.11.30)
vite-node: vite-node:
specifier: ^1.4.0 specifier: ^1.4.0
version: 1.4.0(@types/node@20.11.30) version: 1.4.0(@types/node@20.11.30)
vite-plugin-checker: vite-plugin-checker:
specifier: ^0.6.4 specifier: ^0.6.4
version: 0.6.4(eslint@8.57.0)(typescript@5.4.3)(vite@5.2.5)(vue-tsc@2.0.7) version: 0.6.4(eslint@8.57.0)(typescript@5.4.3)(vite@5.2.6)(vue-tsc@2.0.7)
vue-bundle-renderer: vue-bundle-renderer:
specifier: ^2.0.0 specifier: ^2.0.0
version: 2.0.0 version: 2.0.0
@ -868,7 +868,7 @@ importers:
version: 1.3.4 version: 1.3.4
vitest: vitest:
specifier: 1.0.2 specifier: 1.0.2
version: 1.0.2(@types/node@20.11.30)(happy-dom@14.3.3) version: 1.0.2(@types/node@20.11.30)(happy-dom@14.3.6)
vue: vue:
specifier: 3.4.21 specifier: 3.4.21
version: 3.4.21(typescript@5.4.3) version: 3.4.21(typescript@5.4.3)
@ -2178,17 +2178,17 @@ packages:
resolution: {integrity: sha512-GBzP8zOc7CGWyFQS6dv1lQz8VVpz5C2yRszbXufwG/9zhStTIH50EtD87NmWbTMwXDvZLNg8GIpb1UFdH93JCA==} resolution: {integrity: sha512-GBzP8zOc7CGWyFQS6dv1lQz8VVpz5C2yRszbXufwG/9zhStTIH50EtD87NmWbTMwXDvZLNg8GIpb1UFdH93JCA==}
dev: false dev: false
/@nuxt/devtools-kit@1.1.3(nuxt@packages+nuxt)(vite@5.2.5): /@nuxt/devtools-kit@1.1.3(nuxt@packages+nuxt)(vite@5.2.6):
resolution: {integrity: sha512-bVIGng74haYAvJXiV+xtk7xrpHPZOJtcV4Flgl9IM+PYSjqs5pIRFRDnDwCQYAGt99hxGtQkdTBRqPQLxVCmeA==} resolution: {integrity: sha512-bVIGng74haYAvJXiV+xtk7xrpHPZOJtcV4Flgl9IM+PYSjqs5pIRFRDnDwCQYAGt99hxGtQkdTBRqPQLxVCmeA==}
peerDependencies: peerDependencies:
nuxt: workspace:* nuxt: workspace:*
vite: 5.2.5 vite: 5.2.6
dependencies: dependencies:
'@nuxt/kit': link:packages/kit '@nuxt/kit': link:packages/kit
'@nuxt/schema': link:packages/schema '@nuxt/schema': link:packages/schema
execa: 7.2.0 execa: 7.2.0
nuxt: link:packages/nuxt nuxt: link:packages/nuxt
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
dev: false dev: false
/@nuxt/devtools-wizard@1.1.3: /@nuxt/devtools-wizard@1.1.3:
@ -2207,19 +2207,19 @@ packages:
semver: 7.6.0 semver: 7.6.0
dev: false dev: false
/@nuxt/devtools@1.1.3(@unocss/reset@0.58.6)(floating-vue@5.2.2)(nuxt@packages+nuxt)(rollup@4.13.0)(unocss@0.58.6)(vite@5.2.5)(vue@3.4.21): /@nuxt/devtools@1.1.3(@unocss/reset@0.58.6)(floating-vue@5.2.2)(nuxt@packages+nuxt)(rollup@4.13.0)(unocss@0.58.6)(vite@5.2.6)(vue@3.4.21):
resolution: {integrity: sha512-+mps8+01b2ntJOHNNTfeUTj4A/b2CyAxvmbwgoDc91XAycpJMWqzYzqBXemR4ZoDL8mbk6coQ1rmz8f1dM25fA==} resolution: {integrity: sha512-+mps8+01b2ntJOHNNTfeUTj4A/b2CyAxvmbwgoDc91XAycpJMWqzYzqBXemR4ZoDL8mbk6coQ1rmz8f1dM25fA==}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
nuxt: workspace:* nuxt: workspace:*
vite: 5.2.5 vite: 5.2.6
dependencies: dependencies:
'@antfu/utils': 0.7.7 '@antfu/utils': 0.7.7
'@nuxt/devtools-kit': 1.1.3(nuxt@packages+nuxt)(vite@5.2.5) '@nuxt/devtools-kit': 1.1.3(nuxt@packages+nuxt)(vite@5.2.6)
'@nuxt/devtools-wizard': 1.1.3 '@nuxt/devtools-wizard': 1.1.3
'@nuxt/kit': link:packages/kit '@nuxt/kit': link:packages/kit
'@vue/devtools-applet': 7.0.20(@unocss/reset@0.58.6)(floating-vue@5.2.2)(unocss@0.58.6)(vite@5.2.5)(vue@3.4.21) '@vue/devtools-applet': 7.0.20(@unocss/reset@0.58.6)(floating-vue@5.2.2)(unocss@0.58.6)(vite@5.2.6)(vue@3.4.21)
'@vue/devtools-core': 7.0.20(vite@5.2.5)(vue@3.4.21) '@vue/devtools-core': 7.0.20(vite@5.2.6)(vue@3.4.21)
'@vue/devtools-kit': 7.0.20(vue@3.4.21) '@vue/devtools-kit': 7.0.20(vue@3.4.21)
birpc: 0.2.17 birpc: 0.2.17
consola: 3.2.3 consola: 3.2.3
@ -2249,9 +2249,9 @@ packages:
simple-git: 3.23.0 simple-git: 3.23.0
sirv: 2.0.4 sirv: 2.0.4
unimport: 3.7.1(rollup@4.13.0) unimport: 3.7.1(rollup@4.13.0)
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
vite-plugin-inspect: 0.8.3(@nuxt/kit@packages+kit)(rollup@4.13.0)(vite@5.2.5) vite-plugin-inspect: 0.8.3(@nuxt/kit@packages+kit)(rollup@4.13.0)(vite@5.2.6)
vite-plugin-vue-inspector: 4.0.2(vite@5.2.5) vite-plugin-vue-inspector: 4.0.2(vite@5.2.6)
which: 3.0.1 which: 3.0.1
ws: 8.16.0 ws: 8.16.0
transitivePeerDependencies: transitivePeerDependencies:
@ -2328,7 +2328,7 @@ packages:
rc9: 2.1.1 rc9: 2.1.1
std-env: 3.7.0 std-env: 3.7.0
/@nuxt/test-utils@3.12.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.3)(playwright-core@1.42.1)(vite@5.2.5)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21): /@nuxt/test-utils@3.12.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.6)(playwright-core@1.42.1)(vite@5.2.6)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21):
resolution: {integrity: sha512-Q3HP53TDIYeqHT65r31HZhK/gRwVBmchSdVj1tfiYECyqstckvsQ4Cyt/GX/XmD7cLdD3d5aHow8LaMfP+BSqQ==} resolution: {integrity: sha512-Q3HP53TDIYeqHT65r31HZhK/gRwVBmchSdVj1tfiYECyqstckvsQ4Cyt/GX/XmD7cLdD3d5aHow8LaMfP+BSqQ==}
engines: {node: ^14.18.0 || >=16.10.0} engines: {node: ^14.18.0 || >=16.10.0}
peerDependencies: peerDependencies:
@ -2342,7 +2342,7 @@ packages:
happy-dom: ^9.10.9 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 happy-dom: ^9.10.9 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0
jsdom: ^22.0.0 || ^23.0.0 || ^24.0.0 jsdom: ^22.0.0 || ^23.0.0 || ^24.0.0
playwright-core: ^1.34.3 playwright-core: ^1.34.3
vite: 5.2.5 vite: 5.2.6
vitest: ^0.34.6 || ^1.0.0 vitest: ^0.34.6 || ^1.0.0
vue: 3.4.21 vue: 3.4.21
vue-router: ^4.0.0 vue-router: ^4.0.0
@ -2381,7 +2381,7 @@ packages:
fake-indexeddb: 5.0.2 fake-indexeddb: 5.0.2
get-port-please: 3.1.2 get-port-please: 3.1.2
h3: 1.11.1 h3: 1.11.1
happy-dom: 14.3.3 happy-dom: 14.3.6
local-pkg: 0.5.0 local-pkg: 0.5.0
magic-string: 0.30.8 magic-string: 0.30.8
node-fetch-native: 1.6.3 node-fetch-native: 1.6.3
@ -2395,9 +2395,9 @@ packages:
ufo: 1.5.3 ufo: 1.5.3
unenv: 1.9.0 unenv: 1.9.0
unplugin: 1.10.0 unplugin: 1.10.0
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
vitest: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.3) vitest: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.6)
vitest-environment-nuxt: 1.0.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.3)(playwright-core@1.42.1)(vite@5.2.5)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21) vitest-environment-nuxt: 1.0.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.6)(playwright-core@1.42.1)(vite@5.2.6)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21)
vue: 3.4.21(typescript@5.4.3) vue: 3.4.21(typescript@5.4.3)
vue-router: 4.3.0(vue@3.4.21) vue-router: 4.3.0(vue@3.4.21)
dev: true dev: true
@ -3339,56 +3339,56 @@ packages:
/@ungap/structured-clone@1.2.0: /@ungap/structured-clone@1.2.0:
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
/@unhead/dom@1.8.20: /@unhead/dom@1.9.1:
resolution: {integrity: sha512-TXRQSVbqBOQc02m3wxgj55m93U8a3WBHV9xJi2zVX/iHEJgeQbZMJ+rV0YJkHy2OHAC0MfjVQA5NDLaVwtromw==} resolution: {integrity: sha512-5YVT8pyg7Mw8niWwklP8nFKK9WLIvaK4O3tXvqpW9OxSAexJG576bh6FR0hEtSDLBkJh+pI8mMMMIuzSdK/whA==}
dependencies: dependencies:
'@unhead/schema': 1.8.20 '@unhead/schema': 1.9.1
'@unhead/shared': 1.8.20 '@unhead/shared': 1.9.1
dev: false dev: false
/@unhead/schema@1.8.20: /@unhead/schema@1.9.1:
resolution: {integrity: sha512-n0e5jsKino8JTHc4wpr4l8MXXIrj0muYYAEVa0WSYkIVnMiBr1Ik3l6elhCr4fdSyJ3M2DQQleea/oZCr11XCw==} resolution: {integrity: sha512-wCJKNx4l837NEVMWP3MnUfkgsnMyuXwYs7+5VvbYzAWbnZSvQt/K10xDV0N7ft9RSlPfgukVVG+gtARm1kGVHQ==}
dependencies: dependencies:
hookable: 5.5.3 hookable: 5.5.3
zhead: 2.2.4 zhead: 2.2.4
/@unhead/shared@1.8.20: /@unhead/shared@1.9.1:
resolution: {integrity: sha512-J0fdtavcMtXcG0g9jmVW03toqfr8A0G7k+Q6jdpwuUPhWk/vhfZn3aiRV+F8LlU91c/AbGWDv8T1MrtMQbb0Sg==} resolution: {integrity: sha512-rZgzXzOeF4vu2bJJAkHJckgPgWGfpDA3/vesPhJIZGs2NkGYi9lDwMUeJ90HKCMJv1+JRAcPOokjRi6vRlnQpg==}
dependencies: dependencies:
'@unhead/schema': 1.8.20 '@unhead/schema': 1.9.1
dev: false dev: false
/@unhead/ssr@1.8.20: /@unhead/ssr@1.9.1:
resolution: {integrity: sha512-Cq1NcdYZ/IAkJ0muqdOBxJXb5dn+uV+RvIXDykRb9lGgriU/S0fzUw8XYTYMwLlvW6rSMrtRx319hz2D3ZrBkA==} resolution: {integrity: sha512-ojY5umX2rtEvmsAFX935DPxk+rZfmgLOEMP1etJGYmCh2GQskK4USjUp9uYJyf0DP0xh+42R4a06e5602CIWHQ==}
dependencies: dependencies:
'@unhead/schema': 1.8.20 '@unhead/schema': 1.9.1
'@unhead/shared': 1.8.20 '@unhead/shared': 1.9.1
dev: false dev: false
/@unhead/vue@1.8.20(vue@3.4.21): /@unhead/vue@1.9.1(vue@3.4.21):
resolution: {integrity: sha512-Lm6cnbX/QGCh+pxGN1Tl6LVXxYs5bLlN8APfI2rQ5kMNRE6Yy7r2eY5wCZ0SfsSRonqJxzVlgMMh8JPEY5d4GQ==} resolution: {integrity: sha512-clSKIkwtw26Lx5tR7ecJ/zvyFJkghvJU+jt2liQ4XYQb/Qaveh8L7gqsI1RKUuKaXAjlo2Z4Jpp1v9nHxA0heg==}
peerDependencies: peerDependencies:
vue: 3.4.21 vue: 3.4.21
dependencies: dependencies:
'@unhead/schema': 1.8.20 '@unhead/schema': 1.9.1
'@unhead/shared': 1.8.20 '@unhead/shared': 1.9.1
hookable: 5.5.3 hookable: 5.5.3
unhead: 1.8.20 unhead: 1.9.1
vue: 3.4.21(typescript@5.4.3) vue: 3.4.21(typescript@5.4.3)
dev: false dev: false
/@unocss/astro@0.58.6(rollup@4.13.0)(vite@5.2.5): /@unocss/astro@0.58.6(rollup@4.13.0)(vite@5.2.6):
resolution: {integrity: sha512-0BvbhEp5Ln6wFNnhISusB2hcfycWkdgnjlFMcLT69efvj4G39MzB6JYT/1qiidLfpj35HcqkpBz7TfZ4bUmOAw==} resolution: {integrity: sha512-0BvbhEp5Ln6wFNnhISusB2hcfycWkdgnjlFMcLT69efvj4G39MzB6JYT/1qiidLfpj35HcqkpBz7TfZ4bUmOAw==}
peerDependencies: peerDependencies:
vite: 5.2.5 vite: 5.2.6
peerDependenciesMeta: peerDependenciesMeta:
vite: vite:
optional: true optional: true
dependencies: dependencies:
'@unocss/core': 0.58.6 '@unocss/core': 0.58.6
'@unocss/reset': 0.58.6 '@unocss/reset': 0.58.6
'@unocss/vite': 0.58.6(rollup@4.13.0)(vite@5.2.5) '@unocss/vite': 0.58.6(rollup@4.13.0)(vite@5.2.6)
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
transitivePeerDependencies: transitivePeerDependencies:
- rollup - rollup
dev: false dev: false
@ -3571,10 +3571,10 @@ packages:
'@unocss/core': 0.58.6 '@unocss/core': 0.58.6
dev: false dev: false
/@unocss/vite@0.58.6(rollup@4.13.0)(vite@5.2.5): /@unocss/vite@0.58.6(rollup@4.13.0)(vite@5.2.6):
resolution: {integrity: sha512-DPXCoYU/Ozqc/Jeptd41XvtW8MSgVxmtTyhpMAsm/hJuBfwIV7Fy3TZquf4V9BpaTb4ao1LVXzgXmVUmj2HXpA==} resolution: {integrity: sha512-DPXCoYU/Ozqc/Jeptd41XvtW8MSgVxmtTyhpMAsm/hJuBfwIV7Fy3TZquf4V9BpaTb4ao1LVXzgXmVUmj2HXpA==}
peerDependencies: peerDependencies:
vite: 5.2.5 vite: 5.2.6
dependencies: dependencies:
'@ampproject/remapping': 2.3.0 '@ampproject/remapping': 2.3.0
'@rollup/pluginutils': 5.1.0(rollup@4.13.0) '@rollup/pluginutils': 5.1.0(rollup@4.13.0)
@ -3586,7 +3586,7 @@ packages:
chokidar: 3.6.0 chokidar: 3.6.0
fast-glob: 3.3.2 fast-glob: 3.3.2
magic-string: 0.30.8 magic-string: 0.30.8
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
transitivePeerDependencies: transitivePeerDependencies:
- rollup - rollup
dev: false dev: false
@ -3612,29 +3612,29 @@ packages:
- encoding - encoding
- supports-color - supports-color
/@vitejs/plugin-vue-jsx@3.1.0(vite@5.2.5)(vue@3.4.21): /@vitejs/plugin-vue-jsx@3.1.0(vite@5.2.6)(vue@3.4.21):
resolution: {integrity: sha512-w9M6F3LSEU5kszVb9An2/MmXNxocAnUb3WhRr8bHlimhDrXNt6n6D2nJQR3UXpGlZHh/EsgouOHCsM8V3Ln+WA==} resolution: {integrity: sha512-w9M6F3LSEU5kszVb9An2/MmXNxocAnUb3WhRr8bHlimhDrXNt6n6D2nJQR3UXpGlZHh/EsgouOHCsM8V3Ln+WA==}
engines: {node: ^14.18.0 || >=16.0.0} engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies: peerDependencies:
vite: 5.2.5 vite: 5.2.6
vue: 3.4.21 vue: 3.4.21
dependencies: dependencies:
'@babel/core': 7.24.3 '@babel/core': 7.24.3
'@babel/plugin-transform-typescript': 7.24.1(@babel/core@7.24.3) '@babel/plugin-transform-typescript': 7.24.1(@babel/core@7.24.3)
'@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.24.3) '@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.24.3)
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
vue: 3.4.21(typescript@5.4.3) vue: 3.4.21(typescript@5.4.3)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
/@vitejs/plugin-vue@5.0.4(vite@5.2.5)(vue@3.4.21): /@vitejs/plugin-vue@5.0.4(vite@5.2.6)(vue@3.4.21):
resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==} resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==}
engines: {node: ^18.0.0 || >=20.0.0} engines: {node: ^18.0.0 || >=20.0.0}
peerDependencies: peerDependencies:
vite: 5.2.5 vite: 5.2.6
vue: 3.4.21 vue: 3.4.21
dependencies: dependencies:
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
vue: 3.4.21(typescript@5.4.3) vue: 3.4.21(typescript@5.4.3)
/@vitest/coverage-v8@1.4.0(vitest@1.4.0): /@vitest/coverage-v8@1.4.0(vitest@1.4.0):
@ -3656,7 +3656,7 @@ packages:
strip-literal: 2.0.0 strip-literal: 2.0.0
test-exclude: 6.0.0 test-exclude: 6.0.0
v8-to-istanbul: 9.2.0 v8-to-istanbul: 9.2.0
vitest: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.3) vitest: 1.4.0(@types/node@20.11.30)(happy-dom@14.3.6)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
@ -3844,12 +3844,12 @@ packages:
/@vue/devtools-api@6.5.1: /@vue/devtools-api@6.5.1:
resolution: {integrity: sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==} resolution: {integrity: sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==}
/@vue/devtools-applet@7.0.20(@unocss/reset@0.58.6)(floating-vue@5.2.2)(unocss@0.58.6)(vite@5.2.5)(vue@3.4.21): /@vue/devtools-applet@7.0.20(@unocss/reset@0.58.6)(floating-vue@5.2.2)(unocss@0.58.6)(vite@5.2.6)(vue@3.4.21):
resolution: {integrity: sha512-q48RtnhFmC0kd4N+3Edfctv6oL2neN6crUapBydSr6szjR87dQJygTEYKlpyx0SHmVLVwq4mcgFuf1ftAKjd/w==} resolution: {integrity: sha512-q48RtnhFmC0kd4N+3Edfctv6oL2neN6crUapBydSr6szjR87dQJygTEYKlpyx0SHmVLVwq4mcgFuf1ftAKjd/w==}
peerDependencies: peerDependencies:
vue: 3.4.21 vue: 3.4.21
dependencies: dependencies:
'@vue/devtools-core': 7.0.20(vite@5.2.5)(vue@3.4.21) '@vue/devtools-core': 7.0.20(vite@5.2.6)(vue@3.4.21)
'@vue/devtools-kit': 7.0.20(vue@3.4.21) '@vue/devtools-kit': 7.0.20(vue@3.4.21)
'@vue/devtools-shared': 7.0.20 '@vue/devtools-shared': 7.0.20
'@vue/devtools-ui': 7.0.20(@unocss/reset@0.58.6)(floating-vue@5.2.2)(unocss@0.58.6)(vue@3.4.21) '@vue/devtools-ui': 7.0.20(@unocss/reset@0.58.6)(floating-vue@5.2.2)(unocss@0.58.6)(vue@3.4.21)
@ -3876,7 +3876,7 @@ packages:
- vite - vite
dev: false dev: false
/@vue/devtools-core@7.0.20(vite@5.2.5)(vue@3.4.21): /@vue/devtools-core@7.0.20(vite@5.2.6)(vue@3.4.21):
resolution: {integrity: sha512-JefAn0ljTUPtoEJ47PjEfcLQb9BVt3OH1R6aD8qZ7bNYwZH+xystXpVJ3pW+1iDnOXjfpLgc3bsHUZoxlfobpw==} resolution: {integrity: sha512-JefAn0ljTUPtoEJ47PjEfcLQb9BVt3OH1R6aD8qZ7bNYwZH+xystXpVJ3pW+1iDnOXjfpLgc3bsHUZoxlfobpw==}
dependencies: dependencies:
'@vue/devtools-kit': 7.0.20(vue@3.4.21) '@vue/devtools-kit': 7.0.20(vue@3.4.21)
@ -3884,7 +3884,7 @@ packages:
mitt: 3.0.1 mitt: 3.0.1
nanoid: 3.3.7 nanoid: 3.3.7
pathe: 1.1.2 pathe: 1.1.2
vite-hot-client: 0.2.3(vite@5.2.5) vite-hot-client: 0.2.3(vite@5.2.6)
transitivePeerDependencies: transitivePeerDependencies:
- vite - vite
- vue - vue
@ -3924,7 +3924,7 @@ packages:
colord: 2.9.3 colord: 2.9.3
floating-vue: 5.2.2(@nuxt/kit@packages+kit)(vue@3.4.21) floating-vue: 5.2.2(@nuxt/kit@packages+kit)(vue@3.4.21)
focus-trap: 7.5.4 focus-trap: 7.5.4
unocss: 0.58.6(postcss@8.4.38)(rollup@4.13.0)(vite@5.2.5) unocss: 0.58.6(postcss@8.4.38)(rollup@4.13.0)(vite@5.2.6)
vue: 3.4.21(typescript@5.4.3) vue: 3.4.21(typescript@5.4.3)
transitivePeerDependencies: transitivePeerDependencies:
- '@vue/composition-api' - '@vue/composition-api'
@ -6766,8 +6766,8 @@ packages:
transitivePeerDependencies: transitivePeerDependencies:
- uWebSockets.js - uWebSockets.js
/happy-dom@14.3.3: /happy-dom@14.3.6:
resolution: {integrity: sha512-hsecx5SDUUwVW0MK5sxFWA7WHLabvzIEKjf9gah+siJp/LD+bMyFfAO18b9mlc5meMADVUm6O/YF4+CliaMD6g==} resolution: {integrity: sha512-fUb3dn0iuyyxRGqwFoU5iy6wjozxt/Qw7zGeRMockbBlpOegrV7Y0HIYBMQw8X4s7qpu55Tu7cNFoRM8s9VW5A==}
engines: {node: '>=16.0.0'} engines: {node: '>=16.0.0'}
dependencies: dependencies:
entities: 4.5.0 entities: 4.5.0
@ -11189,12 +11189,12 @@ packages:
node-fetch-native: 1.6.3 node-fetch-native: 1.6.3
pathe: 1.1.2 pathe: 1.1.2
/unhead@1.8.20: /unhead@1.9.1:
resolution: {integrity: sha512-IJOCYact/7Za3M7CeeCWs8Vze53kHvKDUy/EXtkTm/an5StgqOt2uCnS3HrkioIMKdHBpy/qtTc6E3BoGMOq7Q==} resolution: {integrity: sha512-qTyA0V6xjUrIJp6KWs0CqAayw4K2DE7rh0GO0vmcC2YuF0HITO/3zkVtG7zhJUd5VeGgGCO/82zatDOOhMyneA==}
dependencies: dependencies:
'@unhead/dom': 1.8.20 '@unhead/dom': 1.9.1
'@unhead/schema': 1.8.20 '@unhead/schema': 1.9.1
'@unhead/shared': 1.8.20 '@unhead/shared': 1.9.1
hookable: 5.5.3 hookable: 5.5.3
dev: false dev: false
@ -11295,19 +11295,19 @@ packages:
resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==} resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==}
engines: {node: '>= 10.0.0'} engines: {node: '>= 10.0.0'}
/unocss@0.58.6(postcss@8.4.38)(rollup@4.13.0)(vite@5.2.5): /unocss@0.58.6(postcss@8.4.38)(rollup@4.13.0)(vite@5.2.6):
resolution: {integrity: sha512-HBstDtC6KKD5yCYh5hHpPdHGZai0B/iLlDwkOIK+xfQYrvl8tNBvKfRz3xgiaI5MJ+fLmEOxbfXQIjleU1A0iA==} resolution: {integrity: sha512-HBstDtC6KKD5yCYh5hHpPdHGZai0B/iLlDwkOIK+xfQYrvl8tNBvKfRz3xgiaI5MJ+fLmEOxbfXQIjleU1A0iA==}
engines: {node: '>=14'} engines: {node: '>=14'}
peerDependencies: peerDependencies:
'@unocss/webpack': 0.58.6 '@unocss/webpack': 0.58.6
vite: 5.2.5 vite: 5.2.6
peerDependenciesMeta: peerDependenciesMeta:
'@unocss/webpack': '@unocss/webpack':
optional: true optional: true
vite: vite:
optional: true optional: true
dependencies: dependencies:
'@unocss/astro': 0.58.6(rollup@4.13.0)(vite@5.2.5) '@unocss/astro': 0.58.6(rollup@4.13.0)(vite@5.2.6)
'@unocss/cli': 0.58.6(rollup@4.13.0) '@unocss/cli': 0.58.6(rollup@4.13.0)
'@unocss/core': 0.58.6 '@unocss/core': 0.58.6
'@unocss/extractor-arbitrary-variants': 0.58.6 '@unocss/extractor-arbitrary-variants': 0.58.6
@ -11326,8 +11326,8 @@ packages:
'@unocss/transformer-compile-class': 0.58.6 '@unocss/transformer-compile-class': 0.58.6
'@unocss/transformer-directives': 0.58.6 '@unocss/transformer-directives': 0.58.6
'@unocss/transformer-variant-group': 0.58.6 '@unocss/transformer-variant-group': 0.58.6
'@unocss/vite': 0.58.6(rollup@4.13.0)(vite@5.2.5) '@unocss/vite': 0.58.6(rollup@4.13.0)(vite@5.2.6)
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
transitivePeerDependencies: transitivePeerDependencies:
- postcss - postcss
- rollup - rollup
@ -11550,12 +11550,12 @@ packages:
vfile-message: 4.0.2 vfile-message: 4.0.2
dev: true dev: true
/vite-hot-client@0.2.3(vite@5.2.5): /vite-hot-client@0.2.3(vite@5.2.6):
resolution: {integrity: sha512-rOGAV7rUlUHX89fP2p2v0A2WWvV3QMX2UYq0fRqsWSvFvev4atHWqjwGoKaZT1VTKyLGk533ecu3eyd0o59CAg==} resolution: {integrity: sha512-rOGAV7rUlUHX89fP2p2v0A2WWvV3QMX2UYq0fRqsWSvFvev4atHWqjwGoKaZT1VTKyLGk533ecu3eyd0o59CAg==}
peerDependencies: peerDependencies:
vite: 5.2.5 vite: 5.2.6
dependencies: dependencies:
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
dev: false dev: false
/vite-node@1.0.2(@types/node@20.11.30): /vite-node@1.0.2(@types/node@20.11.30):
@ -11567,7 +11567,7 @@ packages:
debug: 4.3.4 debug: 4.3.4
pathe: 1.1.2 pathe: 1.1.2
picocolors: 1.0.0 picocolors: 1.0.0
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node' - '@types/node'
- less - less
@ -11588,7 +11588,7 @@ packages:
debug: 4.3.4 debug: 4.3.4
pathe: 1.1.2 pathe: 1.1.2
picocolors: 1.0.0 picocolors: 1.0.0
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node' - '@types/node'
- less - less
@ -11599,7 +11599,7 @@ packages:
- supports-color - supports-color
- terser - terser
/vite-plugin-checker@0.6.4(eslint@8.57.0)(typescript@5.4.3)(vite@5.2.5)(vue-tsc@2.0.7): /vite-plugin-checker@0.6.4(eslint@8.57.0)(typescript@5.4.3)(vite@5.2.6)(vue-tsc@2.0.7):
resolution: {integrity: sha512-2zKHH5oxr+ye43nReRbC2fny1nyARwhxdm0uNYp/ERy4YvU9iZpNOsueoi/luXw5gnpqRSvjcEPxXbS153O2wA==} resolution: {integrity: sha512-2zKHH5oxr+ye43nReRbC2fny1nyARwhxdm0uNYp/ERy4YvU9iZpNOsueoi/luXw5gnpqRSvjcEPxXbS153O2wA==}
engines: {node: '>=14.16'} engines: {node: '>=14.16'}
peerDependencies: peerDependencies:
@ -11608,7 +11608,7 @@ packages:
optionator: ^0.9.1 optionator: ^0.9.1
stylelint: '>=13' stylelint: '>=13'
typescript: '*' typescript: '*'
vite: 5.2.5 vite: 5.2.6
vls: '*' vls: '*'
vti: '*' vti: '*'
vue-tsc: '>=1.3.9' vue-tsc: '>=1.3.9'
@ -11643,7 +11643,7 @@ packages:
strip-ansi: 6.0.1 strip-ansi: 6.0.1
tiny-invariant: 1.3.1 tiny-invariant: 1.3.1
typescript: 5.4.3 typescript: 5.4.3
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
vscode-languageclient: 7.0.0 vscode-languageclient: 7.0.0
vscode-languageserver: 7.0.0 vscode-languageserver: 7.0.0
vscode-languageserver-textdocument: 1.0.11 vscode-languageserver-textdocument: 1.0.11
@ -11651,12 +11651,12 @@ packages:
vue-tsc: 2.0.7(typescript@5.4.3) vue-tsc: 2.0.7(typescript@5.4.3)
dev: false dev: false
/vite-plugin-inspect@0.8.3(@nuxt/kit@packages+kit)(rollup@4.13.0)(vite@5.2.5): /vite-plugin-inspect@0.8.3(@nuxt/kit@packages+kit)(rollup@4.13.0)(vite@5.2.6):
resolution: {integrity: sha512-SBVzOIdP/kwe6hjkt7LSW4D0+REqqe58AumcnCfRNw4Kt3mbS9pEBkch+nupu2PBxv2tQi69EQHQ1ZA1vgB/Og==} resolution: {integrity: sha512-SBVzOIdP/kwe6hjkt7LSW4D0+REqqe58AumcnCfRNw4Kt3mbS9pEBkch+nupu2PBxv2tQi69EQHQ1ZA1vgB/Og==}
engines: {node: '>=14'} engines: {node: '>=14'}
peerDependencies: peerDependencies:
'@nuxt/kit': '*' '@nuxt/kit': '*'
vite: 5.2.5 vite: 5.2.6
peerDependenciesMeta: peerDependenciesMeta:
'@nuxt/kit': '@nuxt/kit':
optional: true optional: true
@ -11671,16 +11671,16 @@ packages:
perfect-debounce: 1.0.0 perfect-debounce: 1.0.0
picocolors: 1.0.0 picocolors: 1.0.0
sirv: 2.0.4 sirv: 2.0.4
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
transitivePeerDependencies: transitivePeerDependencies:
- rollup - rollup
- supports-color - supports-color
dev: false dev: false
/vite-plugin-vue-inspector@4.0.2(vite@5.2.5): /vite-plugin-vue-inspector@4.0.2(vite@5.2.6):
resolution: {integrity: sha512-KPvLEuafPG13T7JJuQbSm5PwSxKFnVS965+MP1we2xGw9BPkkc/+LPix5MMWenpKWqtjr0ws8THrR+KuoDC8hg==} resolution: {integrity: sha512-KPvLEuafPG13T7JJuQbSm5PwSxKFnVS965+MP1we2xGw9BPkkc/+LPix5MMWenpKWqtjr0ws8THrR+KuoDC8hg==}
peerDependencies: peerDependencies:
vite: 5.2.5 vite: 5.2.6
dependencies: dependencies:
'@babel/core': 7.24.3 '@babel/core': 7.24.3
'@babel/plugin-proposal-decorators': 7.23.2(@babel/core@7.24.3) '@babel/plugin-proposal-decorators': 7.23.2(@babel/core@7.24.3)
@ -11691,13 +11691,13 @@ packages:
'@vue/compiler-dom': 3.4.21 '@vue/compiler-dom': 3.4.21
kolorist: 1.8.0 kolorist: 1.8.0
magic-string: 0.30.8 magic-string: 0.30.8
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: false dev: false
/vite@5.2.5(@types/node@20.11.30): /vite@5.2.6(@types/node@20.11.30):
resolution: {integrity: sha512-a+rTAqkMmJ2hQpC6dfAyyc5M0YLH3BGZKLpA6pU9AhzlcK1YZS8P/ov9OcdHxaf+j0sM0DIh/txH7ydTHUpISg==} resolution: {integrity: sha512-FPtnxFlSIKYjZ2eosBQamz4CbyrTizbZ3hnGJlh/wMtCrlp1Hah6AzBLjGI5I2urTfNnpovpHdrL6YRuBOPnCA==}
engines: {node: ^18.0.0 || >=20.0.0} engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
@ -11731,10 +11731,10 @@ packages:
optionalDependencies: optionalDependencies:
fsevents: 2.3.3 fsevents: 2.3.3
/vitest-environment-nuxt@1.0.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.3)(playwright-core@1.42.1)(vite@5.2.5)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21): /vitest-environment-nuxt@1.0.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.6)(playwright-core@1.42.1)(vite@5.2.6)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21):
resolution: {integrity: sha512-AWMO9h4HdbaFdPWZw34gALFI8gbBiOpvfbyeZwHIPfh4kWg/TwElYHvYMQ61WPUlCGaS5LebfHkaI0WPyb//Iw==} resolution: {integrity: sha512-AWMO9h4HdbaFdPWZw34gALFI8gbBiOpvfbyeZwHIPfh4kWg/TwElYHvYMQ61WPUlCGaS5LebfHkaI0WPyb//Iw==}
dependencies: dependencies:
'@nuxt/test-utils': 3.12.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.3)(playwright-core@1.42.1)(vite@5.2.5)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21) '@nuxt/test-utils': 3.12.0(@testing-library/vue@8.0.3)(@vue/test-utils@2.4.5)(h3@1.11.1)(happy-dom@14.3.6)(playwright-core@1.42.1)(vite@5.2.6)(vitest@1.4.0)(vue-router@4.3.0)(vue@3.4.21)
transitivePeerDependencies: transitivePeerDependencies:
- '@cucumber/cucumber' - '@cucumber/cucumber'
- '@jest/globals' - '@jest/globals'
@ -11752,7 +11752,7 @@ packages:
- vue-router - vue-router
dev: true dev: true
/vitest@1.0.2(@types/node@20.11.30)(happy-dom@14.3.3): /vitest@1.0.2(@types/node@20.11.30)(happy-dom@14.3.6):
resolution: {integrity: sha512-F3NVwwpXfRSDnJmyv+ALPwSRVt0zDkRRE18pwUHSUPXAlWQ47rY1dc99ziMW5bBHyqwK2ERjMisLNoef64qk9w==} resolution: {integrity: sha512-F3NVwwpXfRSDnJmyv+ALPwSRVt0zDkRRE18pwUHSUPXAlWQ47rY1dc99ziMW5bBHyqwK2ERjMisLNoef64qk9w==}
engines: {node: ^18.0.0 || >=20.0.0} engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true hasBin: true
@ -11788,7 +11788,7 @@ packages:
chai: 4.3.10 chai: 4.3.10
debug: 4.3.4 debug: 4.3.4
execa: 8.0.1 execa: 8.0.1
happy-dom: 14.3.3 happy-dom: 14.3.6
local-pkg: 0.5.0 local-pkg: 0.5.0
magic-string: 0.30.8 magic-string: 0.30.8
pathe: 1.1.2 pathe: 1.1.2
@ -11797,7 +11797,7 @@ packages:
strip-literal: 1.3.0 strip-literal: 1.3.0
tinybench: 2.5.1 tinybench: 2.5.1
tinypool: 0.8.2 tinypool: 0.8.2
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
vite-node: 1.0.2(@types/node@20.11.30) vite-node: 1.0.2(@types/node@20.11.30)
why-is-node-running: 2.2.2 why-is-node-running: 2.2.2
transitivePeerDependencies: transitivePeerDependencies:
@ -11810,7 +11810,7 @@ packages:
- terser - terser
dev: true dev: true
/vitest@1.4.0(@types/node@20.11.30)(happy-dom@14.3.3): /vitest@1.4.0(@types/node@20.11.30)(happy-dom@14.3.6):
resolution: {integrity: sha512-gujzn0g7fmwf83/WzrDTnncZt2UiXP41mHuFYFrdwaLRVQ6JYQEiME2IfEjU3vcFL3VKa75XhI3lFgn+hfVsQw==} resolution: {integrity: sha512-gujzn0g7fmwf83/WzrDTnncZt2UiXP41mHuFYFrdwaLRVQ6JYQEiME2IfEjU3vcFL3VKa75XhI3lFgn+hfVsQw==}
engines: {node: ^18.0.0 || >=20.0.0} engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true hasBin: true
@ -11845,7 +11845,7 @@ packages:
chai: 4.3.10 chai: 4.3.10
debug: 4.3.4 debug: 4.3.4
execa: 8.0.1 execa: 8.0.1
happy-dom: 14.3.3 happy-dom: 14.3.6
local-pkg: 0.5.0 local-pkg: 0.5.0
magic-string: 0.30.8 magic-string: 0.30.8
pathe: 1.1.2 pathe: 1.1.2
@ -11854,7 +11854,7 @@ packages:
strip-literal: 2.0.0 strip-literal: 2.0.0
tinybench: 2.5.1 tinybench: 2.5.1
tinypool: 0.8.2 tinypool: 0.8.2
vite: 5.2.5(@types/node@20.11.30) vite: 5.2.6(@types/node@20.11.30)
vite-node: 1.4.0(@types/node@20.11.30) vite-node: 1.4.0(@types/node@20.11.30)
why-is-node-running: 2.2.2 why-is-node-running: 2.2.2
transitivePeerDependencies: transitivePeerDependencies:

View File

@ -35,7 +35,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"207k"') expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"207k"')
const modules = await analyzeSizes('node_modules/**/*', serverDir) const modules = await analyzeSizes('node_modules/**/*', serverDir)
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"1337k"') expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"1335k"')
const packages = modules.files const packages = modules.files
.filter(m => m.endsWith('package.json')) .filter(m => m.endsWith('package.json'))
@ -75,7 +75,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"526k"') expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"526k"')
const modules = await analyzeSizes('node_modules/**/*', serverDir) const modules = await analyzeSizes('node_modules/**/*', serverDir)
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"77.8k"') expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"76.0k"')
const packages = modules.files const packages = modules.files
.filter(m => m.endsWith('package.json')) .filter(m => m.endsWith('package.json'))