@nubjs/nub-darwin-x64 0.0.14 → 0.0.16
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 +0 -0
- package/package.json +1 -1
- package/runtime/addons/nub-native.node +0 -0
- package/runtime/preload-async-hooks.mjs +5 -6
- package/runtime/preload.cjs +10 -6
- package/runtime/preload.mjs +22 -11
- package/runtime/transform-core.mjs +183 -521
- package/runtime/version.mjs +1 -1
- package/runtime/worker-polyfill.mjs +15 -2
- package/runtime/node_modules/@oxc-parser/binding-darwin-arm64/README.md +0 -3
- package/runtime/node_modules/@oxc-parser/binding-darwin-arm64/package.json +0 -39
- package/runtime/node_modules/@oxc-parser/binding-darwin-arm64/parser.darwin-arm64.node +0 -0
- package/runtime/node_modules/@oxc-parser/binding-darwin-x64/README.md +0 -3
- package/runtime/node_modules/@oxc-parser/binding-darwin-x64/package.json +0 -39
- package/runtime/node_modules/@oxc-parser/binding-darwin-x64/parser.darwin-x64.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-darwin-arm64/README.md +0 -3
- package/runtime/node_modules/@oxc-transform/binding-darwin-arm64/package.json +0 -41
- package/runtime/node_modules/@oxc-transform/binding-darwin-arm64/transform.darwin-arm64.node +0 -0
- package/runtime/node_modules/@oxc-transform/binding-darwin-x64/README.md +0 -3
- package/runtime/node_modules/@oxc-transform/binding-darwin-x64/package.json +0 -41
- package/runtime/node_modules/@oxc-transform/binding-darwin-x64/transform.darwin-x64.node +0 -0
- package/runtime/node_modules/get-tsconfig/LICENSE +0 -21
- package/runtime/node_modules/get-tsconfig/README.md +0 -268
- package/runtime/node_modules/get-tsconfig/dist/index.cjs +0 -7
- package/runtime/node_modules/get-tsconfig/dist/index.d.cts +0 -2116
- package/runtime/node_modules/get-tsconfig/dist/index.d.mts +0 -2116
- package/runtime/node_modules/get-tsconfig/dist/index.mjs +0 -7
- package/runtime/node_modules/get-tsconfig/package.json +0 -46
- 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
- package/runtime/node_modules/resolve-pkg-maps/LICENSE +0 -21
- package/runtime/node_modules/resolve-pkg-maps/README.md +0 -216
- package/runtime/node_modules/resolve-pkg-maps/dist/index.cjs +0 -1
- package/runtime/node_modules/resolve-pkg-maps/dist/index.d.cts +0 -11
- package/runtime/node_modules/resolve-pkg-maps/dist/index.d.mts +0 -11
- package/runtime/node_modules/resolve-pkg-maps/dist/index.mjs +0 -1
- package/runtime/node_modules/resolve-pkg-maps/package.json +0 -42
package/runtime/version.mjs
CHANGED
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
// previously lived as a literal inside preload.mjs, which `make version` patched,
|
|
10
10
|
// while the worker carried a hand-maintained "…-compat" copy that `make version`
|
|
11
11
|
// never touched — a latent staleness bug this module closes.)
|
|
12
|
-
export const NUB_VERSION = "0.0.
|
|
12
|
+
export const NUB_VERSION = "0.0.16";
|
|
@@ -13,8 +13,21 @@
|
|
|
13
13
|
// the child crashes (observed against test-esm-loader-chaining). `process
|
|
14
14
|
// .getBuiltinModule` fetches the real builtin synchronously off the loader
|
|
15
15
|
// graph, bypassing the user chain entirely — same fix transform-core.mjs uses.
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
// `process.getBuiltinModule` doesn't exist below Node 22.3 / 20.16 / 18.20.4 (it
|
|
17
|
+
// threw `TypeError: ... is not a function` there). Fall back to a createRequire
|
|
18
|
+
// bootstrapped from a single static `node:module` import. The actual builtins below
|
|
19
|
+
// are still fetched through `__getBuiltin` — getBuiltinModule on new Node, CJS
|
|
20
|
+
// `__require` on old — and BOTH bypass the user ESM loader chain (the whole reason
|
|
21
|
+
// this file avoids a static `import` of node:worker_threads). Only the bootstrap
|
|
22
|
+
// touches node:module, which user loader hooks don't intercept (unlike the mockable
|
|
23
|
+
// node:worker_threads the chaining test targets), so the bypass guarantee holds.
|
|
24
|
+
import { createRequire as __bootstrapCreateRequire } from "node:module";
|
|
25
|
+
const __getBuiltin =
|
|
26
|
+
typeof process.getBuiltinModule === "function"
|
|
27
|
+
? (id) => process.getBuiltinModule(id)
|
|
28
|
+
: ((__r) => (id) => __r(id))(__bootstrapCreateRequire(import.meta.url));
|
|
29
|
+
const { Worker: NodeWorker, parentPort, isMainThread } = __getBuiltin("node:worker_threads");
|
|
30
|
+
const { fileURLToPath } = __getBuiltin("node:url");
|
|
18
31
|
|
|
19
32
|
// `ErrorEvent` only became a global in Node 26. On the 22/24 floor it is
|
|
20
33
|
// undefined, so `new ErrorEvent(...)` below would throw a ReferenceError inside
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@oxc-parser/binding-darwin-arm64",
|
|
3
|
-
"version": "0.132.0",
|
|
4
|
-
"cpu": [
|
|
5
|
-
"arm64"
|
|
6
|
-
],
|
|
7
|
-
"main": "parser.darwin-arm64.node",
|
|
8
|
-
"files": [
|
|
9
|
-
"parser.darwin-arm64.node"
|
|
10
|
-
],
|
|
11
|
-
"description": "Oxc Parser Node API",
|
|
12
|
-
"keywords": [
|
|
13
|
-
"ast",
|
|
14
|
-
"estree",
|
|
15
|
-
"javascript",
|
|
16
|
-
"oxc",
|
|
17
|
-
"parser",
|
|
18
|
-
"typescript"
|
|
19
|
-
],
|
|
20
|
-
"author": "Boshen and oxc contributors",
|
|
21
|
-
"homepage": "https://oxc.rs/docs/guide/usage/parser",
|
|
22
|
-
"license": "MIT",
|
|
23
|
-
"engines": {
|
|
24
|
-
"node": "^20.19.0 || >=22.12.0"
|
|
25
|
-
},
|
|
26
|
-
"repository": {
|
|
27
|
-
"type": "git",
|
|
28
|
-
"url": "git+https://github.com/oxc-project/oxc.git",
|
|
29
|
-
"directory": "napi/parser"
|
|
30
|
-
},
|
|
31
|
-
"bugs": "https://github.com/oxc-project/oxc/issues",
|
|
32
|
-
"publishConfig": {
|
|
33
|
-
"registry": "https://registry.npmjs.org/",
|
|
34
|
-
"access": "public"
|
|
35
|
-
},
|
|
36
|
-
"os": [
|
|
37
|
-
"darwin"
|
|
38
|
-
]
|
|
39
|
-
}
|
|
Binary file
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@oxc-parser/binding-darwin-x64",
|
|
3
|
-
"version": "0.132.0",
|
|
4
|
-
"cpu": [
|
|
5
|
-
"x64"
|
|
6
|
-
],
|
|
7
|
-
"main": "parser.darwin-x64.node",
|
|
8
|
-
"files": [
|
|
9
|
-
"parser.darwin-x64.node"
|
|
10
|
-
],
|
|
11
|
-
"description": "Oxc Parser Node API",
|
|
12
|
-
"keywords": [
|
|
13
|
-
"ast",
|
|
14
|
-
"estree",
|
|
15
|
-
"javascript",
|
|
16
|
-
"oxc",
|
|
17
|
-
"parser",
|
|
18
|
-
"typescript"
|
|
19
|
-
],
|
|
20
|
-
"author": "Boshen and oxc contributors",
|
|
21
|
-
"homepage": "https://oxc.rs/docs/guide/usage/parser",
|
|
22
|
-
"license": "MIT",
|
|
23
|
-
"engines": {
|
|
24
|
-
"node": "^20.19.0 || >=22.12.0"
|
|
25
|
-
},
|
|
26
|
-
"repository": {
|
|
27
|
-
"type": "git",
|
|
28
|
-
"url": "git+https://github.com/oxc-project/oxc.git",
|
|
29
|
-
"directory": "napi/parser"
|
|
30
|
-
},
|
|
31
|
-
"bugs": "https://github.com/oxc-project/oxc/issues",
|
|
32
|
-
"publishConfig": {
|
|
33
|
-
"registry": "https://registry.npmjs.org/",
|
|
34
|
-
"access": "public"
|
|
35
|
-
},
|
|
36
|
-
"os": [
|
|
37
|
-
"darwin"
|
|
38
|
-
]
|
|
39
|
-
}
|
|
Binary file
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024-present VoidZero Inc. & Contributors
|
|
4
|
-
Copyright (c) 2023 Boshen
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
SOFTWARE.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@oxc-project/types",
|
|
3
|
-
"version": "0.132.0",
|
|
4
|
-
"description": "Types for Oxc AST nodes",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"AST",
|
|
7
|
-
"Parser"
|
|
8
|
-
],
|
|
9
|
-
"homepage": "https://oxc.rs",
|
|
10
|
-
"bugs": "https://github.com/oxc-project/oxc/issues",
|
|
11
|
-
"license": "MIT",
|
|
12
|
-
"author": "Boshen and oxc contributors",
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/oxc-project/oxc.git",
|
|
16
|
-
"directory": "npm/oxc-types"
|
|
17
|
-
},
|
|
18
|
-
"funding": {
|
|
19
|
-
"url": "https://github.com/sponsors/Boshen"
|
|
20
|
-
},
|
|
21
|
-
"files": [
|
|
22
|
-
"types.d.ts"
|
|
23
|
-
],
|
|
24
|
-
"type": "module",
|
|
25
|
-
"types": "types.d.ts"
|
|
26
|
-
}
|