Skip to content

Commit 5ac4980

Browse files
build(deps-dev): bump vite from 6.4.1 to 6.4.2 (#1252)
* build(deps-dev): bump vite from 6.4.1 to 6.4.2 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.4.1 to 6.4.2. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v6.4.2/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.4.2/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 6.4.2 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> * Read angular.json via fs instead of import --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrei Borza <andrei.borza@sentry.io>
1 parent 3e54be3 commit 5ac4980

3 files changed

Lines changed: 15 additions & 9 deletions

File tree

e2e-tests/tests/angular-17.test.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
getWizardCommand,
1212
modifyFile,
1313
} from '../utils';
14+
import * as fs from 'fs';
1415
import * as path from 'path';
1516
import { TEST_ARGS } from '../utils';
1617
import { test, expect, describe, beforeAll, afterAll, it } from 'vitest';
@@ -224,12 +225,14 @@ function checkAngularProject(
224225
]);
225226
});
226227

227-
test('angular.json is updated correctly', async () => {
228+
test('angular.json is updated correctly', () => {
228229
const angularJsonFile = path.resolve(projectDir, 'angular.json');
229230
checkFileExists(angularJsonFile);
230231

231-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
232-
const angularJson = (await import(angularJsonFile)) as Record<string, any>;
232+
const angularJson = JSON.parse(
233+
fs.readFileSync(angularJsonFile, 'utf-8'),
234+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
235+
) as Record<string, any>;
233236

234237
// eslint-disable-next-line @typescript-eslint/no-explicit-any
235238
for (const [, project] of Object.entries(

e2e-tests/tests/angular-19.test.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
getWizardCommand,
1212
modifyFile,
1313
} from '../utils';
14+
import * as fs from 'fs';
1415
import * as path from 'path';
1516
import { TEST_ARGS } from '../utils';
1617
import { test, expect, describe, beforeAll, afterAll, it } from 'vitest';
@@ -222,12 +223,14 @@ function checkAngularProject(
222223
]);
223224
});
224225

225-
test('angular.json is updated correctly', async () => {
226+
test('angular.json is updated correctly', () => {
226227
const angularJsonFile = path.resolve(projectDir, 'angular.json');
227228
checkFileExists(angularJsonFile);
228229

229-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
230-
const angularJson = (await import(angularJsonFile)) as Record<string, any>;
230+
const angularJson = JSON.parse(
231+
fs.readFileSync(angularJsonFile, 'utf-8'),
232+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
233+
) as Record<string, any>;
231234

232235
// eslint-disable-next-line @typescript-eslint/no-explicit-any
233236
for (const [, project] of Object.entries(

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3541,9 +3541,9 @@ vite-node@3.0.9:
35413541
vite "^5.0.0 || ^6.0.0"
35423542

35433543
"vite@^5.0.0 || ^6.0.0", vite@^6.2.3:
3544-
version "6.4.1"
3545-
resolved "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz"
3546-
integrity sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==
3544+
version "6.4.2"
3545+
resolved "https://registry.yarnpkg.com/vite/-/vite-6.4.2.tgz#a4e548ca3a90ca9f3724582cab35e1ba15efc6f2"
3546+
integrity sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ==
35473547
dependencies:
35483548
esbuild "^0.25.0"
35493549
fdir "^6.4.4"

0 commit comments

Comments
 (0)