@scriptc/cli-darwin-x64 0.2.1 → 0.2.3
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/dist/THIRD_PARTY_NOTICES +1 -1
- package/dist/bin/scriptc +0 -0
- package/dist/bin/scriptc.json +1 -1
- package/dist/lib/declarations/scriptc-node-fallback.d.ts +158 -31
- package/dist/lib/llvm/bin/scriptc-llvm-codegen +0 -0
- package/dist/lib/llvm/package.json +1 -1
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_async.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_async_dyn.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_crypto_async.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_dyn_invoke.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_events.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_file_handle.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_qs.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_util_compare.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/default/scr_util_style.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_async.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_async_dyn.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_crypto_async.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_dyn_invoke.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_events.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_file_handle.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_island.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_qs.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_util_compare.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_util_style.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic/scr_web.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic-text-decoder-legacy/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/text-decoder-legacy/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_dyn_invoke.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/text-decoder-legacy/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_dyn_invoke.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/text-decoder-legacy/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_dyn_invoke.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/text-decoder-legacy/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_dyn_invoke.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/text-decoder-legacy/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_async.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_async_dyn.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_crypto_async.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_dyn_invoke.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_events.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_file_handle.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_qs.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_util_compare.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/default/scr_util_style.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_async.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_async_dyn.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_crypto_async.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_dyn_invoke.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_events.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_file_handle.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_island.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_qs.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_util_compare.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_util_style.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic/scr_web.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/dynamic-text-decoder-legacy/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/artifacts/release/runtime/text-decoder-legacy/scr_bytes.o +0 -0
- package/dist/lib/runtime-darwin-x64/package.json +1 -1
- package/dist/lib/runtime-darwin-x64/runtime-pack.json +423 -297
- package/dist/lib/runtime-sources/package.json +1 -1
- package/dist/lib/runtime-sources/src/scr_abort.c +5 -0
- package/dist/lib/runtime-sources/src/scr_array.c +5 -0
- package/dist/lib/runtime-sources/src/scr_assert.c +26 -0
- package/dist/lib/runtime-sources/src/scr_async.c +56 -4
- package/dist/lib/runtime-sources/src/scr_async_dyn.c +118 -24
- package/dist/lib/runtime-sources/src/scr_bytes.c +226 -0
- package/dist/lib/runtime-sources/src/scr_bytes_io.c +355 -51
- package/dist/lib/runtime-sources/src/scr_crypto_async.c +22 -2
- package/dist/lib/runtime-sources/src/scr_dyn_invoke.c +181 -43
- package/dist/lib/runtime-sources/src/scr_events.c +9 -0
- package/dist/lib/runtime-sources/src/scr_exception.c +1 -0
- package/dist/lib/runtime-sources/src/scr_fetch.c +45 -1
- package/dist/lib/runtime-sources/src/scr_file_handle.c +42 -0
- package/dist/lib/runtime-sources/src/scr_island.c +2166 -786
- package/dist/lib/runtime-sources/src/scr_island_manifest.h +19 -13
- package/dist/lib/runtime-sources/src/scr_json.c +584 -54
- package/dist/lib/runtime-sources/src/scr_json.test.ts +1 -0
- package/dist/lib/runtime-sources/src/scr_lib.c +1192 -43
- package/dist/lib/runtime-sources/src/scr_map.c +8 -0
- package/dist/lib/runtime-sources/src/scr_node_builtin.c +78 -0
- package/dist/lib/runtime-sources/src/scr_qs.c +10 -0
- package/dist/lib/runtime-sources/src/scr_regex.c +107 -5
- package/dist/lib/runtime-sources/src/scr_runtime.h +136 -9
- package/dist/lib/runtime-sources/src/scr_symbol.c +5 -0
- package/dist/lib/runtime-sources/src/scr_system_errors.h +573 -0
- package/dist/lib/runtime-sources/src/scr_text_decoder_labels.h +12 -12
- package/dist/lib/runtime-sources/src/scr_url.c +547 -64
- package/dist/lib/runtime-sources/src/scr_url_internal.h +6 -0
- package/dist/lib/runtime-sources/src/scr_url_params.c +10 -0
- package/dist/lib/runtime-sources/src/scr_util_compare.c +222 -0
- package/dist/lib/runtime-sources/src/scr_util_style.c +337 -0
- package/dist/lib/runtime-sources/src/scr_web.c +849 -264
- package/package.json +1 -1
package/dist/THIRD_PARTY_NOTICES
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
scriptc 0.2.
|
|
1
|
+
scriptc 0.2.3 includes the existing TypeScript 7.0.2, LLVM, and C runtime dependencies.
|
|
2
2
|
TypeScript licensing: lib/typescript/LICENSE and lib/typescript/NOTICE.txt.
|
|
3
3
|
LLVM licensing and notices: lib/llvm/LICENSE and lib/llvm/THIRD_PARTY_NOTICES.
|
|
4
4
|
Runtime dependency licenses: lib/runtime-sources/vendor/*/LICENSE*.
|
package/dist/bin/scriptc
CHANGED
|
Binary file
|
package/dist/bin/scriptc.json
CHANGED
|
@@ -201,6 +201,7 @@ declare var process: {
|
|
|
201
201
|
umask(mask?: number): number;
|
|
202
202
|
/* chdir(2) — failures throw Node's fs-shaped catchable error. */
|
|
203
203
|
chdir(directory: string): void;
|
|
204
|
+
loadEnvFile(path?: string | URL | Uint8Array): void;
|
|
204
205
|
/* The extra CLI arguments Node itself consumed (--expose-internals,
|
|
205
206
|
* ...): a compiled binary consumed none, so this is always []. */
|
|
206
207
|
readonly execArgv: string[];
|
|
@@ -1098,7 +1099,18 @@ declare module "node:fs" {
|
|
|
1098
1099
|
export function chmodSync(path: string, mode: number): void;
|
|
1099
1100
|
export function fchmodSync(fd: number, mode: number): void;
|
|
1100
1101
|
export function fsyncSync(fd: number): void;
|
|
1101
|
-
export function linkSync(existingPath: string, newPath: string): void;
|
|
1102
|
+
export function linkSync(existingPath: string | Uint8Array | URL, newPath: string | Uint8Array | URL): void;
|
|
1103
|
+
export function symlinkSync(target: string | Uint8Array | URL, path: string | Uint8Array | URL, type?: string | null): void;
|
|
1104
|
+
export function symlink(target: string | Uint8Array | URL, path: string | Uint8Array | URL, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
|
1105
|
+
export function symlink(target: string | Uint8Array | URL, path: string | Uint8Array | URL, type: string | null | undefined, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
|
1106
|
+
export function link(existingPath: string | Uint8Array | URL, newPath: string | Uint8Array | URL, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
|
1107
|
+
export function readlink(path: string | Uint8Array | URL, callback: (err: NodeJS.ErrnoException | null, target: string) => void): void;
|
|
1108
|
+
export function readlink(path: string | Uint8Array | URL, options: "buffer" | { encoding: "buffer" }, callback: (err: NodeJS.ErrnoException | null, target: Buffer) => void): void;
|
|
1109
|
+
export function readlink(path: string | Uint8Array | URL, options: BufferEncoding | { encoding?: BufferEncoding | null } | null, callback: (err: NodeJS.ErrnoException | null, target: string) => void): void;
|
|
1110
|
+
export function readlink(path: string | Uint8Array | URL, options: string | { encoding?: string | null } | null, callback: (err: NodeJS.ErrnoException | null, target: string | Buffer) => void): void;
|
|
1111
|
+
export function readlinkSync(path: string | Uint8Array | URL, options: "buffer" | { encoding: "buffer" }): Buffer;
|
|
1112
|
+
export function readlinkSync(path: string | Uint8Array | URL, options?: BufferEncoding | { encoding?: BufferEncoding | null } | null): string;
|
|
1113
|
+
export function readlinkSync(path: string | Uint8Array | URL, options: string | { encoding?: string | null } | null): string | Buffer;
|
|
1102
1114
|
export function chownSync(path: string, uid: number, gid: number): void;
|
|
1103
1115
|
/* The 2-argument form only (Node's mode flags have no lowering). The
|
|
1104
1116
|
* destination is created or truncated carrying the SOURCE's mode. */
|
|
@@ -1172,6 +1184,16 @@ declare module "node:fs" {
|
|
|
1172
1184
|
export function openSync(path: string, flags: string): number;
|
|
1173
1185
|
export function openSync(path: string, flags: number, mode?: number): number;
|
|
1174
1186
|
export function closeSync(fd: number): void;
|
|
1187
|
+
export function fdatasyncSync(fd: number): void;
|
|
1188
|
+
export function ftruncateSync(fd: number, len?: number): void;
|
|
1189
|
+
export function utimesSync(path: string | Uint8Array | URL, atime: number | string | Date, mtime: number | string | Date): void;
|
|
1190
|
+
export function futimesSync(fd: number, atime: number | string | Date, mtime: number | string | Date): void;
|
|
1191
|
+
export function lutimesSync(path: string | Uint8Array | URL, atime: number | string | Date, mtime: number | string | Date): void;
|
|
1192
|
+
export function utimes(path: string | Uint8Array | URL, atime: number | string | Date, mtime: number | string | Date, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
|
1193
|
+
export function futimes(fd: number, atime: number | string | Date, mtime: number | string | Date, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
|
1194
|
+
export function lutimes(path: string | Uint8Array | URL, atime: number | string | Date, mtime: number | string | Date, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
|
1195
|
+
export function readvSync(fd: number, buffers: Uint8Array[], position?: number | null): number;
|
|
1196
|
+
export function writevSync(fd: number, buffers: Uint8Array[], position?: number | null): number;
|
|
1175
1197
|
/* Read into a caller buffer from the fd's current position when position
|
|
1176
1198
|
* is omitted/null, or from a numeric byte position without advancing the
|
|
1177
1199
|
* fd. Answers the byte count, 0 at EOF. */
|
|
@@ -1203,16 +1225,25 @@ declare module "node:fs" {
|
|
|
1203
1225
|
}
|
|
1204
1226
|
/* statfs(2)/statvfs(3) — the filesystem-capacity snapshot (the fields
|
|
1205
1227
|
* Node's statfsSync reports; bavail × bsize is the free-space probe). */
|
|
1206
|
-
export interface
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
}
|
|
1215
|
-
export
|
|
1228
|
+
export interface StatsFsBase<T> {
|
|
1229
|
+
type: T;
|
|
1230
|
+
bsize: T;
|
|
1231
|
+
blocks: T;
|
|
1232
|
+
bfree: T;
|
|
1233
|
+
bavail: T;
|
|
1234
|
+
files: T;
|
|
1235
|
+
ffree: T;
|
|
1236
|
+
}
|
|
1237
|
+
export interface StatsFs extends StatsFsBase<number> {}
|
|
1238
|
+
export interface BigIntStatsFs extends StatsFsBase<bigint> {}
|
|
1239
|
+
export interface StatFsOptions { bigint?: boolean; }
|
|
1240
|
+
export function statfsSync(path: string | Uint8Array | URL, options?: StatFsOptions & { bigint?: false }): StatsFs;
|
|
1241
|
+
export function statfsSync(path: string | Uint8Array | URL, options: StatFsOptions & { bigint: true }): BigIntStatsFs;
|
|
1242
|
+
export function statfsSync(path: string | Uint8Array | URL, options?: StatFsOptions): StatsFs | BigIntStatsFs;
|
|
1243
|
+
export function statfs(path: string | Uint8Array | URL, callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void): void;
|
|
1244
|
+
export function statfs(path: string | Uint8Array | URL, options: (StatFsOptions & { bigint?: false }) | undefined, callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void): void;
|
|
1245
|
+
export function statfs(path: string | Uint8Array | URL, options: StatFsOptions & { bigint: true }, callback: (err: NodeJS.ErrnoException | null, stats: BigIntStatsFs) => void): void;
|
|
1246
|
+
export function statfs(path: string | Uint8Array | URL, options: StatFsOptions | undefined, callback: (err: NodeJS.ErrnoException | null, stats: StatsFs | BigIntStatsFs) => void): void;
|
|
1216
1247
|
/* fs.watch — the file-watching slice (scr_watch.c, kqueue EVFILT_VNODE):
|
|
1217
1248
|
* "rename"/"change" events on ONE path, watcher.close() to stop. The
|
|
1218
1249
|
* listener takes zero parameters or the eventType string (the filename
|
|
@@ -1265,9 +1296,32 @@ declare module "fs/promises" {
|
|
|
1265
1296
|
bytesWritten: number;
|
|
1266
1297
|
buffer: T;
|
|
1267
1298
|
}
|
|
1299
|
+
export interface FileReadvResult<T extends Uint8Array[]> {
|
|
1300
|
+
bytesRead: number;
|
|
1301
|
+
buffers: T;
|
|
1302
|
+
}
|
|
1303
|
+
export interface FileWritevResult<T extends Uint8Array[]> {
|
|
1304
|
+
bytesWritten: number;
|
|
1305
|
+
buffers: T;
|
|
1306
|
+
}
|
|
1307
|
+
export interface FileReadOptions<T extends Uint8Array = Buffer> {
|
|
1308
|
+
buffer?: T;
|
|
1309
|
+
offset?: number | null;
|
|
1310
|
+
length?: number | null;
|
|
1311
|
+
position?: number | null;
|
|
1312
|
+
}
|
|
1268
1313
|
export interface FileHandle extends AsyncDisposable {
|
|
1269
1314
|
readonly fd: number;
|
|
1270
1315
|
close(): Promise<void>;
|
|
1316
|
+
sync(): Promise<void>;
|
|
1317
|
+
datasync(): Promise<void>;
|
|
1318
|
+
truncate(len?: number): Promise<void>;
|
|
1319
|
+
chmod(mode: number): Promise<void>;
|
|
1320
|
+
utimes(atime: number | string | Date, mtime: number | string | Date): Promise<void>;
|
|
1321
|
+
readv<T extends Uint8Array[]>(buffers: T, position?: number | null): Promise<FileReadvResult<T>>;
|
|
1322
|
+
writev<T extends Uint8Array[]>(buffers: T, position?: number | null): Promise<FileWritevResult<T>>;
|
|
1323
|
+
read<T extends Uint8Array = Buffer>(options?: FileReadOptions<T> | null): Promise<FileReadResult<T>>;
|
|
1324
|
+
read<T extends Uint8Array>(buffer: T, options: Omit<FileReadOptions<T>, "buffer">): Promise<FileReadResult<T>>;
|
|
1271
1325
|
read<T extends Uint8Array>(
|
|
1272
1326
|
buffer: T,
|
|
1273
1327
|
offset?: number | null,
|
|
@@ -1280,6 +1334,7 @@ declare module "fs/promises" {
|
|
|
1280
1334
|
length?: number | null,
|
|
1281
1335
|
position?: number | null,
|
|
1282
1336
|
): Promise<FileWriteResult<T>>;
|
|
1337
|
+
write<T extends Uint8Array>(buffer: T, options: Omit<FileReadOptions<T>, "buffer">): Promise<FileWriteResult<T>>;
|
|
1283
1338
|
write(data: string, position?: number | null, encoding?: "utf8" | "utf-8" | null): Promise<FileWriteResult<string>>;
|
|
1284
1339
|
readFile(options?: null): Promise<Buffer>;
|
|
1285
1340
|
readFile(encoding: "utf8" | "utf-8"): Promise<string>;
|
|
@@ -1289,6 +1344,13 @@ declare module "fs/promises" {
|
|
|
1289
1344
|
[Symbol.asyncDispose](): Promise<void>;
|
|
1290
1345
|
}
|
|
1291
1346
|
export function open(path: string, flags?: string, mode?: number): Promise<FileHandle>;
|
|
1347
|
+
export function link(existingPath: string | Uint8Array | URL, newPath: string | Uint8Array | URL): Promise<void>;
|
|
1348
|
+
export function symlink(target: string | Uint8Array | URL, path: string | Uint8Array | URL, type?: string | null): Promise<void>;
|
|
1349
|
+
export function readlink(path: string | Uint8Array | URL, options: "buffer" | { encoding: "buffer" }): Promise<Buffer>;
|
|
1350
|
+
export function readlink(path: string | Uint8Array | URL, options?: BufferEncoding | { encoding?: BufferEncoding | null } | null): Promise<string>;
|
|
1351
|
+
export function readlink(path: string | Uint8Array | URL, options: string | { encoding?: string | null } | null): Promise<string | Buffer>;
|
|
1352
|
+
export function utimes(path: string | Uint8Array | URL, atime: number | string | Date, mtime: number | string | Date): Promise<void>;
|
|
1353
|
+
export function lutimes(path: string | Uint8Array | URL, atime: number | string | Date, mtime: number | string | Date): Promise<void>;
|
|
1292
1354
|
export function readFile(path: string, encoding: "utf8" | "utf-8"): Promise<string>;
|
|
1293
1355
|
export function readFile(path: string): Promise<Buffer>;
|
|
1294
1356
|
export function writeFile(
|
|
@@ -1310,6 +1372,9 @@ declare module "fs/promises" {
|
|
|
1310
1372
|
): Promise<import("node:fs").Dirent[]>;
|
|
1311
1373
|
export function rm(path: string): Promise<void>;
|
|
1312
1374
|
export function stat(path: string): Promise<import("node:fs").Stats>;
|
|
1375
|
+
export function statfs(path: string | Uint8Array | URL, options?: import("node:fs").StatFsOptions & { bigint?: false }): Promise<import("node:fs").StatsFs>;
|
|
1376
|
+
export function statfs(path: string | Uint8Array | URL, options: import("node:fs").StatFsOptions & { bigint: true }): Promise<import("node:fs").BigIntStatsFs>;
|
|
1377
|
+
export function statfs(path: string | Uint8Array | URL, options?: import("node:fs").StatFsOptions): Promise<import("node:fs").StatsFs | import("node:fs").BigIntStatsFs>;
|
|
1313
1378
|
export function realpath(path: string): Promise<string>;
|
|
1314
1379
|
export function lstat(path: string): Promise<import("node:fs").Stats>;
|
|
1315
1380
|
export function unlink(path: string): Promise<void>;
|
|
@@ -1438,35 +1503,39 @@ declare module "node:os" {
|
|
|
1438
1503
|
}
|
|
1439
1504
|
|
|
1440
1505
|
/* The WHATWG URL class (a Node global; the es2023 lib doesn't declare it),
|
|
1441
|
-
* typed as exactly the supported surface: construction from
|
|
1442
|
-
*
|
|
1506
|
+
* typed as exactly the supported surface: construction from an input and
|
|
1507
|
+
* optional base (invalid input throws a catchable TypeError, like Node), the
|
|
1443
1508
|
* protocol/origin/username/pathname/href/host/hostname/port/search/hash getters, searchParams (the
|
|
1444
1509
|
* LIVE query view — mutations through it re-serialize into the URL, so
|
|
1445
1510
|
* href reflects immediately; every read answers the same object, Node's
|
|
1446
|
-
* caching),
|
|
1447
|
-
*
|
|
1448
|
-
*
|
|
1511
|
+
* caching), toString()/toJSON() (href serialization), and the non-throwing
|
|
1512
|
+
* canParse()/parse() factories (conversion errors still propagate).
|
|
1513
|
+
* URL components except origin and searchParams support assignment;
|
|
1514
|
+
* the live searchParams view also mutates the query. URL values participate in
|
|
1449
1515
|
* unions (URL | undefined). The parser covers the common CLI schemes
|
|
1450
1516
|
* exactly (http/https/ws/wss/ftp/file authority URLs, opaque paths like
|
|
1451
1517
|
* data: and mailto:) — divergences from the full WHATWG algorithm are
|
|
1452
1518
|
* documented in SEMANTICS.md. */
|
|
1453
1519
|
interface URL {
|
|
1454
|
-
|
|
1520
|
+
protocol: string;
|
|
1455
1521
|
readonly origin: string;
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1522
|
+
username: string;
|
|
1523
|
+
password: string;
|
|
1524
|
+
pathname: string;
|
|
1525
|
+
href: string;
|
|
1526
|
+
host: string;
|
|
1527
|
+
hostname: string;
|
|
1528
|
+
port: string;
|
|
1529
|
+
search: string;
|
|
1530
|
+
hash: string;
|
|
1465
1531
|
readonly searchParams: URLSearchParams;
|
|
1466
1532
|
toString(): string;
|
|
1533
|
+
toJSON(): string;
|
|
1467
1534
|
}
|
|
1468
1535
|
declare var URL: {
|
|
1469
1536
|
new (input: string | { toString: () => string }, base?: string | URL): URL;
|
|
1537
|
+
canParse(input: string | URL, base?: string | URL): boolean;
|
|
1538
|
+
parse(input: string | URL, base?: string | URL): URL | null;
|
|
1470
1539
|
};
|
|
1471
1540
|
|
|
1472
1541
|
/* URLSearchParams — the WHATWG application/x-www-form-urlencoded list.
|
|
@@ -1499,14 +1568,19 @@ declare var URLSearchParams: {
|
|
|
1499
1568
|
* slashes, non-empty host); pathToFileURL resolves the path and percent-
|
|
1500
1569
|
* encodes it into a file: URL. */
|
|
1501
1570
|
declare module "url" {
|
|
1502
|
-
export
|
|
1571
|
+
export type URL = globalThis.URL;
|
|
1572
|
+
export type URLSearchParams = globalThis.URLSearchParams;
|
|
1573
|
+
export const URL: typeof globalThis.URL;
|
|
1574
|
+
export const URLSearchParams: typeof globalThis.URLSearchParams;
|
|
1575
|
+
export function fileURLToPath(url: string | URL, options?: { windows?: boolean }): string;
|
|
1576
|
+
export function fileURLToPathBuffer(url: string | URL, options?: { windows?: boolean }): Buffer;
|
|
1503
1577
|
export function pathToFileURL(path: string, options?: { windows?: boolean }): URL;
|
|
1504
1578
|
}
|
|
1505
1579
|
declare module "node:url" {
|
|
1506
1580
|
export * from "url";
|
|
1507
1581
|
}
|
|
1508
1582
|
|
|
1509
|
-
/* node:crypto: the static hashing/MAC/random/
|
|
1583
|
+
/* node:crypto: the static hashing/MAC/random/key-derivation utility slice. */
|
|
1510
1584
|
declare module "crypto" {
|
|
1511
1585
|
export function randomUUID(): string;
|
|
1512
1586
|
export function randomBytes(size: number): Buffer;
|
|
@@ -1531,6 +1605,21 @@ declare module "crypto" {
|
|
|
1531
1605
|
export function pbkdf2Sync(password: string | Uint8Array, salt: string | Uint8Array, iterations: number, keylen: number, digest: string): Buffer;
|
|
1532
1606
|
export function pbkdf2(password: string | Uint8Array, salt: string | Uint8Array, iterations: number, keylen: number, digest: string, callback: (error: Error | null, derivedKey: Buffer) => void): void;
|
|
1533
1607
|
export function randomBytes(size: number, callback: (error: Error | null, buffer: Buffer) => void): void;
|
|
1608
|
+
export type BinaryLike = string | ArrayBuffer | ArrayBufferView;
|
|
1609
|
+
export interface ScryptOptions {
|
|
1610
|
+
N?: number;
|
|
1611
|
+
r?: number;
|
|
1612
|
+
p?: number;
|
|
1613
|
+
cost?: number;
|
|
1614
|
+
blockSize?: number;
|
|
1615
|
+
parallelization?: number;
|
|
1616
|
+
maxmem?: number;
|
|
1617
|
+
}
|
|
1618
|
+
export function scryptSync(password: BinaryLike, salt: BinaryLike, keylen: number, options?: ScryptOptions): Buffer;
|
|
1619
|
+
export function scrypt(password: BinaryLike, salt: BinaryLike, keylen: number, callback: (error: Error | null, derivedKey: Buffer) => void): void;
|
|
1620
|
+
export function scrypt(password: BinaryLike, salt: BinaryLike, keylen: number, options: ScryptOptions, callback: (error: Error | null, derivedKey: Buffer) => void): void;
|
|
1621
|
+
export function hkdfSync(digest: string, ikm: BinaryLike, salt: BinaryLike, info: BinaryLike, keylen: number): ArrayBuffer;
|
|
1622
|
+
export function hkdf(digest: string, ikm: BinaryLike, salt: BinaryLike, info: BinaryLike, keylen: number, callback: (error: Error | null, derivedKey: ArrayBuffer) => void): void;
|
|
1534
1623
|
/* The lowered X509Certificate surface is the data-record slice:
|
|
1535
1624
|
* fingerprint (the SHA-1 of the DER, uppercase colon-separated) and
|
|
1536
1625
|
* the validFrom/validTo validity window (Node's ASN1_TIME_print
|
|
@@ -1832,6 +1921,15 @@ declare module "node:child_process" {
|
|
|
1832
1921
|
* the latter resolves the callback's data argument. Other targets and bare
|
|
1833
1922
|
* promisify values fence per site. */
|
|
1834
1923
|
declare module "util" {
|
|
1924
|
+
export * as types from "util/types";
|
|
1925
|
+
export function getSystemErrorName(err: number): string;
|
|
1926
|
+
export function getSystemErrorMessage(err: number): string;
|
|
1927
|
+
export function getSystemErrorMap(): Map<number, [string, string]>;
|
|
1928
|
+
export function stripVTControlCharacters(str: string): string;
|
|
1929
|
+
export function toUSVString(string: string): string;
|
|
1930
|
+
export function isDeepStrictEqual(val1: unknown, val2: unknown, skipPrototype?: boolean): boolean;
|
|
1931
|
+
export function styleText(format: string | readonly string[], text: string, options?: { validateStream?: boolean; stream?: unknown }): string;
|
|
1932
|
+
export function parseEnv(content: string): { [key: string]: string | undefined };
|
|
1835
1933
|
export type TextEncoder = globalThis.TextEncoder;
|
|
1836
1934
|
export type TextDecoder = globalThis.TextDecoder;
|
|
1837
1935
|
export var TextEncoder: typeof globalThis.TextEncoder;
|
|
@@ -1915,10 +2013,34 @@ declare module "node:util" {
|
|
|
1915
2013
|
export * from "util";
|
|
1916
2014
|
}
|
|
1917
2015
|
|
|
1918
|
-
/* node:util/types —
|
|
1919
|
-
*
|
|
1920
|
-
* rest of Node's surface is undeclared (honest type errors). */
|
|
2016
|
+
/* node:util/types — native runtime brands. Other forms retain their
|
|
2017
|
+
* per-member lowering boundaries. */
|
|
1921
2018
|
declare module "util/types" {
|
|
2019
|
+
export function isAnyArrayBuffer(value: unknown): boolean;
|
|
2020
|
+
export function isArrayBuffer(value: unknown): value is ArrayBuffer;
|
|
2021
|
+
export function isArrayBufferView(value: unknown): value is ArrayBufferView;
|
|
2022
|
+
export function isDataView(value: unknown): value is DataView;
|
|
2023
|
+
export function isTypedArray(value: unknown): boolean;
|
|
2024
|
+
export function isUint8Array(value: unknown): value is Uint8Array;
|
|
2025
|
+
export function isUint8ClampedArray(value: unknown): value is Uint8ClampedArray;
|
|
2026
|
+
export function isUint16Array(value: unknown): value is Uint16Array;
|
|
2027
|
+
export function isUint32Array(value: unknown): value is Uint32Array;
|
|
2028
|
+
export function isInt8Array(value: unknown): value is Int8Array;
|
|
2029
|
+
export function isInt16Array(value: unknown): value is Int16Array;
|
|
2030
|
+
export function isInt32Array(value: unknown): value is Int32Array;
|
|
2031
|
+
export function isFloat32Array(value: unknown): value is Float32Array;
|
|
2032
|
+
export function isFloat64Array(value: unknown): value is Float64Array;
|
|
2033
|
+
export function isMap(value: unknown): value is Map<unknown, unknown>;
|
|
2034
|
+
export function isSet(value: unknown): value is Set<unknown>;
|
|
2035
|
+
export function isWeakMap(value: unknown): value is WeakMap<object, unknown>;
|
|
2036
|
+
export function isWeakSet(value: unknown): value is WeakSet<object>;
|
|
2037
|
+
export function isRegExp(value: unknown): value is RegExp;
|
|
2038
|
+
export function isNativeError(value: unknown): value is Error;
|
|
2039
|
+
export function isPromise(value: unknown): value is Promise<unknown>;
|
|
2040
|
+
export function isProxy(value: unknown): boolean;
|
|
2041
|
+
export function isAsyncFunction(value: unknown): boolean;
|
|
2042
|
+
export function isGeneratorFunction(value: unknown): boolean;
|
|
2043
|
+
export function isGeneratorObject(value: unknown): boolean;
|
|
1922
2044
|
export function isModuleNamespaceObject(value: unknown): boolean;
|
|
1923
2045
|
}
|
|
1924
2046
|
declare module "node:util/types" {
|
|
@@ -2039,6 +2161,7 @@ declare module "assert" {
|
|
|
2039
2161
|
function notDeepEqual(actual: unknown, expected: unknown, message?: string): void;
|
|
2040
2162
|
function fail(message?: string): never;
|
|
2041
2163
|
function throws(fn: () => unknown, expected?: unknown, message?: string): void;
|
|
2164
|
+
function doesNotThrow(fn: () => unknown, expected?: unknown, message?: string): void;
|
|
2042
2165
|
function rejects(fn: (() => Promise<unknown>) | Promise<unknown>, expected?: unknown, message?: string): Promise<void>;
|
|
2043
2166
|
function doesNotReject(fn: (() => Promise<unknown>) | Promise<unknown>, expected?: unknown, message?: string): Promise<void>;
|
|
2044
2167
|
function match(value: string, regExp: RegExp, message?: string): void;
|
|
@@ -2069,6 +2192,7 @@ declare module "assert/strict" {
|
|
|
2069
2192
|
function notDeepStrictEqual(actual: unknown, expected: unknown, message?: string): void;
|
|
2070
2193
|
function fail(message?: string): never;
|
|
2071
2194
|
function throws(fn: () => unknown, expected?: unknown, message?: string): void;
|
|
2195
|
+
function doesNotThrow(fn: () => unknown, expected?: unknown, message?: string): void;
|
|
2072
2196
|
function rejects(fn: (() => Promise<unknown>) | Promise<unknown>, expected?: unknown, message?: string): Promise<void>;
|
|
2073
2197
|
function doesNotReject(fn: (() => Promise<unknown>) | Promise<unknown>, expected?: unknown, message?: string): Promise<void>;
|
|
2074
2198
|
function match(value: string, regExp: RegExp, message?: string): void;
|
|
@@ -3397,6 +3521,9 @@ declare module "node:worker_threads" {
|
|
|
3397
3521
|
* third-party .d.ts files that `import { Buffer } from "node:buffer"` —
|
|
3398
3522
|
* file-entry-cache in a typed-JS source graph — typecheck). */
|
|
3399
3523
|
declare module "buffer" {
|
|
3524
|
+
export function isAscii(input: ArrayBuffer | ArrayBufferView): boolean;
|
|
3525
|
+
export function isUtf8(input: ArrayBuffer | ArrayBufferView): boolean;
|
|
3526
|
+
export function transcode(source: Uint8Array, fromEncoding: string, toEncoding: string): Buffer;
|
|
3400
3527
|
export function atob(data: string): string;
|
|
3401
3528
|
export function btoa(data: string): string;
|
|
3402
3529
|
export const kMaxLength: number;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/dev/runtime/dynamic-text-decoder-legacy/scr_bytes.o
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/default/scr_node_builtin.o
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/text-decoder-legacy/scr_bytes.o
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_bytes_io.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_dyn_invoke.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_exception.o
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_node_builtin.o
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-release/runtime/default/scr_url_params.o
CHANGED
|
Binary file
|
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_array.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_assert.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_bytes.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_bytes_io.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_dyn_invoke.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_exception.o
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_node_builtin.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_regex.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_symbol.o
CHANGED
|
Binary file
|
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_url_params.o
CHANGED
|
Binary file
|
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_array.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_assert.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_bytes.o
CHANGED
|
Binary file
|