mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
### 💥 BREAKING CHANGES -cf8296fecmascript: [**BREAKING**] Fold surrogate strings with JSStr constants (#27098) (Dunqing) ### 🚀 Features -dd6cb2bminifier: Fold out-of-bounds string indices to `void 0` (#28004) (Dunqing) ### 🐛 Bug Fixes -f4dac9esemantic: Separate hoisted vars from block type bindings (#27936) (limadog9) - 9ec6617 minifier: Keep brackets on negative and non-finite numeric keys (#27855) (Yunus Ozen) -520a26eminifier: Keep the default in shorthand assignment targets (#28183) (waltu) -def47b8react-compiler: Keep manual memoization as written when its dependencies can't be honoured (#28101) (Dunqing) -704d8cftransformer_plugins: Keep the bare inject when references to it remain (#26965) (Bharadwaj Pendyala) -6d7b372minifier: Handle sequence exprs when folding if to expr statement (#27939) (Armano) -e3eca41runtime: Align async iterator throw with Babel (#28059) (camc314) -af0258dparser: Parse source imports named type (#28062) (camc314) -83633a7parser: Parse escaped class field names after initializers (#28061) (camc314) -90c58acparser: Parse postfix updates of sloppy `let` identifiers (#28060) (camc314) -0e2934fcodegen: Preserve default import names in source maps (#28058) (camc314) -09bdb80minifier: Allow argument rewrite with with leading var assignments (#28056) (Armano) -ebcdcd9minifier: Preserve rest destructuring side effects (#27981) (camc314) -5c84098semantic,linter: Report names with lone surrogates in enum and lint checks (#27991) (Dunqing) -bd70a9becmascript: Use ECMAScript whitespace when folding `parseFloat`/`parseInt`/`trim` (#27719) (Dunqing) -4c0fa90minifier,linter: Keep `delete` of constant members and later JSX keys (#27990) (Dunqing) ### ⚡ Performance -3493ce3minifier: Reuse is_error_constructor and simplify substitute_global_new_expression (#28149) (Armano) -a22c9f2parser: Move annotation comment handling out of hot paths (#28139) (camc314) -1ed93afdata_structures: Copy short strings without a memcpy call (#27953) (leaysgur) ### 🛡️ Security -b93e169deps: Bump .node-version to 26.12.1 (#28090) (leaysgur) Co-authored-by: Dunqing <29533304+Dunqing@users.noreply.github.com>
59 lines
1.5 KiB
JSON
59 lines
1.5 KiB
JSON
{
|
|
"name": "oxc-codegen",
|
|
"version": "0.156.0",
|
|
"description": "Fast JavaScript code generator from an ESTree-compliant AST",
|
|
"keywords": [
|
|
"ast",
|
|
"code generator",
|
|
"codegen",
|
|
"estree",
|
|
"javascript",
|
|
"oxc",
|
|
"typescript"
|
|
],
|
|
"homepage": "https://oxc.rs",
|
|
"bugs": "https://github.com/oxc-project/oxc/issues",
|
|
"license": "MIT",
|
|
"author": "Boshen and oxc contributors",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/oxc-project/oxc.git",
|
|
"directory": "packages/codegen"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"scripts": {
|
|
"build": "node scripts/build.ts",
|
|
"build-dev": "cross-env DEBUG=true node scripts/build.ts",
|
|
"build-test": "pnpm run build-dev && pnpm --filter oxc-parser run build-test && pnpm --filter oxc-codegen-conformance run build",
|
|
"build-bench": "cross-env BENCHMARKS=true node scripts/build.ts",
|
|
"test": "vitest run --dir ./test",
|
|
"bench": "pnpm run build-bench && vitest bench --run bench.bench.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "catalog:",
|
|
"cross-env": "catalog:",
|
|
"oxc-codegen-conformance": "workspace:*",
|
|
"oxc-parser": "workspace:*",
|
|
"rolldown": "catalog:",
|
|
"tsdown": "catalog:",
|
|
"vitest": "catalog:"
|
|
},
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
}
|
|
}
|