Skip to content

Commit a65d181

Browse files
committed
fix(deps): downgrade jsdom to fix vitest compatibility
- Downgrade jsdom from 27.2.0 to 25.0.1 in both packages - Resolve ERR_REQUIRE_ESM error caused by parse5@8.x - jsdom@27.x depends on parse5@8.x (ESM-only), incompatible with Vitest - jsdom@25.x uses parse5@7.x (CommonJS-compatible)
1 parent ff78501 commit a65d181

3 files changed

Lines changed: 194 additions & 24 deletions

File tree

apps/solidjs-boilerplate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"eslint-plugin-unused-imports": "^4.3.0",
5959
"eslint-plugin-vitest": "^0.5.4",
6060
"husky": "^9.1.7",
61-
"jsdom": "^27.2.0",
61+
"jsdom": "^25.0.1",
6262
"lint-staged": "^16.2.6",
6363
"msw": "^2.12.2",
6464
"postcss": "^8.5.6",

packages/solid-hiding-header/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"eslint-plugin-tsdoc": "^0.5.0",
107107
"eslint-plugin-unused-imports": "^4.3.0",
108108
"husky": "^9.1.7",
109-
"jsdom": "^27.2.0",
109+
"jsdom": "^25.0.1",
110110
"lint-staged": "^16.2.6",
111111
"prettier": "3.6.2",
112112
"rollup": "^4.53.2",

0 commit comments

Comments
 (0)