@volter/tabnode 0.2.14-volter.88 → 0.3.0

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 (224) hide show
  1. package/README.md +12 -5
  2. package/dist/assets/{runtime-worker-4MKaHFVb.js → runtime-worker-BcDCBbhG.js} +548 -218
  3. package/dist/code-transforms.d.ts +0 -1
  4. package/dist/config/cdn.d.ts +0 -1
  5. package/dist/create-runtime.d.ts +0 -1
  6. package/dist/host-globals.d.ts +0 -1
  7. package/dist/index.d.ts +0 -1
  8. package/dist/index.mjs +12 -6
  9. package/dist/node-internals.d.ts +0 -1
  10. package/dist/node-lib/binding/blob.d.ts +0 -1
  11. package/dist/node-lib/binding/buffer.d.ts +0 -1
  12. package/dist/node-lib/binding/cares_wrap.d.ts +0 -1
  13. package/dist/node-lib/binding/fds.d.ts +0 -1
  14. package/dist/node-lib/binding/fs.d.ts +0 -1
  15. package/dist/node-lib/binding/handles.d.ts +0 -1
  16. package/dist/node-lib/binding/http_parser.d.ts +0 -1
  17. package/dist/node-lib/binding/index.d.ts +0 -1
  18. package/dist/node-lib/binding/llhttp-wasm.d.ts +0 -1
  19. package/dist/node-lib/binding/misc.d.ts +0 -1
  20. package/dist/node-lib/binding/pipe_wrap.d.ts +0 -1
  21. package/dist/node-lib/binding/process_wrap.d.ts +0 -1
  22. package/dist/node-lib/binding/spawn_sync.d.ts +0 -1
  23. package/dist/node-lib/binding/stream_wrap.d.ts +0 -1
  24. package/dist/node-lib/binding/stubs.d.ts +0 -1
  25. package/dist/node-lib/binding/tcp_wrap.d.ts +0 -1
  26. package/dist/node-lib/binding/tty_wrap.d.ts +0 -1
  27. package/dist/node-lib/binding/util.d.ts +0 -1
  28. package/dist/node-lib/binding/uv.d.ts +0 -1
  29. package/dist/node-lib/binding/zlib-pako.d.ts +0 -1
  30. package/dist/node-lib/binding/zlib.d.ts +0 -1
  31. package/dist/node-lib/buffer-module.d.ts +0 -1
  32. package/dist/node-lib/child-process-module.d.ts +0 -1
  33. package/dist/node-lib/events-module.d.ts +0 -1
  34. package/dist/node-lib/fs-module.d.ts +0 -1
  35. package/dist/node-lib/http-bridge.d.ts +0 -1
  36. package/dist/node-lib/http-module.d.ts +0 -1
  37. package/dist/node-lib/internals/addresses.d.ts +0 -1
  38. package/dist/node-lib/internals/buffer-and-streams.d.ts +0 -1
  39. package/dist/node-lib/internals/child-process.d.ts +0 -1
  40. package/dist/node-lib/internals/events-util.d.ts +0 -1
  41. package/dist/node-lib/internals/index.d.ts +0 -1
  42. package/dist/node-lib/internals/modules.d.ts +0 -1
  43. package/dist/node-lib/internals/readline-access.d.ts +0 -1
  44. package/dist/node-lib/internals/runtime.d.ts +0 -1
  45. package/dist/node-lib/internals/util.d.ts +0 -1
  46. package/dist/node-lib/lazy.d.ts +0 -1
  47. package/dist/node-lib/load.d.ts +0 -1
  48. package/dist/node-lib/module-hooks.d.ts +0 -1
  49. package/dist/node-lib/net-module.d.ts +0 -1
  50. package/dist/node-lib/node-versions.d.ts +0 -1
  51. package/dist/node-lib/public-modules.d.ts +0 -1
  52. package/dist/node-lib/require-hook.d.ts +0 -1
  53. package/dist/node-lib/small-modules.d.ts +0 -1
  54. package/dist/node-lib/sources.d.ts +1 -2
  55. package/dist/node-lib/stream-module.d.ts +0 -1
  56. package/dist/node-lib/timers.d.ts +0 -1
  57. package/dist/node-lib/util-module.d.ts +0 -1
  58. package/dist/node-resolution.d.ts +0 -1
  59. package/dist/node-resolver.d.ts +0 -1
  60. package/dist/npm/index.d.ts +0 -1
  61. package/dist/npm/registry.d.ts +0 -1
  62. package/dist/npm/resolver.d.ts +0 -1
  63. package/dist/npm/tarball.d.ts +0 -1
  64. package/dist/process-tokens.d.ts +0 -1
  65. package/dist/punycode-source.d.ts +0 -1
  66. package/dist/runtime-interface.d.ts +0 -1
  67. package/dist/runtime.d.ts +0 -1
  68. package/dist/server-bridge.d.ts +0 -1
  69. package/dist/shims/async_hooks.d.ts +0 -1
  70. package/dist/shims/child_process.d.ts +0 -1
  71. package/dist/shims/cluster.d.ts +0 -1
  72. package/dist/shims/command-line.d.ts +0 -1
  73. package/dist/shims/constants.d.ts +0 -1
  74. package/dist/shims/crypto-constants.d.ts +0 -1
  75. package/dist/shims/crypto.d.ts +0 -1
  76. package/dist/shims/dgram.d.ts +0 -1
  77. package/dist/shims/dns.d.ts +0 -1
  78. package/dist/shims/domain.d.ts +0 -1
  79. package/dist/shims/esbuild.d.ts +0 -1
  80. package/dist/shims/fs.d.ts +0 -1
  81. package/dist/shims/http2.d.ts +0 -1
  82. package/dist/shims/inspector.d.ts +0 -1
  83. package/dist/shims/module.d.ts +0 -1
  84. package/dist/shims/os.d.ts +0 -1
  85. package/dist/shims/path.d.ts +0 -1
  86. package/dist/shims/perf_hooks.d.ts +0 -1
  87. package/dist/shims/process.d.ts +0 -1
  88. package/dist/shims/rollup.d.ts +0 -1
  89. package/dist/shims/string_decoder.d.ts +0 -1
  90. package/dist/shims/sync-child.d.ts +0 -1
  91. package/dist/shims/tls.d.ts +0 -1
  92. package/dist/shims/url.d.ts +0 -1
  93. package/dist/shims/v8.d.ts +0 -1
  94. package/dist/shims/vfs-adapter.d.ts +0 -1
  95. package/dist/shims/vm.d.ts +0 -1
  96. package/dist/shims/wasi.d.ts +0 -1
  97. package/dist/shims/worker_threads.d.ts +0 -1
  98. package/dist/shims/zlib-constants.d.ts +0 -1
  99. package/dist/shims/zlib.d.ts +0 -1
  100. package/dist/transform.d.ts +0 -1
  101. package/dist/types/package-json.d.ts +0 -1
  102. package/dist/utils/binary-encoding.d.ts +0 -1
  103. package/dist/utils/glob.d.ts +0 -1
  104. package/dist/utils/hash.d.ts +0 -1
  105. package/dist/virtual-fs.d.ts +0 -1
  106. package/dist/vite-plugin.d.ts +0 -1
  107. package/dist/vite-plugin.mjs +0 -1
  108. package/dist/worker/runtime-worker.d.ts +0 -1
  109. package/dist/worker-runtime.d.ts +0 -1
  110. package/package.json +11 -24
  111. package/src/node-lib/binding/zlib.ts +1 -1
  112. package/src/node-lib/sources.ts +1 -1
  113. package/dist/assets/runtime-worker-4MKaHFVb.js.map +0 -1
  114. package/dist/code-transforms.d.ts.map +0 -1
  115. package/dist/config/cdn.d.ts.map +0 -1
  116. package/dist/create-runtime.d.ts.map +0 -1
  117. package/dist/host-globals.d.ts.map +0 -1
  118. package/dist/index.cjs +0 -36021
  119. package/dist/index.cjs.map +0 -1
  120. package/dist/index.d.ts.map +0 -1
  121. package/dist/index.mjs.map +0 -1
  122. package/dist/node-internals.d.ts.map +0 -1
  123. package/dist/node-lib/binding/blob.d.ts.map +0 -1
  124. package/dist/node-lib/binding/buffer.d.ts.map +0 -1
  125. package/dist/node-lib/binding/cares_wrap.d.ts.map +0 -1
  126. package/dist/node-lib/binding/fds.d.ts.map +0 -1
  127. package/dist/node-lib/binding/fs.d.ts.map +0 -1
  128. package/dist/node-lib/binding/handles.d.ts.map +0 -1
  129. package/dist/node-lib/binding/http_parser.d.ts.map +0 -1
  130. package/dist/node-lib/binding/index.d.ts.map +0 -1
  131. package/dist/node-lib/binding/llhttp-wasm.d.ts.map +0 -1
  132. package/dist/node-lib/binding/misc.d.ts.map +0 -1
  133. package/dist/node-lib/binding/pipe_wrap.d.ts.map +0 -1
  134. package/dist/node-lib/binding/process_wrap.d.ts.map +0 -1
  135. package/dist/node-lib/binding/spawn_sync.d.ts.map +0 -1
  136. package/dist/node-lib/binding/stream_wrap.d.ts.map +0 -1
  137. package/dist/node-lib/binding/stubs.d.ts.map +0 -1
  138. package/dist/node-lib/binding/tcp_wrap.d.ts.map +0 -1
  139. package/dist/node-lib/binding/tty_wrap.d.ts.map +0 -1
  140. package/dist/node-lib/binding/util.d.ts.map +0 -1
  141. package/dist/node-lib/binding/uv.d.ts.map +0 -1
  142. package/dist/node-lib/binding/zlib-pako.d.ts.map +0 -1
  143. package/dist/node-lib/binding/zlib.d.ts.map +0 -1
  144. package/dist/node-lib/buffer-module.d.ts.map +0 -1
  145. package/dist/node-lib/child-process-module.d.ts.map +0 -1
  146. package/dist/node-lib/events-module.d.ts.map +0 -1
  147. package/dist/node-lib/fs-module.d.ts.map +0 -1
  148. package/dist/node-lib/http-bridge.d.ts.map +0 -1
  149. package/dist/node-lib/http-module.d.ts.map +0 -1
  150. package/dist/node-lib/internals/addresses.d.ts.map +0 -1
  151. package/dist/node-lib/internals/buffer-and-streams.d.ts.map +0 -1
  152. package/dist/node-lib/internals/child-process.d.ts.map +0 -1
  153. package/dist/node-lib/internals/events-util.d.ts.map +0 -1
  154. package/dist/node-lib/internals/index.d.ts.map +0 -1
  155. package/dist/node-lib/internals/modules.d.ts.map +0 -1
  156. package/dist/node-lib/internals/readline-access.d.ts.map +0 -1
  157. package/dist/node-lib/internals/runtime.d.ts.map +0 -1
  158. package/dist/node-lib/internals/util.d.ts.map +0 -1
  159. package/dist/node-lib/lazy.d.ts.map +0 -1
  160. package/dist/node-lib/load.d.ts.map +0 -1
  161. package/dist/node-lib/module-hooks.d.ts.map +0 -1
  162. package/dist/node-lib/net-module.d.ts.map +0 -1
  163. package/dist/node-lib/node-versions.d.ts.map +0 -1
  164. package/dist/node-lib/public-modules.d.ts.map +0 -1
  165. package/dist/node-lib/require-hook.d.ts.map +0 -1
  166. package/dist/node-lib/small-modules.d.ts.map +0 -1
  167. package/dist/node-lib/sources.d.ts.map +0 -1
  168. package/dist/node-lib/stream-module.d.ts.map +0 -1
  169. package/dist/node-lib/timers.d.ts.map +0 -1
  170. package/dist/node-lib/util-module.d.ts.map +0 -1
  171. package/dist/node-resolution.d.ts.map +0 -1
  172. package/dist/node-resolver.d.ts.map +0 -1
  173. package/dist/npm/index.d.ts.map +0 -1
  174. package/dist/npm/registry.d.ts.map +0 -1
  175. package/dist/npm/resolver.d.ts.map +0 -1
  176. package/dist/npm/tarball.d.ts.map +0 -1
  177. package/dist/process-tokens.d.ts.map +0 -1
  178. package/dist/punycode-source.d.ts.map +0 -1
  179. package/dist/runtime-interface.d.ts.map +0 -1
  180. package/dist/runtime.d.ts.map +0 -1
  181. package/dist/server-bridge.d.ts.map +0 -1
  182. package/dist/shims/async_hooks.d.ts.map +0 -1
  183. package/dist/shims/child_process.d.ts.map +0 -1
  184. package/dist/shims/cluster.d.ts.map +0 -1
  185. package/dist/shims/command-line.d.ts.map +0 -1
  186. package/dist/shims/constants.d.ts.map +0 -1
  187. package/dist/shims/crypto-constants.d.ts.map +0 -1
  188. package/dist/shims/crypto.d.ts.map +0 -1
  189. package/dist/shims/dgram.d.ts.map +0 -1
  190. package/dist/shims/dns.d.ts.map +0 -1
  191. package/dist/shims/domain.d.ts.map +0 -1
  192. package/dist/shims/esbuild.d.ts.map +0 -1
  193. package/dist/shims/fs.d.ts.map +0 -1
  194. package/dist/shims/http2.d.ts.map +0 -1
  195. package/dist/shims/inspector.d.ts.map +0 -1
  196. package/dist/shims/module.d.ts.map +0 -1
  197. package/dist/shims/os.d.ts.map +0 -1
  198. package/dist/shims/path.d.ts.map +0 -1
  199. package/dist/shims/perf_hooks.d.ts.map +0 -1
  200. package/dist/shims/process.d.ts.map +0 -1
  201. package/dist/shims/rollup.d.ts.map +0 -1
  202. package/dist/shims/string_decoder.d.ts.map +0 -1
  203. package/dist/shims/sync-child.d.ts.map +0 -1
  204. package/dist/shims/tls.d.ts.map +0 -1
  205. package/dist/shims/url.d.ts.map +0 -1
  206. package/dist/shims/v8.d.ts.map +0 -1
  207. package/dist/shims/vfs-adapter.d.ts.map +0 -1
  208. package/dist/shims/vm.d.ts.map +0 -1
  209. package/dist/shims/wasi.d.ts.map +0 -1
  210. package/dist/shims/worker_threads.d.ts.map +0 -1
  211. package/dist/shims/zlib-constants.d.ts.map +0 -1
  212. package/dist/shims/zlib.d.ts.map +0 -1
  213. package/dist/transform.d.ts.map +0 -1
  214. package/dist/types/package-json.d.ts.map +0 -1
  215. package/dist/utils/binary-encoding.d.ts.map +0 -1
  216. package/dist/utils/glob.d.ts.map +0 -1
  217. package/dist/utils/hash.d.ts.map +0 -1
  218. package/dist/virtual-fs.d.ts.map +0 -1
  219. package/dist/vite-plugin.cjs +0 -50
  220. package/dist/vite-plugin.cjs.map +0 -1
  221. package/dist/vite-plugin.d.ts.map +0 -1
  222. package/dist/vite-plugin.mjs.map +0 -1
  223. package/dist/worker/runtime-worker.d.ts.map +0 -1
  224. package/dist/worker-runtime.d.ts.map +0 -1
