Skip to content

Commit 42a6da9

Browse files
committed
build: bump jsdom to ^27.1.0
This is the min supported version.
1 parent 81f7e92 commit 42a6da9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/schematics/angular/utility/latest-versions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"karma-jasmine-html-reporter": "~2.1.0",
1616
"karma-jasmine": "~5.1.0",
1717
"karma": "~6.4.0",
18-
"jsdom": "^27.0.0",
18+
"jsdom": "^27.1.0",
1919
"less": "^4.2.0",
2020
"postcss": "^8.5.3",
2121
"protractor": "~7.0.0",

tests/legacy-cli/e2e/utils/vitest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import { updateJsonFile } from './project';
33

44
/** Updates the `test` builder in the current workspace to use Vitest. */
55
export async function applyVitestBuilder(): Promise<void> {
6-
await silentNpm('install', '[email protected]', '[email protected]', '--save-dev');
6+
// These deps matches the deps in `@schematics/angular`
7+
await silentNpm('install', 'vitest@^4.0.8', 'jsdom@^27.1.0', '--save-dev');
78

89
await updateJsonFile('angular.json', (json) => {
910
const projects = Object.values(json['projects']);

0 commit comments

Comments
 (0)