-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35316ec
commit a91f76b
Showing
21 changed files
with
261 additions
and
149 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@bytecodealliance/preview2-shim", | ||
"version": "0.14.2", | ||
"version": "0.15.1", | ||
"description": "WASI Preview2 shim for JS environments", | ||
"author": "Guy Bedford, Eduardo Rodrigues<[email protected]>", | ||
"type": "module", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import type { WasiCliEnvironment } from './interfaces/wasi-cli-environment.d.ts'; | ||
import type { WasiCliExit } from './interfaces/wasi-cli-exit.d.ts'; | ||
import type { WasiCliRun } from './interfaces/wasi-cli-run.d.ts'; | ||
import type { WasiCliStderr } from './interfaces/wasi-cli-stderr.d.ts'; | ||
import type { WasiCliStdin } from './interfaces/wasi-cli-stdin.d.ts'; | ||
import type { WasiCliStdout } from './interfaces/wasi-cli-stdout.d.ts'; | ||
import type { WasiCliTerminalInput } from './interfaces/wasi-cli-terminal-input.d.ts'; | ||
import type { WasiCliTerminalOutput } from './interfaces/wasi-cli-terminal-output.d.ts'; | ||
import type { WasiCliTerminalStderr } from './interfaces/wasi-cli-terminal-stderr.d.ts'; | ||
import type { WasiCliTerminalStdin } from './interfaces/wasi-cli-terminal-stdin.d.ts'; | ||
import type { WasiCliTerminalStdout } from './interfaces/wasi-cli-terminal-stdout.d.ts'; | ||
|
||
export const environment: typeof WasiCliEnvironment; | ||
export const exit: typeof WasiCliExit; | ||
export const run: typeof WasiCliRun; | ||
export const stderr: typeof WasiCliStderr; | ||
export const stdin: typeof WasiCliStdin; | ||
export const stdout: typeof WasiCliStdout; | ||
export const terminalInput: typeof WasiCliTerminalInput; | ||
export const terminalOutput: typeof WasiCliTerminalOutput; | ||
export const terminalStderr: typeof WasiCliTerminalStderr; | ||
export const terminalStdin: typeof WasiCliTerminalStdin; | ||
export const terminalStdout: typeof WasiCliTerminalStdout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import type { WasiClocksMonotonicClock } from './interfaces/wasi-clocks-monotonic-clock.d.ts'; | ||
import type { WasiClocksWallClock } from './interfaces/wasi-clocks-wall-clock.d.ts'; | ||
|
||
export const wallClock: typeof WasiClocksMonotonicClock; | ||
export const monotonicClock: typeof WasiClocksWallClock; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import type { WasiFilesystemPreopens } from './interfaces/wasi-filesystem-preopens.d.ts'; | ||
import type { WasiFilesystemTypes } from './interfaces/wasi-filesystem-types.d.ts'; | ||
|
||
export const preopens: typeof WasiFilesystemPreopens; | ||
export const types: typeof WasiFilesystemTypes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import type { WasiHttpIncomingHandler } from './interfaces/wasi-http-incoming-handler.d.ts'; | ||
import type { WasiHttpOutgoingHandler } from './interfaces/wasi-http-outgoing-handler.d.ts'; | ||
import type { WasiHttpTypes } from './interfaces/wasi-http-types.d.ts'; | ||
|
||
export const incomingHandler: typeof WasiHttpIncomingHandler; | ||
export const outgoingHandler: typeof WasiHttpOutgoingHandler; | ||
export const types: typeof WasiHttpTypes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type * as WasiCli from "./cli.d.ts"; | ||
import type * as WasiClocks from './clocks.d.ts'; | ||
import type * as WasiFilesystem from './filesystem.d.ts'; | ||
import type * as WasiHttp from "./http.d.ts"; | ||
import type * as WasiIo from "./io.d.ts"; | ||
import type * as WasiRandom from "./random.d.ts"; | ||
import type * as WasiSockets from "./sockets.d.ts"; | ||
|
||
export const cli: typeof WasiCli; | ||
export const clocks: typeof WasiClocks; | ||
export const filesystem: typeof WasiFilesystem; | ||
export const http: typeof WasiHttp; | ||
export const io: typeof WasiIo; | ||
export const random: typeof WasiRandom; | ||
export const sockets: typeof WasiSockets; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.