@soundscript/cli-darwin-x64 0.1.0 → 0.1.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/bin/soundscript CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soundscript/cli-darwin-x64",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "license": "ISC",
5
5
  "os": [
6
6
  "darwin"
@@ -0,0 +1,67 @@
1
+ import { URL, URLSearchParams } from './url';
2
+
3
+ export interface AbortSignal {
4
+ readonly aborted: boolean;
5
+ readonly reason: unknown;
6
+ throwIfAborted(): void;
7
+ }
8
+
9
+ export type HeadersInit = Headers | Iterable<readonly [string, string]> | Record<string, string>;
10
+ export type BodyInit = ArrayBuffer | string | Uint8Array<ArrayBufferLike> | URLSearchParams;
11
+ export type RequestInfo = Request | string | URL;
12
+
13
+ export interface RequestInit {
14
+ readonly body?: BodyInit | null;
15
+ readonly headers?: HeadersInit;
16
+ readonly method?: string;
17
+ readonly signal?: AbortSignal | null;
18
+ }
19
+
20
+ export interface ResponseInit {
21
+ readonly headers?: HeadersInit;
22
+ readonly status?: number;
23
+ readonly statusText?: string;
24
+ }
25
+
26
+ export declare class Headers {
27
+ constructor(init?: HeadersInit);
28
+ append(name: string, value: string): void;
29
+ delete(name: string): void;
30
+ entries(): IterableIterator<[string, string]>;
31
+ get(name: string): string | null;
32
+ has(name: string): boolean;
33
+ keys(): IterableIterator<string>;
34
+ set(name: string, value: string): void;
35
+ values(): IterableIterator<string>;
36
+ [Symbol.iterator](): IterableIterator<[string, string]>;
37
+ }
38
+
39
+ export declare class Request {
40
+ constructor(input: RequestInfo, init?: RequestInit);
41
+ readonly headers: Headers;
42
+ readonly method: string;
43
+ readonly signal: AbortSignal;
44
+ readonly url: string;
45
+ arrayBuffer(): Promise<ArrayBuffer>;
46
+ clone(): Request;
47
+ json(): Promise<unknown>;
48
+ text(): Promise<string>;
49
+ }
50
+
51
+ export declare class Response {
52
+ constructor(body?: BodyInit | null, init?: ResponseInit);
53
+ readonly headers: Headers;
54
+ readonly ok: boolean;
55
+ readonly status: number;
56
+ readonly statusText: string;
57
+ readonly url: string;
58
+ arrayBuffer(): Promise<ArrayBuffer>;
59
+ clone(): Response;
60
+ json(): Promise<unknown>;
61
+ text(): Promise<string>;
62
+ static error(): Response;
63
+ static json(data: unknown, init?: ResponseInit): Response;
64
+ static redirect(url: string | URL, status?: number): Response;
65
+ }
66
+
67
+ export declare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
@@ -0,0 +1,19 @@
1
+ export type RandomBufferView =
2
+ | Int8Array<ArrayBufferLike>
3
+ | Uint8Array<ArrayBufferLike>
4
+ | Uint8ClampedArray<ArrayBufferLike>
5
+ | Int16Array<ArrayBufferLike>
6
+ | Uint16Array<ArrayBufferLike>
7
+ | Int32Array<ArrayBufferLike>
8
+ | Uint32Array<ArrayBufferLike>
9
+ | BigInt64Array<ArrayBufferLike>
10
+ | BigUint64Array<ArrayBufferLike>
11
+ | Float32Array<ArrayBufferLike>
12
+ | Float64Array<ArrayBufferLike>;
13
+
14
+ export interface Crypto {
15
+ getRandomValues<T extends DataView<ArrayBufferLike> | RandomBufferView>(array: T): T;
16
+ }
17
+
18
+ export declare const crypto: Crypto;
19
+ export declare const getRandomValues: Crypto['getRandomValues'];
@@ -0,0 +1,24 @@
1
+ export interface TextDecodeOptions {
2
+ stream?: boolean;
3
+ }
4
+
5
+ export interface TextDecoderOptions {
6
+ fatal?: boolean;
7
+ ignoreBOM?: boolean;
8
+ }
9
+
10
+ export declare class TextEncoder {
11
+ constructor();
12
+ encode(input?: string): Uint8Array<ArrayBufferLike>;
13
+ }
14
+
15
+ export declare class TextDecoder {
16
+ constructor(label?: string, options?: TextDecoderOptions);
17
+ decode(
18
+ input?: ArrayBuffer | DataView<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | null,
19
+ options?: TextDecodeOptions,
20
+ ): string;
21
+ readonly encoding: string;
22
+ readonly fatal: boolean;
23
+ readonly ignoreBOM: boolean;
24
+ }
@@ -0,0 +1,37 @@
1
+ export declare class URLSearchParams {
2
+ constructor(
3
+ init?:
4
+ | Iterable<readonly [string, string]>
5
+ | Record<string, string>
6
+ | string
7
+ | URLSearchParams,
8
+ );
9
+ append(name: string, value: string): void;
10
+ delete(name: string): void;
11
+ entries(): IterableIterator<[string, string]>;
12
+ get(name: string): string | null;
13
+ has(name: string): boolean;
14
+ keys(): IterableIterator<string>;
15
+ set(name: string, value: string): void;
16
+ toString(): string;
17
+ values(): IterableIterator<string>;
18
+ [Symbol.iterator](): IterableIterator<[string, string]>;
19
+ }
20
+
21
+ export declare class URL {
22
+ constructor(url: string, base?: string | URL);
23
+ hash: string;
24
+ host: string;
25
+ hostname: string;
26
+ href: string;
27
+ readonly origin: string;
28
+ password: string;
29
+ pathname: string;
30
+ port: string;
31
+ protocol: string;
32
+ search: string;
33
+ readonly searchParams: URLSearchParams;
34
+ username: string;
35
+ toJSON(): string;
36
+ toString(): string;
37
+ }