@nubjs/nub-linux-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.
Files changed (70) hide show
  1. package/bin/nub +0 -0
  2. package/package.json +1 -1
  3. package/runtime/addons/nub-native.node +0 -0
  4. package/runtime/preload-async-hooks.mjs +5 -6
  5. package/runtime/preload.cjs +10 -6
  6. package/runtime/preload.mjs +22 -11
  7. package/runtime/transform-core.mjs +183 -521
  8. package/runtime/version.mjs +1 -1
  9. package/runtime/worker-polyfill.mjs +15 -2
  10. package/runtime/node_modules/@oxc-parser/binding-linux-x64-gnu/README.md +0 -3
  11. package/runtime/node_modules/@oxc-parser/binding-linux-x64-gnu/package.json +0 -42
  12. package/runtime/node_modules/@oxc-parser/binding-linux-x64-gnu/parser.linux-x64-gnu.node +0 -0
  13. package/runtime/node_modules/@oxc-project/types/LICENSE +0 -22
  14. package/runtime/node_modules/@oxc-project/types/README.md +0 -3
  15. package/runtime/node_modules/@oxc-project/types/package.json +0 -26
  16. package/runtime/node_modules/@oxc-project/types/types.d.ts +0 -1912
  17. package/runtime/node_modules/@oxc-transform/binding-linux-x64-gnu/README.md +0 -3
  18. package/runtime/node_modules/@oxc-transform/binding-linux-x64-gnu/package.json +0 -44
  19. package/runtime/node_modules/@oxc-transform/binding-linux-x64-gnu/transform.linux-x64-gnu.node +0 -0
  20. package/runtime/node_modules/get-tsconfig/LICENSE +0 -21
  21. package/runtime/node_modules/get-tsconfig/README.md +0 -268
  22. package/runtime/node_modules/get-tsconfig/dist/index.cjs +0 -7
  23. package/runtime/node_modules/get-tsconfig/dist/index.d.cts +0 -2116
  24. package/runtime/node_modules/get-tsconfig/dist/index.d.mts +0 -2116
  25. package/runtime/node_modules/get-tsconfig/dist/index.mjs +0 -7
  26. package/runtime/node_modules/get-tsconfig/package.json +0 -46
  27. package/runtime/node_modules/oxc-parser/LICENSE +0 -22
  28. package/runtime/node_modules/oxc-parser/README.md +0 -167
  29. package/runtime/node_modules/oxc-parser/package.json +0 -153
  30. package/runtime/node_modules/oxc-parser/src-js/bindings.js +0 -601
  31. package/runtime/node_modules/oxc-parser/src-js/generated/constants.js +0 -105
  32. package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/js.js +0 -5862
  33. package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/js_range.js +0 -6403
  34. package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/ts.js +0 -6154
  35. package/runtime/node_modules/oxc-parser/src-js/generated/deserialize/ts_range.js +0 -6723
  36. package/runtime/node_modules/oxc-parser/src-js/generated/lazy/constructors.js +0 -13875
  37. package/runtime/node_modules/oxc-parser/src-js/generated/lazy/type_ids.js +0 -191
  38. package/runtime/node_modules/oxc-parser/src-js/generated/lazy/walk.js +0 -5810
  39. package/runtime/node_modules/oxc-parser/src-js/generated/visit/keys.js +0 -220
  40. package/runtime/node_modules/oxc-parser/src-js/generated/visit/type_ids.js +0 -177
  41. package/runtime/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts +0 -387
  42. package/runtime/node_modules/oxc-parser/src-js/generated/visit/walk.js +0 -2455
  43. package/runtime/node_modules/oxc-parser/src-js/index.d.ts +0 -312
  44. package/runtime/node_modules/oxc-parser/src-js/index.js +0 -108
  45. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/common.js +0 -301
  46. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/eager.js +0 -255
  47. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/lazy-common.js +0 -11
  48. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/lazy.js +0 -162
  49. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/node-array.js +0 -365
  50. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/supported.js +0 -52
  51. package/runtime/node_modules/oxc-parser/src-js/raw-transfer/visitor.js +0 -127
  52. package/runtime/node_modules/oxc-parser/src-js/visit/index.js +0 -41
  53. package/runtime/node_modules/oxc-parser/src-js/visit/visitor.js +0 -405
  54. package/runtime/node_modules/oxc-parser/src-js/wasm.js +0 -13
  55. package/runtime/node_modules/oxc-parser/src-js/webcontainer-fallback.cjs +0 -21
  56. package/runtime/node_modules/oxc-parser/src-js/wrap.js +0 -57
  57. package/runtime/node_modules/oxc-transform/LICENSE +0 -22
  58. package/runtime/node_modules/oxc-transform/README.md +0 -84
  59. package/runtime/node_modules/oxc-transform/browser.js +0 -1
  60. package/runtime/node_modules/oxc-transform/index.d.ts +0 -658
  61. package/runtime/node_modules/oxc-transform/index.js +0 -598
  62. package/runtime/node_modules/oxc-transform/package.json +0 -114
  63. package/runtime/node_modules/oxc-transform/webcontainer-fallback.cjs +0 -21
  64. package/runtime/node_modules/resolve-pkg-maps/LICENSE +0 -21
  65. package/runtime/node_modules/resolve-pkg-maps/README.md +0 -216
  66. package/runtime/node_modules/resolve-pkg-maps/dist/index.cjs +0 -1
  67. package/runtime/node_modules/resolve-pkg-maps/dist/index.d.cts +0 -11
  68. package/runtime/node_modules/resolve-pkg-maps/dist/index.d.mts +0 -11
  69. package/runtime/node_modules/resolve-pkg-maps/dist/index.mjs +0 -1
  70. package/runtime/node_modules/resolve-pkg-maps/package.json +0 -42
@@ -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;