mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 20:28:58 +00:00
## [0.22.1] - 2024-07-27 ### Features -2477330ast: Add `AstKind::TSExportAssignment` (#4501) (Dunqing) -aaee07east: Add `AstKind::AssignmentTargetPattern`, `AstKind::ArrayAssignmentTarget` and `AstKind::ObjectAssignmentTarget` (#4456) (Dunqing) -fd363d1ast: Add AstKind::get_container_scope_id (#4450) (DonIsaac) -e2735caspan: Add `contains_inclusive` method (#4491) (DonIsaac) ### Bug Fixes -368112cast: Remove `#[visit(ignore)]` from `ExportDefaultDeclarationKind`'s `TSInterfaceDeclaration` (#4497) (Dunqing) -36bb680semantic: `TSExportAssignment` cannot reference type binding (#4502) (Dunqing) -cb2fa49semantic: `typeof` operator cannot reference type-only import (#4500) (Dunqing) -ef0e953semantic: Generic passed to typeof not counted as a reference (#4499) (Dunqing) -40cafb8semantic: Params in `export default (function() {})` flagged as `SymbolFlags::Export` (#4480) (Dunqing) -2e01a45semantic: Non-exported namespace member symbols flagged as exported (#4493) (Don Isaac) -e4ca06asemantic: Incorrect symbol’s scope_id after var hoisting (#4458) (Dunqing) -77bd5f1semantic: Use correct span for namespace symbols (#4448) (Don Isaac) -5db7bedsourcemap: Fix pre-calculation of required segments for building JSON (#4490) (overlookmotel) -1667491syntax: Correct `is_reserved_keyword_or_global_object`'s incorrect function calling. (#4484) (Ethan Goh) -82ba2a0syntax: Fix unsound use of `NonZeroU32` (#4466) (overlookmotel) -c04b9aatransformer: Add to `SymbolTable::declarations` for all symbols (#4460) (overlookmotel) -ecdee88transformer/typescript: Incorrect eliminate exports when the referenced symbol is both value and type (#4507) (Dunqing) ### Performance -963a2d1mangler: Reduce unnecessary allocation (#4498) (Dunqing) -868fc87parser: Optimize conditional advance on ASCII values (#4298) (lucab) -24beaebsemantic: Give `AstNodeId` a niche (#4469) (overlookmotel) -348c1adsemantic: Remove `span` field from `Reference` (#4464) (overlookmotel) -6a9f4dbsemantic: Reduce storage size for symbol redeclarations (#4463) (overlookmotel) -705e19fsourcemap: Reduce memory copies encoding JSON (#4489) (overlookmotel) -4d10c6csourcemap: Pre allocate String buf while encoding (#4476) (Brooooooklyn) ### Documentation -f5f0ba8ast: Add doc comments to more AST nodes (#4413) (Don Isaac) -871b3d6semantic: Add doc comments for SymbolTester and SemanticTester (#4433) (DonIsaac) ### Refactor -9c5d2f9ast/builder: Use `Box::new_in` over `.into_in` (#4428) (overlookmotel) -ccb1835semantic: Methods take `Span` as param, not `&Span` (#4470) (overlookmotel) -f17254asemantic: Populate `declarations` field in `SymbolTable::create_symbol` (#4461) (overlookmotel) -a49f491semantic: Re-order `SymbolTable` fields (#4459) (overlookmotel) -7cd53f3semantic: Var hoisting (#4379) (Dunqing) -4f5a7cbsemantic: Mark SemanticTester and SymbolTester as must_use (#4430) (DonIsaac) -c958a55sourcemap: `push_list` method for building JSON (#4486) (overlookmotel) -c99b3ebsyntax: Give `ScopeId` a niche (#4468) (overlookmotel) -96fc94fsyntax: Use `NonMaxU32` for IDs (#4467) (overlookmotel) ### Testing -4b274a8semantic: Add more test cases for symbol references (#4429) (DonIsaac) Co-authored-by: Boshen <1430279+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.22.1",
|
|
"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.13.0"
|
|
}
|
|
} |