@nuxt/test-utils 3.15.1 → 3.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dirs.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { dirname, resolve } from 'node:path'
1
2
  import { fileURLToPath } from 'node:url'
2
3
 
3
- export const distDir = fileURLToPath(new URL('./dist', import.meta.url))
4
+ export const distDir = resolve(dirname(fileURLToPath(import.meta.url)), 'dist')
package/dist/config.d.mts CHANGED
@@ -17,7 +17,7 @@ declare function getVitestConfigFromNuxt(options?: GetVitestConfigOptions, loadN
17
17
  }>;
18
18
  declare function defineVitestConfig(config?: InlineConfig & {
19
19
  test?: InlineConfig$1;
20
- }): vite.UserConfig & Promise<vite.UserConfig> & (vite.UserConfigFnObject & vite.UserConfigExport);
20
+ }): vite.UserConfig & Promise<vite.UserConfig> & vite.UserConfigFnObject & vite.UserConfigFnPromise & vite.UserConfigFn;
21
21
  interface NuxtEnvironmentOptions {
22
22
  rootDir?: string;
23
23
  /**
package/dist/config.d.ts CHANGED
@@ -17,7 +17,7 @@ declare function getVitestConfigFromNuxt(options?: GetVitestConfigOptions, loadN
17
17
  }>;
18
18
  declare function defineVitestConfig(config?: InlineConfig & {
19
19
  test?: InlineConfig$1;
20
- }): vite.UserConfig & Promise<vite.UserConfig> & (vite.UserConfigFnObject & vite.UserConfigExport);
20
+ }): vite.UserConfig & Promise<vite.UserConfig> & vite.UserConfigFnObject & vite.UserConfigFnPromise & vite.UserConfigFn;
21
21
  interface NuxtEnvironmentOptions {
22
22
  rootDir?: string;
23
23
  /**
package/dist/config.mjs CHANGED
@@ -23,7 +23,7 @@ function applyEnv(obj, opts, parentKey = "") {
23
23
  if (_isObject(envValue)) {
24
24
  obj[key] = { ...obj[key], ...envValue };
25
25
  applyEnv(obj[key], opts, subKey);
26
- } else if (envValue === void 0) {
26
+ } else if (envValue === undefined) {
27
27
  applyEnv(obj[key], opts, subKey);
28
28
  } else {
29
29
  obj[key] = envValue ?? obj[key];
@@ -172,7 +172,7 @@ async function getVitestConfigFromNuxt(options, loadNuxtOptions = {}) {
172
172
  test: {
173
173
  environmentOptions: {
174
174
  nuxt: {
175
- rootId: options.nuxt.options.app.rootId || void 0,
175
+ rootId: options.nuxt.options.app.rootId || undefined,
176
176
  mock: {
177
177
  intersectionObserver: true,
178
178
  indexedDb: false
@@ -193,8 +193,7 @@ async function getVitestConfigFromNuxt(options, loadNuxtOptions = {}) {
193
193
  }
194
194
  function defineVitestConfig(config = {}) {
195
195
  return defineConfig(async () => {
196
- if (process.env.__NUXT_VITEST_RESOLVED__)
197
- return config;
196
+ if (process.env.__NUXT_VITEST_RESOLVED__) return config;
198
197
  const overrides = config.test?.environmentOptions?.nuxt?.overrides || {};
199
198
  overrides.rootDir = config.test?.environmentOptions?.nuxt?.rootDir;
200
199
  if (config.test?.setupFiles && !Array.isArray(config.test.setupFiles)) {
@@ -202,7 +201,7 @@ function defineVitestConfig(config = {}) {
202
201
  }
203
202
  return defu(
204
203
  config,
205
- await getVitestConfigFromNuxt(void 0, {
204
+ await getVitestConfigFromNuxt(undefined, {
206
205
  dotenv: config.test?.environmentOptions?.nuxt?.dotenv,
207
206
  overrides: structuredClone(overrides)
208
207
  })
package/dist/e2e.mjs CHANGED
@@ -1,6 +1,6 @@
1
- export { b as buildFixture, c as createBrowser, a as createPage, d as createTest, g as getBrowser, l as loadFixture, e as setup, s as setupMaps, w as waitForHydration } from './shared/test-utils.2f8PJqdD.mjs';
2
- import { u as useTestContext } from './shared/test-utils.CzsWF8o2.mjs';
3
- export { $ as $fetch, c as createTestContext, e as exposeContextToEnv, f as fetch, i as isDev, r as recoverContextFromEnv, s as setTestContext, a as startServer, b as stopServer, d as url } from './shared/test-utils.CzsWF8o2.mjs';
1
+ export { b as buildFixture, c as createBrowser, a as createPage, d as createTest, g as getBrowser, l as loadFixture, e as setup, s as setupMaps, w as waitForHydration } from './shared/test-utils.DeQRWngN.mjs';
2
+ import { u as useTestContext } from './shared/test-utils.JktOT-Lz.mjs';
3
+ export { $ as $fetch, c as createTestContext, e as exposeContextToEnv, f as fetch, i as isDev, r as recoverContextFromEnv, s as setTestContext, a as startServer, b as stopServer, d as url } from './shared/test-utils.JktOT-Lz.mjs';
4
4
  import { consola } from 'consola';
5
5
  import { resolve } from 'pathe';
6
6
  import { distDir } from '#dirs';
@@ -1,6 +1,6 @@
1
1
  import { resolve } from 'pathe';
2
2
  import { stringifyQuery } from 'ufo';
3
- import { $ as $fetch, u as useTestContext } from './shared/test-utils.CzsWF8o2.mjs';
3
+ import { $ as $fetch, u as useTestContext } from './shared/test-utils.JktOT-Lz.mjs';
4
4
  import 'tinyexec';
5
5
  import 'get-port-please';
6
6
  import 'ofetch';
package/dist/module.mjs CHANGED
@@ -23,10 +23,8 @@ const HELPER_MOCK_HOIST = "__NUXT_VITEST_MOCKS";
23
23
  const HELPERS_NAME = [HELPER_MOCK_IMPORT, HELPER_MOCK_COMPONENT];
24
24
  const createMockPlugin = (ctx) => createUnplugin(() => {
25
25
  function transform(code, id) {
26
- if (!HELPERS_NAME.some((n) => code.includes(n)))
27
- return;
28
- if (id.includes("/node_modules/"))
29
- return;
26
+ if (!HELPERS_NAME.some((n) => code.includes(n))) return;
27
+ if (id.includes("/node_modules/")) return;
30
28
  let ast;
31
29
  try {
32
30
  ast = this.parse(code, {
@@ -58,8 +56,7 @@ const createMockPlugin = (ctx) => createUnplugin(() => {
58
56
  return;
59
57
  }
60
58
  }
61
- if (!isCallExpression(node))
62
- return;
59
+ if (!isCallExpression(node)) return;
63
60
  if (isIdentifier(node.callee) && node.callee.name === HELPER_MOCK_IMPORT) {
64
61
  if (node.arguments.length !== 2) {
65
62
  return this.error(
@@ -136,8 +133,7 @@ const createMockPlugin = (ctx) => createUnplugin(() => {
136
133
  }
137
134
  }
138
135
  });
139
- if (mocksImport.length === 0 && mocksComponent.length === 0)
140
- return;
136
+ if (mocksImport.length === 0 && mocksComponent.length === 0) return;
141
137
  const mockLines = [];
142
138
  if (mocksImport.length) {
143
139
  const mockImportMap = /* @__PURE__ */ new Map();
@@ -189,16 +185,14 @@ const createMockPlugin = (ctx) => createUnplugin(() => {
189
185
  })
190
186
  );
