@nubjs/nub-win32-arm64 0.0.13 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/nub.exe +0 -0
- package/package.json +1 -1
- package/runtime/addons/nub-native.node +0 -0
- package/runtime/polyfills.cjs +178 -0
- package/runtime/preload-async-hooks.mjs +5 -6
- package/runtime/preload-common.cjs +548 -0
- package/runtime/preload.cjs +277 -0
- package/runtime/preload.mjs +22 -11
- package/runtime/transform-core.mjs +98 -199
- package/runtime/version.mjs +1 -1
- package/runtime/worker-polyfill.mjs +15 -2
- package/runtime/node_modules/@oxc-parser/binding-win32-arm64-msvc/README.md +0 -3
- package/runtime/node_modules/@oxc-parser/binding-win32-arm64-msvc/package.json +0 -39
- package/runtime/node_modules/@oxc-parser/binding-win32-arm64-msvc/parser.win32-arm64-msvc.node +0 -0
- package/runtime/node_modules/@oxc-parser/binding-win32-x64-msvc/README.md +0 -3
- package/runtime/node_modules/@oxc-parser/binding-win32-x64-msvc/package.json +0 -39
- package/runtime/node_modules/@oxc-parser/binding-win32-x64-msvc/parser.win32-x64-msvc.node +0 -0
- package/runtime/node_modules/@oxc-project/types/LICENSE +0 -22
- package/runtime/node_modules/@oxc-project/types/README.md +0 -3
- package/runtime/node_modules/@oxc-project/types/package.json +0 -26
- package/runtime/node_modules/@oxc-project/types/types.d.ts +0 -1912
- package/runtime/node_modules/@oxc-transform/binding-win32-arm64-msvc/README.md +0 -3
- package/runtime/node_modules/@oxc-transform/binding-win32-arm64-msvc/package.json +0 -41
- package/runtime/node_modules/@oxc-transform/binding-win32-arm64-msvc/transform.win32-arm64-msvc.node +0 -0
- package/runtime/node_modules/@oxc-transform/binding-win32-x64-msvc/README.md +0 -3
- package/runtime/node_modules/@oxc-transform/binding-win32-x64-msvc/package.json +0 -41
- package/runtime/node_modules/@oxc-transform/binding-win32-x64-msvc/transform.win32-x64-msvc.node +0 -0
- package/runtime/node_modules/oxc-parser/LICENSE +0 -22
- package/runtime/node_modules/oxc-parser/README.md +0 -167
- package/runtime/node_modules/oxc-parser/package.json +0 -153
- package/runtime/node_modules/oxc-parser/src-js/bindings.js +0 -601
- package/runtime/node_modules/oxc-parser/src-js/generated/constants.js +0 -105
- package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/js.js +0 -5862
- package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/js_range.js +0 -6403
- package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/ts.js +0 -6154
- package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/ts_range.js +0 -6723
- package/runtime/node_modules/oxc-parser/src-js/generated/lazy/constructors.js +0 -13875
- package/runtime/node_modules/oxc-parser/src-js/generated/lazy/type_ids.js +0 -191
- package/runtime/node_modules/oxc-parser/src-js/generated/lazy/walk.js +0 -5810
- package/runtime/node_modules/oxc-parser/src-js/generated/visit/keys.js +0 -220
- package/runtime/node_modules/oxc-parser/src-js/generated/visit/type_ids.js +0 -177
- package/runtime/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts +0 -387
- package/runtime/node_modules/oxc-parser/src-js/generated/visit/walk.js +0 -2455
- package/runtime/node_modules/oxc-parser/src-js/index.d.ts +0 -312
- package/runtime/node_modules/oxc-parser/src-js/index.js +0 -108
- package/runtime/node_modules/oxc-parser/src-js/raw-transfer/common.js +0 -301
- package/runtime/node_modules/oxc-parser/src-js/raw-transfer/eager.js +0 -255
- package/runtime/node_modules/oxc-parser/src-js/raw-transfer/lazy-common.js +0 -11
- package/runtime/node_modules/oxc-parser/src-js/raw-transfer/lazy.js +0 -162
- package/runtime/node_modules/oxc-parser/src-js/raw-transfer/node-array.js +0 -365
- package/runtime/node_modules/oxc-parser/src-js/raw-transfer/supported.js +0 -52
- package/runtime/node_modules/oxc-parser/src-js/raw-transfer/visitor.js +0 -127
- package/runtime/node_modules/oxc-parser/src-js/visit/index.js +0 -41
- package/runtime/node_modules/oxc-parser/src-js/visit/visitor.js +0 -405
- package/runtime/node_modules/oxc-parser/src-js/wasm.js +0 -13
- package/runtime/node_modules/oxc-parser/src-js/webcontainer-fallback.cjs +0 -21
- package/runtime/node_modules/oxc-parser/src-js/wrap.js +0 -57
- package/runtime/node_modules/oxc-transform/LICENSE +0 -22
- package/runtime/node_modules/oxc-transform/README.md +0 -84
- package/runtime/node_modules/oxc-transform/browser.js +0 -1
- package/runtime/node_modules/oxc-transform/index.d.ts +0 -658
- package/runtime/node_modules/oxc-transform/index.js +0 -598
- package/runtime/node_modules/oxc-transform/package.json +0 -114
- package/runtime/node_modules/oxc-transform/webcontainer-fallback.cjs +0 -21
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "oxc-transform",
|
|
3
|
-
"version": "0.132.0",
|
|
4
|
-
"description": "Oxc Transformer Node API",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"babel",
|
|
7
|
-
"javascript",
|
|
8
|
-
"jsx",
|
|
9
|
-
"oxc",
|
|
10
|
-
"transform",
|
|
11
|
-
"transformer",
|
|
12
|
-
"tsx",
|
|
13
|
-
"typescript"
|
|
14
|
-
],
|
|
15
|
-
"homepage": "https://oxc.rs/docs/guide/usage/transformer",
|
|
16
|
-
"bugs": "https://github.com/oxc-project/oxc/issues",
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"author": "Boshen and oxc contributors",
|
|
19
|
-
"repository": {
|
|
20
|
-
"type": "git",
|
|
21
|
-
"url": "git+https://github.com/oxc-project/oxc.git",
|
|
22
|
-
"directory": "napi/transform"
|
|
23
|
-
},
|
|
24
|
-
"funding": {
|
|
25
|
-
"url": "https://github.com/sponsors/Boshen"
|
|
26
|
-
},
|
|
27
|
-
"files": [
|
|
28
|
-
"browser.js",
|
|
29
|
-
"index.d.ts",
|
|
30
|
-
"index.js",
|
|
31
|
-
"webcontainer-fallback.cjs"
|
|
32
|
-
],
|
|
33
|
-
"type": "module",
|
|
34
|
-
"main": "index.js",
|
|
35
|
-
"browser": "browser.js",
|
|
36
|
-
"publishConfig": {
|
|
37
|
-
"access": "public",
|
|
38
|
-
"registry": "https://registry.npmjs.org/"
|
|
39
|
-
},
|
|
40
|
-
"devDependencies": {
|
|
41
|
-
"@emnapi/core": "1.10.0",
|
|
42
|
-
"@emnapi/runtime": "1.10.0",
|
|
43
|
-
"@napi-rs/cli": "3.6.2",
|
|
44
|
-
"@types/node": "24.1.0",
|
|
45
|
-
"publint": "0.3.21",
|
|
46
|
-
"vitest": "4.1.6"
|
|
47
|
-
},
|
|
48
|
-
"napi": {
|
|
49
|
-
"binaryName": "transform",
|
|
50
|
-
"packageName": "@oxc-transform/binding",
|
|
51
|
-
"targets": [
|
|
52
|
-
"aarch64-apple-darwin",
|
|
53
|
-
"aarch64-linux-android",
|
|
54
|
-
"aarch64-pc-windows-msvc",
|
|
55
|
-
"aarch64-unknown-linux-gnu",
|
|
56
|
-
"aarch64-unknown-linux-musl",
|
|
57
|
-
"aarch64-unknown-linux-ohos",
|
|
58
|
-
"armv7-linux-androideabi",
|
|
59
|
-
"armv7-unknown-linux-gnueabihf",
|
|
60
|
-
"armv7-unknown-linux-musleabihf",
|
|
61
|
-
"i686-pc-windows-msvc",
|
|
62
|
-
"powerpc64le-unknown-linux-gnu",
|
|
63
|
-
"riscv64gc-unknown-linux-gnu",
|
|
64
|
-
"riscv64gc-unknown-linux-musl",
|
|
65
|
-
"s390x-unknown-linux-gnu",
|
|
66
|
-
"wasm32-wasip1-threads",
|
|
67
|
-
"x86_64-apple-darwin",
|
|
68
|
-
"x86_64-pc-windows-msvc",
|
|
69
|
-
"x86_64-unknown-freebsd",
|
|
70
|
-
"x86_64-unknown-linux-gnu",
|
|
71
|
-
"x86_64-unknown-linux-musl"
|
|
72
|
-
],
|
|
73
|
-
"wasm": {
|
|
74
|
-
"browser": {
|
|
75
|
-
"fs": false
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"engines": {
|
|
80
|
-
"node": "^20.19.0 || >=22.12.0"
|
|
81
|
-
},
|
|
82
|
-
"optionalDependencies": {
|
|
83
|
-
"@oxc-transform/binding-darwin-arm64": "0.132.0",
|
|
84
|
-
"@oxc-transform/binding-android-arm64": "0.132.0",
|
|
85
|
-
"@oxc-transform/binding-win32-arm64-msvc": "0.132.0",
|
|
86
|
-
"@oxc-transform/binding-linux-arm64-gnu": "0.132.0",
|
|
87
|
-
"@oxc-transform/binding-linux-arm64-musl": "0.132.0",
|
|
88
|
-
"@oxc-transform/binding-openharmony-arm64": "0.132.0",
|
|
89
|
-
"@oxc-transform/binding-android-arm-eabi": "0.132.0",
|
|
90
|
-
"@oxc-transform/binding-linux-arm-gnueabihf": "0.132.0",
|
|
91
|
-
"@oxc-transform/binding-linux-arm-musleabihf": "0.132.0",
|
|
92
|
-
"@oxc-transform/binding-win32-ia32-msvc": "0.132.0",
|
|
93
|
-
"@oxc-transform/binding-linux-ppc64-gnu": "0.132.0",
|
|
94
|
-
"@oxc-transform/binding-linux-riscv64-gnu": "0.132.0",
|
|
95
|
-
"@oxc-transform/binding-linux-riscv64-musl": "0.132.0",
|
|
96
|
-
"@oxc-transform/binding-linux-s390x-gnu": "0.132.0",
|
|
97
|
-
"@oxc-transform/binding-wasm32-wasi": "0.132.0",
|
|
98
|
-
"@oxc-transform/binding-darwin-x64": "0.132.0",
|
|
99
|
-
"@oxc-transform/binding-win32-x64-msvc": "0.132.0",
|
|
100
|
-
"@oxc-transform/binding-freebsd-x64": "0.132.0",
|
|
101
|
-
"@oxc-transform/binding-linux-x64-gnu": "0.132.0",
|
|
102
|
-
"@oxc-transform/binding-linux-x64-musl": "0.132.0"
|
|
103
|
-
},
|
|
104
|
-
"scripts": {
|
|
105
|
-
"build-dev": "napi build --esm --platform",
|
|
106
|
-
"build-test": "pnpm run build-dev --profile coverage",
|
|
107
|
-
"build": "pnpm run build-dev --features allocator --release",
|
|
108
|
-
"postbuild": "publint",
|
|
109
|
-
"postbuild-dev": "node scripts/patch.js",
|
|
110
|
-
"build-wasm": "pnpm run build-wasm-dev --release",
|
|
111
|
-
"build-wasm-dev": "pnpm run build-dev --target wasm32-wasip1-threads",
|
|
112
|
-
"test": "vitest run --dir ./test"
|
|
113
|
-
}
|
|
114
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
const fs = require("node:fs");
|
|
2
|
-
const childProcess = require("node:child_process");
|
|
3
|
-
|
|
4
|
-
const pkg = JSON.parse(fs.readFileSync(require.resolve("oxc-transform/package.json"), "utf-8"));
|
|
5
|
-
const { version } = pkg;
|
|
6
|
-
const baseDir = `/tmp/oxc-transform-${version}`;
|
|
7
|
-
const bindingEntry = `${baseDir}/node_modules/@oxc-transform/binding-wasm32-wasi/transform.wasi.cjs`;
|
|
8
|
-
|
|
9
|
-
if (!fs.existsSync(bindingEntry)) {
|
|
10
|
-
fs.rmSync(baseDir, { recursive: true, force: true });
|
|
11
|
-
fs.mkdirSync(baseDir, { recursive: true });
|
|
12
|
-
const bindingPkg = `@oxc-transform/binding-wasm32-wasi@${version}`;
|
|
13
|
-
// oxlint-disable-next-line no-console
|
|
14
|
-
console.log(`[oxc-transform] Downloading ${bindingPkg} on WebContainer...`);
|
|
15
|
-
childProcess.execFileSync("pnpm", ["i", bindingPkg], {
|
|
16
|
-
cwd: baseDir,
|
|
17
|
-
stdio: "inherit",
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
module.exports = require(bindingEntry);
|