@bytecodealliance/jco 1.13.2 → 1.14.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.
- package/obj/interfaces/wasi-cli-terminal-input.d.ts +1 -2
- package/obj/interfaces/wasi-cli-terminal-output.d.ts +1 -2
- package/obj/interfaces/wasi-filesystem-types.d.ts +2 -4
- package/obj/interfaces/wasi-io-error.d.ts +1 -2
- package/obj/interfaces/wasi-io-streams.d.ts +2 -4
- package/obj/js-component-bindgen-component.core.wasm +0 -0
- package/obj/js-component-bindgen-component.js +126 -96
- package/obj/wasm-tools.core.wasm +0 -0
- package/obj/wasm-tools.js +130 -100
- package/package.json +6 -6
- package/src/cmd/componentize.js +1 -0
- package/src/cmd/opt.js +7 -6
- package/src/cmd/transpile.js +28 -13
- package/src/cmd/types.js +30 -16
- package/src/common.d.ts +1 -0
- package/src/common.d.ts.map +1 -1
- package/src/common.js +2 -0
- package/src/jco.js +21 -2
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/** @module Interface wasi:cli/terminal-input@0.2.3 **/
|
|
2
2
|
|
|
3
|
-
export class TerminalInput
|
|
3
|
+
export class TerminalInput {
|
|
4
4
|
/**
|
|
5
5
|
* This type does not have a public constructor.
|
|
6
6
|
*/
|
|
7
7
|
private constructor();
|
|
8
|
-
[Symbol.dispose]?: () => void;
|
|
9
8
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/** @module Interface wasi:cli/terminal-output@0.2.3 **/
|
|
2
2
|
|
|
3
|
-
export class TerminalOutput
|
|
3
|
+
export class TerminalOutput {
|
|
4
4
|
/**
|
|
5
5
|
* This type does not have a public constructor.
|
|
6
6
|
*/
|
|
7
7
|
private constructor();
|
|
8
|
-
[Symbol.dispose]?: () => void;
|
|
9
8
|
}
|
|
@@ -138,7 +138,7 @@ export interface DirectoryEntry {
|
|
|
138
138
|
name: string,
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export class Descriptor
|
|
141
|
+
export class Descriptor {
|
|
142
142
|
/**
|
|
143
143
|
* This type does not have a public constructor.
|
|
144
144
|
*/
|
|
@@ -153,14 +153,12 @@ export class Descriptor implements Partial<Disposable> {
|
|
|
153
153
|
openAt(pathFlags: PathFlags, path: string, openFlags: OpenFlags, flags: DescriptorFlags): Descriptor;
|
|
154
154
|
metadataHash(): MetadataHashValue;
|
|
155
155
|
metadataHashAt(pathFlags: PathFlags, path: string): MetadataHashValue;
|
|
156
|
-
[Symbol.dispose]?: () => void;
|
|
157
156
|
}
|
|
158
157
|
|
|
159
|
-
export class DirectoryEntryStream
|
|
158
|
+
export class DirectoryEntryStream {
|
|
160
159
|
/**
|
|
161
160
|
* This type does not have a public constructor.
|
|
162
161
|
*/
|
|
163
162
|
private constructor();
|
|
164
163
|
readDirectoryEntry(): DirectoryEntry | undefined;
|
|
165
|
-
[Symbol.dispose]?: () => void;
|
|
166
164
|
}
|
|
@@ -9,17 +9,16 @@ export interface StreamErrorClosed {
|
|
|
9
9
|
tag: 'closed',
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export class InputStream
|
|
12
|
+
export class InputStream {
|
|
13
13
|
/**
|
|
14
14
|
* This type does not have a public constructor.
|
|
15
15
|
*/
|
|
16
16
|
private constructor();
|
|
17
17
|
read(len: bigint): Uint8Array;
|
|
18
18
|
blockingRead(len: bigint): Uint8Array;
|
|
19
|
-
[Symbol.dispose]?: () => void;
|
|
20
19
|
}
|
|
21
20
|
|
|
22
|
-
export class OutputStream
|
|
21
|
+
export class OutputStream {
|
|
23
22
|
/**
|
|
24
23
|
* This type does not have a public constructor.
|
|
25
24
|
*/
|
|
@@ -28,5 +27,4 @@ export class OutputStream implements Partial<Disposable> {
|
|
|
28
27
|
write(contents: Uint8Array): void;
|
|
29
28
|
blockingWriteAndFlush(contents: Uint8Array): void;
|
|
30
29
|
blockingFlush(): void;
|
|
31
|
-
[Symbol.dispose]?: () => void;
|
|
32
30
|
}
|
|
Binary file
|