mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
## [0.23.0] - 2024-08-01 -27fd062sourcemap: [**BREAKING**] Avoid passing `Result`s (#4541) (overlookmotel) ### Features -a558492codegen: Implement `BinaryExpressionVisitor` (#4548) (Boshen) -7446e98codegen: Align more esbuild implementations (#4510) (Boshen) -35654e6codegen: Align operator precedence with esbuild (#4509) (Boshen) -b952942linter: Add eslint/no-unused-vars (⭐ attempt 3.2) (#4445) (DonIsaac) -85e8418linter: Add react/jsx-curly-brace-presence (#3949) (Don Isaac) -cf1854bsemantic: Remove `ReferenceFlags::Value` from non-type-only exports that referenced type binding (#4511) (Dunqing) ### Bug Fixes -b58ed80codegen: Enable more test cases (#4585) (Boshen) -6a94e3fcodegen: Fixes for esbuild test cases (#4503) (Boshen) -d5c4b19parser: Fix enum member parsing (#4543) (DonIsaac) ### Performance -4c6d19dallocator: Use capacity hint (#4584) (Luca Bruno) -7585e16linter: Remove allocations for string comparisons (#4570) (DonIsaac) -55a8763parser: Faster decoding unicode escapes in identifiers (#4579) (overlookmotel) -ae1d38fparser: Fast path for ASCII when checking char after numeric literal (#4577) (overlookmotel) -56ae615parser: Make not at EOF the hot path in `Source` methods (#4576) (overlookmotel) -25679e6parser: Optimize `Lexer::hex_digit` (#4572) (overlookmotel) -bb33bccparser: Speed up lexing non-decimal numbers (#4571) (overlookmotel) -ab8509eparser: Use `-` not `saturating_sub` (#4561) (overlookmotel) -c9c38a1parser: Support peeking over bytes (#4304) (lucab) -0870ee1parser: Get and check lookahead token (#4534) (lucab) -d00014esourcemap: Elide bounds checks in VLQ encoding (#4583) (overlookmotel) -1fd9dd0sourcemap: Use simd to escape JSON string (#4487) (Brooooooklyn) ### Documentation -0914e47ast: Add doc comments to literal nodes (#4551) (DonIsaac) -c6a11beast: Auto-generate doc comments for AstBuilder methods (#4471) (DonIsaac) ### Refactor -e68ed62parser: Convert lexer byte handler for `|` to a single match (#4575) (overlookmotel) -bba824bparser: Convert `Lexer::read_minus` to a single match (#4574) (overlookmotel) -ef5418aparser: Convert `Lexer::read_left_angle` to a single match (#4573) (overlookmotel) -9e5be78parser: Add `Lexer::consume_2_chars` (#4569) (overlookmotel) -649913eparser: Extract `u8` not `&u8` when iterating over bytes (#4568) (overlookmotel) -59f00c0parser: Rename function (#4566) (overlookmotel) -8e3e910parser: Rename vars (#4565) (overlookmotel) -0c0601fparser: Rename function (#4564) (overlookmotel) -0acc4a7parser: Fetch 2 bytes in `?` byte handler (#4563) (overlookmotel) -565eccfparser: Shorten lexer code (#4562) (overlookmotel) -148bdb5parser: Adjust function inlining (#4530) (overlookmotel) -16c7b98semantic: Move CatchClause scope binding logic to visit_block_statement (#4505) (Dunqing) -d6974d4semantic: `AstNodeParentIter` fetch nodes lazily (#4533) (overlookmotel) -d914b14semantic: Reusing the same reference (#4529) (Dunqing) -7b5e1f5semantic: Use `is_empty()` instead of `len() == 0` (#4532) (overlookmotel) -9db4259semantic: Inline trivial methods (#4531) (overlookmotel) -7c42ffcsourcemap: Align Base64 chars lookup table to cache line (#4535) (overlookmotel) -96602bftransformer/typescript: Determine whether to remove `ExportSpeicifer` by `ReferenceFlags` (#4513) (Dunqing) -e6a8af6traverse: Speed up tests (#4538) (overlookmotel) 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.23.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.13.0"
|
|
}
|
|
} |