mirror of
https://github.com/danbulant/oxc
synced 2026-05-20 12:48:38 +00:00
## [0.24.3] - 2024-08-18 ### Features -d49fb16oxc_codegen: Support generate range leading comments (#4898) (IWANABETHATGUY) -80d0d1fsemantic: Check for invalid interface heritage clauses (#4928) (DonIsaac) -48821c0semantic,syntax: Add SymbolFlags::ArrowFunction (#4946) (DonIsaac) -f1fcddetransformer: Support react fast refresh (#4587) (Dunqing) -0d79122transformer: Support logical-assignment-operators plugin (#4890) (Dunqing) -ab1d08ctransformer: Support `optional-catch-binding` plugin (#4885) (Dunqing) -69da9fdtransformer: Support nullish-coalescing-operator plugin (#4884) (Dunqing) -3a66e58transformer: Support exponentiation operator plugin (#4876) (Dunqing) -f88cbcdtransformer: Add `BoundIdentifier::new_uid_in_current_scope` method (#4903) (overlookmotel) -1e6d0fetransformer: Add methods to `BoundIdentifier` (#4897) (overlookmotel) -fd34640traverse: Support `generate_uid_based_on_node` method in `TraverseCtx` (#4940) (Dunqing) -72a37fctraverse: Support `clone_identifier_reference` method in `TraverseCtx` (#4880) (Dunqing) ### Bug Fixes -c0b26f4ast: Do not include `scope_id` fields in JSON AST (#4858) (overlookmotel) -bbf9ec0codegen: Add missing `declare` to `PropertyDefinition` (#4937) (Boshen) -f210cf7codegen: Print `TSSatisfiesExpression` and `TSInstantiationExpression` (#4936) (Boshen) -21f5762codegen: Minify large numbers (#4889) (Boshen) -e8de4bdcodegen: Fix whitespace issue when minifying `x in new Error()` (#4886) (Boshen) -a226962codegen: Print `TSNonNullExpression` (#4869) (Boshen) -3da33d3codegen: Missing parenthesis for `PrivateInExpression` (#4865) (Boshen) -1808529codegen: Dedupe pure annotation comments (#4862) (IWANABETHATGUY) -d3bbc62isolated-declarations: Declare modifier of PropertyDefinition should not be retained (#4941) (Dunqing) -8e80f59isolated_declarations: Class properties should still be lifted from private constructors (#4934) (michaelm) -b3ec9e5isolated_declarations: Always emit module declarations that perform augmentation (#4919) (michaelm) -0fb0b71isolated_declarations: Always emit module declarations (#4911) (michaelm) -4a16916isolated_declarations: Support expando functions (#4910) (michaelm) -508644alinter/tree-shaking: Correct the calculation of `>>`, `<<` and `>>>` (#4932) (mysteryven) -46cb1c1minifier: Handle `Object.definedPropert(exports` for @babel/types/lib/index.js (#4933) (Boshen) -81fd637minifier: Do not fold `0 && (module.exports = {})` for `cjs-module-lexer` (#4878) (Boshen) -879a271minifier: Do not join `require` calls for `cjs-module-lexer` (#4875) (Boshen) -1bdde2cparser: Detect @flow in `/** @flow */ comment (#4861) (Boshen) -2476dcetransformer: Remove an `ast.copy` from `NullishCoalescingOperator` transform (#4913) (overlookmotel) -248a757transformer/typescript: Typescript syntax within `SimpleAssignmentTarget` with `MemberExpressions` is not stripped (#4920) (Dunqing) ### Documentation -47c9552ast, ast_macros, ast_tools: Better documentation for `Ast` helper attributes. (#4856) (rzvxa) -0a01a47semantic: Improve documentation (#4850) (DonIsaac) -9c700edtransformer: Add README including style guide (#4899) (overlookmotel) ### Refactor -a6967b3allocator: Correct code comment (#4904) (overlookmotel) -90d0b2ballocator, ast, span, ast_tools: Use `allocator` as var name for `Allocator` (#4900) (overlookmotel) -1eb59d2ast, isolated_declarations, transformer: Mark `AstBuilder::copy` as an unsafe function (#4907) (overlookmotel) -8e8fcd0ast_tools: Rename `oxc_ast_codegen` to `oxc_ast_tools`. (#4846) (rzvxa) -786bf07index: Shorten code and correct comment (#4905) (overlookmotel) -ea1e64asemantic: Make SemanticBuilder opaque (#4851) (DonIsaac) -5fd1701sourcemap: Lower the `msrv`. (#4873) (rzvxa) -48a1c32syntax: Inline trivial bitflags methods (#4877) (overlookmotel) -452187atransformer: Rename `BoundIdentifier::new_uid_in_root_scope` (#4902) (overlookmotel) -707a01ftransformer: Re-order `BoundIdentifier` methods (#4896) (overlookmotel) -117dff2transformer: Improve comments for `BoundIdentifier` helper (#4895) (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.24.3",
|
|
"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"
|
|
}
|
|
} |