@pnpm/exe 12.9.0 → 12.9.1
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 +2 -2
- package/install.js +1 -8
- package/package.json +15 -15
- 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,221 +0,0 @@
|
|
|
1
|
-
var t = require('tap')
|
|
2
|
-
var fs = require('fs')
|
|
3
|
-
var path = require('path')
|
|
4
|
-
var fixture = path.resolve(__dirname, 'fixtures')
|
|
5
|
-
var meow = fixture + '/meow.cat'
|
|
6
|
-
var mine = fixture + '/mine.cat'
|
|
7
|
-
var ours = fixture + '/ours.cat'
|
|
8
|
-
var fail = fixture + '/fail.false'
|
|
9
|
-
var noent = fixture + '/enoent.exe'
|
|
10
|
-
var mkdirp = require('mkdirp')
|
|
11
|
-
var rimraf = require('rimraf')
|
|
12
|
-
|
|
13
|
-
var isWindows = process.platform === 'win32'
|
|
14
|
-
var hasAccess = typeof fs.access === 'function'
|
|
15
|
-
var winSkip = isWindows && 'windows'
|
|
16
|
-
var accessSkip = !hasAccess && 'no fs.access function'
|
|
17
|
-
var hasPromise = typeof Promise === 'function'
|
|
18
|
-
var promiseSkip = !hasPromise && 'no global Promise'
|
|
19
|
-
|
|
20
|
-
function reset () {
|
|
21
|
-
delete require.cache[require.resolve('../')]
|
|
22
|
-
return require('../')
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
t.test('setup fixtures', function (t) {
|
|
26
|
-
rimraf.sync(fixture)
|
|
27
|
-
mkdirp.sync(fixture)
|
|
28
|
-
fs.writeFileSync(meow, '#!/usr/bin/env cat\nmeow\n')
|
|
29
|
-
fs.chmodSync(meow, parseInt('0755', 8))
|
|
30
|
-
fs.writeFileSync(fail, '#!/usr/bin/env false\n')
|
|
31
|
-
fs.chmodSync(fail, parseInt('0644', 8))
|
|
32
|
-
fs.writeFileSync(mine, '#!/usr/bin/env cat\nmine\n')
|
|
33
|
-
fs.chmodSync(mine, parseInt('0744', 8))
|
|
34
|
-
fs.writeFileSync(ours, '#!/usr/bin/env cat\nours\n')
|
|
35
|
-
fs.chmodSync(ours, parseInt('0754', 8))
|
|
36
|
-
t.end()
|
|
37
|
-
})
|
|
38
|
-
|
|
39
|
-
t.test('promise', { skip: promiseSkip }, function (t) {
|
|
40
|
-
var isexe = reset()
|
|
41
|
-
t.test('meow async', function (t) {
|
|
42
|
-
isexe(meow).then(function (is) {
|
|
43
|
-
t.ok(is)
|
|
44
|
-
t.end()
|
|
45
|
-
})
|
|
46
|
-
})
|
|
47
|
-
t.test('fail async', function (t) {
|
|
48
|
-
isexe(fail).then(function (is) {
|
|
49
|
-
t.notOk(is)
|
|
50
|
-
t.end()
|
|
51
|
-
})
|
|
52
|
-
})
|
|
53
|
-
t.test('noent async', function (t) {
|
|
54
|
-
isexe(noent).catch(function (er) {
|
|
55
|
-
t.ok(er)
|
|
56
|
-
t.end()
|
|
57
|
-
})
|
|
58
|
-
})
|
|
59
|
-
t.test('noent ignore async', function (t) {
|
|
60
|
-
isexe(noent, { ignoreErrors: true }).then(function (is) {
|
|
61
|
-
t.notOk(is)
|
|
62
|
-
t.end()
|
|
63
|
-
})
|
|
64
|
-
})
|
|
65
|
-
t.end()
|
|
66
|
-
})
|
|
67
|
-
|
|
68
|
-
t.test('no promise', function (t) {
|
|
69
|
-
global.Promise = null
|
|
70
|
-
var isexe = reset()
|
|
71
|
-
t.throws('try to meow a promise', function () {
|
|
72
|
-
isexe(meow)
|
|
73
|
-
})
|
|
74
|
-
t.end()
|
|
75
|
-
})
|
|
76
|
-
|
|
77
|
-
t.test('access', { skip: accessSkip || winSkip }, function (t) {
|
|
78
|
-
runTest(t)
|
|
79
|
-
})
|
|
80
|
-
|
|
81
|
-
t.test('mode', { skip: winSkip }, function (t) {
|
|
82
|
-
delete fs.access
|
|
83
|
-
delete fs.accessSync
|
|
84
|
-
var isexe = reset()
|
|
85
|
-
t.ok(isexe.sync(ours, { uid: 0, gid: 0 }))
|
|
86
|
-
t.ok(isexe.sync(mine, { uid: 0, gid: 0 }))
|
|
87
|
-
runTest(t)
|
|
88
|
-
})
|
|
89
|
-
|
|
90
|
-
t.test('windows', function (t) {
|
|
91
|
-
global.TESTING_WINDOWS = true
|
|
92
|
-
var pathExt = '.EXE;.CAT;.CMD;.COM'
|
|
93
|
-
t.test('pathExt option', function (t) {
|
|
94
|
-
runTest(t, { pathExt: '.EXE;.CAT;.CMD;.COM' })
|
|
95
|
-
})
|
|
96
|
-
t.test('pathExt env', function (t) {
|
|
97
|
-
process.env.PATHEXT = pathExt
|
|
98
|
-
runTest(t)
|
|
99
|
-
})
|
|
100
|
-
t.test('no pathExt', function (t) {
|
|
101
|
-
// with a pathExt of '', any filename is fine.
|
|
102
|
-
// so the "fail" one would still pass.
|
|
103
|
-
runTest(t, { pathExt: '', skipFail: true })
|
|
104
|
-
})
|
|
105
|
-
t.test('pathext with empty entry', function (t) {
|
|
106
|
-
// with a pathExt of '', any filename is fine.
|
|
107
|
-
// so the "fail" one would still pass.
|
|
108
|
-
runTest(t, { pathExt: ';' + pathExt, skipFail: true })
|
|
109
|
-
})
|
|
110
|
-
t.end()
|
|
111
|
-
})
|
|
112
|
-
|
|
113
|
-
t.test('cleanup', function (t) {
|
|
114
|
-
rimraf.sync(fixture)
|
|
115
|
-
t.end()
|
|
116
|
-
})
|
|
117
|
-
|
|
118
|
-
function runTest (t, options) {
|
|
119
|
-
var isexe = reset()
|
|
120
|
-
|
|
121
|
-
var optionsIgnore = Object.create(options || {})
|
|
122
|
-
optionsIgnore.ignoreErrors = true
|
|
123
|
-
|
|
124
|
-
if (!options || !options.skipFail) {
|
|
125
|
-
t.notOk(isexe.sync(fail, options))
|
|
126
|
-
}
|
|
127
|
-
t.notOk(isexe.sync(noent, optionsIgnore))
|
|
128
|
-
if (!options) {
|
|
129
|
-
t.ok(isexe.sync(meow))
|
|
130
|
-
} else {
|
|
131
|
-
t.ok(isexe.sync(meow, options))
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
t.ok(isexe.sync(mine, options))
|
|
135
|
-
t.ok(isexe.sync(ours, options))
|
|
136
|
-
t.throws(function () {
|
|
137
|
-
isexe.sync(noent, options)
|
|
138
|
-
})
|
|
139
|
-
|
|
140
|
-
t.test('meow async', function (t) {
|
|
141
|
-
if (!options) {
|
|
142
|
-
isexe(meow, function (er, is) {
|
|
143
|
-
if (er) {
|
|
144
|
-
throw er
|
|
145
|
-
}
|
|
146
|
-
t.ok(is)
|
|
147
|
-
t.end()
|
|
148
|
-
})
|
|
149
|
-
} else {
|
|
150
|
-
isexe(meow, options, function (er, is) {
|
|
151
|
-
if (er) {
|
|
152
|
-
throw er
|
|
153
|
-
}
|
|
154
|
-
t.ok(is)
|
|
155
|
-
t.end()
|
|
156
|
-
})
|
|
157
|
-
}
|
|
158
|
-
})
|
|
159
|
-
|
|
160
|
-
t.test('mine async', function (t) {
|
|
161
|
-
isexe(mine, options, function (er, is) {
|
|
162
|
-
if (er) {
|
|
163
|
-
throw er
|
|
164
|
-
}
|
|
165
|
-
t.ok(is)
|
|
166
|
-
t.end()
|
|
167
|
-
})
|
|
168
|
-
})
|
|
169
|
-
|
|
170
|
-
t.test('ours async', function (t) {
|
|
171
|
-
isexe(ours, options, function (er, is) {
|
|
172
|
-
if (er) {
|
|
173
|
-
throw er
|
|
174
|
-
}
|
|
175
|
-
t.ok(is)
|
|
176
|
-
t.end()
|
|
177
|
-
})
|
|
178
|
-
})
|
|
179
|
-
|
|
180
|
-
if (!options || !options.skipFail) {
|
|
181
|
-
t.test('fail async', function (t) {
|
|
182
|
-
isexe(fail, options, function (er, is) {
|
|
183
|
-
if (er) {
|
|
184
|
-
throw er
|
|
185
|
-
}
|
|
186
|
-
t.notOk(is)
|
|
187
|
-
t.end()
|
|
188
|
-
})
|
|
189
|
-
})
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
t.test('noent async', function (t) {
|
|
193
|
-
isexe(noent, options, function (er, is) {
|
|
194
|
-
t.ok(er)
|
|
195
|
-
t.notOk(is)
|
|
196
|
-
t.end()
|
|
197
|
-
})
|
|
198
|
-
})
|
|
199
|
-
|
|
200
|
-
t.test('noent ignore async', function (t) {
|
|
201
|
-
isexe(noent, optionsIgnore, function (er, is) {
|
|
202
|
-
if (er) {
|
|
203
|
-
throw er
|
|
204
|
-
}
|
|
205
|
-
t.notOk(is)
|
|
206
|
-
t.end()
|
|
207
|
-
})
|
|
208
|
-
})
|
|
209
|
-
|
|
210
|
-
t.test('directory is not executable', function (t) {
|
|
211
|
-
isexe(__dirname, options, function (er, is) {
|
|
212
|
-
if (er) {
|
|
213
|
-
throw er
|
|
214
|
-
}
|
|
215
|
-
t.notOk(is)
|
|
216
|
-
t.end()
|
|
217
|
-
})
|
|
218
|
-
})
|
|
219
|
-
|
|
220
|
-
t.end()
|
|
221
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
module.exports = isexe
|
|
2
|
-
isexe.sync = sync
|
|
3
|
-
|
|
4
|
-
var fs = require('fs')
|
|
5
|
-
|
|
6
|
-
function checkPathExt (path, options) {
|
|
7
|
-
var pathext = options.pathExt !== undefined ?
|
|
8
|
-
options.pathExt : process.env.PATHEXT
|
|
9
|
-
|
|
10
|
-
if (!pathext) {
|
|
11
|
-
return true
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
pathext = pathext.split(';')
|
|
15
|
-
if (pathext.indexOf('') !== -1) {
|
|
16
|
-
return true
|
|
17
|
-
}
|
|
18
|
-
for (var i = 0; i < pathext.length; i++) {
|
|
19
|
-
var p = pathext[i].toLowerCase()
|
|
20
|
-
if (p && path.substr(-p.length).toLowerCase() === p) {
|
|
21
|
-
return true
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
return false
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function checkStat (stat, path, options) {
|
|
28
|
-
if (!stat.isSymbolicLink() && !stat.isFile()) {
|
|
29
|
-
return false
|
|
30
|
-
}
|
|
31
|
-
return checkPathExt(path, options)
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function isexe (path, options, cb) {
|
|
35
|
-
fs.stat(path, function (er, stat) {
|
|
36
|
-
cb(er, er ? false : checkStat(stat, path, options))
|
|
37
|
-
})
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function sync (path, options) {
|
|
41
|
-
return checkStat(fs.statSync(path), path, options)
|
|
42
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
(The MIT License)
|
|
2
|
-
|
|
3
|
-
Copyright (C) 2011-2015 by Vitaly Puzrin
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
JS-YAML - YAML 1.2 parser / writer for JavaScript
|
|
2
|
-
=================================================
|
|
3
|
-
|
|
4
|
-
[](https://github.com/nodeca/js-yaml/actions)
|
|
5
|
-
[](https://www.npmjs.org/package/js-yaml)
|
|
6
|
-
|
|
7
|
-
__[Online Demo](http://nodeca.github.com/js-yaml/)__
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
This is an implementation of [YAML](http://yaml.org/), a human-friendly data
|
|
11
|
-
serialization language. Started as [PyYAML](http://pyyaml.org/) port, it was
|
|
12
|
-
completely rewritten from scratch. Now it's very fast, and supports 1.2 spec.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Installation
|
|
16
|
-
------------
|
|
17
|
-
|
|
18
|
-
### YAML module for node.js
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
npm install js-yaml
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
### CLI executable
|
|
26
|
-
|
|
27
|
-
If you want to inspect your YAML files from CLI, install js-yaml globally:
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
npm install -g js-yaml
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
#### Usage
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
usage: js-yaml [-h] [-v] [-c] [-t] file
|
|
37
|
-
|
|
38
|
-
Positional arguments:
|
|
39
|
-
file File with YAML document(s)
|
|
40
|
-
|
|
41
|
-
Optional arguments:
|
|
42
|
-
-h, --help Show this help message and exit.
|
|
43
|
-
-v, --version Show program's version number and exit.
|
|
44
|
-
-c, --compact Display errors in compact mode
|
|
45
|
-
-t, --trace Show stack trace on error
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
API
|
|
50
|
-
---
|
|
51
|
-
|
|
52
|
-
Here we cover the most 'useful' methods. If you need advanced details (creating
|
|
53
|
-
your own tags), see [examples](https://github.com/nodeca/js-yaml/tree/master/examples)
|
|
54
|
-
for more info.
|
|
55
|
-
|
|
56
|
-
``` javascript
|
|
57
|
-
const yaml = require('js-yaml');
|
|
58
|
-
const fs = require('fs');
|
|
59
|
-
|
|
60
|
-
// Get document, or throw exception on error
|
|
61
|
-
try {
|
|
62
|
-
const doc = yaml.load(fs.readFileSync('/home/ixti/example.yml', 'utf8'));
|
|
63
|
-
console.log(doc);
|
|
64
|
-
} catch (e) {
|
|
65
|
-
console.log(e);
|
|
66
|
-
}
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
### load (string [ , options ])
|
|
71
|
-
|
|
72
|
-
Parses `string` as single YAML document. Returns either a
|
|
73
|
-
plain object, a string, a number, `null` or `undefined`, or throws `YAMLException` on error. By default, does
|
|
74
|
-
not support regexps, functions and undefined.
|
|
75
|
-
|
|
76
|
-
options:
|
|
77
|
-
|
|
78
|
-
- `filename` _(default: null)_ - string to be used as a file path in
|
|
79
|
-
error/warning messages.
|
|
80
|
-
- `onWarning` _(default: null)_ - function to call on warning messages.
|
|
81
|
-
Loader will call this function with an instance of `YAMLException` for each warning.
|
|
82
|
-
- `schema` _(default: `DEFAULT_SCHEMA`)_ - specifies a schema to use.
|
|
83
|
-
- `FAILSAFE_SCHEMA` - only strings, arrays and plain objects:
|
|
84
|
-
http://www.yaml.org/spec/1.2/spec.html#id2802346
|
|
85
|
-
- `JSON_SCHEMA` - all JSON-supported types:
|
|
86
|
-
http://www.yaml.org/spec/1.2/spec.html#id2803231
|
|
87
|
-
- `CORE_SCHEMA` - same as `JSON_SCHEMA`:
|
|
88
|
-
http://www.yaml.org/spec/1.2/spec.html#id2804923
|
|
89
|
-
- `DEFAULT_SCHEMA` - all supported YAML types.
|
|
90
|
-
- `json` _(default: false)_ - compatibility with JSON.parse behaviour. If true, then duplicate keys in a mapping will override values rather than throwing an error.
|
|
91
|
-
|
|
92
|
-
NOTE: This function **does not** understand multi-document sources, it throws
|
|
93
|
-
exception on those.
|
|
94
|
-
|
|
95
|
-
NOTE: JS-YAML **does not** support schema-specific tag resolution restrictions.
|
|
96
|
-
So, the JSON schema is not as strictly defined in the YAML specification.
|
|
97
|
-
It allows numbers in any notation, use `Null` and `NULL` as `null`, etc.
|
|
98
|
-
The core schema also has no such restrictions. It allows binary notation for integers.
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
### loadAll (string [, iterator] [, options ])
|
|
102
|
-
|
|
103
|
-
Same as `load()`, but understands multi-document sources. Applies
|
|
104
|
-
`iterator` to each document if specified, or returns array of documents.
|
|
105
|
-
|
|
106
|
-
``` javascript
|
|
107
|
-
const yaml = require('js-yaml');
|
|
108
|
-
|
|
109
|
-
yaml.loadAll(data, function (doc) {
|
|
110
|
-
console.log(doc);
|
|
111
|
-
});
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
### dump (object [ , options ])
|
|
116
|
-
|
|
117
|
-
Serializes `object` as a YAML document. Uses `DEFAULT_SCHEMA`, so it will
|
|
118
|
-
throw an exception if you try to dump regexps or functions. However, you can
|
|
119
|
-
disable exceptions by setting the `skipInvalid` option to `true`.
|
|
120
|
-
|
|
121
|
-
options:
|
|
122
|
-
|
|
123
|
-
- `indent` _(default: 2)_ - indentation width to use (in spaces).
|
|
124
|
-
- `noArrayIndent` _(default: false)_ - when true, will not add an indentation level to array elements
|
|
125
|
-
- `skipInvalid` _(default: false)_ - do not throw on invalid types (like function
|
|
126
|
-
in the safe schema) and skip pairs and single values with such types.
|
|
127
|
-
- `flowLevel` _(default: -1)_ - specifies level of nesting, when to switch from
|
|
128
|
-
block to flow style for collections. -1 means block style everwhere
|
|
129
|
-
- `styles` - "tag" => "style" map. Each tag may have own set of styles.
|
|
130
|
-
- `schema` _(default: `DEFAULT_SCHEMA`)_ specifies a schema to use.
|
|
131
|
-
- `sortKeys` _(default: `false`)_ - if `true`, sort keys when dumping YAML. If a
|
|
132
|
-
function, use the function to sort the keys.
|
|
133
|
-
- `lineWidth` _(default: `80`)_ - set max line width.
|
|
134
|
-
- `noRefs` _(default: `false`)_ - if `true`, don't convert duplicate objects into references
|
|
135
|
-
- `noCompatMode` _(default: `false`)_ - if `true` don't try to be compatible with older
|
|
136
|
-
yaml versions. Currently: don't quote "yes", "no" and so on, as required for YAML 1.1
|
|
137
|
-
- `condenseFlow` _(default: `false`)_ - if `true` flow sequences will be condensed, omitting the space between `a, b`. Eg. `'[a,b]'`, and omitting the space between `key: value` and quoting the key. Eg. `'{"a":b}'` Can be useful when using yaml for pretty URL query params as spaces are %-encoded.
|
|
138
|
-
- `quotingType` _(`'` or `"`, default: `'`)_ - strings will be quoted using this quoting style. If you specify single quotes, double quotes will still be used for non-printable characters.
|
|
139
|
-
- `forceQuotes` _(default: `false`)_ - if `true`, all non-key strings will be quoted even if they normally don't need to.
|
|
140
|
-
- `replacer` - callback `function (key, value)` called recursively on each key/value in source object (see `replacer` docs for `JSON.stringify`).
|
|
141
|
-
|
|
142
|
-
The following table show availlable styles (e.g. "canonical",
|
|
143
|
-
"binary"...) available for each tag (.e.g. !!null, !!int ...). Yaml
|
|
144
|
-
output is shown on the right side after `=>` (default setting) or `->`:
|
|
145
|
-
|
|
146
|
-
``` none
|
|
147
|
-
!!null
|
|
148
|
-
"canonical" -> "~"
|
|
149
|
-
"lowercase" => "null"
|
|
150
|
-
"uppercase" -> "NULL"
|
|
151
|
-
"camelcase" -> "Null"
|
|
152
|
-
|
|
153
|
-
!!int
|
|
154
|
-
"binary" -> "0b1", "0b101010", "0b1110001111010"
|
|
155
|
-
"octal" -> "0o1", "0o52", "0o16172"
|
|
156
|
-
"decimal" => "1", "42", "7290"
|
|
157
|
-
"hexadecimal" -> "0x1", "0x2A", "0x1C7A"
|
|
158
|
-
|
|
159
|
-
!!bool
|
|
160
|
-
"lowercase" => "true", "false"
|
|
161
|
-
"uppercase" -> "TRUE", "FALSE"
|
|
162
|
-
"camelcase" -> "True", "False"
|
|
163
|
-
|
|
164
|
-
!!float
|
|
165
|
-
"lowercase" => ".nan", '.inf'
|
|
166
|
-
"uppercase" -> ".NAN", '.INF'
|
|
167
|
-
"camelcase" -> ".NaN", '.Inf'
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
Example:
|
|
171
|
-
|
|
172
|
-
``` javascript
|
|
173
|
-
dump(object, {
|
|
174
|
-
'styles': {
|
|
175
|
-
'!!null': 'canonical' // dump null as ~
|
|
176
|
-
},
|
|
177
|
-
'sortKeys': true // sort object keys
|
|
178
|
-
});
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
Supported YAML types
|
|
182
|
-
--------------------
|
|
183
|
-
|
|
184
|
-
The list of standard YAML tags and corresponding JavaScript types. See also
|
|
185
|
-
[YAML tag discussion](http://pyyaml.org/wiki/YAMLTagDiscussion) and
|
|
186
|
-
[YAML types repository](http://yaml.org/type/).
|
|
187
|
-
|
|
188
|
-
```
|
|
189
|
-
!!null '' # null
|
|
190
|
-
!!bool 'yes' # bool
|
|
191
|
-
!!int '3...' # number
|
|
192
|
-
!!float '3.14...' # number
|
|
193
|
-
!!binary '...base64...' # buffer
|
|
194
|
-
!!timestamp 'YYYY-...' # date
|
|
195
|
-
!!omap [ ... ] # array of key-value pairs
|
|
196
|
-
!!pairs [ ... ] # array or array pairs
|
|
197
|
-
!!set { ... } # array of objects with given keys and null values
|
|
198
|
-
!!str '...' # string
|
|
199
|
-
!!seq [ ... ] # array
|
|
200
|
-
!!map { ... } # object
|
|
201
|
-
```
|
|
202
|
-
|
|
203
|
-
**JavaScript-specific tags**
|
|
204
|
-
|
|
205
|
-
See [js-yaml-js-types](https://github.com/nodeca/js-yaml-js-types) for
|
|
206
|
-
extra types.
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
Caveats
|
|
210
|
-
-------
|
|
211
|
-
|
|
212
|
-
Note, that you use arrays or objects as key in JS-YAML. JS does not allow objects
|
|
213
|
-
or arrays as keys, and stringifies (by calling `toString()` method) them at the
|
|
214
|
-
moment of adding them.
|
|
215
|
-
|
|
216
|
-
``` yaml
|
|
217
|
-
---
|
|
218
|
-
? [ foo, bar ]
|
|
219
|
-
: - baz
|
|
220
|
-
? { foo: bar }
|
|
221
|
-
: - baz
|
|
222
|
-
- baz
|
|
223
|
-
```
|
|
224
|
-
|
|
225
|
-
``` javascript
|
|
226
|
-
{ "foo,bar": ["baz"], "[object Object]": ["baz", "baz"] }
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
Also, reading of properties on implicit block mapping keys is not supported yet.
|
|
230
|
-
So, the following YAML document cannot be loaded.
|
|
231
|
-
|
|
232
|
-
``` yaml
|
|
233
|
-
&anchor foo:
|
|
234
|
-
foo: bar
|
|
235
|
-
*anchor: duplicate key
|
|
236
|
-
baz: bat
|
|
237
|
-
*anchor: duplicate key
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
js-yaml for enterprise
|
|
242
|
-
----------------------
|
|
243
|
-
|
|
244
|
-
Available as part of the Tidelift Subscription
|
|
245
|
-
|
|
246
|
-
The maintainers of js-yaml and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-js-yaml?utm_source=npm-js-yaml&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
'use strict';
|
|
5
|
-
|
|
6
|
-
/*eslint-disable no-console*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var fs = require('fs');
|
|
10
|
-
var argparse = require('argparse');
|
|
11
|
-
var yaml = require('..');
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
////////////////////////////////////////////////////////////////////////////////
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
var cli = new argparse.ArgumentParser({
|
|
18
|
-
prog: 'js-yaml',
|
|
19
|
-
add_help: true
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
cli.add_argument('-v', '--version', {
|
|
23
|
-
action: 'version',
|
|
24
|
-
version: require('../package.json').version
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
cli.add_argument('-c', '--compact', {
|
|
28
|
-
help: 'Display errors in compact mode',
|
|
29
|
-
action: 'store_true'
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
// deprecated (not needed after we removed output colors)
|
|
33
|
-
// option suppressed, but not completely removed for compatibility
|
|
34
|
-
cli.add_argument('-j', '--to-json', {
|
|
35
|
-
help: argparse.SUPPRESS,
|
|
36
|
-
dest: 'json',
|
|
37
|
-
action: 'store_true'
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
cli.add_argument('-t', '--trace', {
|
|
41
|
-
help: 'Show stack trace on error',
|
|
42
|
-
action: 'store_true'
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
cli.add_argument('file', {
|
|
46
|
-
help: 'File to read, utf-8 encoded without BOM',
|
|
47
|
-
nargs: '?',
|
|
48
|
-
default: '-'
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
////////////////////////////////////////////////////////////////////////////////
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
var options = cli.parse_args();
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
////////////////////////////////////////////////////////////////////////////////
|
|
59
|
-
|
|
60
|
-
function readFile(filename, encoding, callback) {
|
|
61
|
-
if (options.file === '-') {
|
|
62
|
-
// read from stdin
|
|
63
|
-
|
|
64
|
-
var chunks = [];
|
|
65
|
-
|
|
66
|
-
process.stdin.on('data', function (chunk) {
|
|
67
|
-
chunks.push(chunk);
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
process.stdin.on('end', function () {
|
|
71
|
-
return callback(null, Buffer.concat(chunks).toString(encoding));
|
|
72
|
-
});
|
|
73
|
-
} else {
|
|
74
|
-
fs.readFile(filename, encoding, callback);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
readFile(options.file, 'utf8', function (error, input) {
|
|
79
|
-
var output, isYaml;
|
|
80
|
-
|
|
81
|
-
if (error) {
|
|
82
|
-
if (error.code === 'ENOENT') {
|
|
83
|
-
console.error('File not found: ' + options.file);
|
|
84
|
-
process.exit(2);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
console.error(
|
|
88
|
-
options.trace && error.stack ||
|
|
89
|
-
error.message ||
|
|
90
|
-
String(error));
|
|
91
|
-
|
|
92
|
-
process.exit(1);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
try {
|
|
96
|
-
output = JSON.parse(input);
|
|
97
|
-
isYaml = false;
|
|
98
|
-
} catch (err) {
|
|
99
|
-
if (err instanceof SyntaxError) {
|
|
100
|
-
try {
|
|
101
|
-
output = [];
|
|
102
|
-
yaml.loadAll(input, function (doc) { output.push(doc); }, {});
|
|
103
|
-
isYaml = true;
|
|
104
|
-
|
|
105
|
-
if (output.length === 0) output = null;
|
|
106
|
-
else if (output.length === 1) output = output[0];
|
|
107
|
-
|
|
108
|
-
} catch (e) {
|
|
109
|
-
if (options.trace && err.stack) console.error(e.stack);
|
|
110
|
-
else console.error(e.toString(options.compact));
|
|
111
|
-
|
|
112
|
-
process.exit(1);
|
|
113
|
-
}
|
|
114
|
-
} else {
|
|
115
|
-
console.error(
|
|
116
|
-
options.trace && err.stack ||
|
|
117
|
-
err.message ||
|
|
118
|
-
String(err));
|
|
119
|
-
|
|
120
|
-
process.exit(1);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
if (isYaml) console.log(JSON.stringify(output, null, ' '));
|
|
125
|
-
else console.log(yaml.dump(output));
|
|
126
|
-
});
|