@scriptc/cli-darwin-x64 0.2.1 → 0.2.2
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 +59 -4
- 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_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_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_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_url.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_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_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_url.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_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_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_regex.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/text-decoder-legacy/scr_bytes.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_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_regex.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/text-decoder-legacy/scr_bytes.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_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_regex.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/text-decoder-legacy/scr_bytes.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_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_regex.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/text-decoder-legacy/scr_bytes.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_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_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_url.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_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_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_url.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 +177 -177
- 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_async.c +12 -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 +52 -5
- 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_fetch.c +45 -1
- package/dist/lib/runtime-sources/src/scr_file_handle.c +31 -0
- package/dist/lib/runtime-sources/src/scr_island.c +1188 -392
- package/dist/lib/runtime-sources/src/scr_island_manifest.h +11 -9
- package/dist/lib/runtime-sources/src/scr_json.c +449 -52
- package/dist/lib/runtime-sources/src/scr_json.test.ts +1 -0
- package/dist/lib/runtime-sources/src/scr_lib.c +816 -34
- package/dist/lib/runtime-sources/src/scr_qs.c +10 -0
- package/dist/lib/runtime-sources/src/scr_regex.c +42 -5
- package/dist/lib/runtime-sources/src/scr_runtime.h +67 -8
- package/dist/lib/runtime-sources/src/scr_text_decoder_labels.h +12 -12
- package/dist/lib/runtime-sources/src/scr_url.c +34 -7
- package/dist/lib/runtime-sources/src/scr_web.c +129 -26
- package/package.json +1 -1
package/dist/THIRD_PARTY_NOTICES
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
scriptc 0.2.
|
|
1
|
+
scriptc 0.2.2 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[];
|
|
@@ -1172,6 +1173,10 @@ declare module "node:fs" {
|
|
|
1172
1173
|
export function openSync(path: string, flags: string): number;
|
|
1173
1174
|
export function openSync(path: string, flags: number, mode?: number): number;
|
|
1174
1175
|
export function closeSync(fd: number): void;
|
|
1176
|
+
export function fdatasyncSync(fd: number): void;
|
|
1177
|
+
export function ftruncateSync(fd: number, len?: number): void;
|
|
1178
|
+
export function readvSync(fd: number, buffers: Uint8Array[], position?: number | null): number;
|
|
1179
|
+
export function writevSync(fd: number, buffers: Uint8Array[], position?: number | null): number;
|
|
1175
1180
|
/* Read into a caller buffer from the fd's current position when position
|
|
1176
1181
|
* is omitted/null, or from a numeric byte position without advancing the
|
|
1177
1182
|
* fd. Answers the byte count, 0 at EOF. */
|
|
@@ -1265,9 +1270,31 @@ declare module "fs/promises" {
|
|
|
1265
1270
|
bytesWritten: number;
|
|
1266
1271
|
buffer: T;
|
|
1267
1272
|
}
|
|
1273
|
+
export interface FileReadvResult<T extends Uint8Array[]> {
|
|
1274
|
+
bytesRead: number;
|
|
1275
|
+
buffers: T;
|
|
1276
|
+
}
|
|
1277
|
+
export interface FileWritevResult<T extends Uint8Array[]> {
|
|
1278
|
+
bytesWritten: number;
|
|
1279
|
+
buffers: T;
|
|
1280
|
+
}
|
|
1281
|
+
export interface FileReadOptions<T extends Uint8Array = Buffer> {
|
|
1282
|
+
buffer?: T;
|
|
1283
|
+
offset?: number | null;
|
|
1284
|
+
length?: number | null;
|
|
1285
|
+
position?: number | null;
|
|
1286
|
+
}
|
|
1268
1287
|
export interface FileHandle extends AsyncDisposable {
|
|
1269
1288
|
readonly fd: number;
|
|
1270
1289
|
close(): Promise<void>;
|
|
1290
|
+
sync(): Promise<void>;
|
|
1291
|
+
datasync(): Promise<void>;
|
|
1292
|
+
truncate(len?: number): Promise<void>;
|
|
1293
|
+
chmod(mode: number): Promise<void>;
|
|
1294
|
+
readv<T extends Uint8Array[]>(buffers: T, position?: number | null): Promise<FileReadvResult<T>>;
|
|
1295
|
+
writev<T extends Uint8Array[]>(buffers: T, position?: number | null): Promise<FileWritevResult<T>>;
|
|
1296
|
+
read<T extends Uint8Array = Buffer>(options?: FileReadOptions<T> | null): Promise<FileReadResult<T>>;
|
|
1297
|
+
read<T extends Uint8Array>(buffer: T, options: Omit<FileReadOptions<T>, "buffer">): Promise<FileReadResult<T>>;
|
|
1271
1298
|
read<T extends Uint8Array>(
|
|
1272
1299
|
buffer: T,
|
|
1273
1300
|
offset?: number | null,
|
|
@@ -1280,6 +1307,7 @@ declare module "fs/promises" {
|
|
|
1280
1307
|
length?: number | null,
|
|
1281
1308
|
position?: number | null,
|
|
1282
1309
|
): Promise<FileWriteResult<T>>;
|
|
1310
|
+
write<T extends Uint8Array>(buffer: T, options: Omit<FileReadOptions<T>, "buffer">): Promise<FileWriteResult<T>>;
|
|
1283
1311
|
write(data: string, position?: number | null, encoding?: "utf8" | "utf-8" | null): Promise<FileWriteResult<string>>;
|
|
1284
1312
|
readFile(options?: null): Promise<Buffer>;
|
|
1285
1313
|
readFile(encoding: "utf8" | "utf-8"): Promise<string>;
|
|
@@ -1438,12 +1466,13 @@ declare module "node:os" {
|
|
|
1438
1466
|
}
|
|
1439
1467
|
|
|
1440
1468
|
/* The WHATWG URL class (a Node global; the es2023 lib doesn't declare it),
|
|
1441
|
-
* typed as exactly the supported surface: construction from
|
|
1442
|
-
*
|
|
1469
|
+
* typed as exactly the supported surface: construction from an input and
|
|
1470
|
+
* optional base (invalid input throws a catchable TypeError, like Node), the
|
|
1443
1471
|
* protocol/origin/username/pathname/href/host/hostname/port/search/hash getters, searchParams (the
|
|
1444
1472
|
* LIVE query view — mutations through it re-serialize into the URL, so
|
|
1445
1473
|
* href reflects immediately; every read answers the same object, Node's
|
|
1446
|
-
* caching),
|
|
1474
|
+
* caching), toString()/toJSON() (href serialization), and the non-throwing
|
|
1475
|
+
* canParse()/parse() factories (conversion errors still propagate).
|
|
1447
1476
|
* URL values have no SETTERS — the component fields are read-only (the
|
|
1448
1477
|
* one supported mutation path is searchParams) — and participate in
|
|
1449
1478
|
* unions (URL | undefined). The parser covers the common CLI schemes
|
|
@@ -1464,9 +1493,12 @@ interface URL {
|
|
|
1464
1493
|
readonly hash: string;
|
|
1465
1494
|
readonly searchParams: URLSearchParams;
|
|
1466
1495
|
toString(): string;
|
|
1496
|
+
toJSON(): string;
|
|
1467
1497
|
}
|
|
1468
1498
|
declare var URL: {
|
|
1469
1499
|
new (input: string | { toString: () => string }, base?: string | URL): URL;
|
|
1500
|
+
canParse(input: string | URL, base?: string | URL): boolean;
|
|
1501
|
+
parse(input: string | URL, base?: string | URL): URL | null;
|
|
1470
1502
|
};
|
|
1471
1503
|
|
|
1472
1504
|
/* URLSearchParams — the WHATWG application/x-www-form-urlencoded list.
|
|
@@ -1499,6 +1531,10 @@ declare var URLSearchParams: {
|
|
|
1499
1531
|
* slashes, non-empty host); pathToFileURL resolves the path and percent-
|
|
1500
1532
|
* encodes it into a file: URL. */
|
|
1501
1533
|
declare module "url" {
|
|
1534
|
+
export type URL = globalThis.URL;
|
|
1535
|
+
export type URLSearchParams = globalThis.URLSearchParams;
|
|
1536
|
+
export const URL: typeof globalThis.URL;
|
|
1537
|
+
export const URLSearchParams: typeof globalThis.URLSearchParams;
|
|
1502
1538
|
export function fileURLToPath(url: string | URL): string;
|
|
1503
1539
|
export function pathToFileURL(path: string, options?: { windows?: boolean }): URL;
|
|
1504
1540
|
}
|
|
@@ -1506,7 +1542,7 @@ declare module "node:url" {
|
|
|
1506
1542
|
export * from "url";
|
|
1507
1543
|
}
|
|
1508
1544
|
|
|
1509
|
-
/* node:crypto: the static hashing/MAC/random/
|
|
1545
|
+
/* node:crypto: the static hashing/MAC/random/key-derivation utility slice. */
|
|
1510
1546
|
declare module "crypto" {
|
|
1511
1547
|
export function randomUUID(): string;
|
|
1512
1548
|
export function randomBytes(size: number): Buffer;
|
|
@@ -1531,6 +1567,21 @@ declare module "crypto" {
|
|
|
1531
1567
|
export function pbkdf2Sync(password: string | Uint8Array, salt: string | Uint8Array, iterations: number, keylen: number, digest: string): Buffer;
|
|
1532
1568
|
export function pbkdf2(password: string | Uint8Array, salt: string | Uint8Array, iterations: number, keylen: number, digest: string, callback: (error: Error | null, derivedKey: Buffer) => void): void;
|
|
1533
1569
|
export function randomBytes(size: number, callback: (error: Error | null, buffer: Buffer) => void): void;
|
|
1570
|
+
export type BinaryLike = string | ArrayBuffer | ArrayBufferView;
|
|
1571
|
+
export interface ScryptOptions {
|
|
1572
|
+
N?: number;
|
|
1573
|
+
r?: number;
|
|
1574
|
+
p?: number;
|
|
1575
|
+
cost?: number;
|
|
1576
|
+
blockSize?: number;
|
|
1577
|
+
parallelization?: number;
|
|
1578
|
+
maxmem?: number;
|
|
1579
|
+
}
|
|
1580
|
+
export function scryptSync(password: BinaryLike, salt: BinaryLike, keylen: number, options?: ScryptOptions): Buffer;
|
|
1581
|
+
export function scrypt(password: BinaryLike, salt: BinaryLike, keylen: number, callback: (error: Error | null, derivedKey: Buffer) => void): void;
|
|
1582
|
+
export function scrypt(password: BinaryLike, salt: BinaryLike, keylen: number, options: ScryptOptions, callback: (error: Error | null, derivedKey: Buffer) => void): void;
|
|
1583
|
+
export function hkdfSync(digest: string, ikm: BinaryLike, salt: BinaryLike, info: BinaryLike, keylen: number): ArrayBuffer;
|
|
1584
|
+
export function hkdf(digest: string, ikm: BinaryLike, salt: BinaryLike, info: BinaryLike, keylen: number, callback: (error: Error | null, derivedKey: ArrayBuffer) => void): void;
|
|
1534
1585
|
/* The lowered X509Certificate surface is the data-record slice:
|
|
1535
1586
|
* fingerprint (the SHA-1 of the DER, uppercase colon-separated) and
|
|
1536
1587
|
* the validFrom/validTo validity window (Node's ASN1_TIME_print
|
|
@@ -1832,6 +1883,7 @@ declare module "node:child_process" {
|
|
|
1832
1883
|
* the latter resolves the callback's data argument. Other targets and bare
|
|
1833
1884
|
* promisify values fence per site. */
|
|
1834
1885
|
declare module "util" {
|
|
1886
|
+
export function parseEnv(content: string): { [key: string]: string | undefined };
|
|
1835
1887
|
export type TextEncoder = globalThis.TextEncoder;
|
|
1836
1888
|
export type TextDecoder = globalThis.TextDecoder;
|
|
1837
1889
|
export var TextEncoder: typeof globalThis.TextEncoder;
|
|
@@ -3397,6 +3449,9 @@ declare module "node:worker_threads" {
|
|
|
3397
3449
|
* third-party .d.ts files that `import { Buffer } from "node:buffer"` —
|
|
3398
3450
|
* file-entry-cache in a typed-JS source graph — typecheck). */
|
|
3399
3451
|
declare module "buffer" {
|
|
3452
|
+
export function isAscii(input: ArrayBuffer | ArrayBufferView): boolean;
|
|
3453
|
+
export function isUtf8(input: ArrayBuffer | ArrayBufferView): boolean;
|
|
3454
|
+
export function transcode(source: Uint8Array, fromEncoding: string, toEncoding: string): Buffer;
|
|
3400
3455
|
export function atob(data: string): string;
|
|
3401
3456
|
export function btoa(data: string): string;
|
|
3402
3457
|
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
|
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
|
package/dist/lib/runtime-darwin-x64/artifacts/library-dev/runtime/text-decoder-legacy/scr_bytes.o
CHANGED
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
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
|
|
Binary file
|
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-dev/runtime/default/scr_regex.o
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_bytes.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_bytes_io.o
CHANGED
|
Binary file
|
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_json.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_lib.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_regex.o
CHANGED
|
Binary file
|
package/dist/lib/runtime-darwin-x64/artifacts/library-thread-release/runtime/default/scr_url.o
CHANGED
|
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/release/runtime/text-decoder-legacy/scr_bytes.o
CHANGED
|
Binary file
|