Repository navigation
build: update dependency oxc-parser to v0.156.0 (22.2.x) - #34627
Conversation
See associated pull request for more information.
There was a problem hiding this comment.
Code Review
This pull request updates the oxc-parser dependency to version 0.156.0 in both packages/angular/build/package.json and packages/schematics/angular/package.json. However, leaving related packages such as @oxc-parser/binding-wasm32-wasi and @oxc-project/types at version 0.150.0 will cause TypeScript compilation errors and potential runtime issues due to breaking AST changes introduced in oxc v0.154.0. It is highly recommended to update these companion packages to version 0.156.0 as well to ensure compatibility.
| "magic-string": "1.4.1", | ||
| "mrmime": "2.0.1", | ||
| "oxc-parser": "0.150.0", | ||
| "oxc-parser": "0.156.0", |
There was a problem hiding this comment.
Updating oxc-parser to 0.156.0 while leaving @oxc-parser/binding-wasm32-wasi and @oxc-project/types at 0.150.0 causes type mismatches and potential runtime errors. The 0.154.0 release of oxc introduced breaking changes to the AST and comment attachment storage. To prevent compilation and runtime issues, update @oxc-parser/binding-wasm32-wasi and @oxc-project/types to 0.156.0 as well.
| "@angular-devkit/schematics": "workspace:0.0.0-PLACEHOLDER", | ||
| "jsonc-parser": "3.3.1", | ||
| "oxc-parser": "0.150.0", | ||
| "oxc-parser": "0.156.0", |
|
This PR was merged into the repository. The changes were merged into the following branches:
|
This PR contains the following updates:
0.150.0→0.156.0Release Notes
oxc-project/oxc (oxc-parser)
v0.154.0💥 BREAKING CHANGES
7730e14ast: [BREAKING] Refactor comment attachment storage (#27512) (camc314)c904b61ast: [BREAKING] Add comment attachment storage (#27393) (camc314)v0.153.0🐛 Bug Fixes
b2793faparser: Reject module syntax in script (#27220) (leaysgur)v0.152.0🚀 Features
f585cb4napi: Add threadless WASI builds (#26898) (Boshen)🐛 Bug Fixes
5186328parser: Handle HTML comment values (#22933) (Boshen)📚 Documentation
d775315parser: Document AST property order (#27038) (Boshen)v0.151.0🚀 Features
1fac655coverage: Support new TypeScript fixture layout (#26226) (camc314)