@@ -18,4 +18,3 @@ export { __cjsExports };
18
18
  */
19
19
  export declare function __substrateHasEsmSyntax(code: string): boolean;
20
20
  export declare function transformEsmToCjsSimple(code: string): string;
21
- //# sourceMappingURL=code-transforms.d.ts.map
@@ -9,4 +9,3 @@ export declare const ESBUILD_WASM_ESM_CDN = "https://esm.sh/esbuild-wasm@0.20.0"
9
9
  export declare const ESBUILD_WASM_BINARY_CDN = "https://unpkg.com/esbuild-wasm@0.20.0/esbuild.wasm";
10
10
  export declare const ESBUILD_WASM_BROWSER_CDN = "https://unpkg.com/esbuild-wasm@0.20.0/esm/browser.min.js";
11
11
  export declare const ROLLUP_BROWSER_CDN = "https://esm.sh/@rollup/browser@4.63.1";
12
- //# sourceMappingURL=cdn.d.ts.map
@@ -19,4 +19,3 @@ export declare function createRuntime(vfs: VirtualFS, options?: CreateRuntimeOpt
19
19
  export { Runtime } from './runtime';
20
20
  export { WorkerRuntime } from './worker-runtime';
21
21
  export type { IRuntime, IExecuteResult, IRuntimeOptions, CreateRuntimeOptions, VFSSnapshot, } from './runtime-interface';
22
- //# sourceMappingURL=create-runtime.d.ts.map
@@ -59,4 +59,3 @@ export declare function restoreHostGlobals(): void;
59
59
  export declare function heldWork(): {
60
60
  count: number;
61
61
  };
62
- //# sourceMappingURL=host-globals.d.ts.map
package/dist/index.d.ts CHANGED
@@ -124,4 +124,3 @@ export declare function createContainer(options?: ContainerOptions): {
124
124
  export default createContainer;
125
125
  export { createNodeResolver } from './node-resolution';
126
126
  export type { ResolutionFs, ExportsResolver, NodeResolverOptions, NodeResolver } from './node-resolution';
127
- //# sourceMappingURL=index.d.ts.map
package/dist/index.mjs CHANGED
@@ -16648,10 +16648,17 @@ var implementation$1 = function bind2(that) {
16648
16648
  var implementation = implementation$1;
16649
16649
  var functionBind = Function.prototype.bind || implementation;
16650
16650
  var functionCall = Function.prototype.call;
16651
- var functionApply = Function.prototype.apply;
16651
+ var functionApply;
16652
+ var hasRequiredFunctionApply;
16653
+ function requireFunctionApply() {
16654
+ if (hasRequiredFunctionApply) return functionApply;
16655
+ hasRequiredFunctionApply = 1;
16656
+ functionApply = Function.prototype.apply;
16657
+ return functionApply;
16658
+ }
16652
16659
  var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
16653
16660
  var bind$2 = functionBind;
16654
- var $apply$1 = functionApply;
16661
+ var $apply$1 = requireFunctionApply();
16655
16662
  var $call$2 = functionCall;
16656
16663
  var $reflectApply = reflectApply;
16657
16664
  var actualApply = $reflectApply || bind$2.call($call$2, $apply$1);
@@ -16771,7 +16778,7 @@ var hasSymbols = requireHasSymbols()();
16771
16778
  var getProto = requireGetProto();
16772
16779
  var $ObjectGPO = requireObject_getPrototypeOf();
16773
16780
  var $ReflectGPO = requireReflect_getPrototypeOf();
16774
- var $apply = functionApply;
16781
+ var $apply = requireFunctionApply();
16775
16782
  var $call = functionCall;
16776
16783
  var needsEval = {};
16777
16784
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
@@ -17412,7 +17419,7 @@ function requireApplyBind() {
17412
17419
  if (hasRequiredApplyBind) return applyBind;
17413
17420
  hasRequiredApplyBind = 1;
17414
17421
  var bind3 = functionBind;
17415
- var $apply2 = functionApply;
17422
+ var $apply2 = requireFunctionApply();
17416
17423
  var actualApply$1 = actualApply;
17417
17424
  applyBind = function applyBind2() {
17418
17425
  return actualApply$1(bind3, $apply2, arguments);
@@ -33779,7 +33786,7 @@ class WorkerRuntime {
33779
33786
  this.worker = new Worker(
33780
33787
  new URL(
33781
33788
  /* @vite-ignore */
33782
- "/assets/runtime-worker-4MKaHFVb.js",
33789
+ "/assets/runtime-worker-BcDCBbhG.js",
33783
33790
  import.meta.url
33784
33791
  ),
33785
33792
  { type: "module" }
@@ -36017,4 +36024,3 @@ export {
36017
36024
  utilModule as util,
36018
36025
  workerThreadsShim as worker_threads
36019
36026
  };
36020
- //# sourceMappingURL=index.mjs.map
@@ -65,4 +65,3 @@ export declare class ERR_STRING_TOO_LONG extends RangeError {
65
65
  export declare function validateNumber(value: unknown, name: string): void;
66
66
  export declare function validateUndefined(value: unknown, name: string): void;
67
67
  export declare function validateInt32(value: unknown, name: string, min?: number, max?: number): void;
68
- //# sourceMappingURL=node-internals.d.ts.map
@@ -9,4 +9,3 @@ declare const _default: {
9
9
  createBlobFromFilePath: typeof createBlobFromFilePath;
10
10
  };
11
11
  export default _default;
12
- //# sourceMappingURL=blob.d.ts.map
@@ -141,4 +141,3 @@ declare const _default: {
141
141
  createFromString: typeof createFromString;
142
142
  };
143
143
  export default _default;
144
- //# sourceMappingURL=buffer.d.ts.map
@@ -11,4 +11,3 @@ declare const _default: {
11
11
  convertIpv6StringToBuffer: typeof convertIpv6StringToBuffer;
12
12
  };
13
13
  export default _default;
14
- //# sourceMappingURL=cares_wrap.d.ts.map
@@ -27,4 +27,3 @@ export declare function handleForFd(fd: number): unknown;
27
27
  export declare function releaseFd(fd: number): void;
28
28
  /** libuv's `uv_guess_handle`. */
29
29
  export declare function guessHandleTypeOfFd(fd: number): HandleType;
30
- //# sourceMappingURL=fds.d.ts.map
@@ -154,4 +154,3 @@ export declare const fsBinding: {
154
154
  ftruncate(fd: number, length: number, req?: FSReq): undefined;
155
155
  };
156
156
  export default fsBinding;
157
- //# sourceMappingURL=fs.d.ts.map
@@ -78,4 +78,3 @@ export declare function __releaseOwnedHandles(token: ProcessToken): void;
78
78
  * through the move, as Node's does.
79
79
  */
80
80
  export declare function __adoptHandle(handle: OwnedHandle | null | undefined, token: ProcessToken | null): void;
81
- //# sourceMappingURL=handles.d.ts.map
@@ -119,4 +119,3 @@ export declare const httpParserBinding: {
119
119
  readonly allMethods: string[];
120
120
  };
121
121
  export default httpParserBinding;
122
- //# sourceMappingURL=http_parser.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export declare function nodeLibBinding(name: string): (() => unknown) | undefined;
2
2
  export { __ownedHandleCount, __releaseOwnedHandles, __adoptHandle, currentOwner, } from './handles';
3
- //# sourceMappingURL=index.d.ts.map
@@ -19,4 +19,3 @@
19
19
  * needing.
20
20
  */
21
21
  export declare const LLHTTP_WASM_BASE64: string;
22
- //# sourceMappingURL=llhttp-wasm.d.ts.map
@@ -120,4 +120,3 @@ export declare const messagingBinding: {
120
120
  export declare const errorsBinding: {
121
121
  triggerUncaughtException: (error: unknown, fromPromise?: boolean) => void;
122
122
  };
123
- //# sourceMappingURL=misc.d.ts.map
@@ -81,4 +81,3 @@ declare const _default: {
81
81
  };
82
82
  };
83
83
  export default _default;
84
- //# sourceMappingURL=pipe_wrap.d.ts.map
@@ -170,4 +170,3 @@ declare const _default: {
170
170
  Process: typeof Process;
171
171
  };
172
172
  export default _default;
173
- //# sourceMappingURL=process_wrap.d.ts.map
@@ -27,4 +27,3 @@ declare const _default: {
27
27
  spawn: typeof spawn;
28
28
  };
29
29
  export default _default;
30
- //# sourceMappingURL=spawn_sync.d.ts.map
@@ -188,4 +188,3 @@ declare const _default: {
188
188
  kLastWriteWasAsync: number;
189
189
  };
190
190
  export default _default;
191
- //# sourceMappingURL=stream_wrap.d.ts.map
@@ -20,4 +20,3 @@ export declare const udpWrapBinding: {
20
20
  export declare const httpParserBinding: {
21
21
  HTTPParser: typeof HTTPParser;
22
22
  };
23
- //# sourceMappingURL=stubs.d.ts.map
@@ -95,4 +95,3 @@ declare const _default: {
95
95
  };
96
96
  };
97
97
  export default _default;
98
- //# sourceMappingURL=tcp_wrap.d.ts.map
@@ -33,4 +33,3 @@ declare const _default: {
33
33
  isTTY: typeof isTTY;
34
34
  };
35
35
  export default _default;
36
- //# sourceMappingURL=tty_wrap.d.ts.map
@@ -123,4 +123,3 @@ export declare const utilBinding: {
123
123
  sleep: (milliseconds: number) => void;
124
124
  };
125
125
  export default utilBinding;
126
- //# sourceMappingURL=util.d.ts.map
@@ -29,4 +29,3 @@ export declare const UV_EACCES: number;
29
29
  export declare const UV_ENOBUFS: number;
30
30
  export declare const UV_ESRCH: number;
31
31
  export default uvBinding;
32
- //# sourceMappingURL=uv.d.ts.map
@@ -19,4 +19,3 @@ export declare const zlibConstants: Record<string, number> & {
19
19
  messages: Record<number, string>;
20
20
  crc32: (crc: number, buffer: Uint8Array, length: number, position: number) => number;
21
21
  };
22
- //# sourceMappingURL=zlib-pako.d.ts.map
@@ -35,4 +35,3 @@ export declare const zlibBinding: {
35
35
  crc32: (data: Uint8Array | string, value?: number) => number;
36
36
  };
37
37
  export default zlibBinding;
38
- //# sourceMappingURL=zlib.d.ts.map
@@ -48,4 +48,3 @@ export declare const bufferModule: BufferModule;
48
48
  export type NodeBuffer = Buffer;
49
49
  export declare const Buffer: BufferConstructor;
50
50
  export default bufferModule;
51
- //# sourceMappingURL=buffer-module.d.ts.map
@@ -23,4 +23,3 @@ export interface ChannelControl {
23
23
  unrefCounted(): void;
24
24
  }
25
25
  export declare function setupChannel(target: unknown, channel: unknown, serializationMode: string): ChannelControl;
26
- //# sourceMappingURL=child-process-module.d.ts.map
@@ -55,4 +55,3 @@ export declare const EventEmitter: new (options?: {
55
55
  */
56
56
  export declare const eventsModule: EventsModule;
57
57
  export default eventsModule;
58
- //# sourceMappingURL=events-module.d.ts.map
@@ -2,4 +2,3 @@ export declare const fsModule: Record<string, unknown>;
2
2
  export declare const fsPromisesModule: Record<string, unknown>;
3
3
  export declare function fsModuleFor(process: object): unknown;
4
4
  export default fsModule;
5
- //# sourceMappingURL=fs-module.d.ts.map
@@ -40,4 +40,3 @@ export interface UpgradeResult {
40
40
  * onto this end, because they are the first frame.
41
41
  */
42
42
  export declare function __upgradeOverLoopback(port: number, method: string, url: string, headers: Record<string, string>): Promise<UpgradeResult>;
43
- //# sourceMappingURL=http-bridge.d.ts.map
@@ -32,4 +32,3 @@ export declare const httpServerModule: Record<string, unknown>;
32
32
  export declare const httpClientModule: Record<string, unknown>;
33
33
  export declare const httpAgentModule: Record<string, unknown>;
34
34
  export default httpModule;
35
- //# sourceMappingURL=http-module.d.ts.map
@@ -37,4 +37,3 @@ export declare const internalSocketAddress: {
37
37
  export declare const internalBlockList: {
38
38
  BlockList: typeof BlockList;
39
39
  };
40
- //# sourceMappingURL=addresses.d.ts.map
@@ -93,4 +93,3 @@ export declare const internalWebStreamsAdapters: {
93
93
  newStreamDuplexFromReadableWritablePair: typeof newStreamDuplexFromReadableWritablePair;
94
94
  };
95
95
  export {};
96
- //# sourceMappingURL=buffer-and-streams.d.ts.map
@@ -24,4 +24,3 @@ export declare const internalDgram: {
24
24
  kStateSymbol: symbol;
25
25
  };
26
26
  export {};
27
- //# sourceMappingURL=child-process.d.ts.map
@@ -80,4 +80,3 @@ export declare const internalJsTransferable: {
80
80
  kClone: symbol;
81
81
  setDeserializerCreateObjectFunction: () => void;
82
82
  };
83
- //# sourceMappingURL=events-util.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function nodeLibInternal(name: string): (() => unknown) | undefined;
2
- //# sourceMappingURL=index.d.ts.map
@@ -64,4 +64,3 @@ export declare const internalEncoding: {
64
64
  readonly TextDecoder: unknown;
65
65
  readonly TextEncoder: unknown;
66
66
  };
67
- //# sourceMappingURL=modules.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function readlineModule(): Record<string, unknown>;
2
- //# sourceMappingURL=readline-access.d.ts.map
@@ -147,4 +147,3 @@ export declare const internalPermission: {
147
147
  has: () => boolean;
148
148
  availableFlags: () => string[];
149
149
  };
150
- //# sourceMappingURL=runtime.d.ts.map
@@ -30,4 +30,3 @@
30
30
  export declare const recordedProxies: WeakSet<object>;
31
31
  /** `internal/util/types`, which is `util.types`. */
32
32
  export declare const internalUtilTypes: Record<string, (value: unknown) => boolean>;
33
- //# sourceMappingURL=util.d.ts.map
@@ -28,4 +28,3 @@ export declare function lazyModule<T extends object>(name: string): T;
28
28
  * constructible, and the same object to `instanceof` as the real one.
29
29
  */
30
30
  export declare function lazyExport<T>(name: string, key: string): T;
31
- //# sourceMappingURL=lazy.d.ts.map
@@ -24,4 +24,3 @@ export declare function loadNodeLibFor(owner: object, name: string): unknown;
24
24
  * in its temporal dead zone and the engine failed to load at all.
25
25
  */
26
26
  export declare function nodeLibInternalRequire(specifier: string): unknown;
27
- //# sourceMappingURL=load.d.ts.map
@@ -86,4 +86,3 @@ export declare class RunModuleHooks {
86
86
  }
87
87
  export { CJS_CONDITIONS, ESM_CONDITIONS };
88
88
  export type { ResolveContext, LoadContext };
89
- //# sourceMappingURL=module-hooks.d.ts.map
@@ -178,4 +178,3 @@ export declare function __bridgeConnection(local: AddressInfo, remote: AddressIn
178
178
  socket: Socket;
179
179
  bridge: BridgeEnd;
180
180
  };
181
- //# sourceMappingURL=net-module.d.ts.map
@@ -24,4 +24,3 @@ export declare function nodeVersions(node?: string): {
24
24
  webcontainer: string;
25
25
  openssl: string;
26
26
  };
27
- //# sourceMappingURL=node-versions.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function nodeLibPublic(name: string): (() => unknown) | undefined;
2
- //# sourceMappingURL=public-modules.d.ts.map
@@ -12,4 +12,3 @@ export type LibRequire = (specifier: string) => unknown;
12
12
  export declare function setLibRequire(lib: LibRequire): void;
13
13
  /** A vendored Node file, by the name Node's own `require` calls it. */
14
14
  export declare function libRequire(specifier: string): unknown;
15
- //# sourceMappingURL=require-hook.d.ts.map
@@ -13,4 +13,3 @@ export declare const readlineModule: Record<string, unknown>;
13
13
  export declare const readlinePromisesModule: Record<string, unknown>;
14
14
  /** `zlib`, on zlib's own inflate and deflate. */
15
15
  export declare const zlibModule: Record<string, unknown>;
16
- //# sourceMappingURL=small-modules.d.ts.map
@@ -1,4 +1,3 @@
1
- /** The Node the vendored files come from, reported in `FORK.md`'s table. */
1
+ /** The Node the vendored files come from, reported in `BUILTINS.md`. */
2
2
  export declare const NODE_LIB_VERSION = "v22.18.0";
3
3
  export declare const NODE_LIB_SOURCES: Record<string, string>;
4
- //# sourceMappingURL=sources.d.ts.map
@@ -74,4 +74,3 @@ export declare const promises: Record<string, unknown>;
74
74
  export declare const streamPromisesModule: Record<string, unknown>;
75
75
  /** Node's `stream` module object IS the `Stream` class, as `stream.js` exports it. */
76
76
  export default streamModule;
77
- //# sourceMappingURL=stream-module.d.ts.map
@@ -16,4 +16,3 @@
16
16
  export declare function nodeTimeout(id: unknown): unknown;
17
17
  /** The realm's own id inside a {@link nodeTimeout}, for the clear that takes one. */
18
18
  export declare function timerHandleOf(id: unknown): unknown;
19
- //# sourceMappingURL=timers.d.ts.map
@@ -73,4 +73,3 @@ export declare const inspect: ((value: unknown, options?: InspectOptions) => str
73
73
  };
74
74
  export declare const format: (...args: unknown[]) => string;
75
75
  export default utilModule;
76
- //# sourceMappingURL=util-module.d.ts.map
@@ -47,4 +47,3 @@ export interface NodeResolver {
47
47
  resolve(specifier: string, fromDir: string): string | null;
48
48
  }
49
49
  export declare function createNodeResolver(options: NodeResolverOptions): NodeResolver;
50
- //# sourceMappingURL=node-resolution.d.ts.map
@@ -4,4 +4,3 @@ import { type NodeResolver, type ResolutionFs } from './node-resolution';
4
4
  * does, module and import entries first and TypeScript sources.
5
5
  */
6
6
  export declare function __nodeResolverFor(fs: ResolutionFs, profile: 'runtime' | 'bundler', extensions?: readonly string[]): NodeResolver;
7
- //# sourceMappingURL=node-resolver.d.ts.map
@@ -70,4 +70,3 @@ export type { RegistryOptions, PackageVersion, PackageManifest } from './registr
70
70
  export type { ResolvedPackage, ResolveOptions } from './resolver';
71
71
  export type { ExtractOptions } from './tarball';
72
72
  export { parsePackageSpec };
73
- //# sourceMappingURL=index.d.ts.map
@@ -108,4 +108,3 @@ export declare class Registry {
108
108
  export declare function encodePackageName(name: string): string;
109
109
  export declare const registry: Registry;
110
110
  export default Registry;
111
- //# sourceMappingURL=registry.d.ts.map
@@ -76,4 +76,3 @@ export declare function resolveFromPackageJson(packageJson: {
76
76
  devDependencies?: Record<string, string>;
77
77
  }, options?: ResolveOptions): Promise<Map<string, ResolvedPackage>>;
78
78
  export { parseVersion, compareVersions, satisfies, findBestVersion };
79
- //# sourceMappingURL=resolver.d.ts.map
@@ -25,4 +25,3 @@ declare const _default: {
25
25
  downloadAndExtract: typeof downloadAndExtract;
26
26
  };
27
27
  export default _default;
28
- //# sourceMappingURL=tarball.d.ts.map
@@ -74,4 +74,3 @@ export declare function processByPid(pid: number): {
74
74
  pid: number;
75
75
  ppid: number;
76
76
  } | undefined;
77
- //# sourceMappingURL=process-tokens.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export declare const PUNYCODE_VERSION = "2.3.1";
2
2
  export declare const PUNYCODE_SOURCE = "'use strict';\n\n/** Highest positive signed 32-bit float value */\nconst maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\n\n/** Bootstring parameters */\nconst base = 36;\nconst tMin = 1;\nconst tMax = 26;\nconst skew = 38;\nconst damp = 700;\nconst initialBias = 72;\nconst initialN = 128; // 0x80\nconst delimiter = '-'; // '\\x2D'\n\n/** Regular expressions */\nconst regexPunycode = /^xn--/;\nconst regexNonASCII = /[^\\0-\\x7F]/; // Note: U+007F DEL is excluded too.\nconst regexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\n\n/** Error messages */\nconst errors = {\n\t'overflow': 'Overflow: input needs wider integers to process',\n\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t'invalid-input': 'Invalid input'\n};\n\n/** Convenience shortcuts */\nconst baseMinusTMin = base - tMin;\nconst floor = Math.floor;\nconst stringFromCharCode = String.fromCharCode;\n\n/*--------------------------------------------------------------------------*/\n\n/**\n * A generic error utility function.\n * @private\n * @param {String} type The error type.\n * @returns {Error} Throws a `RangeError` with the applicable error message.\n */\nfunction error(type) {\n\tthrow new RangeError(errors[type]);\n}\n\n/**\n * A generic `Array#map` utility function.\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} callback The function that gets called for every array\n * item.\n * @returns {Array} A new array of values returned by the callback function.\n */\nfunction map(array, callback) {\n\tconst result = [];\n\tlet length = array.length;\n\twhile (length--) {\n\t\tresult[length] = callback(array[length]);\n\t}\n\treturn result;\n}\n\n/**\n * A simple `Array#map`-like wrapper to work with domain name strings or email\n * addresses.\n * @private\n * @param {String} domain The domain name or email address.\n * @param {Function} callback The function that gets called for every\n * character.\n * @returns {String} A new string of characters returned by the callback\n * function.\n */\nfunction mapDomain(domain, callback) {\n\tconst parts = domain.split('@');\n\tlet result = '';\n\tif (parts.length > 1) {\n\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t// the local part (i.e. everything up to `@`) intact.\n\t\tresult = parts[0] + '@';\n\t\tdomain = parts[1];\n\t}\n\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\tdomain = domain.replace(regexSeparators, '\\x2E');\n\tconst labels = domain.split('.');\n\tconst encoded = map(labels, callback).join('.');\n\treturn result + encoded;\n}\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n * @see `punycode.ucs2.encode`\n * @see <https://mathiasbynens.be/notes/javascript-encoding>\n * @memberOf punycode.ucs2\n * @name decode\n * @param {String} string The Unicode input string (UCS-2).\n * @returns {Array} The new array of code points.\n */\nfunction ucs2decode(string) {\n\tconst output = [];\n\tlet counter = 0;\n\tconst length = string.length;\n\twhile (counter < length) {\n\t\tconst value = string.charCodeAt(counter++);\n\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t// It's a high surrogate, and there is a next character.\n\t\t\tconst extra = string.charCodeAt(counter++);\n\t\t\tif ((extra & 0xFC00) == 0xDC00) { // Low surrogate.\n\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t} else {\n\t\t\t\t// It's an unmatched surrogate; only append this code unit, in case the\n\t\t\t\t// next code unit is the high surrogate of a surrogate pair.\n\t\t\t\toutput.push(value);\n\t\t\t\tcounter--;\n\t\t\t}\n\t\t} else {\n\t\t\toutput.push(value);\n\t\t}\n\t}\n\treturn output;\n}\n\n/**\n * Creates a string based on an array of numeric code points.\n * @see `punycode.ucs2.decode`\n * @memberOf punycode.ucs2\n * @name encode\n * @param {Array} codePoints The array of numeric code points.\n * @returns {String} The new Unicode string (UCS-2).\n */\nconst ucs2encode = codePoints => String.fromCodePoint(...codePoints);\n\n/**\n * Converts a basic code point into a digit/integer.\n * @see `digitToBasic()`\n * @private\n * @param {Number} codePoint The basic numeric code point value.\n * @returns {Number} The numeric value of a basic code point (for use in\n * representing integers) in the range `0` to `base - 1`, or `base` if\n * the code point does not represent a value.\n */\nconst basicToDigit = function(codePoint) {\n\tif (codePoint >= 0x30 && codePoint < 0x3A) {\n\t\treturn 26 + (codePoint - 0x30);\n\t}\n\tif (codePoint >= 0x41 && codePoint < 0x5B) {\n\t\treturn codePoint - 0x41;\n\t}\n\tif (codePoint >= 0x61 && codePoint < 0x7B) {\n\t\treturn codePoint - 0x61;\n\t}\n\treturn base;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n * @see `basicToDigit()`\n * @private\n * @param {Number} digit The numeric value of a basic code point.\n * @returns {Number} The basic code point whose value (when used for\n * representing integers) is `digit`, which needs to be in the range\n * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n * used; else, the lowercase form is used. The behavior is undefined\n * if `flag` is non-zero and `digit` has no uppercase form.\n */\nconst digitToBasic = function(digit, flag) {\n\t// 0..25 map to ASCII a..z or A..Z\n\t// 26..35 map to ASCII 0..9\n\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n * @private\n */\nconst adapt = function(delta, numPoints, firstTime) {\n\tlet k = 0;\n\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\tdelta += floor(delta / numPoints);\n\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\tdelta = floor(delta / baseMinusTMin);\n\t}\n\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n * symbols.\n * @memberOf punycode\n * @param {String} input The Punycode string of ASCII-only symbols.\n * @returns {String} The resulting string of Unicode symbols.\n */\nconst decode = function(input) {\n\t// Don't use UCS-2.\n\tconst output = [];\n\tconst inputLength = input.length;\n\tlet i = 0;\n\tlet n = initialN;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points: let `basic` be the number of input code\n\t// points before the last delimiter, or `0` if there is none, then copy\n\t// the first basic code points to the output.\n\n\tlet basic = input.lastIndexOf(delimiter);\n\tif (basic < 0) {\n\t\tbasic = 0;\n\t}\n\n\tfor (let j = 0; j < basic; ++j) {\n\t\t// if it's not a basic code point\n\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\terror('not-basic');\n\t\t}\n\t\toutput.push(input.charCodeAt(j));\n\t}\n\n\t// Main decoding loop: start just after the last delimiter if any basic code\n\t// points were copied; start at the beginning otherwise.\n\n\tfor (let index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t// `index` is the index of the next character to be consumed.\n\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t// which gets added to `i`. The overflow checking is easier\n\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t// value at the end to obtain `delta`.\n\t\tconst oldi = i;\n\t\tfor (let w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\tif (index >= inputLength) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\n\t\t\tconst digit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\tif (digit >= base) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\t\t\tif (digit > floor((maxInt - i) / w)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\ti += digit * w;\n\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\tif (digit < t) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tconst baseMinusT = base - t;\n\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tw *= baseMinusT;\n\n\t\t}\n\n\t\tconst out = output.length + 1;\n\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t// incrementing `n` each time, so we'll fix that now:\n\t\tif (floor(i / out) > maxInt - n) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tn += floor(i / out);\n\t\ti %= out;\n\n\t\t// Insert `n` at position `i` of the output.\n\t\toutput.splice(i++, 0, n);\n\n\t}\n\n\treturn String.fromCodePoint(...output);\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n * @memberOf punycode\n * @param {String} input The string of Unicode symbols.\n * @returns {String} The resulting Punycode string of ASCII-only symbols.\n */\nconst encode = function(input) {\n\tconst output = [];\n\n\t// Convert the input in UCS-2 to an array of Unicode code points.\n\tinput = ucs2decode(input);\n\n\t// Cache the length.\n\tconst inputLength = input.length;\n\n\t// Initialize the state.\n\tlet n = initialN;\n\tlet delta = 0;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points.\n\tfor (const currentValue of input) {\n\t\tif (currentValue < 0x80) {\n\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t}\n\t}\n\n\tconst basicLength = output.length;\n\tlet handledCPCount = basicLength;\n\n\t// `handledCPCount` is the number of code points that have been handled;\n\t// `basicLength` is the number of basic code points.\n\n\t// Finish the basic string with a delimiter unless it's empty.\n\tif (basicLength) {\n\t\toutput.push(delimiter);\n\t}\n\n\t// Main encoding loop:\n\twhile (handledCPCount < inputLength) {\n\n\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t// larger one:\n\t\tlet m = maxInt;\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\tm = currentValue;\n\t\t\t}\n\t\t}\n\n\t\t// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,\n\t\t// but guard against overflow.\n\t\tconst handledCPCountPlusOne = handledCPCount + 1;\n\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\tn = m;\n\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\t\t\tif (currentValue === n) {\n\t\t\t\t// Represent delta as a generalized variable-length integer.\n\t\t\t\tlet q = delta;\n\t\t\t\tfor (let k = base; /* no condition */; k += base) {\n\t\t\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tconst qMinusT = q - t;\n\t\t\t\t\tconst baseMinusT = base - t;\n\t\t\t\t\toutput.push(\n\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t);\n\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t}\n\n\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);\n\t\t\t\tdelta = 0;\n\t\t\t\t++handledCPCount;\n\t\t\t}\n\t\t}\n\n\t\t++delta;\n\t\t++n;\n\n\t}\n\treturn output.join('');\n};\n\n/**\n * Converts a Punycode string representing a domain name or an email address\n * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n * it doesn't matter if you call it on a string that has already been\n * converted to Unicode.\n * @memberOf punycode\n * @param {String} input The Punycoded domain name or email address to\n * convert to Unicode.\n * @returns {String} The Unicode representation of the given Punycode\n * string.\n */\nconst toUnicode = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexPunycode.test(string)\n\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t: string;\n\t});\n};\n\n/**\n * Converts a Unicode string representing a domain name or an email address to\n * Punycode. Only the non-ASCII parts of the domain name will be converted,\n * i.e. it doesn't matter if you call it with a domain that's already in\n * ASCII.\n * @memberOf punycode\n * @param {String} input The domain name or email address to convert, as a\n * Unicode string.\n * @returns {String} The Punycode representation of the given domain name or\n * email address.\n */\nconst toASCII = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexNonASCII.test(string)\n\t\t\t? 'xn--' + encode(string)\n\t\t\t: string;\n\t});\n};\n\n/*--------------------------------------------------------------------------*/\n\n/** Define the public API */\nconst punycode = {\n\t/**\n\t * A string representing the current Punycode.js version number.\n\t * @memberOf punycode\n\t * @type String\n\t */\n\t'version': '2.3.1',\n\t/**\n\t * An object of methods to convert from JavaScript's internal character\n\t * representation (UCS-2) to Unicode code points, and back.\n\t * @see <https://mathiasbynens.be/notes/javascript-encoding>\n\t * @memberOf punycode\n\t * @type Object\n\t */\n\t'ucs2': {\n\t\t'decode': ucs2decode,\n\t\t'encode': ucs2encode\n\t},\n\t'decode': decode,\n\t'encode': encode,\n\t'toASCII': toASCII,\n\t'toUnicode': toUnicode\n};\n\nmodule.exports = punycode;\n";
3
- //# sourceMappingURL=punycode-source.d.ts.map
@@ -71,4 +71,3 @@ export interface VFSFileEntry {
71
71
  type: 'file' | 'directory';
72
72
  content?: string;
73
73
  }
74
- //# sourceMappingURL=runtime-interface.d.ts.map
package/dist/runtime.d.ts CHANGED
@@ -141,4 +141,3 @@ export declare function execute(code: string, vfs: VirtualFS, options?: RuntimeO
141
141
  };
142
142
  export type { IRuntime, IExecuteResult, IRuntimeOptions } from './runtime-interface';
143
143
  export default Runtime;
144
- //# sourceMappingURL=runtime.d.ts.map
@@ -144,4 +144,3 @@ export declare function getServerBridge(options?: BridgeOptions): ServerBridge;
144
144
  */
145
145
  export declare function resetServerBridge(): void;
146
146
  export default ServerBridge;
147
- //# sourceMappingURL=server-bridge.d.ts.map
@@ -47,4 +47,3 @@ declare const _default: {
47
47
  triggerAsyncId: typeof triggerAsyncId;
48
48
  };
49
49
  export default _default;
50
- //# sourceMappingURL=async_hooks.d.ts.map
@@ -101,4 +101,3 @@ declare const _default: {
101
101
  sendStdin: typeof sendStdin;
102
102
  };
103
103
  export default _default;
104
- //# sourceMappingURL=child_process.d.ts.map
@@ -49,4 +49,3 @@ declare const _default: {
49
49
  removeListener: (event: string, listener: (...args: any[]) => void) => unknown;
50
50
  };
51
51
  export default _default;
52
- //# sourceMappingURL=cluster.d.ts.map
@@ -40,4 +40,3 @@ export declare function setProgramResolver(resolve: (file: string, cwd?: string)
40
40
  * program and its words, each quoted.
41
41
  */
42
42
  export declare function __substrateLineFor(file: string, argv: string[], cwd?: string): string;
43
- //# sourceMappingURL=command-line.d.ts.map
@@ -219,4 +219,3 @@ type ConstantsBinding = {
219
219
  */
220
220
  export declare function constantsBinding(): ConstantsBinding;
221
221
  export {};
222
- //# sourceMappingURL=constants.d.ts.map
@@ -9,4 +9,3 @@ export declare const cryptoConstants: {
9
9
  RSA_PKCS1_OAEP_PADDING: number;
10
10
  RSA_PKCS1_PSS_PADDING: number;
11
11
  };
12
- //# sourceMappingURL=crypto-constants.d.ts.map
@@ -141,4 +141,3 @@ declare const _default: {
141
141
  createPrivateKey: typeof createPrivateKey;
142
142
  };
143
143
  export default _default;
144
- //# sourceMappingURL=crypto.d.ts.map
@@ -31,4 +31,3 @@ declare const _default: {
31
31
  createSocket: typeof createSocket;
32
32
  };
33
33
  export default _default;
34
- //# sourceMappingURL=dgram.d.ts.map
@@ -88,4 +88,3 @@ declare const _default: {
88
88
  ALL: number;
89
89
  };
90
90
  export default _default;
91
- //# sourceMappingURL=dns.d.ts.map
@@ -22,4 +22,3 @@ declare const _default: {
22
22
  active: null;
23
23
  };
24
24
  export default _default;
25
- //# sourceMappingURL=domain.d.ts.map
@@ -202,4 +202,3 @@ declare const _default: {
202
202
  analyzeMetafile: typeof analyzeMetafile;
203
203
  };
204
204
  export default _default;
205
- //# sourceMappingURL=esbuild.d.ts.map
@@ -22,4 +22,3 @@ export type FsShim = typeof import('node:fs');
22
22
  */
23
23
  export declare function createFsShim(tree: VirtualFS, _getCwd?: () => string): FsShim;
24
24
  export default createFsShim;
25
- //# sourceMappingURL=fs.d.ts.map
@@ -78,4 +78,3 @@ declare const _default: {
78
78
  sensitiveHeaders: symbol;
79
79
  };
80
80
  export default _default;
81
- //# sourceMappingURL=http2.d.ts.map
@@ -22,4 +22,3 @@ declare const _default: {
22
22
  console: Console;
23
23
  };
24
24
  export default _default;
25
- //# sourceMappingURL=inspector.d.ts.map
@@ -19,4 +19,3 @@ export declare const Module: {
19
19
  syncBuiltinESMExports: typeof syncBuiltinESMExports;
20
20
  };
21
21
  export default Module;
22
- //# sourceMappingURL=module.d.ts.map
@@ -156,4 +156,3 @@ declare const _default: {
156
156
  devNull: string;
157
157
  };
158
158
  export default _default;
159
- //# sourceMappingURL=os.d.ts.map
@@ -49,4 +49,3 @@ export declare const format: (pathObject: FormatInputPathObject) => string;
49
49
  export declare const toNamespacedPath: <T>(path: T) => T;
50
50
  export declare const matchesGlob: (path: string, pattern: string) => boolean;
51
51
  export default nodePath;
52
- //# sourceMappingURL=path.d.ts.map
@@ -47,4 +47,3 @@ declare const _default: {
47
47
  monitorEventLoopDelay: typeof monitorEventLoopDelay;
48
48
  };
49
49
  export default _default;
50
- //# sourceMappingURL=perf_hooks.d.ts.map
@@ -223,4 +223,3 @@ export declare function createProcess(options?: {
223
223
  tty?: boolean;
224
224
  }): Process;
225
225
  export {};
226
- //# sourceMappingURL=process.d.ts.map