mirror of
https://github.com/danbulant/oxc
synced 2026-05-20 20:58:48 +00:00
## [0.46.0] - 2025-01-14 -7eb6ccdast: [**BREAKING**] Remove unused and not useful `ContentHash` (#8483) (Boshen) ### Features -8accfefminifier: Minify `var x; void x` -> `void 0` (#8466) (Boshen) -870a583minifier: Fold `false['toString']` (#8447) (Boshen) -4ad695dnapi/minify: Implement napi (#8478) (Boshen) -9d550aaspan: Add `Atom::r#static` (#8479) (_Kerman) ### Bug Fixes -4071878isolated-declarations: Retain `declare` declarations when they are exported (#8477) (Dunqing) -7ee7634isolated-declarations: Import statement disappears when import binding is referenced in nested `typeof` (#8476) (Dunqing) -7252cb0isolated-declarations: Unexpected error when global `Symbol` as property key (#8475) (Dunqing) -4c6675cminifier: Do not convert while to fors in DCE (#8484) (Boshen) -1d6e84dminifier: Fix incorrect `null.toString()` and `1n.toString()` (#8464) (Boshen) -25d4bf9minifier: Remove usage of empty spans (#8462) (Boshen) -dd64340minifier: Keep `return undefined` in async generator function (#8439) (Boshen) -c444de8transformer/arrow-functions: Transform `this` and `super` incorrectly in async arrow function (#8435) (Dunqing) -270245ftransformer/typescript: Correct the semantic for TSImportEqualsDeclaration transformation (#8463) (Dunqing) -2a400d6transformer/typescript: Retain TSImportEqualsDeclaration when it is exported (Dunqing) -ab694b0transformer/typescript: Retain `TSImportEqualsDeclaration` in `namespace` when its binding has been referenced or `onlyRemoveTypeImports` is true (#8458) (Dunqing) ### Performance -7a8200cmangler: Allocate base54 name without heap allocation (#8472) (Boshen) -31dac22mangler: Allocate data in arena (#8471) (Boshen) -8fc238aminifier: Merge `Normalize` and `RemoveSyntax` pass (#8467) (Boshen) -372eb09minifier: Preallocate mangler's semantic data (#8451) (Boshen) ### Refactor -6e64eefcodegen: Remove `match_expression!` (#8450) (Boshen) -de5b288span: Rename `Atom::new_const` method (#8480) (overlookmotel) -c83ce5ctransformer/typescript: Improve transforming namespace (#8459) (Dunqing) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"name": "@oxc-parser/wasm",
|
|
"version": "0.46.0",
|
|
"description": "Wasm target for the oxc parser.",
|
|
"keywords": [
|
|
"JavaScript",
|
|
"TypeScript",
|
|
"parser"
|
|
],
|
|
"author": "Boshen and oxc contributors",
|
|
"license": "MIT",
|
|
"homepage": "https://oxc.rs",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/oxc-project/oxc",
|
|
"directory": "wasm/parser"
|
|
},
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/Boshen"
|
|
},
|
|
"main": "./node/oxc_parser_wasm.js",
|
|
"browser": "./web/oxc_parser_wasm.js",
|
|
"types": "./node/oxc_parser_wasm.d.ts",
|
|
"files": [
|
|
"node",
|
|
"web"
|
|
],
|
|
"dependencies": {
|
|
"@oxc-project/types": "workspace:^"
|
|
},
|
|
"scripts": {
|
|
"build": "pnpm run build-node && pnpm run build-web && pnpm run copy-files && pnpm run clean-files",
|
|
"build-node": "pnpm run build-base --target nodejs --out-dir ../../npm/parser-wasm/node .",
|
|
"build-web": "pnpm run build-base --target web --out-dir ../../npm/parser-wasm/web .",
|
|
"build-base": "wasm-pack build --release --no-pack",
|
|
"copy-files": "cp ./package.json ../../npm/parser-wasm/package.json && cp ./README.md ../../npm/parser-wasm/README.md",
|
|
"clean-files": "rm ../../npm/parser-wasm/*/.gitignore",
|
|
"test": "node ./test-node.mjs",
|
|
"check": "tsc --lib es2020,dom ./node/oxc_parser_wasm.d.ts"
|
|
}
|
|
}
|