mirror of
https://github.com/danbulant/oxc
synced 2026-05-21 13:18:59 +00:00
## [0.17.0] - 2024-07-05 -e32b4bcast: [**BREAKING**] Store trivia comments in a sorted slice (#4045) (Luca Bruno) -1df6ac0ast: [**BREAKING**] Rename `visit_enum_memeber` to `visit_ts_enum_member`. (#4000) (rzvxa) -4a0eaa0ast: [**BREAKING**] Rename `visit_enum` to `visit_ts_enum_declaration`. (#3998) (rzvxa) -c98d8aaast: [**BREAKING**] Rename `visit_arrow_expression` to `visit_arrow_function_expression`. (#3995) (rzvxa) ### Features -1854a52ast_codegen: Introduce the `#[span]` hint. (#4012) (rzvxa) -7538af1ast_codegen: Add visit generator (#3954) (rzvxa) -7768d23isolated-declarations: Support optional class methods (#4035) (Egor Blinov) -0da9dfbminifier: Add constant folding to remove dead code (#4058) (Boshen) ### Bug Fixes -aaac2d8codegen: Preserve parentheses from AST instead calculating from operator precedence (#4055) (Boshen) -5e5b1b1codegen: Correct accessibility emit for class formal-parameters/methods/properties (#4042) (Egor Blinov) -7844734codegen: Missing const keyword in TSTypeParamter (#4022) (Dunqing) -6254a41codegen: Missing TypeParamters in TSCallSignature (#4021) (Dunqing) -3d29e9cisolated-declarations: Eliminate imports incorrectly when they are used in `TSInferType` (#4043) (Dunqing) -02ea19aisolated-declarations: Should emit `export {}` when only having `ImportDeclaration` (#4026) (Dunqing) -7c915f4isolated-declarations: Binding elements with export should report an error (#4025) (Dunqing) -05a047cisolated-declarations: Method following an abstract method gets dropped (#4024) (Dunqing) -c043becisolated_declarations: Add mapped-type constraint to the scope (#4037) (Egor Blinov) -b007553isolated_declarations: Fix readonly specifier on class constructor params (#4030) (Egor Blinov) -da62839isolated_declarations: Inferring literal types for readonly class fileds (#4027) (Egor Blinov) ### Refactor -b51f75bast_codegen: No longer outputs discard variable for empty visitors. (#4008) (rzvxa) -edb557cminifier: Add a folder struct for constant folding (#4057) (Boshen) -243c9f3parser: Use function instead of trait to parse list with rest element (#4028) (Boshen) -1dacb1fparser: Use function instead of trait to parse delimited lists (#4014) (Boshen) Co-authored-by: Boshen <Boshen@users.noreply.github.com>
40 lines
No EOL
1.2 KiB
JSON
40 lines
No EOL
1.2 KiB
JSON
{
|
|
"name": "@oxc-parser/wasm",
|
|
"version": "0.17.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"
|
|
],
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"wasm-pack": "^0.12.1"
|
|
}
|
|
} |