mirror of
https://github.com/danbulant/oxc
synced 2026-05-21 21:29:01 +00:00
## [0.47.1] - 2025-01-19 ### Features -ee8ee55napi/parser: Add `.hasChanged()` to `MagicString` (#8586) (Boshen) -1bef911napi/parser: Add source map API (#8584) (Boshen) ### Bug Fixes -7b219a9minifier: Fix dce shadowed undefined (#8582) (Boshen) -7421a52transformer/typescript: Correctly resolve references to non-constant enum members (#8543) (branchseer) 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.47.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"
|
|
],
|
|
"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"
|
|
}
|
|
}
|