mirror of
https://github.com/danbulant/oxc
synced 2026-05-20 20:58:48 +00:00
## [0.30.2] - 2024-09-27 ### Features -60c52baast: Allow passing span to `void_0` method (#6065) (Dunqing) -cca433fcodegen: Print `vite` / `webpack` special comments (#6021) (Dunqing) -8d026e1regular_expression: Implement `GetSpan` for RegExp AST nodes (#6056) (camchenry) -7764793regular_expression: Implement visitor pattern trait for regex AST (#6055) (camchenry) -f866781semantic: Check for type annotations on left side of `for..in` and `for..of` iterators (#6043) (DonIsaac) -8b2e9aasemantic: Check for JSDoc types in TS type annotations (#6042) (DonIsaac) -28da771transformer: Do not transform `**` with bigint literals (#6023) (Boshen) ### Bug Fixes -a88504cdiagnostics: Check for terminal when displaying links (#6018) (Boshen) -418ae25isolated-declarations: Report uninferrable types in arrays (#6084) (michaelm) -e0a8959minifier: Compute `void number` as `undefined` (#6028) (Boshen) -0658576paresr: Do not report missing initializer error in ambient context (#6020) (Boshen) -b1af73dsemantic: Do not create a `global` symbol for `declare global {}` (#6040) (DonIsaac) -c8682e9semantic,codegen,transformer: Handle definite `!` operator in variable declarator (#6019) (Boshen) ### Performance -6b7d3edisolated-declarations: Should clone transformed AST rather than original AST (#6078) (Dunqing) -85aff19transformer: Introduce `Stack` (#6093) (overlookmotel) -ad4ef31transformer: Introduce `NonEmptyStack` (#6092) (overlookmotel) ### Documentation -3099709allocator: Document `oxc_allocator` crate (#6037) (DonIsaac) -d60ceb4oxc: Add README.md and crate-level docs (#6035) (DonIsaac) -efabfc8semantic: Improve doc comments on `Reference` methods (#6076) (overlookmotel) ### Refactor -1fc80d1ast: Move all ts ast related impl methods to `ast_impl` (#6015) (Dunqing) -fe696f0codegen: Simplify printing annotation comments (#6027) (Dunqing) -e60ce50transformer: Add `SparseStack::with_capacity` method (#6094) (overlookmotel) -1399d2ctransformer: Move `SparseStack` definition into folder (#6091) (overlookmotel) -6bd29ddtransformer: Add more debug assertions (#6090) (overlookmotel) -c90b9bftransformer: Rename `SparseStack` methods (#6089) (overlookmotel) -2b380c8transformer: Remove unsued `self.ctx` (#6022) (Boshen) ### Testing -93575cdsemantic: Add comprehensive regression test suite (#5976) (DonIsaac) -a4cec75transformer: Enable tests (#6032) (overlookmotel) --------- Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
{
|
|
"name": "@oxc-parser/wasm",
|
|
"version": "0.30.2",
|
|
"description": "Wasm target for the oxc parser.",
|
|
"packageManager": "pnpm@9.9.0",
|
|
"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"
|
|
}
|
|
}
|