@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,105 +0,0 @@
|
|
|
1
|
-
// Auto-generated code, DO NOT EDIT DIRECTLY!
|
|
2
|
-
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/raw_transfer.rs`.
|
|
3
|
-
|
|
4
|
-
// See `crates/oxc_allocator/src/pool/fixed_size.rs` for a diagram showing
|
|
5
|
-
// how the constituent parts of the arena fit together.
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Total size of the allocator block (including metadata and allocator `ChunkFooter`).
|
|
9
|
-
*/
|
|
10
|
-
export const BLOCK_SIZE = 2147483632;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Required alignment of the allocator block (4 GiB).
|
|
14
|
-
*/
|
|
15
|
-
export const BLOCK_ALIGN = 4294967296;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Total size of the transfer buffer used on JS side, in bytes
|
|
19
|
-
* (`BLOCK_SIZE` minus `FixedSizeAllocatorMetadata` and `ChunkFooter`).
|
|
20
|
-
*/
|
|
21
|
-
export const BUFFER_SIZE = 2147483576;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Size of the active data region in bytes - the region where source text and AST live
|
|
25
|
-
* (`BUFFER_SIZE` minus `RawTransferMetadata`).
|
|
26
|
-
*/
|
|
27
|
-
export const ACTIVE_SIZE = 2147483560;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Byte offset of the data pointer within the buffer, divided by 4 (for `Int32Array` indexing).
|
|
31
|
-
*/
|
|
32
|
-
export const DATA_POINTER_POS_32 = 536870890;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Byte offset of the `is_ts` flag within the buffer.
|
|
36
|
-
*/
|
|
37
|
-
export const IS_TS_FLAG_POS = 2147483572;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Byte offset of the `is_jsx` flag within the buffer.
|
|
41
|
-
*/
|
|
42
|
-
export const IS_JSX_FLAG_POS = 2147483573;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Byte offset of the `has_bom` flag within the buffer.
|
|
46
|
-
*/
|
|
47
|
-
export const HAS_BOM_FLAG_POS = 2147483574;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Byte offset of the tokens offset within the buffer, divided by 4 (for `Int32Array` indexing).
|
|
51
|
-
*/
|
|
52
|
-
export const TOKENS_OFFSET_POS_32 = 536870891;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Byte offset of the tokens length within the buffer, divided by 4 (for `Int32Array` indexing).
|
|
56
|
-
*/
|
|
57
|
-
export const TOKENS_LEN_POS_32 = 536870892;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Byte offset of the `program` field, relative to start of `RawTransferData`.
|
|
61
|
-
*/
|
|
62
|
-
export const PROGRAM_OFFSET = 0;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Byte offset of pointer to start of source text, relative to start of `Program`.
|
|
66
|
-
*/
|
|
67
|
-
export const SOURCE_START_OFFSET = 16;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Byte offset of length of source text, relative to start of `Program`.
|
|
71
|
-
*/
|
|
72
|
-
export const SOURCE_LEN_OFFSET = 24;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Byte offset of comments `Vec` pointer, relative to start of `Program`.
|
|
76
|
-
*/
|
|
77
|
-
export const COMMENTS_OFFSET = 32;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Byte offset of comments `Vec` length, relative to start of `Program`.
|
|
81
|
-
*/
|
|
82
|
-
export const COMMENTS_LEN_OFFSET = 40;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Size of `Comment` struct in bytes.
|
|
86
|
-
*/
|
|
87
|
-
export const COMMENT_SIZE = 16;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Byte offset of `kind` field, relative to start of `Comment` struct.
|
|
91
|
-
*/
|
|
92
|
-
export const COMMENT_KIND_OFFSET = 12;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Byte offset of the deserialized flag within each token/comment entry.
|
|
96
|
-
*
|
|
97
|
-
* Corresponds to `content` field of `Comment` struct, and unused bytes in `Token`.
|
|
98
|
-
* Initialized to 0 by Rust. JS side sets to 1 after deserialization.
|
|
99
|
-
*/
|
|
100
|
-
export const DESERIALIZED_FLAG_OFFSET = 15;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Discriminant value for `CommentKind::Line`.
|
|
104
|
-
*/
|
|
105
|
-
export const COMMENT_LINE_KIND = 0;
|