vitest-config-silverwind 11.3.1 → 11.3.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/dist/index.js +3 -1
  3. package/package.json +13 -12
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # vitest-config-silverwind [![](https://img.shields.io/npm/v/vitest-config-silverwind.svg)](https://www.npmjs.org/package/vitest-config-silverwind) [![](https://img.shields.io/badge/licence-bsd-blue.svg)](https://raw.githubusercontent.com/silverwind/vitest-config-silverwind/master/LICENSE)
1
+ # vitest-config-silverwind [![](https://img.shields.io/npm/v/vitest-config-silverwind.svg)](https://www.npmjs.org/package/vitest-config-silverwind) [![](https://packagephobia.com/badge?p=vitest-config-silverwind)](https://packagephobia.com/result?p=vitest-config-silverwind) [![](https://img.shields.io/badge/licence-bsd-blue.svg)](https://raw.githubusercontent.com/silverwind/vitest-config-silverwind/master/LICENSE)
2
2
 
3
3
  Shared Vitest configuration
4
4
 
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { fileURLToPath } from "node:url";
3
3
  import { accessSync, constants } from "node:fs";
4
4
  import { readFile } from "node:fs/promises";
5
5
 
6
- //#region node_modules/.pnpm/vite-string-plugin@2.0.2_vite@8.0.9_@types+node@25.6.0_/node_modules/vite-string-plugin/dist/index.js
6
+ //#region node_modules/.pnpm/vite-string-plugin@2.0.4_vite@8.0.10_@types+node@25.6.0_/node_modules/vite-string-plugin/dist/index.js
7
7
  /** Vite plugin to import files as string */
8
8
  const stringPlugin = ({ match = /\.(svg|md|xml|txt)$/i } = {}) => ({
9
9
  name: "vite-string-plugin",
@@ -96,9 +96,11 @@ function base({ url, test: { setupFiles = [], coverage: userCoverage, ...otherTe
96
96
  ...other
97
97
  };
98
98
  }
99
+ const happyDomExecArgv = Number(process.versions.node.split(".")[0]) >= 25 ? ["--no-experimental-webstorage"] : [];
99
100
  const frontend = ({ test = {}, ...other } = defaultConfig) => base({
100
101
  test: {
101
102
  environment: "happy-dom",
103
+ execArgv: happyDomExecArgv,
102
104
  ...test
103
105
  },
104
106
  ...other
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitest-config-silverwind",
3
- "version": "11.3.1",
3
+ "version": "11.3.3",
4
4
  "description": "Shared vitest configuration",
5
5
  "author": "silverwind <me@silverwind.io>",
6
6
  "repository": "silverwind/vitest-config-silverwind",
@@ -32,19 +32,20 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "25.6.0",
35
- "@typescript/native-preview": "7.0.0-dev.20260420.1",
36
- "eslint": "10.2.1",
37
- "eslint-config-silverwind": "131.0.5",
35
+ "@typescript/native-preview": "7.0.0-dev.20260506.1",
36
+ "eslint": "10.3.0",
37
+ "eslint-config-silverwind": "133.0.1",
38
+ "happy-dom": "20.9.0",
38
39
  "js-yaml": "4.1.1",
39
- "tsdown": "0.21.9",
40
- "tsdown-config-silverwind": "2.1.0",
40
+ "tsdown": "0.21.10",
41
+ "tsdown-config-silverwind": "2.1.1",
41
42
  "typescript": "6.0.3",
42
43
  "typescript-config-silverwind": "18.0.0",
43
- "updates": "17.15.5",
44
- "updates-config-silverwind": "2.1.1",
45
- "versions": "15.0.0",
46
- "vite-plugin-dts": "4.5.4",
47
- "vite-string-plugin": "^2.0.2",
48
- "vitest": "4.1.4"
44
+ "updates": "17.16.9",
45
+ "updates-config-silverwind": "2.1.2",
46
+ "versions": "15.0.3",
47
+ "vite-plugin-dts": "5.0.0",
48
+ "vite-string-plugin": "2.0.4",
49
+ "vitest": "4.1.5"
49
50
  }
50
51
  }