Skip to content

Bump oxc-parser from 0.159.0 to 0.160.0 - #7

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/oxc-parser-0.160.0
Nov 27, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/oxc-parser-0.160.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026

Copy link
Copy Markdown
Contributor

Bumps oxc-parser from 0.159.0 to 0.160.0.

Release notes

Sourced from oxc-parser's releases.

oxc crates_v0.160.0

💥 BREAKING CHANGES

  • f573c93 syntax: [BREAKING] Remove NumberBase and BigintBase types (#29920) (overlookmotel)
  • b90b3aa ast: [BREAKING] Remove base field from NumericLiteral and BigIntLiteral (#29919) (overlookmotel)
  • 8c2abc4 diagnostics: [BREAKING] Implement SourceCode for &T (#29852) (overlookmotel)
  • 2bc8e89 diagnostics: [BREAKING] NamedSource support &str as name (#29851) (overlookmotel)

🚀 Features

  • 2384875 minifier: Remove redundant | 0 under bitwise operators (#29991) (Cameron)
  • abf889f minifier: Flatten nested string concatenations (#30015) (Cameron)
  • 5f51bd3 minifier: Fold division with short numeric results (#29994) (Cameron)
  • 1102f24 minifier: Flatten nested untagged template literals (#29993) (Cameron)
  • 12897a0 minifier: Fold switch with one case and default into if-else (#29990) (Cameron)
  • f9e90de minifier: Fold numeric identities like x - 0 and x * 1 (#29926) (Dunqing)
  • c265eda minifier,ecmascript: Fold additive zero and safe offsets on int32/uint32 expressions (#29865) (Andre_Ramirez)
  • 37ec2e2 compat: Add standard decorators compatibility data (#29448) (Dunqing)
  • 22e4d0b runtime: Add standard decorator helpers (#29447) (Dunqing)
  • a67ac1f data_structures: Add brand types (#29756) (overlookmotel)

🐛 Bug Fixes

  • 38cd470 transformer: Share auto-accessor lowering and fix its private storage names (#29449) (Dunqing)
  • 6838760 packages/codegen: Parenthesize for-of targets that start with let (#30071) (Cameron)
  • 13dd5ac packages/codegen: Parenthesize comma expressions in enum initializers (#30070) (Cameron)
  • c4e4fcc packages/codegen: Parenthesize private in checks in for initializers (#30073) (Cameron)
  • 32882ef packages/codegen: Parenthesize comma expressions in export assignments (#30072) (Cameron)
  • 7d8998d packages/codegen: Parenthesize comma expressions in JSX containers (#30074) (Cameron)
  • c98b8b1 packages/codegen: Parenthesize TypeScript instantiation operands (#30068) (Cameron)
  • d615de4 codegen: Parenthesize TypeScript instantiation expressions used as operands (#30065) (Cameron)
  • 90b5af9 codegen: Keep () on minified new expressions with type arguments (#30062) (Cameron)
  • 4b1efd3 transformer/legacy-decorator: Move class self-references to alias symbol (#30056) (Dunqing)
  • adf284e mangler: Use debug names for private members (#30061) (Cameron)
  • bbe2fba transformer/legacy-decorator: Avoid class name shadowing in static setters (#30058) (Dunqing)
  • 7fa5d50 codegen: Keep comments from ending a line after code (#29814) (Yuji Sugiura)
  • 41dbc08 mangler: Keep names set by redeclarations with keepNames (#30055) (Dunqing)
  • 8921865 transformer/legacy-decorator: Keep static private brand checks on the original class (#30054) (Dunqing)
  • abb3593 transformer/legacy-decorator: Share anonymous default class bindings (#29753) (Dunqing)
  • bbc6772 lexer: Read << as a shift where TypeScript opens no type arguments (#30051) (Shanon Jackson)
  • 52b5506 transformer/class-properties: Preserve names of anonymous classes (#29931) (Dunqing)
  • 8488767 codegen: Parenthesize private in tests in for initializers (#30037) (Cameron)
  • 395913e parser: Parse <= after as and satisfies (#30028) (Cameron)
  • 9570bc8 parser: Require class keyword for decorated class export (#30027) (Cameron)
  • e9e80b1 codegen: Parenthesize for-of heads that print a leading let or async (#30025) (Cameron)
  • a54befb codegen: Avoid double parentheses around as/satisfies for-of heads (#30024) (Cameron)
  • 157673a codegen: Parenthesize comma expressions in export assignments (#30022) (Cameron)
  • bedf3f5 codegen: Parenthesize comma expressions in enum initializers (#30021) (Cameron)
  • 11bafb6 codegen: Parenthesize comma expressions in JSX containers (#30020) (Cameron)
  • 967a97c codegen: Print a computed key for renamed __proto__ shorthand (#30019) (Cameron)

... (truncated)

Changelog

Sourced from oxc-parser's changelog.

[0.160.0] - 2026-11-23

💥 BREAKING CHANGES

  • b90b3aa ast: [BREAKING] Remove base field from NumericLiteral and BigIntLiteral (#29919) (overlookmotel)
  • 8c2abc4 diagnostics: [BREAKING] Implement SourceCode for &T (#29852) (overlookmotel)
  • 2bc8e89 diagnostics: [BREAKING] NamedSource support &str as name (#29851) (overlookmotel)

🐛 Bug Fixes

  • 395913e parser: Parse <= after as and satisfies (#30028) (Cameron)
  • 9570bc8 parser: Require class keyword for decorated class export (#30027) (Cameron)
  • 0167451 parser: Treat import x = require() as module syntax (#29908) (camc314)
  • e4e2ac4 parser,semantic: Reject invalid types in type arguments (#29945) (camc314)
  • a0f67fa parser: Parse TSX <T extends U as start of generic arrow function (#29910) (overlookmotel)
  • 8c84c5f parser: Never parse < as start of generic arrow function in JSX files (#29909) (overlookmotel)
  • 777d2d1 parser: Report import/export in unambiguous code resolved to script (#29902) (camc314)
  • e385fe8 parser: Don't treat await in function parameters and class fields as top-level await (#29901) (camc314)
  • 5442f8a parser: Report misplaced import/export before checking parse goal (#29898) (camc314)
  • 24a1aaf parser: Discard comments from rewound speculative parses (#29847) (camc314)
  • 15bdce3 parser: parse_expression produce correct error for overlong source (#29761) (overlookmotel)
  • 7b2b207 parser: Parse contextual keywords after relational expressions (#25097) (camc314)
  • d69ba66 napi/parser: Walk skipped ESTree fields in lazy visitor (#29381) (Ryan Tsao)

⚡ Performance

  • 5e7abd1 parser: Remove unnecessary conversion when parsing BigInts (#29913) (overlookmotel)
  • 5ac3942 parser: Mark missing-digit lexer errors cold (#29806) (Boshen)
  • 892f086 various: Avoid copying source text in OxcDiagnostic::render_with_source_code callers (#29850) (overlookmotel)
  • 27777a9 diagnostics: Loosen lifetime bound on OxcDiagnostic::with_source_code (#29849) (overlookmotel)
  • a2eed1b parser: Read each comment once (#29794) (Boshen)
  • 0537b09 parser: Take the name of a JSX identifier from its token (#29746) (Boshen)
  • 1c2cd7c parser: Take the value of a string literal without escapes from its source text (#29745) (Boshen)
  • 1d84d3f parser: Take the value of JSX text from its source text (#29744) (Boshen)
  • 41e3075 parser: Check for the < of type arguments without a call (#29743) (Boshen)
  • 6e783b1 parser: Keep the token read after import (#29742) (Boshen)
  • eb9c7a4 parser: Parse (<div />) as a parenthesized expression directly (#29741) (Boshen)
  • 7acf20a parser: Parse JSX at the start of an expression without speculation (#29740) (Boshen)
  • aea847b estree: Merge compact serialize_field writes (#28399) (codspeed[bot])
  • 414532b parser: Cache failed type argument speculation (#29518) (Boshen)
  • d91c961 parser: Take comments from the lexer without copying inline storage (#29623) (Boshen)
  • dda1781 parser: Finish plain strings and integers in their token handler (#29622) (Boshen)
  • 6f5d371 parser: Choose how to scan a block comment from its first bytes (#29621) (Boshen)
  • d80d731 parser: Do less work to record each comment (#29620) (Boshen)
  • ce2b7aa parser: Lex the token after a line break in its token handler (#29619) (Boshen)
  • 7833ea0 parser: Finish identifier and keyword tokens in their token handler (#29618) (Boshen)
  • bb08acb parser: Dispatch tokens through handlers which finish the token (#29617) (Boshen)
  • a1ed5af parser: Parse (…) once with a cover grammar for arrow functions (#29603) (Boshen)

📚 Documentation

... (truncated)

Commits
  • 87e38f3 release(crates): oxc v0.160.0 (#30063)
  • 44f34d2 refactor(ast)!: make computed property keys explicit (#29907)
  • 8c2abc4 perf(diagnostics)!: implement SourceCode for &T (#29852)
  • 2bc8e89 perf(diagnostics)!: NamedSource support &str as name (#29851)
  • 892f086 perf(various): avoid copying source text in `OxcDiagnostic::render_with_sourc...
  • d69ba66 fix(napi/parser): walk skipped ESTree fields in lazy visitor (#29381)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [oxc-parser](https://github.com/oxc-project/oxc/tree/HEAD/napi/parser) from 0.159.0 to 0.160.0.
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/napi/parser/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/crates_v0.160.0/napi/parser)

---
updated-dependencies:
- dependency-name: oxc-parser
  dependency-version: 0.160.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 27, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) November 27, 2026 03:08
@github-actions
github-actions Bot merged commit 249f0a2 into main Nov 27, 2026
7 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/oxc-parser-0.160.0 branch November 27, 2026 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants