mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
0389c4010e
### 🚀 Features -83cb516minifier: Improve negation of expressions in boolean context (#25755) (Armano) ### 🐛 Bug Fixes -134fb22isolated-declarations: Preserve unresolved parameter types (#25909) (Dunqing) -526c2b3codegen: Remove deprecated test APIs (#25889) (camc314) -344a9b2codegen: Align enum template sourcemaps (#25872) (camc314) ### ⚡ Performance -5ef0c93minifier: Unwrap all unary exprs without creating dummy expressions (#25891) (Armano) -8783524packages/codegen: Remove loop from `growMappingBuffer` (#25886) (overlookmotel) -b6b14c0packages/codegen: Remove redundant branch (#25885) (overlookmotel) -be6adf0packages/sourcemap: Make `location` passed to `recordSourceMapping` always a number (#25884) (overlookmotel) -f720f15packages/codegen: Take named-mapping only code off hot path in `recordSourceMapping` (#25883) (overlookmotel) -a734af5packages/codegen: Remove redundant setting of `last` in `printImportAttributes` and `printIf` (#25882) (overlookmotel) -c6e44c6packages/codegen: Combine 2 writes in `printJSXElement` (#25881) (overlookmotel) -8801662packages/codegen: Remove redundant mapping from `printParams` (#25880) (overlookmotel) ### 📚 Documentation -5ad330epackages/codegen: Reformat comments (#25876) (overlookmotel)
59 lines
1.5 KiB
JSON
59 lines
1.5 KiB
JSON
{
|
|
"name": "oxc-codegen",
|
|
"version": "0.146.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"
|
|
}
|
|
}
|