Bump @oxc-project/types from 0.158.0 to 0.161.0
DE
16h ago+13+13+01234567890123456789-8-8-0123456789
Bumps @oxc-project/types from 0.158.0 to 0.161.0.
Release notes
Sourced from @oxc-project/types's releases.
oxc crates_v0.161.0
💥 BREAKING CHANGES
- b7dd935 ast: [BREAKING] Split object methods into
ObjectMethodProperty(#29951) (Cameron)- 2947286 parser: [BREAKING] Record source-phase imports as source bindings in module records (#30295) (Cameron)
- e87c19c lexer: [BREAKING] Give BigInt literals exact values in a bigints lane (#30199) (Shanon Jackson)
🚀 Features
- 847c6a4 simd: Add SIMD128-only vector methods (#30535) (Shanon Jackson)
- 706ad34 simd: Implement Vec128 and Vec256 for Simd128 (#30534) (Shanon Jackson)
- 663d7fe simd: Add Simd128 CPU feature set for wasm32 (#30532) (Shanon Jackson)
- 558f4aa minifier: Collapse
x = e; return xintoreturn x = e(#30504) (Cameron)- 45c9e9a allocator: Allow arena chunks to come from a parent allocator (#29903) (YT)
- 746ad93 transformer: Expose
Helper::ALLand check@oxc-project/runtimeships every helper (#30250) (Dunqing)- 697a09b transformer: Expose whether env options lower any JavaScript syntax (#30251) (Dunqing)
- 1ca8aaa linter/jsdoc/require-template-description: Require descriptions for template tags (#30279) (Jonghyeon Ko)
- f6882ce syntax: Derive
PartialEqandEqforDynamicImport(#30178) (Cameron)- efea0d6 syntax: Derive
PartialEqandEqforRequestedModule(#30174) (Cameron)- e0a7554 simd: Add
opaquemethod toVec128andVec256(#30108) (overlookmotel)- 2ecf652 simd: Add
Vec128::gt_u8andlt_u8methods for Neon (#30107) (overlookmotel)🐛 Bug Fixes
- 3d6adc0 minifier: Keep spread objects whose methods use super (#30521) (Ilakian Puvanendra)
- 0f7b19f transformer/class-properties: Map private name storage declarations to their source (#30552) (Dunqing)
- 90861da parser: Label the whole ambient
usingdeclaration (#30515) (Cameron)- 57f0205 parser: Label both
?and!in the optional-and-definite property diagnostic (#30514) (Cameron)- 8e74231 parser: Do not suggest
= undefinedfor a destructuring declaration (#30513) (Cameron)- d3b83d8 ast/estree: Type
TSModuleDeclaration.bodyas optionalTSModuleBlock(#30511) (oxc-captain[bot])- 6a1713f parser: Do not mark
export default abstract classas a type-only export (#30512) (Cameron)- c6d5817 parser: Reject parenthesized patterns in
for-in/for-ofheads withpreserve_parens: false(#30509) (Cameron)- 3c6e5d8 parser: Reject parenthesized labels with
preserve_parens: false(#30508) (Cameron)- 875da63 parser: Discard dynamic imports and
import.metas recorded by a rewound parse (#30507) (Cameron)- 53dcd74 parser: Treat
awaitandyieldas type starts in type lookahead (#30505) (Cameron)- f35064a parser: Parse
import x = require.yas a qualified name (#30502) (Cameron)- 7b025b5 parser: Accept keywords in dotted namespace name segments (#30500) (Cameron)
- a944c8b parser: Parse a qualified
intrinsictype alias target as a full type (#30498) (Cameron)- ac3161d parser: Stop TypeScript enum members from inheriting await and yield context (#30497) (Cameron)
- 1b671c3 parser: Retry unambiguous source as module for top-level
for await(#30429) (overlookmotel)- bac2031 simd: Make
opaquea no-op under Miri (#30447) (overlookmotel)- c7d3f6b napi/minify, napi/transform: Do not produce codeframe for options errors (#30431) (overlookmotel)
- e45ad77 parser: Parse unambiguous source as module when script parse fails (#30127) (Cameron)
- f4ca56e parser: Reparse unambiguous top-level await like TypeScript (#30125) (Cameron)
- b1bdc75 parser: Treat reserved
await/yieldbeforeextendsas a TSX element name (#30366) (Cameron)- a0c41dd mangler: Keep CommonJS wrapper names on top-level bindings (#27975) (Cestercian)
- 4b63792 napi: Type source map
sourcesasArray<string | null>(#30344) (Cameron)- 53c7607 parser: Unapply annotation comments when rewinding (#30167) (Cameron)
- ab59476 transformer: Map lowered auto-accessors and class field initializers to their source (#30326) (Dunqing)
- 8f7a7a0 runtime: Reject non-object receivers in decorator access objects (#30322) (Dunqing)
... (truncated)
Changelog
Sourced from @oxc-project/types's changelog.
[0.161.0] - 2026-11-30
💥 BREAKING CHANGES
- b7dd935 ast: [BREAKING] Split object methods into
ObjectMethodProperty(#29951) (Cameron)🐛 Bug Fixes
- d3b83d8 ast/estree: Type
TSModuleDeclaration.bodyas optionalTSModuleBlock(#30511) (oxc-captain[bot])Full release notes: 0.161.0
[0.160.0] - 2026-11-23
No significant changes.
Full release notes: 0.160.0
[0.145.0] - 2026-08-18
🐛 Bug Fixes
- 0c68b7f estree: Emit
decoratorsonFormalParameterRest(#25582) (camc314)[0.144.0] - 2026-08-10
💥 BREAKING CHANGES
- 44fd320 ast: [BREAKING] Split TS external modules & Namespace Declarations (#25284) (camc314)
[0.141.0] - 2026-07-20
💥 BREAKING CHANGES
- 54cc121 ast: [BREAKING] Split
MetaPropertyintoImportMetaandNewTarget(#24557) (camc314)[0.139.0] - 2026-07-06
🐛 Bug Fixes
- 0b25582 ast: Type binding node
typeAnnotationasTSTypeAnnotation | null(#23113) (Boshen)[0.111.0] - 2026-01-26
🐛 Bug Fixes
- c205b0d ast: Remove
ThisExpressionfromTSModuleReference(#18489) (Boshen)[0.109.0] - 2026-01-19
... (truncated)
Commits
5b15bc9release(crates): oxc v0.161.0 (#30572)d3b83d8fix(ast/estree): typeTSModuleDeclaration.bodyas optionalTSModuleBlock...b7dd935feat(ast)!: split object methods intoObjectMethodProperty(#29951)87e38f3release(crates): oxc v0.160.0 (#30063)44f34d2refactor(ast)!: make computed property keys explicit (#29907)d948351release(crates): oxc v0.159.0 (#29667)- See full diff in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Updates @oxc-project/types from 0.158.0 to 0.161.0. This release includes a breaking change: object methods are now a distinct ObjectMethodProperty node, and TSModuleDeclaration.body is now typed as optional TSModuleBlock. Code that uses these AST types may need updating.