mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 20:28:58 +00:00
## [0.43.0] - 2024-12-21 -de4c772traverse: [**BREAKING**] Rename `Ancestor::is_via_*` methods to `is_parent_of_*` (#8031) (overlookmotel) -ed75e42semantic: [**BREAKING**] Make SymbolTable fields `pub(crate)` instead of `pub` (#7999) (Boshen) ### Features -75b775callocator: `Vec<u8>::into_string` (#8017) (overlookmotel) -8547e02ast: Implement `allocator_api2` for `Allocator` (#8043) (Boshen) -63a95e4ast: Add `AstBulder::move_property_key` (#7998) (overlookmotel) -897a1a8transformer/class-properties: Exit faster from super replacement visitor (#8028) (overlookmotel) -3ea4109transformer/class-properties: Transform super update expressions within static prop initializer (#7997) (Dunqing) -cc57db3transformer/class-properties: Transform super assignment expressions within static prop initializer (#7991) (Dunqing) -6b6444btraverse: Record current block scope (#8007) (overlookmotel) ### Bug Fixes -043252dtransformer/class-properties: Replace `this` and class name in static blocks (#8035) (overlookmotel) -273795dtransformer/class-properties: Run other transforms on static properties, static blocks, and computed keys (#7982) (overlookmotel) ### Performance -c0dd3f8ast: `move_expression` and `move_statement` produce dummy with no span (#7995) (overlookmotel) -862838fcodegen: Remove useless to_owned (#8014) (Dunqing) -2736657semantic: Allocate `UnresolvedReferences` in allocator (#8046) (Boshen) -2e8872csemantic: Allocate child scope in allocator (#8045) (Boshen) -414e828semantic: Allocate symbol data in Allocator (#8012) (Boshen) -7aebed0semantic: Allocate `Bindings` in allocator (#8021) (Boshen) -0f9308ftransformer/react-refresh: Reduce allocations (#8018) (overlookmotel) -0deb9e6transformer/react-refresh: Reserve capacity in hook key string (#8016) (overlookmotel) -7b70347transformer/react-refresh: Avoid allocating string in each hook call (#8013) (Dunqing) ### Documentation -df5c341ast: Improve docs for `AstBuilder::move_*` methods (#7994) (overlookmotel) ### Refactor -f1adf9fsemantic: `ScopeTree::rename_binding` remove old binding first (#8020) (overlookmotel) -02f968dsemantic: Change `Bindings` to a plain `FxHashMap` (#8019) (Boshen) -e7476a1semantic: Remove `serialize` (#8015) (Boshen) -1cf7b83semantic: Simplify handling namespace stack (#7987) (Dunqing) -48cb52bsemantic: Remove resetting `current_reference_flags` in visit functions (#7986) (Dunqing) -3250a47semantic: Remove unused current_symbol_flags (#7985) (Dunqing) -efe96ecsemantic: Use `Stack` for function stack node ids (#7984) (Dunqing) -ac097e9transformer/class-properties: Rename file (#8036) (overlookmotel) -059a5ddtransformer/class-properties: Do not pass `ScopeId` into `insert_instance_inits` (#8001) (overlookmotel) -0a38eeatransformer/class-properties: Use `temp_var_name_base` to generate temp var names for `super` transform (#8004) (overlookmotel) -d1b7181transformer/class-properties: Rename var (#8006) (overlookmotel) -5a23d72transformer/class-properties: Remove outdated comment (#8000) (overlookmotel) -b3a5f3etransformer/class-properties: Mark `transform_assignment_expression_if_super_member_assignment_target` as inline (#7993) (Dunqing) ### Testing -bcb33c0semantic: Add a test for catch parameters reference (#7988) (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.43.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"
|
|
}
|
|
}
|