Skip to content

Commit 2d53fec

Browse files
committed
fix(@angular/build): update esbuild to 0.28.0
This addresses some security vulnerabilities.
1 parent a7625d1 commit 2d53fec

File tree

5 files changed

+350
-82
lines changed

5 files changed

+350
-82
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@
125125
"copy-webpack-plugin": "12.0.2",
126126
"css-loader": "7.1.2",
127127
"debug": "^4.1.1",
128-
"esbuild": "0.25.4",
129-
"esbuild-wasm": "0.25.4",
128+
"esbuild": "0.28.0",
129+
"esbuild-wasm": "0.28.0",
130130
"eslint": "8.57.0",
131131
"eslint-config-prettier": "10.0.1",
132132
"eslint-plugin-header": "3.1.1",

packages/angular/build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@vitejs/plugin-basic-ssl": "1.2.0",
2929
"beasties": "0.3.2",
3030
"browserslist": "^4.23.0",
31-
"esbuild": "0.25.4",
31+
"esbuild": "0.28.0",
3232
"fast-glob": "3.3.3",
3333
"https-proxy-agent": "7.0.6",
3434
"istanbul-lib-instrument": "6.0.3",

packages/angular_devkit/build_angular/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"browserslist": "^4.21.5",
3030
"copy-webpack-plugin": "12.0.2",
3131
"css-loader": "7.1.2",
32-
"esbuild-wasm": "0.25.4",
32+
"esbuild-wasm": "0.28.0",
3333
"fast-glob": "3.3.3",
3434
"http-proxy-middleware": "3.0.5",
3535
"istanbul-lib-instrument": "6.0.3",
@@ -63,7 +63,7 @@
6363
"webpack-subresource-integrity": "5.1.0"
6464
},
6565
"optionalDependencies": {
66-
"esbuild": "0.25.4"
66+
"esbuild": "0.28.0"
6767
},
6868
"devDependencies": {
6969
"undici": "6.21.1",

packages/angular_devkit/build_angular/src/builders/browser/specs/web-worker_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ describe('Browser Builder Web Worker support', () => {
124124
);
125125
expect(workerContent).toContain('hello from worker');
126126
expect(workerContent).toContain('bar');
127-
expect(workerContent).toContain('"hello"===e&&postMessage');
127+
expect(workerContent).toContain('"hello"===o&&postMessage');
128128

129129
// Main bundle should reference hashed worker bundle.
130130
const mainBundle = host.fileMatchExists(outputPath, /main\.[0-9a-f]{16}\.js/) as string;

0 commit comments

Comments
 (0)