191
187
  }
192
- if (!mockLines.length)
193
- return;
188
+ if (!mockLines.length) return;
194
189
  s.prepend(`vi.hoisted(() => {
195
190
  if(!globalThis.${HELPER_MOCK_HOIST}){
196
191
  vi.stubGlobal(${JSON.stringify(HELPER_MOCK_HOIST)}, {})
197
192
  }
198
193
  });
199
194
  `);
200
- if (!hasViImport)
201
- s.prepend(`import {vi} from "vitest";
195
+ if (!hasViImport) s.prepend(`import {vi} from "vitest";
202
196
  `);
203
197
  s.appendLeft(insertionPoint, mockLines.join("\n") + "\n");
204
198
  importPathsList.forEach((p) => {
@@ -223,8 +217,7 @@ const createMockPlugin = (ctx) => createUnplugin(() => {
223
217
  plugins,
224
218
  (i) => i.name?.startsWith("nuxt:")
225
219
  );
226
- if (lastNuxt === -1)
227
- return;
220
+ if (lastNuxt === -1) return;
228
221
  for (const plugin of vitestPlugins) {
229
222
  const index = plugins.indexOf(plugin);
230
223
  if (index < lastNuxt) {
@@ -238,8 +231,7 @@ const createMockPlugin = (ctx) => createUnplugin(() => {
238
231
  });
239
232
  function findLastIndex(arr, predicate) {
240
233
  for (let i = arr.length - 1; i >= 0; i--) {
241
- if (predicate(arr[i]))
242
- return i;
234
+ if (predicate(arr[i])) return i;
243
235
  }
244
236
  return -1;
245
237
  }
@@ -262,10 +254,10 @@ function isExpressionStatement(node) {
262
254
  return node?.type === "ExpressionStatement";
263
255
  }
264
256
  function startOf(node) {
265
- return "range" in node && node.range ? node.range[0] : "start" in node ? node.start : void 0;
257
+ return "range" in node && node.range ? node.range[0] : "start" in node ? node.start : undefined;
266
258
  }
267
259
  function endOf(node) {
268
- return "range" in node && node.range ? node.range[1] : "end" in node ? node.end : void 0;
260
+ return "range" in node && node.range ? node.range[1] : "end" in node ? node.end : undefined;
269
261
  }
270
262
 
271
263
  function setupImportMocking() {
@@ -284,6 +276,12 @@ function setupImportMocking() {
284
276
  nuxt.hook("components:extend", (_) => {
285
277
  ctx.components = _;
286
278
  });
279
+ nuxt.hook("imports:sources", (presets) => {
280
+ const idx = presets.findIndex((p) => p.imports.includes("setInterval"));
281
+ if (idx !== -1) {
282
+ presets.splice(idx, 1);
283
+ }
284
+ });
287
285
  nuxt.options.ignore = nuxt.options.ignore.filter((i) => i !== "**/*.{spec,test}.{js,cts,mts,ts,jsx,tsx}");
288
286
  if (nuxt._ignore) {
289
287
  for (const pattern of resolveIgnorePatterns("**/*.{spec,test}.{js,cts,mts,ts,jsx,tsx}")) {
@@ -327,7 +325,6 @@ const module = defineNuxtModule({
327
325
  logToConsole: false
328
326
  },
329
327
  async setup(options, nuxt) {
330
- var _a;
331
328
  if (nuxt.options.test || nuxt.options.dev) {
332
329
  setupImportMocking();
333
330
  }
@@ -337,27 +334,24 @@ const module = defineNuxtModule({
337
334
  rootStubPath: await resolvePath(resolver.resolve("./runtime/nuxt-root"))
338
335
  }));
339
336
  if (!nuxt.options.test && !nuxt.options.dev) {
340
- (_a = nuxt.options.vite).define || (_a.define = {});
337
+ nuxt.options.vite.define ||= {};
341
338
  nuxt.options.vite.define["import.meta.vitest"] = "undefined";
342
339
  }
343
340
  nuxt.hook("prepare:types", ({ references }) => {
344
341
  references.push({ types: "vitest/import-meta" });
345
342
  });
346
- if (!nuxt.options.dev)
347
- return;
348
- if (process.env.TEST || process.env.VITE_TEST)
349
- return;
343
+ if (!nuxt.options.dev) return;
344
+ if (process.env.TEST || process.env.VITE_TEST) return;
350
345
  const rawViteConfigPromise = new Promise((resolve) => {
351
346
  nuxt.hook("app:resolve", () => {
352
347
  nuxt.hook("vite:configResolved", (config, { isClient }) => {
353
- if (isClient)
354
- resolve(config);
348
+ if (isClient) resolve(config);
355
349
  });
356
350
  });
357
351
  });
358
352
  let loaded = false;
359
353
  let promise;
360
- let ctx = void 0;
354
+ let ctx = undefined;
361
355
  let testFiles = null;
362
356
  const updateTabs = debounce(() => {
363
357
  nuxt.callHook("devtools:customTabs:refresh");
@@ -446,7 +440,7 @@ const module = defineNuxtModule({
446
440
  { style: { opacity: "0.8", fontSize: "0.9em" } },
447
441
  totalCount
448
442
  )
449
- ]) : void 0
443
+ ]) : undefined
450
444
  });
451
445
  });
452
446
  if (options.startOnBoot) {
@@ -1,13 +1,13 @@
1
1
  import defu from 'defu';
2
2
  import { test as test$1 } from '@playwright/test';
3
3
  export { expect } from '@playwright/test';
4
- import { d as createTest, w as waitForHydration } from './shared/test-utils.2f8PJqdD.mjs';
4
+ import { d as createTest, w as waitForHydration } from './shared/test-utils.DeQRWngN.mjs';
5
5
  import 'node:path';
6
6
  import 'ufo';
7
7
  import 'consola';
8
8
  import 'node:fs';
9
9
  import '@nuxt/kit';
10
- import { d as url } from './shared/test-utils.CzsWF8o2.mjs';
10
+ import { d as url } from './shared/test-utils.JktOT-Lz.mjs';
11
11
  import 'pathe';
12
12
  import '#dirs';
13
13
  import 'tinyexec';
@@ -15,8 +15,8 @@ import 'get-port-please';
15
15
  import 'ofetch';
16
16
 
17
17
  const test = test$1.extend({
18
- nuxt: [void 0, { option: true, scope: "worker" }],
19
- defaults: [{ nuxt: void 0 }, { option: true, scope: "worker" }],
18
+ nuxt: [undefined, { option: true, scope: "worker" }],
19
+ defaults: [{ nuxt: undefined }, { option: true, scope: "worker" }],
20
20
  _nuxtHooks: [
21
21
  async ({ nuxt, defaults }, use) => {
22
22
  const hooks = createTest(defu(nuxt || {}, defaults.nuxt || {}));
@@ -7,11 +7,10 @@ import NuxtRoot from '#build/root-component.mjs';
7
7
 
8
8
  function registerEndpoint(url, options) {
9
9
  const app = window.__app;
10
- if (!app)
11
- return;
10
+ if (!app) return;
12
11
  const config = typeof options === "function" ? {
13
12
  handler: options,
14
- method: void 0
13
+ method: undefined
15
14
  } : options;
16
15
  app.use("/_" + url, defineEventHandler(config.handler), {
17
16
  match(_, event) {
@@ -162,8 +161,8 @@ async function mountSuspended(component, options) {
162
161
  }
163
162
  }
164
163
  return render.call(this, renderContext, ...args);
165
- } : void 0,
166
- setup: setup ? (props2) => wrappedSetup(props2, setupContext) : void 0
164
+ } : undefined,
165
+ setup: setup ? (props2) => wrappedSetup(props2, setupContext) : undefined
167
166
  };
168
167
  return () => h$1(clonedComponent, { ...defuReplaceArray(setProps, props), ...attrs }, slots);
169
168
  }
@@ -241,7 +240,7 @@ async function renderSuspended(component, options) {
241
240
  setup: (props2, ctx) => {
242
241
  setupContext = ctx;
243
242
  const scope = effectScope();
244
- window.__cleanup || (window.__cleanup = []);
243
+ window.__cleanup ||= [];
245
244
  window.__cleanup.push(() => {
246
245
  scope.stop();
247
246
  });
@@ -313,8 +312,8 @@ async function renderSuspended(component, options) {
313
312
  }
314
313
  }
315
314
  return render.call(this, renderContext, ...args);
316
- } : void 0,
317
- setup: setup ? (props2) => wrappedSetup(props2, setupContext) : void 0
315
+ } : undefined,
316
+ setup: setup ? (props2) => wrappedSetup(props2, setupContext) : undefined
318
317
  };
319
318
  return () => h$1(clonedComponent, { ...props && typeof props === "object" ? props : {}, ...attrs }, slots);
320
319
  }
@@ -1,4 +1,4 @@
1
- import { u as useTestContext, d as url, c as createTestContext, s as setTestContext, b as stopServer, a as startServer } from './test-utils.CzsWF8o2.mjs';
1
+ import { u as useTestContext, d as url, c as createTestContext, s as setTestContext, b as stopServer, a as startServer } from './test-utils.JktOT-Lz.mjs';
2
2
  import { existsSync, promises } from 'node:fs';
3
3
  import { resolve } from 'node:path';
4
4
  import { defu } from 'defu';
@@ -150,13 +150,13 @@ function createTest(options) {
150
150
  setTestContext(ctx);
151
151
  };
152
152
  const afterEach = () => {
153
- setTestContext(void 0);
153
+ setTestContext(undefined);
154
154
  };
155
155
  const afterAll = async () => {
156
156
  if (ctx.serverProcess) {
157
157
  setTestContext(ctx);
158
158
  await stopServer();
159
- setTestContext(void 0);
159
+ setTestContext(undefined);
160
160
  }
161
161
  if (ctx.nuxt && ctx.nuxt.options.dev) {
162
162
  await ctx.nuxt.close();
@@ -9,7 +9,6 @@ import { defu } from 'defu';
9
9
 
10
10
  let currentContext;
11
11
  function createTestContext(options) {
12
- var _a;
13
12
  const _options = defu(options, {
14
13
  testDir: resolve(process.cwd(), "test"),
15
14
  fixture: "fixture",
@@ -29,16 +28,16 @@ function createTestContext(options) {
29
28
  }
30
29
  });
31
30
  if (!_options.dev) {
32
- (_a = _options.env).NODE_ENV || (_a.NODE_ENV = "production");
31
+ _options.env.NODE_ENV ||= "production";
33
32
  }
34
33
  if (_options.host) {
35
34
  _options.build = false;
36
35
  _options.server = false;
37
36
  }
38
37
  if (process.env.VITEST === "true") {
39
- _options.runner || (_options.runner = "vitest");
38
+ _options.runner ||= "vitest";
40
39
  } else if (process.env.JEST_WORKER_ID) {
41
- _options.runner || (_options.runner = "jest");
40
+ _options.runner ||= "jest";
42
41
  }
43
42
  return setTestContext({
44
43
  options: _options,
@@ -33,9 +33,9 @@ const jsdom = (async function(global, { jsdom = {} }) {
33
33
  });
34
34
  const window = new JSDOM(jsdomOptions.html, {
35
35
  ...jsdomOptions,
36
- resources: jsdomOptions.resources ?? (jsdomOptions.userAgent ? new ResourceLoader({ userAgent: jsdomOptions.userAgent }) : void 0),
37
- virtualConsole: jsdomOptions.console && global.console ? new VirtualConsole().sendTo(global.console) : void 0,
38
- cookieJar: jsdomOptions.cookieJar ? new CookieJar() : void 0
36
+ resources: jsdomOptions.resources ?? (jsdomOptions.userAgent ? new ResourceLoader({ userAgent: jsdomOptions.userAgent }) : undefined),
37
+ virtualConsole: jsdomOptions.console && global.console ? new VirtualConsole().sendTo(global.console) : undefined,
38
+ cookieJar: jsdomOptions.cookieJar ? new CookieJar() : undefined
39
39
  }).window;
40
40
  window.scrollTo = () => {
41
41
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/test-utils",
3
- "version": "3.15.1",
3
+ "version": "3.15.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/test-utils.git"
@@ -36,7 +36,7 @@
36
36
  "scripts": {
37
37
  "lint": "eslint .",
38
38
  "lint:fix": "eslint . --fix",
39
- "test:examples": "pnpm -r test --filter !example-app-cucumber && pnpm -r test --filter example-app-cucumber",
39
+ "test:examples": "pnpm -r test --filter !example-app-cucumber --filter !example-app-jest && pnpm -r test --filter example-app-cucumber",
40
40
  "test:types": "vue-tsc --noEmit",
41
41
  "test:unit": "vitest test/unit --run",
42
42
  "prepack": "unbuild",
@@ -44,38 +44,39 @@
44
44
  "release": "pnpm prepack && pnpm test:examples && changelogen --release --push"
45
45
  },
46
46
  "dependencies": {
47
- "@nuxt/kit": "^3.14.1592",
48
- "@nuxt/schema": "^3.14.1592",
47
+ "@nuxt/kit": "^3.15.1",
48
+ "@nuxt/schema": "^3.15.1",
49
49
  "c12": "^2.0.1",
50
- "consola": "^3.2.3",
50
+ "consola": "^3.3.3",
51
51
  "defu": "^6.1.4",
52
52
  "destr": "^2.0.3",
53
53
  "estree-walker": "^3.0.3",
54
54
  "fake-indexeddb": "^6.0.0",
55
55
  "get-port-please": "^3.1.2",
56
- "h3": "^1.13.0",
57
- "local-pkg": "^0.5.1",
58
- "magic-string": "^0.30.14",
56
+ "h3": "^1.13.1",
57
+ "local-pkg": "^1.0.0",
58
+ "magic-string": "^0.30.17",
59
59
  "node-fetch-native": "^1.6.4",
60
60
  "ofetch": "^1.4.1",
61
- "pathe": "^1.1.2",
61
+ "pathe": "^2.0.1",
62
62
  "perfect-debounce": "^1.0.0",
63
63
  "radix3": "^1.1.2",
64
64
  "scule": "^1.3.0",
65
65
  "std-env": "^3.8.0",
66
- "tinyexec": "^0.3.1",
66
+ "tinyexec": "^0.3.2",
67
67
  "ufo": "^1.5.4",
68
68
  "unenv": "^1.10.0",
69
- "unplugin": "^2.0.0",
70
- "vite": "^5.4.11",
69
+ "unplugin": "^2.1.2",
70
+ "vite": "^6.0.7",
71
71
  "vitest-environment-nuxt": "^1.0.1",
72
72
  "vue": "^3.5.13"
73
73
  },
74
74
  "devDependencies": {
75
- "@cucumber/cucumber": "11.1.0",
75
+ "@cucumber/cucumber": "11.2.0",
76
76
  "@jest/globals": "29.7.0",
77
- "@nuxt/eslint-config": "0.7.2",
78
- "@playwright/test": "1.49.0",
77
+ "@nuxt/devtools-kit": "1.7.0",
78
+ "@nuxt/eslint-config": "0.7.5",
79
+ "@playwright/test": "1.49.1",
79
80
  "@testing-library/vue": "8.1.0",
80
81
  "@types/estree": "1.0.6",
81
82
  "@types/jsdom": "21.1.7",
@@ -83,21 +84,21 @@
83
84
  "@vue/test-utils": "2.4.6",
84
85
  "changelogen": "0.5.7",
85
86
  "compatx": "0.1.8",
86
- "eslint": "9.16.0",
87
+ "eslint": "9.18.0",
87
88
  "installed-check": "9.3.0",
88
- "jiti": "2.4.1",
89
- "knip": "5.39.2",
89
+ "jiti": "2.4.2",
90
+ "knip": "5.42.0",
90
91
  "nitropack": "2.10.4",
91
- "nuxt": "3.14.1592",
92
- "playwright-core": "1.49.0",
93
- "rollup": "4.28.0",
92
+ "nuxt": "3.15.1",
93
+ "playwright-core": "1.49.1",
94
+ "rollup": "4.30.1",
94
95
  "semver": "7.6.3",
95
- "typescript": "5.6.3",
96
+ "typescript": "5.7.2",
96
97
  "unbuild": "latest",
97
- "unimport": "3.14.4",
98
+ "unimport": "3.14.5",
98
99
  "vitest": "2.1.8",
99
100
  "vue-router": "4.5.0",
100
- "vue-tsc": "2.1.10"
101
+ "vue-tsc": "2.2.0"
101
102
  },
102
103
  "peerDependencies": {
103
104
  "@cucumber/cucumber": "^10.3.1 || ^11.0.0",
@@ -105,10 +106,10 @@
105
106
  "@playwright/test": "^1.43.1",
106
107
  "@testing-library/vue": "^7.0.0 || ^8.0.1",
107
108
  "@vue/test-utils": "^2.4.2",
108
- "happy-dom": "^9.10.9 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0",
109
- "jsdom": "^22.0.0 || ^23.0.0 || ^24.0.0 || ^25.0.0",
109
+ "happy-dom": "^9.10.9 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0",
110
+ "jsdom": "^22.0.0 || ^23.0.0 || ^24.0.0 || ^25.0.0 || ^26.0.0",
110
111
  "playwright-core": "^1.43.1",
111
- "vitest": "^0.34.6 || ^1.0.0 || ^2.0.0"
112
+ "vitest": "^0.34.6 || ^1.0.0 || ^2.0.0 || ^3.0.0-beta.3"
112
113
  },
113
114
  "peerDependenciesMeta": {
114
115
  "@cucumber/cucumber": {
@@ -143,19 +144,19 @@
143
144
  }
144
145
  },
145
146
  "resolutions": {
146
- "@cucumber/cucumber": "11.1.0",
147
+ "@cucumber/cucumber": "11.2.0",
147
148
  "@nuxt/devtools": "1.0.8",
148
- "@nuxt/kit": "^3.14.1592",
149
- "@nuxt/schema": "^3.14.1592",
149
+ "@nuxt/kit": "^3.15.1",
150
+ "@nuxt/schema": "^3.15.1",
150
151
  "@nuxt/test-utils": "workspace:*",
151
- "rollup": "4.28.0",
152
- "vite": "5.4.11",
152
+ "rollup": "4.30.1",
153
+ "vite": "6.0.7",
153
154
  "vite-node": "2.1.8",
154
155
  "vitest": "2.1.8",
155
156
  "vue": "^3.5.13"
156
157
  },
157
158
  "engines": {
158
- "node": "^18.20.4 || ^20.9.0 || ^22.0.0 || >=23.0.0"
159
+ "node": "^18.20.5 || ^20.9.0 || ^22.0.0 || >=23.0.0"
159
160
  },
160
- "packageManager": "pnpm@9.14.4"
161
+ "packageManager": "pnpm@9.15.3"
161
162
  }