@pnpm/exe 12.9.0 → 12.10.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/bin/pnpm.mjs +2 -3
- package/dist/node_modules/.bin/get-pnpm +10 -6
- package/dist/node_modules/.bin/node-gyp +10 -6
- package/dist/node_modules/.bin/node-which +10 -6
- package/dist/node_modules/.bin/nopt +10 -6
- package/dist/node_modules/.bin/semver +10 -6
- package/dist/node_modules/.pnpm-workspace-state-v1.json +14 -13
- package/install.js +8 -11
- package/package.json +15 -15
- package/pn +76 -2
- package/pnpm +98 -2
- package/pnpx +76 -2
- package/pnx +76 -2
- package/dist/wasm/LICENSE +0 -22
- package/dist/wasm/README.md +0 -140
- package/dist/wasm/THIRD-PARTY-NOTICES.md +0 -42
- package/dist/wasm/host/atomic-waits.mjs +0 -43
- package/dist/wasm/host/cancellation.mjs +0 -6
- package/dist/wasm/host/executable-mode.mjs +0 -8
- package/dist/wasm/host/file-locks.mjs +0 -40
- package/dist/wasm/host/filesystem.mjs +0 -318
- package/dist/wasm/host/guest-imports.mjs +0 -45
- package/dist/wasm/host/guest-operations.mjs +0 -148
- package/dist/wasm/host/lock-registry.mjs +0 -167
- package/dist/wasm/host/network.mjs +0 -76
- package/dist/wasm/host/operations.mjs +0 -67
- package/dist/wasm/host/poll.mjs +0 -74
- package/dist/wasm/host/process-stdio.mjs +0 -41
- package/dist/wasm/host/process-tree.mjs +0 -54
- package/dist/wasm/host/process.mjs +0 -126
- package/dist/wasm/host/protocol.mjs +0 -1
- package/dist/wasm/host/resources.mjs +0 -76
- package/dist/wasm/host/shell-runner.mjs +0 -8
- package/dist/wasm/host/shell.mjs +0 -19
- package/dist/wasm/host/signals.mjs +0 -49
- package/dist/wasm/host/terminal-input.mjs +0 -7
- package/dist/wasm/host/terminal-password.mjs +0 -32
- package/dist/wasm/host/terminal-session.mjs +0 -114
- package/dist/wasm/host/terminal.mjs +0 -61
- package/dist/wasm/host/thread-spawn.mjs +0 -21
- package/dist/wasm/host/upload.mjs +0 -21
- package/dist/wasm/host/wait-for-reply.mjs +0 -7
- package/dist/wasm/host/wasi-errno.mjs +0 -81
- package/dist/wasm/host/wasi-imports.mjs +0 -58
- package/dist/wasm/node_modules/.bin/js-yaml +0 -91
- package/dist/wasm/node_modules/.bin/node-which +0 -91
- package/dist/wasm/node_modules/.bin/shell +0 -91
- package/dist/wasm/node_modules/.pnpm-workspace-state-v1.json +0 -355
- package/dist/wasm/node_modules/@emnapi/wasi-threads/LICENSE +0 -21
- package/dist/wasm/node_modules/@emnapi/wasi-threads/README.md +0 -203
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.cjs.js +0 -894
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.cjs.min.d.ts +0 -272
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.cjs.min.js +0 -1
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.d.mts +0 -272
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.d.ts +0 -274
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.esm-bundler.js +0 -942
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.js +0 -954
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.min.d.mts +0 -272
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.min.js +0 -1
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.min.mjs +0 -1
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.mjs +0 -889
- package/dist/wasm/node_modules/@emnapi/wasi-threads/index.js +0 -5
- package/dist/wasm/node_modules/@emnapi/wasi-threads/package.json +0 -50
- package/dist/wasm/node_modules/@nodelib/fs.scandir/LICENSE +0 -21
- package/dist/wasm/node_modules/@nodelib/fs.scandir/README.md +0 -171
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +0 -19
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/constants.d.ts +0 -4
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/constants.js +0 -17
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/index.d.ts +0 -12
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/index.js +0 -26
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/providers/async.js +0 -104
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +0 -1
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/providers/common.js +0 -13
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +0 -5
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/providers/sync.js +0 -54
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/settings.d.ts +0 -20
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/settings.js +0 -24
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/types/index.js +0 -2
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +0 -2
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/utils/fs.js +0 -19
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +0 -2
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/utils/index.js +0 -5
- package/dist/wasm/node_modules/@nodelib/fs.scandir/package.json +0 -44
- package/dist/wasm/node_modules/@nodelib/fs.stat/LICENSE +0 -21
- package/dist/wasm/node_modules/@nodelib/fs.stat/README.md +0 -126
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/adapters/fs.js +0 -17
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/index.d.ts +0 -12
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/index.js +0 -26
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/providers/async.js +0 -36
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +0 -3
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/providers/sync.js +0 -23
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/settings.d.ts +0 -16
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/settings.js +0 -16
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/types/index.d.ts +0 -4
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/types/index.js +0 -2
- package/dist/wasm/node_modules/@nodelib/fs.stat/package.json +0 -37
- package/dist/wasm/node_modules/@nodelib/fs.walk/LICENSE +0 -21
- package/dist/wasm/node_modules/@nodelib/fs.walk/README.md +0 -215
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/index.d.ts +0 -14
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/index.js +0 -34
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/async.js +0 -30
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +0 -4
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/index.js +0 -9
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +0 -12
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/stream.js +0 -34
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +0 -10
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/sync.js +0 -14
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/async.js +0 -97
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +0 -7
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/common.js +0 -31
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/reader.js +0 -11
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +0 -15
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/sync.js +0 -59
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/settings.d.ts +0 -30
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/settings.js +0 -26
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/types/index.d.ts +0 -8
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/types/index.js +0 -2
- package/dist/wasm/node_modules/@nodelib/fs.walk/package.json +0 -44
- package/dist/wasm/node_modules/@tybys/wasm-util/LICENSE +0 -21
- package/dist/wasm/node_modules/@tybys/wasm-util/README.md +0 -193
- package/dist/wasm/node_modules/@tybys/wasm-util/dist/tsdoc-metadata.json +0 -11
- package/dist/wasm/node_modules/@tybys/wasm-util/dist/wasm-util.d.ts +0 -423
- package/dist/wasm/node_modules/@tybys/wasm-util/dist/wasm-util.esm-bundler.js +0 -2932
- package/dist/wasm/node_modules/@tybys/wasm-util/dist/wasm-util.esm.js +0 -2932
- package/dist/wasm/node_modules/@tybys/wasm-util/dist/wasm-util.esm.min.js +0 -1
- package/dist/wasm/node_modules/@tybys/wasm-util/dist/wasm-util.js +0 -2954
- package/dist/wasm/node_modules/@tybys/wasm-util/dist/wasm-util.min.js +0 -1
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/asyncify.js +0 -158
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/index.js +0 -13
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/jspi.js +0 -46
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/load.js +0 -97
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/memory.js +0 -35
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/error.js +0 -103
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/fd.js +0 -268
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/fs.js +0 -3
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/index.js +0 -192
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/path.js +0 -316
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/preview1.js +0 -1599
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/rights.js +0 -141
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/types.js +0 -220
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/util.js +0 -128
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/webassembly.js +0 -13
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/asyncify.mjs +0 -153
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/index.mjs +0 -9
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/jspi.mjs +0 -39
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/load.mjs +0 -89
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/memory.mjs +0 -28
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/error.mjs +0 -97
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/fd.mjs +0 -256
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/fs.mjs +0 -1
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/index.mjs +0 -186
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/path.mjs +0 -310
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/preview1.mjs +0 -1593
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/rights.mjs +0 -135
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/types.mjs +0 -216
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/util.mjs +0 -113
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/webassembly.mjs +0 -9
- package/dist/wasm/node_modules/@tybys/wasm-util/package.json +0 -58
- package/dist/wasm/node_modules/@types/braces/LICENSE +0 -21
- package/dist/wasm/node_modules/@types/braces/README.md +0 -15
- package/dist/wasm/node_modules/@types/braces/index.d.ts +0 -100
- package/dist/wasm/node_modules/@types/braces/package.json +0 -36
- package/dist/wasm/node_modules/@types/micromatch/LICENSE +0 -21
- package/dist/wasm/node_modules/@types/micromatch/README.md +0 -15
- package/dist/wasm/node_modules/@types/micromatch/index.d.ts +0 -670
- package/dist/wasm/node_modules/@types/micromatch/package.json +0 -28
- package/dist/wasm/node_modules/@yarnpkg/fslib/README.md +0 -17
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/AliasFS.d.ts +0 -16
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/AliasFS.js +0 -24
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/CwdFS.d.ts +0 -15
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/CwdFS.js +0 -36
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/FakeFS.d.ts +0 -398
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/FakeFS.js +0 -451
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/JailFS.d.ts +0 -16
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/JailFS.js +0 -35
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/LazyFS.d.ts +0 -13
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/LazyFS.js +0 -26
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/MountFS.d.ts +0 -278
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/MountFS.js +0 -873
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/NoFS.d.ts +0 -78
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/NoFS.js +0 -229
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/NodeFS.d.ts +0 -223
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/NodeFS.js +0 -476
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/NodePathFS.d.ts +0 -18
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/NodePathFS.js +0 -47
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/PosixFS.d.ts +0 -9
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/PosixFS.js +0 -18
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/ProxiedFS.d.ts +0 -229
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/ProxiedFS.js +0 -255
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/VirtualFS.d.ts +0 -19
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/VirtualFS.js +0 -89
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/copyPromise.d.ts +0 -19
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/copyPromise.js +0 -271
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/opendir.d.ts +0 -22
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/opendir.js +0 -65
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/watchFile/CustomStatWatcher.d.ts +0 -59
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/watchFile/CustomStatWatcher.js +0 -139
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/watchFile.d.ts +0 -6
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/watchFile.js +0 -67
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/constants.d.ts +0 -13
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/constants.js +0 -16
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/errors.d.ts +0 -36
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/errors.js +0 -54
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/index.d.ts +0 -48
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/index.js +0 -55
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/patchFs/FileHandle.d.ts +0 -81
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/patchFs/FileHandle.js +0 -254
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/patchFs/patchFs.d.ts +0 -5
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/patchFs/patchFs.js +0 -265
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/path.d.ts +0 -84
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/path.js +0 -103
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/statUtils.d.ts +0 -81
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/statUtils.js +0 -238
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/xfs.d.ts +0 -18
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/xfs.js +0 -123
- package/dist/wasm/node_modules/@yarnpkg/fslib/package.json +0 -42
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/resolution.d.ts +0 -1
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/resolution.js +0 -530
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/resolution.pegjs +0 -17
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/shell.d.ts +0 -92
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/shell.js +0 -3653
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/shell.pegjs +0 -189
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/syml.d.ts +0 -1
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/syml.js +0 -1911
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/syml.pegjs +0 -125
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/index.d.ts +0 -6
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/index.js +0 -24
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/resolution.d.ts +0 -12
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/resolution.js +0 -31
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/shell.d.ts +0 -19
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/shell.js +0 -170
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/syml.d.ts +0 -11
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/syml.js +0 -132
- package/dist/wasm/node_modules/@yarnpkg/parsers/package.json +0 -46
- package/dist/wasm/node_modules/@yarnpkg/shell/README.md +0 -38
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/boot-cli-dev.js +0 -3
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/cli.d.ts +0 -2
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/cli.js +0 -19
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/commands/entry.d.ts +0 -8
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/commands/entry.js +0 -60
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/errors.d.ts +0 -6
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/errors.js +0 -13
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/globUtils.d.ts +0 -23
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/globUtils.js +0 -47
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/index.d.ts +0 -56
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/index.js +0 -926
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/pipe.d.ts +0 -54
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/pipe.js +0 -281
- package/dist/wasm/node_modules/@yarnpkg/shell/package.json +0 -54
- package/dist/wasm/node_modules/ansi-styles/index.d.ts +0 -345
- package/dist/wasm/node_modules/ansi-styles/index.js +0 -163
- package/dist/wasm/node_modules/ansi-styles/license +0 -9
- package/dist/wasm/node_modules/ansi-styles/package.json +0 -56
- package/dist/wasm/node_modules/ansi-styles/readme.md +0 -152
- package/dist/wasm/node_modules/argparse/CHANGELOG.md +0 -216
- package/dist/wasm/node_modules/argparse/LICENSE +0 -254
- package/dist/wasm/node_modules/argparse/README.md +0 -84
- package/dist/wasm/node_modules/argparse/argparse.js +0 -3707
- package/dist/wasm/node_modules/argparse/lib/sub.js +0 -67
- package/dist/wasm/node_modules/argparse/lib/textwrap.js +0 -440
- package/dist/wasm/node_modules/argparse/package.json +0 -31
- package/dist/wasm/node_modules/braces/LICENSE +0 -21
- package/dist/wasm/node_modules/braces/README.md +0 -586
- package/dist/wasm/node_modules/braces/index.js +0 -170
- package/dist/wasm/node_modules/braces/lib/compile.js +0 -60
- package/dist/wasm/node_modules/braces/lib/constants.js +0 -57
- package/dist/wasm/node_modules/braces/lib/expand.js +0 -113
- package/dist/wasm/node_modules/braces/lib/parse.js +0 -331
- package/dist/wasm/node_modules/braces/lib/stringify.js +0 -32
- package/dist/wasm/node_modules/braces/lib/utils.js +0 -122
- package/dist/wasm/node_modules/braces/package.json +0 -77
- package/dist/wasm/node_modules/chalk/index.d.ts +0 -415
- package/dist/wasm/node_modules/chalk/license +0 -9
- package/dist/wasm/node_modules/chalk/package.json +0 -68
- package/dist/wasm/node_modules/chalk/readme.md +0 -341
- package/dist/wasm/node_modules/chalk/source/index.js +0 -229
- package/dist/wasm/node_modules/chalk/source/templates.js +0 -134
- package/dist/wasm/node_modules/chalk/source/util.js +0 -39
- package/dist/wasm/node_modules/clipanion/README.md +0 -98
- package/dist/wasm/node_modules/clipanion/lib/advanced/Cli.d.ts +0 -225
- package/dist/wasm/node_modules/clipanion/lib/advanced/Cli.js +0 -406
- package/dist/wasm/node_modules/clipanion/lib/advanced/Cli.mjs +0 -398
- package/dist/wasm/node_modules/clipanion/lib/advanced/Command.d.ts +0 -144
- package/dist/wasm/node_modules/clipanion/lib/advanced/Command.js +0 -91
- package/dist/wasm/node_modules/clipanion/lib/advanced/Command.mjs +0 -67
- package/dist/wasm/node_modules/clipanion/lib/advanced/HelpCommand.d.ts +0 -11
- package/dist/wasm/node_modules/clipanion/lib/advanced/HelpCommand.js +0 -54
- package/dist/wasm/node_modules/clipanion/lib/advanced/HelpCommand.mjs +0 -50
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/definitions.d.ts +0 -8
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/definitions.js +0 -17
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/definitions.mjs +0 -13
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/help.d.ts +0 -10
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/help.js +0 -19
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/help.mjs +0 -15
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/index.d.ts +0 -3
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/index.js +0 -13
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/index.mjs +0 -3
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/version.d.ts +0 -10
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/version.js +0 -20
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/version.mjs +0 -16
- package/dist/wasm/node_modules/clipanion/lib/advanced/index.d.ts +0 -7
- package/dist/wasm/node_modules/clipanion/lib/advanced/index.js +0 -19
- package/dist/wasm/node_modules/clipanion/lib/advanced/index.mjs +0 -8
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Array.d.ts +0 -17
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Array.js +0 -37
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Array.mjs +0 -33
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Boolean.d.ts +0 -14
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Boolean.js +0 -34
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Boolean.mjs +0 -30
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Counter.d.ts +0 -15
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Counter.js +0 -41
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Counter.mjs +0 -37
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Proxy.d.ts +0 -18
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Proxy.js +0 -35
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Proxy.mjs +0 -31
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Rest.d.ts +0 -18
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Rest.js +0 -51
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Rest.mjs +0 -47
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/String.d.ts +0 -49
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/String.js +0 -84
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/String.mjs +0 -80
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/index.d.ts +0 -7
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/index.js +0 -26
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/index.mjs +0 -7
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/utils.d.ts +0 -25
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/utils.js +0 -59
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/utils.mjs +0 -50
- package/dist/wasm/node_modules/clipanion/lib/constants.d.ts +0 -11
- package/dist/wasm/node_modules/clipanion/lib/constants.js +0 -27
- package/dist/wasm/node_modules/clipanion/lib/constants.mjs +0 -13
- package/dist/wasm/node_modules/clipanion/lib/core.d.ts +0 -462
- package/dist/wasm/node_modules/clipanion/lib/core.js +0 -827
- package/dist/wasm/node_modules/clipanion/lib/core.mjs +0 -800
- package/dist/wasm/node_modules/clipanion/lib/demos/advanced.d.ts +0 -22
- package/dist/wasm/node_modules/clipanion/lib/errors.d.ts +0 -52
- package/dist/wasm/node_modules/clipanion/lib/errors.js +0 -70
- package/dist/wasm/node_modules/clipanion/lib/errors.mjs +0 -64
- package/dist/wasm/node_modules/clipanion/lib/format.d.ts +0 -19
- package/dist/wasm/node_modules/clipanion/lib/format.js +0 -74
- package/dist/wasm/node_modules/clipanion/lib/format.mjs +0 -68
- package/dist/wasm/node_modules/clipanion/package.json +0 -68
- package/dist/wasm/node_modules/color-convert/CHANGELOG.md +0 -54
- package/dist/wasm/node_modules/color-convert/LICENSE +0 -21
- package/dist/wasm/node_modules/color-convert/README.md +0 -68
- package/dist/wasm/node_modules/color-convert/conversions.js +0 -839
- package/dist/wasm/node_modules/color-convert/index.js +0 -81
- package/dist/wasm/node_modules/color-convert/package.json +0 -48
- package/dist/wasm/node_modules/color-convert/route.js +0 -97
- package/dist/wasm/node_modules/color-name/LICENSE +0 -8
- package/dist/wasm/node_modules/color-name/README.md +0 -11
- package/dist/wasm/node_modules/color-name/index.js +0 -152
- package/dist/wasm/node_modules/color-name/package.json +0 -28
- package/dist/wasm/node_modules/cross-spawn/LICENSE +0 -21
- package/dist/wasm/node_modules/cross-spawn/README.md +0 -89
- package/dist/wasm/node_modules/cross-spawn/index.js +0 -39
- package/dist/wasm/node_modules/cross-spawn/lib/enoent.js +0 -59
- package/dist/wasm/node_modules/cross-spawn/lib/parse.js +0 -91
- package/dist/wasm/node_modules/cross-spawn/lib/util/escape.js +0 -47
- package/dist/wasm/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- package/dist/wasm/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- package/dist/wasm/node_modules/cross-spawn/package.json +0 -73
- package/dist/wasm/node_modules/fast-glob/LICENSE +0 -21
- package/dist/wasm/node_modules/fast-glob/README.md +0 -830
- package/dist/wasm/node_modules/fast-glob/out/index.d.ts +0 -40
- package/dist/wasm/node_modules/fast-glob/out/index.js +0 -102
- package/dist/wasm/node_modules/fast-glob/out/managers/tasks.d.ts +0 -22
- package/dist/wasm/node_modules/fast-glob/out/managers/tasks.js +0 -110
- package/dist/wasm/node_modules/fast-glob/out/providers/async.d.ts +0 -9
- package/dist/wasm/node_modules/fast-glob/out/providers/async.js +0 -23
- package/dist/wasm/node_modules/fast-glob/out/providers/filters/deep.d.ts +0 -16
- package/dist/wasm/node_modules/fast-glob/out/providers/filters/deep.js +0 -62
- package/dist/wasm/node_modules/fast-glob/out/providers/filters/entry.d.ts +0 -17
- package/dist/wasm/node_modules/fast-glob/out/providers/filters/entry.js +0 -85
- package/dist/wasm/node_modules/fast-glob/out/providers/filters/error.d.ts +0 -8
- package/dist/wasm/node_modules/fast-glob/out/providers/filters/error.js +0 -15
- package/dist/wasm/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +0 -33
- package/dist/wasm/node_modules/fast-glob/out/providers/matchers/matcher.js +0 -45
- package/dist/wasm/node_modules/fast-glob/out/providers/matchers/partial.d.ts +0 -4
- package/dist/wasm/node_modules/fast-glob/out/providers/matchers/partial.js +0 -38
- package/dist/wasm/node_modules/fast-glob/out/providers/provider.d.ts +0 -19
- package/dist/wasm/node_modules/fast-glob/out/providers/provider.js +0 -48
- package/dist/wasm/node_modules/fast-glob/out/providers/stream.d.ts +0 -11
- package/dist/wasm/node_modules/fast-glob/out/providers/stream.js +0 -31
- package/dist/wasm/node_modules/fast-glob/out/providers/sync.d.ts +0 -9
- package/dist/wasm/node_modules/fast-glob/out/providers/sync.js +0 -23
- package/dist/wasm/node_modules/fast-glob/out/providers/transformers/entry.d.ts +0 -8
- package/dist/wasm/node_modules/fast-glob/out/providers/transformers/entry.js +0 -26
- package/dist/wasm/node_modules/fast-glob/out/readers/async.d.ts +0 -10
- package/dist/wasm/node_modules/fast-glob/out/readers/async.js +0 -35
- package/dist/wasm/node_modules/fast-glob/out/readers/reader.d.ts +0 -15
- package/dist/wasm/node_modules/fast-glob/out/readers/reader.js +0 -33
- package/dist/wasm/node_modules/fast-glob/out/readers/stream.d.ts +0 -14
- package/dist/wasm/node_modules/fast-glob/out/readers/stream.js +0 -55
- package/dist/wasm/node_modules/fast-glob/out/readers/sync.d.ts +0 -12
- package/dist/wasm/node_modules/fast-glob/out/readers/sync.js +0 -43
- package/dist/wasm/node_modules/fast-glob/out/settings.d.ts +0 -164
- package/dist/wasm/node_modules/fast-glob/out/settings.js +0 -59
- package/dist/wasm/node_modules/fast-glob/out/types/index.d.ts +0 -31
- package/dist/wasm/node_modules/fast-glob/out/types/index.js +0 -2
- package/dist/wasm/node_modules/fast-glob/out/utils/array.d.ts +0 -2
- package/dist/wasm/node_modules/fast-glob/out/utils/array.js +0 -22
- package/dist/wasm/node_modules/fast-glob/out/utils/errno.d.ts +0 -2
- package/dist/wasm/node_modules/fast-glob/out/utils/errno.js +0 -7
- package/dist/wasm/node_modules/fast-glob/out/utils/fs.d.ts +0 -4
- package/dist/wasm/node_modules/fast-glob/out/utils/fs.js +0 -19
- package/dist/wasm/node_modules/fast-glob/out/utils/index.d.ts +0 -8
- package/dist/wasm/node_modules/fast-glob/out/utils/index.js +0 -17
- package/dist/wasm/node_modules/fast-glob/out/utils/path.d.ts +0 -13
- package/dist/wasm/node_modules/fast-glob/out/utils/path.js +0 -68
- package/dist/wasm/node_modules/fast-glob/out/utils/pattern.d.ts +0 -49
- package/dist/wasm/node_modules/fast-glob/out/utils/pattern.js +0 -206
- package/dist/wasm/node_modules/fast-glob/out/utils/stream.d.ts +0 -4
- package/dist/wasm/node_modules/fast-glob/out/utils/stream.js +0 -17
- package/dist/wasm/node_modules/fast-glob/out/utils/string.d.ts +0 -2
- package/dist/wasm/node_modules/fast-glob/out/utils/string.js +0 -11
- package/dist/wasm/node_modules/fast-glob/package.json +0 -81
- package/dist/wasm/node_modules/fastq/LICENSE +0 -13
- package/dist/wasm/node_modules/fastq/README.md +0 -310
- package/dist/wasm/node_modules/fastq/SECURITY.md +0 -15
- package/dist/wasm/node_modules/fastq/bench.js +0 -66
- package/dist/wasm/node_modules/fastq/eslint.config.js +0 -11
- package/dist/wasm/node_modules/fastq/example.js +0 -14
- package/dist/wasm/node_modules/fastq/example.mjs +0 -9
- package/dist/wasm/node_modules/fastq/index.d.ts +0 -59
- package/dist/wasm/node_modules/fastq/package.json +0 -49
- package/dist/wasm/node_modules/fastq/queue.js +0 -348
- package/dist/wasm/node_modules/fastq/test/example.ts +0 -83
- package/dist/wasm/node_modules/fastq/test/promise.js +0 -356
- package/dist/wasm/node_modules/fastq/test/test.js +0 -808
- package/dist/wasm/node_modules/fastq/test/tsconfig.json +0 -11
- package/dist/wasm/node_modules/fill-range/LICENSE +0 -21
- package/dist/wasm/node_modules/fill-range/README.md +0 -237
- package/dist/wasm/node_modules/fill-range/index.js +0 -248
- package/dist/wasm/node_modules/fill-range/package.json +0 -74
- package/dist/wasm/node_modules/glob-parent/CHANGELOG.md +0 -110
- package/dist/wasm/node_modules/glob-parent/LICENSE +0 -15
- package/dist/wasm/node_modules/glob-parent/README.md +0 -137
- package/dist/wasm/node_modules/glob-parent/index.js +0 -42
- package/dist/wasm/node_modules/glob-parent/package.json +0 -48
- package/dist/wasm/node_modules/has-flag/index.d.ts +0 -39
- package/dist/wasm/node_modules/has-flag/index.js +0 -8
- package/dist/wasm/node_modules/has-flag/license +0 -9
- package/dist/wasm/node_modules/has-flag/package.json +0 -46
- package/dist/wasm/node_modules/has-flag/readme.md +0 -89
- package/dist/wasm/node_modules/is-extglob/LICENSE +0 -21
- package/dist/wasm/node_modules/is-extglob/README.md +0 -107
- package/dist/wasm/node_modules/is-extglob/index.js +0 -20
- package/dist/wasm/node_modules/is-extglob/package.json +0 -69
- package/dist/wasm/node_modules/is-glob/LICENSE +0 -21
- package/dist/wasm/node_modules/is-glob/README.md +0 -206
- package/dist/wasm/node_modules/is-glob/index.js +0 -150
- package/dist/wasm/node_modules/is-glob/package.json +0 -81
- package/dist/wasm/node_modules/is-number/LICENSE +0 -21
- package/dist/wasm/node_modules/is-number/README.md +0 -187
- package/dist/wasm/node_modules/is-number/index.js +0 -18
- package/dist/wasm/node_modules/is-number/package.json +0 -82
- package/dist/wasm/node_modules/isexe/.npmignore +0 -2
- package/dist/wasm/node_modules/isexe/LICENSE +0 -15
- package/dist/wasm/node_modules/isexe/README.md +0 -51
- package/dist/wasm/node_modules/isexe/index.js +0 -57
- package/dist/wasm/node_modules/isexe/mode.js +0 -41
- package/dist/wasm/node_modules/isexe/package.json +0 -31
- package/dist/wasm/node_modules/isexe/test/basic.js +0 -221
- package/dist/wasm/node_modules/isexe/windows.js +0 -42
- package/dist/wasm/node_modules/js-yaml/LICENSE +0 -21
- package/dist/wasm/node_modules/js-yaml/README.md +0 -246
- package/dist/wasm/node_modules/js-yaml/bin/js-yaml.js +0 -126
- package/dist/wasm/node_modules/js-yaml/dist/js-yaml.js +0 -3874
- package/dist/wasm/node_modules/js-yaml/dist/js-yaml.min.js +0 -2
- package/dist/wasm/node_modules/js-yaml/dist/js-yaml.mjs +0 -3851
- package/dist/wasm/node_modules/js-yaml/index.js +0 -30
- package/dist/wasm/node_modules/js-yaml/lib/common.js +0 -59
- package/dist/wasm/node_modules/js-yaml/lib/dumper.js +0 -979
- package/dist/wasm/node_modules/js-yaml/lib/exception.js +0 -55
- package/dist/wasm/node_modules/js-yaml/lib/loader.js +0 -1733
- package/dist/wasm/node_modules/js-yaml/lib/schema/core.js +0 -11
- package/dist/wasm/node_modules/js-yaml/lib/schema/default.js +0 -22
- package/dist/wasm/node_modules/js-yaml/lib/schema/failsafe.js +0 -17
- package/dist/wasm/node_modules/js-yaml/lib/schema/json.js +0 -19
- package/dist/wasm/node_modules/js-yaml/lib/schema.js +0 -121
- package/dist/wasm/node_modules/js-yaml/lib/snippet.js +0 -101
- package/dist/wasm/node_modules/js-yaml/lib/type/binary.js +0 -125
- package/dist/wasm/node_modules/js-yaml/lib/type/bool.js +0 -35
- package/dist/wasm/node_modules/js-yaml/lib/type/float.js +0 -97
- package/dist/wasm/node_modules/js-yaml/lib/type/int.js +0 -156
- package/dist/wasm/node_modules/js-yaml/lib/type/map.js +0 -8
- package/dist/wasm/node_modules/js-yaml/lib/type/merge.js +0 -12
- package/dist/wasm/node_modules/js-yaml/lib/type/null.js +0 -35
- package/dist/wasm/node_modules/js-yaml/lib/type/omap.js +0 -44
- package/dist/wasm/node_modules/js-yaml/lib/type/pairs.js +0 -53
- package/dist/wasm/node_modules/js-yaml/lib/type/seq.js +0 -8
- package/dist/wasm/node_modules/js-yaml/lib/type/set.js +0 -29
- package/dist/wasm/node_modules/js-yaml/lib/type/str.js +0 -8
- package/dist/wasm/node_modules/js-yaml/lib/type/timestamp.js +0 -88
- package/dist/wasm/node_modules/js-yaml/lib/type.js +0 -65
- package/dist/wasm/node_modules/js-yaml/package.json +0 -65
- package/dist/wasm/node_modules/merge2/LICENSE +0 -21
- package/dist/wasm/node_modules/merge2/README.md +0 -144
- package/dist/wasm/node_modules/merge2/index.js +0 -144
- package/dist/wasm/node_modules/merge2/package.json +0 -43
- package/dist/wasm/node_modules/micromatch/LICENSE +0 -21
- package/dist/wasm/node_modules/micromatch/README.md +0 -1024
- package/dist/wasm/node_modules/micromatch/index.js +0 -474
- package/dist/wasm/node_modules/micromatch/package.json +0 -119
- package/dist/wasm/node_modules/path-key/index.d.ts +0 -40
- package/dist/wasm/node_modules/path-key/index.js +0 -16
- package/dist/wasm/node_modules/path-key/license +0 -9
- package/dist/wasm/node_modules/path-key/package.json +0 -39
- package/dist/wasm/node_modules/path-key/readme.md +0 -61
- package/dist/wasm/node_modules/picomatch/LICENSE +0 -21
- package/dist/wasm/node_modules/picomatch/README.md +0 -716
- package/dist/wasm/node_modules/picomatch/index.js +0 -3
- package/dist/wasm/node_modules/picomatch/lib/constants.js +0 -184
- package/dist/wasm/node_modules/picomatch/lib/parse.js +0 -1392
- package/dist/wasm/node_modules/picomatch/lib/picomatch.js +0 -342
- package/dist/wasm/node_modules/picomatch/lib/scan.js +0 -391
- package/dist/wasm/node_modules/picomatch/lib/utils.js +0 -64
- package/dist/wasm/node_modules/picomatch/package.json +0 -81
- package/dist/wasm/node_modules/queue-microtask/LICENSE +0 -20
- package/dist/wasm/node_modules/queue-microtask/README.md +0 -90
- package/dist/wasm/node_modules/queue-microtask/index.d.ts +0 -2
- package/dist/wasm/node_modules/queue-microtask/index.js +0 -9
- package/dist/wasm/node_modules/queue-microtask/package.json +0 -55
- package/dist/wasm/node_modules/reusify/.github/dependabot.yml +0 -7
- package/dist/wasm/node_modules/reusify/.github/workflows/ci.yml +0 -96
- package/dist/wasm/node_modules/reusify/LICENSE +0 -22
- package/dist/wasm/node_modules/reusify/README.md +0 -139
- package/dist/wasm/node_modules/reusify/SECURITY.md +0 -15
- package/dist/wasm/node_modules/reusify/benchmarks/createNoCodeFunction.js +0 -30
- package/dist/wasm/node_modules/reusify/benchmarks/fib.js +0 -13
- package/dist/wasm/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +0 -38
- package/dist/wasm/node_modules/reusify/eslint.config.js +0 -14
- package/dist/wasm/node_modules/reusify/package.json +0 -50
- package/dist/wasm/node_modules/reusify/reusify.d.ts +0 -14
- package/dist/wasm/node_modules/reusify/reusify.js +0 -33
- package/dist/wasm/node_modules/reusify/test.js +0 -66
- package/dist/wasm/node_modules/reusify/tsconfig.json +0 -11
- package/dist/wasm/node_modules/run-parallel/LICENSE +0 -20
- package/dist/wasm/node_modules/run-parallel/README.md +0 -85
- package/dist/wasm/node_modules/run-parallel/index.js +0 -51
- package/dist/wasm/node_modules/run-parallel/package.json +0 -58
- package/dist/wasm/node_modules/shebang-command/index.js +0 -19
- package/dist/wasm/node_modules/shebang-command/license +0 -9
- package/dist/wasm/node_modules/shebang-command/package.json +0 -34
- package/dist/wasm/node_modules/shebang-command/readme.md +0 -34
- package/dist/wasm/node_modules/shebang-regex/index.d.ts +0 -22
- package/dist/wasm/node_modules/shebang-regex/index.js +0 -2
- package/dist/wasm/node_modules/shebang-regex/license +0 -9
- package/dist/wasm/node_modules/shebang-regex/package.json +0 -35
- package/dist/wasm/node_modules/shebang-regex/readme.md +0 -33
- package/dist/wasm/node_modules/supports-color/browser.js +0 -5
- package/dist/wasm/node_modules/supports-color/index.js +0 -135
- package/dist/wasm/node_modules/supports-color/license +0 -9
- package/dist/wasm/node_modules/supports-color/package.json +0 -53
- package/dist/wasm/node_modules/supports-color/readme.md +0 -76
- package/dist/wasm/node_modules/to-regex-range/LICENSE +0 -21
- package/dist/wasm/node_modules/to-regex-range/README.md +0 -305
- package/dist/wasm/node_modules/to-regex-range/index.js +0 -288
- package/dist/wasm/node_modules/to-regex-range/package.json +0 -88
- package/dist/wasm/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/dist/wasm/node_modules/tslib/LICENSE.txt +0 -12
- package/dist/wasm/node_modules/tslib/README.md +0 -164
- package/dist/wasm/node_modules/tslib/SECURITY.md +0 -41
- package/dist/wasm/node_modules/tslib/modules/index.d.ts +0 -38
- package/dist/wasm/node_modules/tslib/modules/index.js +0 -70
- package/dist/wasm/node_modules/tslib/modules/package.json +0 -3
- package/dist/wasm/node_modules/tslib/package.json +0 -47
- package/dist/wasm/node_modules/tslib/tslib.d.ts +0 -460
- package/dist/wasm/node_modules/tslib/tslib.es6.html +0 -1
- package/dist/wasm/node_modules/tslib/tslib.es6.js +0 -402
- package/dist/wasm/node_modules/tslib/tslib.es6.mjs +0 -401
- package/dist/wasm/node_modules/tslib/tslib.html +0 -1
- package/dist/wasm/node_modules/tslib/tslib.js +0 -484
- package/dist/wasm/node_modules/typanion/README.md +0 -117
- package/dist/wasm/node_modules/typanion/lib/index.d.ts +0 -5
- package/dist/wasm/node_modules/typanion/lib/index.js +0 -1305
- package/dist/wasm/node_modules/typanion/lib/index.mjs +0 -1249
- package/dist/wasm/node_modules/typanion/lib/internal/format.d.ts +0 -5
- package/dist/wasm/node_modules/typanion/lib/internal/regexps.d.ts +0 -5
- package/dist/wasm/node_modules/typanion/lib/internal/tools.d.ts +0 -5
- package/dist/wasm/node_modules/typanion/lib/predicates/cascadingPredicates.d.ts +0 -114
- package/dist/wasm/node_modules/typanion/lib/predicates/helperPredicates.d.ts +0 -80
- package/dist/wasm/node_modules/typanion/lib/predicates/typePredicates.d.ts +0 -205
- package/dist/wasm/node_modules/typanion/lib/tools.d.ts +0 -90
- package/dist/wasm/node_modules/typanion/lib/types.d.ts +0 -22
- package/dist/wasm/node_modules/typanion/package.json +0 -40
- package/dist/wasm/node_modules/which/CHANGELOG.md +0 -166
- package/dist/wasm/node_modules/which/LICENSE +0 -15
- package/dist/wasm/node_modules/which/README.md +0 -54
- package/dist/wasm/node_modules/which/bin/node-which +0 -52
- package/dist/wasm/node_modules/which/package.json +0 -43
- package/dist/wasm/node_modules/which/which.js +0 -125
- package/dist/wasm/package.json +0 -10
- package/dist/wasm/pnpm.mjs +0 -8
- package/dist/wasm/pnpm.wasm +0 -4
- package/dist/wasm/pnpx.mjs +0 -8
- package/dist/wasm/run.mjs +0 -147
- package/dist/wasm/worker.mjs +0 -56
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
# @tybys/wasm-util
|
|
2
|
-
|
|
3
|
-
WebAssembly related utils for browser environment
|
|
4
|
-
|
|
5
|
-
**The output code is ES2019**
|
|
6
|
-
|
|
7
|
-
## Features
|
|
8
|
-
|
|
9
|
-
All example code below need to be bundled by ES module bundlers like `webpack` / `rollup`, or specify import map in browser native ES module runtime.
|
|
10
|
-
|
|
11
|
-
### WASI polyfill for browser
|
|
12
|
-
|
|
13
|
-
The API is similar to the `require('wasi').WASI` in Node.js.
|
|
14
|
-
|
|
15
|
-
You can use `memfs-browser` to provide filesystem capability.
|
|
16
|
-
|
|
17
|
-
- Example: [https://github.com/toyobayashi/wasi-wabt](https://github.com/toyobayashi/wasi-wabt)
|
|
18
|
-
- Demo: [https://toyobayashi.github.io/wasi-wabt/](https://toyobayashi.github.io/wasi-wabt/)
|
|
19
|
-
|
|
20
|
-
```js
|
|
21
|
-
import { load, WASI } from '@tybys/wasm-util'
|
|
22
|
-
import { Volume, createFsFromVolume } from 'memfs-browser'
|
|
23
|
-
|
|
24
|
-
const fs = createFsFromVolume(Volume.fromJSON({
|
|
25
|
-
'/home/wasi': null
|
|
26
|
-
}))
|
|
27
|
-
|
|
28
|
-
const wasi = new WASI({
|
|
29
|
-
args: ['chrome', 'file.wasm'],
|
|
30
|
-
env: {
|
|
31
|
-
NODE_ENV: 'development',
|
|
32
|
-
WASI_SDK_PATH: '/opt/wasi-sdk'
|
|
33
|
-
},
|
|
34
|
-
preopens: {
|
|
35
|
-
'/': '/'
|
|
36
|
-
},
|
|
37
|
-
fs,
|
|
38
|
-
|
|
39
|
-
// redirect stdout / stderr
|
|
40
|
-
|
|
41
|
-
// print (text) { console.log(text) },
|
|
42
|
-
// printErr (text) { console.error(text) }
|
|
43
|
-
})
|
|
44
|
-
|
|
45
|
-
const imports = {
|
|
46
|
-
wasi_snapshot_preview1: wasi.wasiImport
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
const { module, instance } = await load('/path/to/file.wasm', imports)
|
|
50
|
-
wasi.start(instance)
|
|
51
|
-
// wasi.initialize(instance)
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
Implemented syscalls: [wasi_snapshot_preview1](#wasi_snapshot_preview1)
|
|
55
|
-
|
|
56
|
-
### `load` / `loadSync`
|
|
57
|
-
|
|
58
|
-
`loadSync` has 4KB wasm size limit in browser.
|
|
59
|
-
|
|
60
|
-
```js
|
|
61
|
-
// bundler
|
|
62
|
-
import { load, loadSync } from '@tybys/wasm-util'
|
|
63
|
-
|
|
64
|
-
const imports = { /* ... */ }
|
|
65
|
-
|
|
66
|
-
// using path
|
|
67
|
-
const { module, instance } = await load('/path/to/file.wasm', imports)
|
|
68
|
-
const { module, instance } = loadSync('/path/to/file.wasm', imports)
|
|
69
|
-
|
|
70
|
-
// using URL
|
|
71
|
-
const { module, instance } = await load(new URL('./file.wasm', import.meta.url), imports)
|
|
72
|
-
const { module, instance } = loadSync(new URL('./file.wasm', import.meta.url), imports)
|
|
73
|
-
|
|
74
|
-
// using Uint8Array
|
|
75
|
-
const buffer = new Uint8Array([
|
|
76
|
-
0x00, 0x61, 0x73, 0x6d,
|
|
77
|
-
0x01, 0x00, 0x00, 0x00
|
|
78
|
-
])
|
|
79
|
-
const { module, instance } = await load(buffer, imports)
|
|
80
|
-
const { module, instance } = loadSync(buffer, imports)
|
|
81
|
-
|
|
82
|
-
// auto asyncify
|
|
83
|
-
const {
|
|
84
|
-
module,
|
|
85
|
-
instance: asyncifiedInstance
|
|
86
|
-
} = await load(buffer, imports, { /* asyncify options */})
|
|
87
|
-
asyncifiedInstance.exports.fn() // => return Promise
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### Extend Memory instance
|
|
91
|
-
|
|
92
|
-
```js
|
|
93
|
-
import { Memory, extendMemory } from '@tybys/wasm-util'
|
|
94
|
-
|
|
95
|
-
const memory = new WebAssembly.Memory({ initial: 256 })
|
|
96
|
-
// const memory = instance.exports.memory
|
|
97
|
-
|
|
98
|
-
extendMemory(memory)
|
|
99
|
-
console.log(memory instanceof Memory)
|
|
100
|
-
console.log(memory instanceof WebAssembly.Memory)
|
|
101
|
-
// expose memory view getters like Emscripten
|
|
102
|
-
const { HEAPU8, HEAPU32, view } = memory
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
### Asyncify wrap
|
|
106
|
-
|
|
107
|
-
Build the C code using `clang`, `wasm-ld` and `wasm-opt`
|
|
108
|
-
|
|
109
|
-
```c
|
|
110
|
-
void async_sleep(int ms);
|
|
111
|
-
|
|
112
|
-
int main() {
|
|
113
|
-
async_sleep(200);
|
|
114
|
-
return 0;
|
|
115
|
-
}
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
```js
|
|
119
|
-
import { Asyncify } from '@tybys/wasm-util'
|
|
120
|
-
|
|
121
|
-
const asyncify = new Asyncify()
|
|
122
|
-
|
|
123
|
-
const imports = {
|
|
124
|
-
env: {
|
|
125
|
-
async_sleep: asyncify.wrapImportFunction(function (ms) {
|
|
126
|
-
return new Promise((resolve) => {
|
|
127
|
-
setTimeout(resolve, ms)
|
|
128
|
-
})
|
|
129
|
-
})
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
// async_sleep(200)
|
|
134
|
-
const bytes = await (await fetch('/asyncfied_by_wasm-opt.wasm')).arrayBuffer()
|
|
135
|
-
const { instance } = await WebAssembly.instantiate(bytes, imports)
|
|
136
|
-
const asyncifiedInstance = asyncify.init(instance.exports.memory, instance, {
|
|
137
|
-
wrapExports: ['_start']
|
|
138
|
-
})
|
|
139
|
-
|
|
140
|
-
const p = asyncifedInstance._start()
|
|
141
|
-
console.log(typeof p.then === 'function')
|
|
142
|
-
const now = Date.now()
|
|
143
|
-
await p
|
|
144
|
-
console.log(Date.now() - now >= 200)
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
### wasi_snapshot_preview1
|
|
148
|
-
|
|
149
|
-
- [x] args_get
|
|
150
|
-
- [x] args_sizes_get
|
|
151
|
-
- [x] environ_get
|
|
152
|
-
- [x] environ_sizes_get
|
|
153
|
-
- [x] clock_res_get
|
|
154
|
-
- [x] clock_time_get
|
|
155
|
-
- [ ] ~~fd_advise~~
|
|
156
|
-
- [x] fd_allocate
|
|
157
|
-
- [x] fd_close
|
|
158
|
-
- [x] fd_datasync
|
|
159
|
-
- [x] fd_fdstat_get
|
|
160
|
-
- [ ] ~~fd_fdstat_set_flags~~
|
|
161
|
-
- [x] fd_fdstat_set_rights
|
|
162
|
-
- [x] fd_filestat_get
|
|
163
|
-
- [x] fd_filestat_set_size
|
|
164
|
-
- [x] fd_filestat_set_times
|
|
165
|
-
- [x] fd_pread
|
|
166
|
-
- [x] fd_prestat_get
|
|
167
|
-
- [x] fd_prestat_dir_name
|
|
168
|
-
- [x] fd_pwrite
|
|
169
|
-
- [x] fd_read
|
|
170
|
-
- [x] fd_readdir
|
|
171
|
-
- [x] fd_renumber
|
|
172
|
-
- [x] fd_seek
|
|
173
|
-
- [x] fd_sync
|
|
174
|
-
- [x] fd_tell
|
|
175
|
-
- [x] fd_write
|
|
176
|
-
- [x] path_create_directory
|
|
177
|
-
- [x] path_filestat_get
|
|
178
|
-
- [x] path_filestat_set_times
|
|
179
|
-
- [x] path_link
|
|
180
|
-
- [x] path_open
|
|
181
|
-
- [x] path_readlink
|
|
182
|
-
- [x] path_remove_directory
|
|
183
|
-
- [x] path_rename
|
|
184
|
-
- [x] path_symlink
|
|
185
|
-
- [x] path_unlink_file
|
|
186
|
-
- [x] poll_oneoff (timer only)
|
|
187
|
-
- [x] proc_exit
|
|
188
|
-
- [ ] ~~proc_raise~~
|
|
189
|
-
- [x] sched_yield
|
|
190
|
-
- [x] random_get
|
|
191
|
-
- [ ] ~~sock_recv~~
|
|
192
|
-
- [ ] ~~sock_send~~
|
|
193
|
-
- [ ] ~~sock_shutdown~~
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
-
{
|
|
4
|
-
"tsdocVersion": "0.12",
|
|
5
|
-
"toolPackages": [
|
|
6
|
-
{
|
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
|
8
|
-
"packageVersion": "7.34.4"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|
|
@@ -1,423 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @packageDocumentation
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/** @public */
|
|
6
|
-
export declare class Asyncify {
|
|
7
|
-
private value;
|
|
8
|
-
private exports;
|
|
9
|
-
private dataPtr;
|
|
10
|
-
init<T extends WebAssembly.Exports, U extends Array<Exclude<keyof T, AsyncifyExportName>>>(memory: WebAssembly.Memory, instance: {
|
|
11
|
-
readonly exports: T;
|
|
12
|
-
}, options: AsyncifyOptions): {
|
|
13
|
-
readonly exports: AsyncifyExports<T, U>;
|
|
14
|
-
};
|
|
15
|
-
private assertState;
|
|
16
|
-
wrapImportFunction<T extends Function>(f: T): T;
|
|
17
|
-
wrapImports<T extends WebAssembly.Imports>(imports: T): T;
|
|
18
|
-
wrapExportFunction<T extends Function>(f: T): AsyncifyExportFunction<T>;
|
|
19
|
-
wrapExports<T extends WebAssembly.Exports>(exports: T): AsyncifyExports<T, void>;
|
|
20
|
-
wrapExports<T extends WebAssembly.Exports, U extends Array<Exclude<keyof T, AsyncifyExportName>>>(exports: T, needWrap: U): AsyncifyExports<T, U>;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/** @public */
|
|
24
|
-
export declare type AsyncifyExportFunction<T> = T extends Callable ? (...args: Parameters<T>) => Promise<ReturnType<T>> : T;
|
|
25
|
-
|
|
26
|
-
/** @public */
|
|
27
|
-
export declare type AsyncifyExportName = 'asyncify_get_state' | 'asyncify_start_unwind' | 'asyncify_stop_unwind' | 'asyncify_start_rewind' | 'asyncify_stop_rewind';
|
|
28
|
-
|
|
29
|
-
/** @public */
|
|
30
|
-
export declare type AsyncifyExports<T, U> = T extends Record<string, any> ? {
|
|
31
|
-
[P in keyof T]: T[P] extends Callable ? U extends Array<Exclude<keyof T, AsyncifyExportName>> ? P extends U[number] ? AsyncifyExportFunction<T[P]> : T[P] : AsyncifyExportFunction<T[P]> : T[P];
|
|
32
|
-
} : T;
|
|
33
|
-
|
|
34
|
-
/** @public */
|
|
35
|
-
export declare function asyncifyLoad(asyncify: AsyncifyOptions, urlOrBuffer: string | URL | BufferSource | WebAssembly.Module, imports?: WebAssembly.Imports): Promise<WebAssembly.WebAssemblyInstantiatedSource>;
|
|
36
|
-
|
|
37
|
-
/** @public */
|
|
38
|
-
export declare function asyncifyLoadSync(asyncify: AsyncifyOptions, buffer: BufferSource | WebAssembly.Module, imports?: WebAssembly.Imports): WebAssembly.WebAssemblyInstantiatedSource;
|
|
39
|
-
|
|
40
|
-
/** @public */
|
|
41
|
-
export declare interface AsyncifyOptions {
|
|
42
|
-
wasm64?: boolean;
|
|
43
|
-
tryAllocate?: boolean | {
|
|
44
|
-
size?: number;
|
|
45
|
-
name?: string;
|
|
46
|
-
};
|
|
47
|
-
wrapExports?: string[];
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/** @public */
|
|
51
|
-
export declare interface AsyncWASIOptions extends WASIOptions {
|
|
52
|
-
fs: {
|
|
53
|
-
promises: IFsPromises;
|
|
54
|
-
};
|
|
55
|
-
asyncify?: Asyncify;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/** @public */
|
|
59
|
-
export declare interface BaseEncodingOptions {
|
|
60
|
-
encoding?: BufferEncoding_2;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/** @public */
|
|
64
|
-
export declare interface BigIntStats extends StatsBase<bigint> {
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/** @public */
|
|
68
|
-
declare type BufferEncoding_2 = 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'base64url' | 'latin1' | 'binary' | 'hex';
|
|
69
|
-
export { BufferEncoding_2 as BufferEncoding }
|
|
70
|
-
|
|
71
|
-
/** @public */
|
|
72
|
-
export declare type BufferEncodingOption = 'buffer' | {
|
|
73
|
-
encoding: 'buffer';
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
/** @public */
|
|
77
|
-
export declare type Callable = (...args: any[]) => any;
|
|
78
|
-
|
|
79
|
-
/** @public */
|
|
80
|
-
export declare function createAsyncWASI(options?: AsyncWASIOptions): Promise<WASI>;
|
|
81
|
-
|
|
82
|
-
/** @public */
|
|
83
|
-
export declare function extendMemory(memory: WebAssembly.Memory): Memory;
|
|
84
|
-
|
|
85
|
-
/** @public */
|
|
86
|
-
export declare interface FileHandle {
|
|
87
|
-
readonly fd: number;
|
|
88
|
-
datasync(): Promise<void>;
|
|
89
|
-
sync(): Promise<void>;
|
|
90
|
-
read<TBuffer extends Uint8Array>(buffer: TBuffer, offset?: number, length?: number, position?: number): Promise<{
|
|
91
|
-
bytesRead: number;
|
|
92
|
-
buffer: TBuffer;
|
|
93
|
-
}>;
|
|
94
|
-
stat(opts?: StatOptions & {
|
|
95
|
-
bigint?: false;
|
|
96
|
-
}): Promise<Stats>;
|
|
97
|
-
stat(opts: StatOptions & {
|
|
98
|
-
bigint: true;
|
|
99
|
-
}): Promise<BigIntStats>;
|
|
100
|
-
stat(opts?: StatOptions): Promise<Stats | BigIntStats>;
|
|
101
|
-
truncate(len?: number): Promise<void>;
|
|
102
|
-
utimes(atime: string | number | Date, mtime: string | number | Date): Promise<void>;
|
|
103
|
-
write<TBuffer extends Uint8Array>(buffer: TBuffer, offset?: number, length?: number, position?: number): Promise<{
|
|
104
|
-
bytesWritten: number;
|
|
105
|
-
buffer: TBuffer;
|
|
106
|
-
}>;
|
|
107
|
-
write(data: string | Uint8Array, position?: number, encoding?: BufferEncoding_2): Promise<{
|
|
108
|
-
bytesWritten: number;
|
|
109
|
-
buffer: string;
|
|
110
|
-
}>;
|
|
111
|
-
close(): Promise<void>;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
/** @public */
|
|
115
|
-
export declare interface FinalizeBindingsOptions {
|
|
116
|
-
memory?: WebAssembly.Memory;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/** @public */
|
|
120
|
-
export declare interface IDirent {
|
|
121
|
-
isFile(): boolean;
|
|
122
|
-
isDirectory(): boolean;
|
|
123
|
-
isBlockDevice(): boolean;
|
|
124
|
-
isCharacterDevice(): boolean;
|
|
125
|
-
isSymbolicLink(): boolean;
|
|
126
|
-
isFIFO(): boolean;
|
|
127
|
-
isSocket(): boolean;
|
|
128
|
-
name: string;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/** @public */
|
|
132
|
-
export declare interface IFs {
|
|
133
|
-
fstatSync(fd: number, options?: StatOptions & {
|
|
134
|
-
bigint?: false;
|
|
135
|
-
}): Stats;
|
|
136
|
-
fstatSync(fd: number, options: StatOptions & {
|
|
137
|
-
bigint: true;
|
|
138
|
-
}): BigIntStats;
|
|
139
|
-
fstatSync(fd: number, options?: StatOptions): Stats | BigIntStats;
|
|
140
|
-
statSync(path: PathLike, options?: StatOptions & {
|
|
141
|
-
bigint?: false;
|
|
142
|
-
}): Stats;
|
|
143
|
-
statSync(path: PathLike, options: StatOptions & {
|
|
144
|
-
bigint: true;
|
|
145
|
-
}): BigIntStats;
|
|
146
|
-
statSync(path: PathLike, options?: StatOptions): Stats | BigIntStats;
|
|
147
|
-
lstatSync(path: PathLike, options?: StatOptions & {
|
|
148
|
-
bigint?: false;
|
|
149
|
-
}): Stats;
|
|
150
|
-
lstatSync(path: PathLike, options: StatOptions & {
|
|
151
|
-
bigint: true;
|
|
152
|
-
}): BigIntStats;
|
|
153
|
-
lstatSync(path: PathLike, options?: StatOptions): Stats | BigIntStats;
|
|
154
|
-
utimesSync(path: PathLike, atime: string | number | Date, mtime: string | number | Date): void;
|
|
155
|
-
openSync(path: PathLike, flags: OpenMode, mode?: Mode): number;
|
|
156
|
-
readSync(fd: number, buffer: ArrayBufferView, offset: number, length: number, position: number | null): number;
|
|
157
|
-
readSync(fd: number, buffer: ArrayBufferView, opts?: ReadSyncOptions): number;
|
|
158
|
-
writeSync(fd: number, buffer: ArrayBufferView, offset?: number, length?: number, position?: number): number;
|
|
159
|
-
writeSync(fd: number, string: string, position?: number, encoding?: BufferEncoding_2): number;
|
|
160
|
-
closeSync(fd: number): void;
|
|
161
|
-
readlinkSync(path: PathLike, options?: BaseEncodingOptions | BufferEncoding_2): string;
|
|
162
|
-
readlinkSync(path: PathLike, options: BufferEncodingOption): Uint8Array;
|
|
163
|
-
readlinkSync(path: PathLike, options?: BaseEncodingOptions | string): string | Uint8Array;
|
|
164
|
-
realpathSync(path: PathLike, options?: BaseEncodingOptions | BufferEncoding_2): string;
|
|
165
|
-
realpathSync(path: PathLike, options: BufferEncodingOption): Uint8Array;
|
|
166
|
-
realpathSync(path: PathLike, options?: BaseEncodingOptions | string): string | Uint8Array;
|
|
167
|
-
truncateSync(path: PathLike, len?: number): void;
|
|
168
|
-
ftruncateSync(fd: number, len?: number): void;
|
|
169
|
-
fdatasyncSync(fd: number): void;
|
|
170
|
-
futimesSync(fd: number, atime: string | number | Date, mtime: string | number | Date): void;
|
|
171
|
-
readdirSync(path: PathLike, options?: {
|
|
172
|
-
encoding: BufferEncoding_2 | null;
|
|
173
|
-
withFileTypes?: false;
|
|
174
|
-
} | BufferEncoding_2): string[];
|
|
175
|
-
readdirSync(path: PathLike, options: {
|
|
176
|
-
encoding: 'buffer';
|
|
177
|
-
withFileTypes?: false;
|
|
178
|
-
} | 'buffer'): Uint8Array[];
|
|
179
|
-
readdirSync(path: PathLike, options?: BaseEncodingOptions & {
|
|
180
|
-
withFileTypes?: false;
|
|
181
|
-
} | BufferEncoding_2): string[] | Uint8Array[];
|
|
182
|
-
readdirSync(path: PathLike, options: BaseEncodingOptions & {
|
|
183
|
-
withFileTypes: true;
|
|
184
|
-
}): IDirent[];
|
|
185
|
-
fsyncSync(fd: number): void;
|
|
186
|
-
mkdirSync(path: PathLike, options: MakeDirectoryOptions & {
|
|
187
|
-
recursive: true;
|
|
188
|
-
}): string | undefined;
|
|
189
|
-
mkdirSync(path: PathLike, options?: Mode | (MakeDirectoryOptions & {
|
|
190
|
-
recursive?: false;
|
|
191
|
-
})): void;
|
|
192
|
-
mkdirSync(path: PathLike, options?: Mode | MakeDirectoryOptions): string | undefined;
|
|
193
|
-
rmdirSync(path: PathLike, options?: RmDirOptions): void;
|
|
194
|
-
linkSync(existingPath: PathLike, newPath: PathLike): void;
|
|
195
|
-
unlinkSync(path: PathLike): void;
|
|
196
|
-
renameSync(oldPath: PathLike, newPath: PathLike): void;
|
|
197
|
-
symlinkSync(target: PathLike, path: PathLike, type?: 'dir' | 'file' | 'junction'): void;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
/** @public */
|
|
201
|
-
export declare interface IFsPromises {
|
|
202
|
-
stat(path: PathLike, options?: StatOptions & {
|
|
203
|
-
bigint?: false;
|
|
204
|
-
}): Promise<Stats>;
|
|
205
|
-
stat(path: PathLike, options: StatOptions & {
|
|
206
|
-
bigint: true;
|
|
207
|
-
}): Promise<BigIntStats>;
|
|
208
|
-
stat(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
|
|
209
|
-
lstat(path: PathLike, options?: StatOptions & {
|
|
210
|
-
bigint?: false;
|
|
211
|
-
}): Promise<Stats>;
|
|
212
|
-
lstat(path: PathLike, options: StatOptions & {
|
|
213
|
-
bigint: true;
|
|
214
|
-
}): Promise<BigIntStats>;
|
|
215
|
-
lstat(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
|
|
216
|
-
utimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
|
|
217
|
-
open(path: PathLike, flags: OpenMode, mode?: Mode): Promise<FileHandle>;
|
|
218
|
-
read<TBuffer extends Uint8Array>(handle: FileHandle, buffer: TBuffer, offset?: number, length?: number, position?: number): Promise<{
|
|
219
|
-
bytesRead: number;
|
|
220
|
-
buffer: TBuffer;
|
|
221
|
-
}>;
|
|
222
|
-
write<TBuffer extends Uint8Array>(handle: FileHandle, buffer: TBuffer, offset?: number, length?: number, position?: number): Promise<{
|
|
223
|
-
bytesWritten: number;
|
|
224
|
-
buffer: TBuffer;
|
|
225
|
-
}>;
|
|
226
|
-
readlink(path: PathLike, options?: BaseEncodingOptions | BufferEncoding_2): Promise<string>;
|
|
227
|
-
readlink(path: PathLike, options: BufferEncodingOption): Promise<Uint8Array>;
|
|
228
|
-
readlink(path: PathLike, options?: BaseEncodingOptions | string): Promise<string | Uint8Array>;
|
|
229
|
-
realpath(path: PathLike, options?: BaseEncodingOptions | BufferEncoding_2): Promise<string>;
|
|
230
|
-
realpath(path: PathLike, options: BufferEncodingOption): Promise<Uint8Array>;
|
|
231
|
-
realpath(path: PathLike, options?: BaseEncodingOptions | string): Promise<string | Uint8Array>;
|
|
232
|
-
truncate(path: PathLike, len?: number): Promise<void>;
|
|
233
|
-
ftruncate(handle: FileHandle, len?: number): Promise<void>;
|
|
234
|
-
fdatasync(handle: FileHandle): Promise<void>;
|
|
235
|
-
futimes(handle: FileHandle, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
|
|
236
|
-
readdir(path: PathLike, options?: {
|
|
237
|
-
encoding: BufferEncoding_2 | null;
|
|
238
|
-
withFileTypes?: false;
|
|
239
|
-
} | BufferEncoding_2): Promise<string[]>;
|
|
240
|
-
readdir(path: PathLike, options: {
|
|
241
|
-
encoding: 'buffer';
|
|
242
|
-
withFileTypes?: false;
|
|
243
|
-
} | 'buffer'): Promise<Uint8Array[]>;
|
|
244
|
-
readdir(path: PathLike, options?: BaseEncodingOptions & {
|
|
245
|
-
withFileTypes?: false;
|
|
246
|
-
} | BufferEncoding_2): Promise<string[] | Uint8Array[]>;
|
|
247
|
-
readdir(path: PathLike, options: BaseEncodingOptions & {
|
|
248
|
-
withFileTypes: true;
|
|
249
|
-
}): Promise<IDirent[]>;
|
|
250
|
-
fsync(handle: FileHandle): Promise<void>;
|
|
251
|
-
mkdir(path: PathLike, options: MakeDirectoryOptions & {
|
|
252
|
-
recursive: true;
|
|
253
|
-
}): Promise<string | undefined>;
|
|
254
|
-
mkdir(path: PathLike, options?: Mode | (MakeDirectoryOptions & {
|
|
255
|
-
recursive?: false;
|
|
256
|
-
})): Promise<void>;
|
|
257
|
-
mkdir(path: PathLike, options?: Mode | MakeDirectoryOptions): Promise<string | undefined>;
|
|
258
|
-
rmdir(path: PathLike, options?: RmDirOptions): Promise<void>;
|
|
259
|
-
link(existingPath: PathLike, newPath: PathLike): Promise<void>;
|
|
260
|
-
unlink(path: PathLike): Promise<void>;
|
|
261
|
-
rename(oldPath: PathLike, newPath: PathLike): Promise<void>;
|
|
262
|
-
symlink(target: PathLike, path: PathLike, type?: 'dir' | 'file' | 'junction'): Promise<void>;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
declare const kBindingName: unique symbol;
|
|
266
|
-
|
|
267
|
-
declare const kExitCode: unique symbol;
|
|
268
|
-
|
|
269
|
-
declare const kInstance: unique symbol;
|
|
270
|
-
|
|
271
|
-
declare const kSetMemory: unique symbol;
|
|
272
|
-
|
|
273
|
-
declare const kStarted: unique symbol;
|
|
274
|
-
|
|
275
|
-
/** @public */
|
|
276
|
-
export declare function load(wasmInput: string | URL | BufferSource | WebAssembly.Module, imports?: WebAssembly.Imports): Promise<WebAssembly.WebAssemblyInstantiatedSource>;
|
|
277
|
-
|
|
278
|
-
/** @public */
|
|
279
|
-
export declare function loadSync(wasmInput: BufferSource | WebAssembly.Module, imports?: WebAssembly.Imports): WebAssembly.WebAssemblyInstantiatedSource;
|
|
280
|
-
|
|
281
|
-
/** @public */
|
|
282
|
-
export declare interface MakeDirectoryOptions {
|
|
283
|
-
recursive?: boolean;
|
|
284
|
-
mode?: Mode;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
/** @public */
|
|
288
|
-
export declare class Memory extends WebAssemblyMemory {
|
|
289
|
-
constructor(descriptor: WebAssembly.MemoryDescriptor);
|
|
290
|
-
get HEAP8(): Int8Array;
|
|
291
|
-
get HEAPU8(): Uint8Array;
|
|
292
|
-
get HEAP16(): Int16Array;
|
|
293
|
-
get HEAPU16(): Uint16Array;
|
|
294
|
-
get HEAP32(): Int32Array;
|
|
295
|
-
get HEAPU32(): Uint32Array;
|
|
296
|
-
get HEAP64(): BigInt64Array;
|
|
297
|
-
get HEAPU64(): BigUint64Array;
|
|
298
|
-
get HEAPF32(): Float32Array;
|
|
299
|
-
get HEAPF64(): Float64Array;
|
|
300
|
-
get view(): DataView;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
/** @public */
|
|
304
|
-
export declare type Mode = number | string;
|
|
305
|
-
|
|
306
|
-
/** @public */
|
|
307
|
-
export declare type OpenMode = number | string;
|
|
308
|
-
|
|
309
|
-
/** @public */
|
|
310
|
-
export declare type PathLike = string | Uint8Array | URL;
|
|
311
|
-
|
|
312
|
-
/** @public */
|
|
313
|
-
export declare type PromisifyExports<T, U> = T extends Record<string, any> ? {
|
|
314
|
-
[P in keyof T]: T[P] extends Callable ? U extends Array<keyof T> ? P extends U[number] ? AsyncifyExportFunction<T[P]> : T[P] : AsyncifyExportFunction<T[P]> : T[P];
|
|
315
|
-
} : T;
|
|
316
|
-
|
|
317
|
-
/** @public */
|
|
318
|
-
export declare interface ReadSyncOptions {
|
|
319
|
-
offset?: number;
|
|
320
|
-
length?: number;
|
|
321
|
-
position?: number;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/** @public */
|
|
325
|
-
export declare interface RmDirOptions {
|
|
326
|
-
maxRetries?: number;
|
|
327
|
-
recursive?: boolean;
|
|
328
|
-
retryDelay?: number;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
/** @public */
|
|
332
|
-
export declare interface StatOptions {
|
|
333
|
-
bigint?: boolean;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
/** @public */
|
|
337
|
-
export declare interface Stats extends StatsBase<number> {
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
/** @public */
|
|
341
|
-
export declare interface StatsBase<T> {
|
|
342
|
-
isFile(): boolean;
|
|
343
|
-
isDirectory(): boolean;
|
|
344
|
-
isBlockDevice(): boolean;
|
|
345
|
-
isCharacterDevice(): boolean;
|
|
346
|
-
isSymbolicLink(): boolean;
|
|
347
|
-
isFIFO(): boolean;
|
|
348
|
-
isSocket(): boolean;
|
|
349
|
-
dev: T;
|
|
350
|
-
ino: T;
|
|
351
|
-
mode: T;
|
|
352
|
-
nlink: T;
|
|
353
|
-
uid: T;
|
|
354
|
-
gid: T;
|
|
355
|
-
rdev: T;
|
|
356
|
-
size: T;
|
|
357
|
-
blksize: T;
|
|
358
|
-
blocks: T;
|
|
359
|
-
atimeMs: T;
|
|
360
|
-
mtimeMs: T;
|
|
361
|
-
ctimeMs: T;
|
|
362
|
-
birthtimeMs: T;
|
|
363
|
-
atime: Date;
|
|
364
|
-
mtime: Date;
|
|
365
|
-
ctime: Date;
|
|
366
|
-
birthtime: Date;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
/** @public */
|
|
370
|
-
export declare interface SyncWASIOptions extends WASIOptions {
|
|
371
|
-
fs?: IFs;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
/** @public */
|
|
375
|
-
export declare class WASI {
|
|
376
|
-
private [kSetMemory];
|
|
377
|
-
private [kStarted];
|
|
378
|
-
private [kExitCode];
|
|
379
|
-
private [kInstance];
|
|
380
|
-
private [kBindingName];
|
|
381
|
-
readonly wasiImport: Record<string, any>;
|
|
382
|
-
constructor(options?: SyncWASIOptions);
|
|
383
|
-
finalizeBindings(instance: WebAssembly.Instance, { memory }?: FinalizeBindingsOptions): void;
|
|
384
|
-
start(instance: WebAssembly.Instance): number | undefined | Promise<number> | Promise<undefined>;
|
|
385
|
-
initialize(instance: WebAssembly.Instance): void | Promise<void>;
|
|
386
|
-
getImportObject(): Record<string, Record<string, any>>;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
/** @public */
|
|
390
|
-
export declare interface WASIOptions {
|
|
391
|
-
version?: 'unstable' | 'preview1';
|
|
392
|
-
args?: string[] | undefined;
|
|
393
|
-
env?: Record<string, string> | undefined;
|
|
394
|
-
preopens?: Record<string, string> | undefined;
|
|
395
|
-
/**
|
|
396
|
-
* @defaultValue `false`
|
|
397
|
-
*/
|
|
398
|
-
returnOnExit?: boolean | undefined;
|
|
399
|
-
print?: (str: string) => void;
|
|
400
|
-
printErr?: (str: string) => void;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
/** @public */
|
|
404
|
-
export declare const WebAssemblyMemory: {
|
|
405
|
-
new (descriptor: WebAssembly.MemoryDescriptor): WebAssembly.Memory;
|
|
406
|
-
prototype: WebAssembly.Memory;
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
/** @public */
|
|
410
|
-
export declare function wrapAsyncExport<T extends Function = any>(f: Function): T;
|
|
411
|
-
|
|
412
|
-
/** @public */
|
|
413
|
-
export declare function wrapAsyncImport<T extends (...args: any[]) => any>(f: T, parameterType: WebAssembly.ValueType[], returnType: WebAssembly.ValueType[]): (...args: [object, ...Parameters<T>]) => ReturnType<T>;
|
|
414
|
-
|
|
415
|
-
/** @public */
|
|
416
|
-
export declare function wrapExports<T extends WebAssembly.Exports>(exports: T): PromisifyExports<T, void>;
|
|
417
|
-
|
|
418
|
-
/** @public */
|
|
419
|
-
export declare function wrapExports<T extends WebAssembly.Exports, U extends Array<keyof T>>(exports: T, needWrap: U): PromisifyExports<T, U>;
|
|
420
|
-
|
|
421
|
-
export { }
|
|
422
|
-
|
|
423
|
-
export as namespace wasmUtil;
|