mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
### 💥 BREAKING CHANGES -c7d229btransformer: [**BREAKING**] Decode JSX entities to lone surrogates (#26712) (Dunqing) -e3c1b11ast: [**BREAKING**] Preserve lone surrogates in static property names (#27095) (Dunqing) -a0a987cast: [**BREAKING**] Preserve lone surrogates in static member names (#26677) (Dunqing) ### 🚀 Features -7bb2697minifier: Minimize array join expression (#27905) (Armano) -5d91db8ast: Generate node ID setters for enums (#27500) (camc314) -6b5057bminifier: Add de morgan optimization for void expressions (#27375) (Armano) ### 🐛 Bug Fixes -ce6a088minifier: Fold string indices by UTF-16 code unit (#27096) (Dunqing) -7c47246linter: Check module specifiers and string values that contain lone surrogates (#26717) (Dunqing) -782ab6elinter: Search string values without UTF-8 conversion (#26716) (Dunqing) -a5d8184jsdoc: Parse code spans after quotes in descriptions (#27955) (leaysgur) -bd37e78ecmascript: Look through sequence expressions in `to_primitive` (#27837) (baltasarblanco) -d92789dminifier: Drop debugger statements in unbraced bodies (#27867) (camc314) -863b359ecmascript: Correct parseFloat decimal prefix scanning (#27695) (camc314) -a2534c6minifier: Preserve lexical initializers in dead for loops (#27676) (camc314) -3543672ecmascript: Do not fold Number.isInteger / isSafeInteger of tiny non-integers to true (#27622) (Baltasar Blanco) -6987a61ecmascript: BigInt loose equality folding (unknown operands and `StringToBigInt`) (#27656) (Baltasar Blanco) -40e5644minifier: Preserve indirect access when folding into call targets (#27082) (waltu) -022306fecmascript: Do not fold `Math.cbrt` of a negative number to `NaN` (#27621) (Baltasar Blanco) ### ⚡ Performance -faa75d8transformer: Remove redundant scratch vectors (#27922) (camc314) -88b5c35minifier: Reduce code branches when evaluating roots (#27906) (Armano) -fe1d367codegen: Remove branches from loops printing arrays (#27840) (overlookmotel) -7bb6b62codegen: Reduce hashmap lookups in `print_annotation_comment` (#27845) (overlookmotel) -31ffd08codegen: Avoid unnecessary comment clone (#27843) (overlookmotel) -a6456b7codegen: Remove branch from `print_space_before_identifier` (#27842) (overlookmotel) -eeff416codegen: Simplify `print_space_before_identifier` (#27841) (overlookmotel) -5d877b8diagnostics: Speed up zero-context span lookups (#27770) (camc314) -2ab6b63packages/codegen: Remove redundant `printSpaceBeforeIdentifier` and `last` updates in `printParams` (#27652) (overlookmotel) -e533278codegen: Reduce writes in `printDecorators` (#27651) (overlookmotel) ### 📚 Documentation -29caafdcodegen: Format table in doc comment (#27839) (overlookmotel) -3de03c1packages/codegen: Correct outdated comments (#27838) (overlookmotel)
96 lines
2.6 KiB
JSON
96 lines
2.6 KiB
JSON
{
|
|
"name": "oxc-transform",
|
|
"version": "0.155.0",
|
|
"description": "Oxc Transformer Node API",
|
|
"keywords": [
|
|
"babel",
|
|
"javascript",
|
|
"jsx",
|
|
"oxc",
|
|
"transform",
|
|
"transformer",
|
|
"tsx",
|
|
"typescript"
|
|
],
|
|
"homepage": "https://oxc.rs/docs/guide/usage/transformer",
|
|
"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": "napi/transform"
|
|
},
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/oxc-project"
|
|
},
|
|
"files": [
|
|
"browser.js",
|
|
"index.d.ts",
|
|
"index.js",
|
|
"webcontainer-fallback.cjs"
|
|
],
|
|
"type": "module",
|
|
"main": "index.js",
|
|
"browser": "browser.js",
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"scripts": {
|
|
"build-dev": "napi build --esm --platform",
|
|
"build-test": "pnpm run build-dev --profile coverage",
|
|
"build": "pnpm run build-dev --features allocator --release",
|
|
"postbuild": "publint",
|
|
"postbuild-dev": "node scripts/patch.js",
|
|
"build-wasm": "pnpm run build-wasm-dev --release",
|
|
"build-wasm-dev": "pnpm run build-dev --target wasm32-wasip1-threads --dts transform.wasi.d.cts",
|
|
"build-wasip1": "pnpm run build-wasip1-dev --release",
|
|
"build-wasip1-dev": "pnpm run build-dev --target wasm32-wasip1 --dts transform.wasip1.d.cts",
|
|
"test": "vitest run --dir ./test"
|
|
},
|
|
"devDependencies": {
|
|
"@emnapi/core": "catalog:",
|
|
"@emnapi/runtime": "catalog:",
|
|
"@napi-rs/cli": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"publint": "catalog:",
|
|
"vitest": "catalog:"
|
|
},
|
|
"napi": {
|
|
"binaryName": "transform",
|
|
"packageName": "@oxc-transform/binding",
|
|
"targets": [
|
|
"aarch64-apple-darwin",
|
|
"aarch64-linux-android",
|
|
"aarch64-pc-windows-msvc",
|
|
"aarch64-unknown-linux-gnu",
|
|
"aarch64-unknown-linux-musl",
|
|
"aarch64-unknown-linux-ohos",
|
|
"armv7-linux-androideabi",
|
|
"armv7-unknown-linux-gnueabihf",
|
|
"armv7-unknown-linux-musleabihf",
|
|
"i686-pc-windows-msvc",
|
|
"powerpc64le-unknown-linux-gnu",
|
|
"riscv64gc-unknown-linux-gnu",
|
|
"riscv64gc-unknown-linux-musl",
|
|
"s390x-unknown-linux-gnu",
|
|
"wasm32-wasip1",
|
|
"wasm32-wasip1-threads",
|
|
"x86_64-apple-darwin",
|
|
"x86_64-pc-windows-msvc",
|
|
"x86_64-unknown-freebsd",
|
|
"x86_64-unknown-linux-gnu",
|
|
"x86_64-unknown-linux-musl"
|
|
],
|
|
"wasm": {
|
|
"browser": {
|
|
"fs": false
|
|
}
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
}
|
|
}
|