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'
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- 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.
::alert{type=warning}
Server components (and islands) must have a single root element. (HTML comments are considered elements as well.)
::
::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.
::

View File

@ -57,7 +57,7 @@ If you are using [`app.vue`](/docs/guide/directory-structure/app), make sure to
</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.
@ -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.
::alert{type=warning}
Server-only pages must have a single root element. (HTML comments are considered elements as well.)
::
## 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.

View File

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

View File

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

View File

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

View File

@ -34,6 +34,7 @@ const HAS_SLOT_OR_CLIENT_RE = /(<slot[^>]*>)|(nuxt-client)/
const TEMPLATE_RE = /<template>([\s\S]*)<\/template>/
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 EXTRACTED_ATTRS_RE = /v-(?:if|else-if|else)(="[^"]*")?/g
function wrapWithVForDiv (code: string, vfor: string): string {
return `<div v-for="${vfor}" style="display: contents;">${code}</div>`
@ -79,29 +80,31 @@ export const islandsTransform = createUnplugin((options: ServerOnlyComponentTran
if (node.name === 'slot') {
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'
let vfor: [string, string] | undefined
let vfor: string | undefined
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']
if (attributes.name) { delete attributes.name }
if (attributes['v-bind']) {
attributes._bind = attributes['v-bind']
delete attributes['v-bind']
attributes._bind = extractAttributes(attributes, ['v-bind'])['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
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>')
} else if (options.selectiveClient && ('nuxt-client' in node.attributes || ':nuxt-client' in node.attributes)) {
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 {
return attr.startsWith(':')
}
function getPropsToString (bindings: Record<string, string>, vfor?: [string, string]): string {
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} }`
if (!vfor) {
return `[${data}]`

View File

@ -65,8 +65,8 @@ describe('islandTransform - server and island components', () => {
<div>
<NuxtTeleportSsrSlot name="default" :props="undefined"><slot /></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="named" :props="[{ [\`some-data\`]: someData }]"><slot name="named" :some-data="someData" /></NuxtTeleportSsrSlot>
<NuxtTeleportSsrSlot name="other" :props="[{ [\`some-data\`]: someData }]"><slot
name="other"
:some-data="someData"
/></NuxtTeleportSsrSlot>
@ -99,7 +99,7 @@ describe('islandTransform - server and island components', () => {
expect(normalizeLineEndings(result)).toMatchInlineSnapshot(`
"<template>
<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>
</template></NuxtTeleportSsrSlot>
</div>
@ -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', () => {

View File

@ -38,7 +38,7 @@
"@types/file-loader": "5.0.4",
"@types/pug": "2.0.10",
"@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-jsx": "3.1.0",
"@vue/compiler-core": "3.4.21",
@ -52,7 +52,7 @@
"unbuild": "latest",
"unctx": "2.3.1",
"unenv": "1.9.0",
"vite": "5.2.5",
"vite": "5.2.6",
"vue": "3.4.21",
"vue-bundle-renderer": "2.0.0",
"vue-loader": "17.4.2",

View File

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

View File

@ -11,7 +11,7 @@ overrides:
'@nuxt/webpack-builder': workspace:*
rollup: ^4.13.0
nuxt: workspace:*
vite: 5.2.5
vite: 5.2.6
vue: 3.4.21
magic-string: ^0.30.8
@ -27,7 +27,7 @@ importers:
version: link:packages/kit
'@nuxt/test-utils':
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':
specifier: workspace:*
version: link:packages/webpack
@ -92,8 +92,8 @@ importers:
specifier: 1.11.1
version: 1.11.1
happy-dom:
specifier: 14.3.3
version: 14.3.3
specifier: 14.3.6
version: 14.3.6
jiti:
specifier: 1.21.0
version: 1.21.0
@ -138,10 +138,10 @@ importers:
version: 1.5.3
vitest:
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:
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:
specifier: 3.4.21
version: 3.4.21(typescript@5.4.3)
@ -228,11 +228,11 @@ importers:
specifier: latest
version: 2.0.0(typescript@5.4.3)
vite:
specifier: 5.2.5
version: 5.2.5(@types/node@20.11.30)
specifier: 5.2.6
version: 5.2.6(@types/node@20.11.30)
vitest:
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:
specifier: 5.91.0
version: 5.91.0
@ -244,7 +244,7 @@ importers:
version: 2.0.2
'@nuxt/devtools':
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':
specifier: workspace:*
version: link:../kit
@ -264,14 +264,14 @@ importers:
specifier: ^14.18.0 || >=16.10.0
version: 20.11.30
'@unhead/dom':
specifier: ^1.8.20
version: 1.8.20
specifier: ^1.9.1
version: 1.9.1
'@unhead/ssr':
specifier: ^1.8.20
version: 1.8.20
specifier: ^1.9.1
version: 1.9.1
'@unhead/vue':
specifier: ^1.8.20
version: 1.8.20(vue@3.4.21)
specifier: ^1.9.1
version: 1.9.1(vue@3.4.21)
'@vue/shared':
specifier: ^3.4.21
version: 3.4.21
@ -422,16 +422,16 @@ importers:
version: 11.0.4
'@vitejs/plugin-vue':
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:
specifier: latest
version: 2.0.0(typescript@5.4.3)
vite:
specifier: 5.2.5
version: 5.2.5(@types/node@20.11.30)
specifier: 5.2.6
version: 5.2.6(@types/node@20.11.30)
vitest:
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:
dependencies:
@ -482,14 +482,14 @@ importers:
specifier: 8.0.8
version: 8.0.8
'@unhead/schema':
specifier: 1.8.20
version: 1.8.20
specifier: 1.9.1
version: 1.9.1
'@vitejs/plugin-vue':
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':
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':
specifier: 3.4.21
version: 3.4.21
@ -524,8 +524,8 @@ importers:
specifier: 1.9.0
version: 1.9.0
vite:
specifier: 5.2.5
version: 5.2.5(@types/node@20.11.30)
specifier: 5.2.6
version: 5.2.6(@types/node@20.11.30)
vue:
specifier: 3.4.21
version: 3.4.21(typescript@5.4.3)
@ -555,10 +555,10 @@ importers:
version: 5.0.5(rollup@4.13.0)
'@vitejs/plugin-vue':
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':
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:
specifier: ^10.4.19
version: 10.4.19(postcss@8.4.38)
@ -638,14 +638,14 @@ importers:
specifier: ^1.10.0
version: 1.10.0
vite:
specifier: 5.2.5
version: 5.2.5(@types/node@20.11.30)
specifier: 5.2.6
version: 5.2.6(@types/node@20.11.30)
vite-node:
specifier: ^1.4.0
version: 1.4.0(@types/node@20.11.30)
vite-plugin-checker:
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:
specifier: ^2.0.0
version: 2.0.0
@ -868,7 +868,7 @@ importers:
version: 1.3.4
vitest:
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:
specifier: 3.4.21
version: 3.4.21(typescript@5.4.3)
@ -2178,17 +2178,17 @@ packages:
resolution: {integrity: sha512-GBzP8zOc7CGWyFQS6dv1lQz8VVpz5C2yRszbXufwG/9zhStTIH50EtD87NmWbTMwXDvZLNg8GIpb1UFdH93JCA==}
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==}
peerDependencies:
nuxt: workspace:*
vite: 5.2.5
vite: 5.2.6
dependencies:
'@nuxt/kit': link:packages/kit
'@nuxt/schema': link:packages/schema
execa: 7.2.0
nuxt: link:packages/nuxt
vite: 5.2.5(@types/node@20.11.30)
vite: 5.2.6(@types/node@20.11.30)
dev: false
/@nuxt/devtools-wizard@1.1.3:
@ -2207,19 +2207,19 @@ packages:
semver: 7.6.0
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==}
hasBin: true
peerDependencies:
nuxt: workspace:*
vite: 5.2.5
vite: 5.2.6
dependencies:
'@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/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-core': 7.0.20(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.6)(vue@3.4.21)
'@vue/devtools-kit': 7.0.20(vue@3.4.21)
birpc: 0.2.17
consola: 3.2.3
@ -2249,9 +2249,9 @@ packages:
simple-git: 3.23.0
sirv: 2.0.4
unimport: 3.7.1(rollup@4.13.0)
vite: 5.2.5(@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-vue-inspector: 4.0.2(vite@5.2.5)
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.6)
vite-plugin-vue-inspector: 4.0.2(vite@5.2.6)
which: 3.0.1
ws: 8.16.0
transitivePeerDependencies:
@ -2328,7 +2328,7 @@ packages:
rc9: 2.1.1
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==}
engines: {node: ^14.18.0 || >=16.10.0}
peerDependencies:
@ -2342,7 +2342,7 @@ packages:
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
playwright-core: ^1.34.3
vite: 5.2.5
vite: 5.2.6
vitest: ^0.34.6 || ^1.0.0
vue: 3.4.21
vue-router: ^4.0.0
@ -2381,7 +2381,7 @@ packages:
fake-indexeddb: 5.0.2
get-port-please: 3.1.2
h3: 1.11.1
happy-dom: 14.3.3
happy-dom: 14.3.6
local-pkg: 0.5.0
magic-string: 0.30.8
node-fetch-native: 1.6.3
@ -2395,9 +2395,9 @@ packages:
ufo: 1.5.3
unenv: 1.9.0
unplugin: 1.10.0
vite: 5.2.5(@types/node@20.11.30)
vitest: 1.4.0(@types/node@20.11.30)(happy-dom@14.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)
vite: 5.2.6(@types/node@20.11.30)
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.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-router: 4.3.0(vue@3.4.21)
dev: true
@ -3339,56 +3339,56 @@ packages:
/@ungap/structured-clone@1.2.0:
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
/@unhead/dom@1.8.20:
resolution: {integrity: sha512-TXRQSVbqBOQc02m3wxgj55m93U8a3WBHV9xJi2zVX/iHEJgeQbZMJ+rV0YJkHy2OHAC0MfjVQA5NDLaVwtromw==}
/@unhead/dom@1.9.1:
resolution: {integrity: sha512-5YVT8pyg7Mw8niWwklP8nFKK9WLIvaK4O3tXvqpW9OxSAexJG576bh6FR0hEtSDLBkJh+pI8mMMMIuzSdK/whA==}
dependencies:
'@unhead/schema': 1.8.20
'@unhead/shared': 1.8.20
'@unhead/schema': 1.9.1
'@unhead/shared': 1.9.1
dev: false
/@unhead/schema@1.8.20:
resolution: {integrity: sha512-n0e5jsKino8JTHc4wpr4l8MXXIrj0muYYAEVa0WSYkIVnMiBr1Ik3l6elhCr4fdSyJ3M2DQQleea/oZCr11XCw==}
/@unhead/schema@1.9.1:
resolution: {integrity: sha512-wCJKNx4l837NEVMWP3MnUfkgsnMyuXwYs7+5VvbYzAWbnZSvQt/K10xDV0N7ft9RSlPfgukVVG+gtARm1kGVHQ==}
dependencies:
hookable: 5.5.3
zhead: 2.2.4
/@unhead/shared@1.8.20:
resolution: {integrity: sha512-J0fdtavcMtXcG0g9jmVW03toqfr8A0G7k+Q6jdpwuUPhWk/vhfZn3aiRV+F8LlU91c/AbGWDv8T1MrtMQbb0Sg==}
/@unhead/shared@1.9.1:
resolution: {integrity: sha512-rZgzXzOeF4vu2bJJAkHJckgPgWGfpDA3/vesPhJIZGs2NkGYi9lDwMUeJ90HKCMJv1+JRAcPOokjRi6vRlnQpg==}
dependencies:
'@unhead/schema': 1.8.20
'@unhead/schema': 1.9.1
dev: false
/@unhead/ssr@1.8.20:
resolution: {integrity: sha512-Cq1NcdYZ/IAkJ0muqdOBxJXb5dn+uV+RvIXDykRb9lGgriU/S0fzUw8XYTYMwLlvW6rSMrtRx319hz2D3ZrBkA==}
/@unhead/ssr@1.9.1:
resolution: {integrity: sha512-ojY5umX2rtEvmsAFX935DPxk+rZfmgLOEMP1etJGYmCh2GQskK4USjUp9uYJyf0DP0xh+42R4a06e5602CIWHQ==}
dependencies:
'@unhead/schema': 1.8.20
'@unhead/shared': 1.8.20
'@unhead/schema': 1.9.1
'@unhead/shared': 1.9.1
dev: false
/@unhead/vue@1.8.20(vue@3.4.21):
resolution: {integrity: sha512-Lm6cnbX/QGCh+pxGN1Tl6LVXxYs5bLlN8APfI2rQ5kMNRE6Yy7r2eY5wCZ0SfsSRonqJxzVlgMMh8JPEY5d4GQ==}
/@unhead/vue@1.9.1(vue@3.4.21):
resolution: {integrity: sha512-clSKIkwtw26Lx5tR7ecJ/zvyFJkghvJU+jt2liQ4XYQb/Qaveh8L7gqsI1RKUuKaXAjlo2Z4Jpp1v9nHxA0heg==}
peerDependencies:
vue: 3.4.21
dependencies:
'@unhead/schema': 1.8.20
'@unhead/shared': 1.8.20
'@unhead/schema': 1.9.1
'@unhead/shared': 1.9.1
hookable: 5.5.3
unhead: 1.8.20
unhead: 1.9.1
vue: 3.4.21(typescript@5.4.3)
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==}
peerDependencies:
vite: 5.2.5
vite: 5.2.6
peerDependenciesMeta:
vite:
optional: true
dependencies:
'@unocss/core': 0.58.6
'@unocss/reset': 0.58.6
'@unocss/vite': 0.58.6(rollup@4.13.0)(vite@5.2.5)
vite: 5.2.5(@types/node@20.11.30)
'@unocss/vite': 0.58.6(rollup@4.13.0)(vite@5.2.6)
vite: 5.2.6(@types/node@20.11.30)
transitivePeerDependencies:
- rollup
dev: false
@ -3571,10 +3571,10 @@ packages:
'@unocss/core': 0.58.6
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==}
peerDependencies:
vite: 5.2.5
vite: 5.2.6
dependencies:
'@ampproject/remapping': 2.3.0
'@rollup/pluginutils': 5.1.0(rollup@4.13.0)
@ -3586,7 +3586,7 @@ packages:
chokidar: 3.6.0
fast-glob: 3.3.2
magic-string: 0.30.8
vite: 5.2.5(@types/node@20.11.30)
vite: 5.2.6(@types/node@20.11.30)
transitivePeerDependencies:
- rollup
dev: false
@ -3612,29 +3612,29 @@ packages:
- encoding
- 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==}
engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies:
vite: 5.2.5
vite: 5.2.6
vue: 3.4.21
dependencies:
'@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)
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)
transitivePeerDependencies:
- 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==}
engines: {node: ^18.0.0 || >=20.0.0}
peerDependencies:
vite: 5.2.5
vite: 5.2.6
vue: 3.4.21
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)
/@vitest/coverage-v8@1.4.0(vitest@1.4.0):
@ -3656,7 +3656,7 @@ packages:
strip-literal: 2.0.0
test-exclude: 6.0.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:
- supports-color
dev: true
@ -3844,12 +3844,12 @@ packages:
/@vue/devtools-api@6.5.1:
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==}
peerDependencies:
vue: 3.4.21
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-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)
@ -3876,7 +3876,7 @@ packages:
- vite
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==}
dependencies:
'@vue/devtools-kit': 7.0.20(vue@3.4.21)
@ -3884,7 +3884,7 @@ packages:
mitt: 3.0.1
nanoid: 3.3.7
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:
- vite
- vue
@ -3924,7 +3924,7 @@ packages:
colord: 2.9.3
floating-vue: 5.2.2(@nuxt/kit@packages+kit)(vue@3.4.21)
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)
transitivePeerDependencies:
- '@vue/composition-api'
@ -6766,8 +6766,8 @@ packages:
transitivePeerDependencies:
- uWebSockets.js
/happy-dom@14.3.3:
resolution: {integrity: sha512-hsecx5SDUUwVW0MK5sxFWA7WHLabvzIEKjf9gah+siJp/LD+bMyFfAO18b9mlc5meMADVUm6O/YF4+CliaMD6g==}
/happy-dom@14.3.6:
resolution: {integrity: sha512-fUb3dn0iuyyxRGqwFoU5iy6wjozxt/Qw7zGeRMockbBlpOegrV7Y0HIYBMQw8X4s7qpu55Tu7cNFoRM8s9VW5A==}
engines: {node: '>=16.0.0'}
dependencies:
entities: 4.5.0
@ -11189,12 +11189,12 @@ packages:
node-fetch-native: 1.6.3
pathe: 1.1.2
/unhead@1.8.20:
resolution: {integrity: sha512-IJOCYact/7Za3M7CeeCWs8Vze53kHvKDUy/EXtkTm/an5StgqOt2uCnS3HrkioIMKdHBpy/qtTc6E3BoGMOq7Q==}
/unhead@1.9.1:
resolution: {integrity: sha512-qTyA0V6xjUrIJp6KWs0CqAayw4K2DE7rh0GO0vmcC2YuF0HITO/3zkVtG7zhJUd5VeGgGCO/82zatDOOhMyneA==}
dependencies:
'@unhead/dom': 1.8.20
'@unhead/schema': 1.8.20
'@unhead/shared': 1.8.20
'@unhead/dom': 1.9.1
'@unhead/schema': 1.9.1
'@unhead/shared': 1.9.1
hookable: 5.5.3
dev: false
@ -11295,19 +11295,19 @@ packages:
resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==}
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==}
engines: {node: '>=14'}
peerDependencies:
'@unocss/webpack': 0.58.6
vite: 5.2.5
vite: 5.2.6
peerDependenciesMeta:
'@unocss/webpack':
optional: true
vite:
optional: true
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/core': 0.58.6
'@unocss/extractor-arbitrary-variants': 0.58.6
@ -11326,8 +11326,8 @@ packages:
'@unocss/transformer-compile-class': 0.58.6
'@unocss/transformer-directives': 0.58.6
'@unocss/transformer-variant-group': 0.58.6
'@unocss/vite': 0.58.6(rollup@4.13.0)(vite@5.2.5)
vite: 5.2.5(@types/node@20.11.30)
'@unocss/vite': 0.58.6(rollup@4.13.0)(vite@5.2.6)
vite: 5.2.6(@types/node@20.11.30)
transitivePeerDependencies:
- postcss
- rollup
@ -11550,12 +11550,12 @@ packages:
vfile-message: 4.0.2
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==}
peerDependencies:
vite: 5.2.5
vite: 5.2.6
dependencies:
vite: 5.2.5(@types/node@20.11.30)
vite: 5.2.6(@types/node@20.11.30)
dev: false
/vite-node@1.0.2(@types/node@20.11.30):
@ -11567,7 +11567,7 @@ packages:
debug: 4.3.4
pathe: 1.1.2
picocolors: 1.0.0
vite: 5.2.5(@types/node@20.11.30)
vite: 5.2.6(@types/node@20.11.30)
transitivePeerDependencies:
- '@types/node'
- less
@ -11588,7 +11588,7 @@ packages:
debug: 4.3.4
pathe: 1.1.2
picocolors: 1.0.0
vite: 5.2.5(@types/node@20.11.30)
vite: 5.2.6(@types/node@20.11.30)
transitivePeerDependencies:
- '@types/node'
- less
@ -11599,7 +11599,7 @@ packages:
- supports-color
- 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==}
engines: {node: '>=14.16'}
peerDependencies:
@ -11608,7 +11608,7 @@ packages:
optionator: ^0.9.1
stylelint: '>=13'
typescript: '*'
vite: 5.2.5
vite: 5.2.6
vls: '*'
vti: '*'
vue-tsc: '>=1.3.9'
@ -11643,7 +11643,7 @@ packages:
strip-ansi: 6.0.1
tiny-invariant: 1.3.1
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-languageserver: 7.0.0
vscode-languageserver-textdocument: 1.0.11
@ -11651,12 +11651,12 @@ packages:
vue-tsc: 2.0.7(typescript@5.4.3)
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==}
engines: {node: '>=14'}
peerDependencies:
'@nuxt/kit': '*'
vite: 5.2.5
vite: 5.2.6
peerDependenciesMeta:
'@nuxt/kit':
optional: true
@ -11671,16 +11671,16 @@ packages:
perfect-debounce: 1.0.0
picocolors: 1.0.0
sirv: 2.0.4
vite: 5.2.5(@types/node@20.11.30)
vite: 5.2.6(@types/node@20.11.30)
transitivePeerDependencies:
- rollup
- supports-color
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==}
peerDependencies:
vite: 5.2.5
vite: 5.2.6
dependencies:
'@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
kolorist: 1.8.0
magic-string: 0.30.8
vite: 5.2.5(@types/node@20.11.30)
vite: 5.2.6(@types/node@20.11.30)
transitivePeerDependencies:
- supports-color
dev: false
/vite@5.2.5(@types/node@20.11.30):
resolution: {integrity: sha512-a+rTAqkMmJ2hQpC6dfAyyc5M0YLH3BGZKLpA6pU9AhzlcK1YZS8P/ov9OcdHxaf+j0sM0DIh/txH7ydTHUpISg==}
/vite@5.2.6(@types/node@20.11.30):
resolution: {integrity: sha512-FPtnxFlSIKYjZ2eosBQamz4CbyrTizbZ3hnGJlh/wMtCrlp1Hah6AzBLjGI5I2urTfNnpovpHdrL6YRuBOPnCA==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
peerDependencies:
@ -11731,10 +11731,10 @@ packages:
optionalDependencies:
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==}
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:
- '@cucumber/cucumber'
- '@jest/globals'
@ -11752,7 +11752,7 @@ packages:
- vue-router
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==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
@ -11788,7 +11788,7 @@ packages:
chai: 4.3.10
debug: 4.3.4
execa: 8.0.1
happy-dom: 14.3.3
happy-dom: 14.3.6
local-pkg: 0.5.0
magic-string: 0.30.8
pathe: 1.1.2
@ -11797,7 +11797,7 @@ packages:
strip-literal: 1.3.0
tinybench: 2.5.1
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)
why-is-node-running: 2.2.2
transitivePeerDependencies:
@ -11810,7 +11810,7 @@ packages:
- terser
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==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
@ -11845,7 +11845,7 @@ packages:
chai: 4.3.10
debug: 4.3.4
execa: 8.0.1
happy-dom: 14.3.3
happy-dom: 14.3.6
local-pkg: 0.5.0
magic-string: 0.30.8
pathe: 1.1.2
@ -11854,7 +11854,7 @@ packages:
strip-literal: 2.0.0
tinybench: 2.5.1
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)
why-is-node-running: 2.2.2
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"')
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
.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"')
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
.filter(m => m.endsWith('package.json'))