@pnpm/exe 12.8.1 → 12.9.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 +5 -1
- package/bin/pnpx.mjs +1 -1
- package/dist/node_modules/.bin/get-pnpm +4 -1
- package/dist/node_modules/.bin/node-gyp +4 -1
- package/dist/node_modules/.bin/node-which +4 -1
- package/dist/node_modules/.bin/nopt +4 -1
- package/dist/node_modules/.bin/semver +4 -1
- package/dist/node_modules/.pnpm-workspace-state-v1.json +18 -11
- package/dist/node_modules/undici/lib/core/request.js +68 -2
- package/dist/node_modules/undici/lib/dispatcher/client-h1.js +18 -7
- package/dist/node_modules/undici/lib/dispatcher/client-h2.js +70 -18
- package/dist/node_modules/undici/lib/handler/retry-handler.js +4 -1
- package/dist/node_modules/undici/package.json +1 -1
- package/dist/wasm/LICENSE +22 -0
- package/dist/wasm/README.md +140 -0
- package/dist/wasm/THIRD-PARTY-NOTICES.md +42 -0
- package/dist/wasm/host/atomic-waits.mjs +43 -0
- package/dist/wasm/host/cancellation.mjs +6 -0
- package/dist/wasm/host/executable-mode.mjs +8 -0
- package/dist/wasm/host/file-locks.mjs +40 -0
- package/dist/wasm/host/filesystem.mjs +318 -0
- package/dist/wasm/host/guest-imports.mjs +45 -0
- package/dist/wasm/host/guest-operations.mjs +148 -0
- package/dist/wasm/host/lock-registry.mjs +167 -0
- package/dist/wasm/host/network.mjs +76 -0
- package/dist/wasm/host/operations.mjs +67 -0
- package/dist/wasm/host/poll.mjs +74 -0
- package/dist/wasm/host/process-stdio.mjs +41 -0
- package/dist/wasm/host/process-tree.mjs +54 -0
- package/dist/wasm/host/process.mjs +126 -0
- package/dist/wasm/host/protocol.mjs +1 -0
- package/dist/wasm/host/resources.mjs +76 -0
- package/dist/wasm/host/shell-runner.mjs +8 -0
- package/dist/wasm/host/shell.mjs +19 -0
- package/dist/wasm/host/signals.mjs +49 -0
- package/dist/wasm/host/terminal-input.mjs +7 -0
- package/dist/wasm/host/terminal-password.mjs +32 -0
- package/dist/wasm/host/terminal-session.mjs +114 -0
- package/dist/wasm/host/terminal.mjs +61 -0
- package/dist/wasm/host/thread-spawn.mjs +21 -0
- package/dist/wasm/host/upload.mjs +21 -0
- package/dist/wasm/host/wait-for-reply.mjs +7 -0
- package/dist/wasm/host/wasi-errno.mjs +81 -0
- package/dist/wasm/host/wasi-imports.mjs +58 -0
- package/dist/wasm/node_modules/.bin/js-yaml +91 -0
- package/dist/wasm/node_modules/.bin/node-which +91 -0
- package/dist/wasm/node_modules/.bin/shell +91 -0
- package/dist/wasm/node_modules/.pnpm-workspace-state-v1.json +355 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/LICENSE +21 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/README.md +203 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.cjs.js +894 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.cjs.min.d.ts +272 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.cjs.min.js +1 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.d.mts +272 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.d.ts +274 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.esm-bundler.js +942 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.js +954 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.min.d.mts +272 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.min.js +1 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.min.mjs +1 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/dist/wasi-threads.mjs +889 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/index.js +5 -0
- package/dist/wasm/node_modules/@emnapi/wasi-threads/package.json +50 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/LICENSE +21 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/README.md +171 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +19 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/constants.d.ts +4 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/constants.js +17 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/index.d.ts +12 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/index.js +26 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/providers/async.js +104 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +1 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/providers/common.js +13 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +5 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/providers/sync.js +54 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/settings.d.ts +20 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/settings.js +24 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/types/index.js +2 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +2 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/utils/fs.js +19 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +2 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/out/utils/index.js +5 -0
- package/dist/wasm/node_modules/@nodelib/fs.scandir/package.json +44 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/LICENSE +21 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/README.md +126 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/adapters/fs.js +17 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/index.d.ts +12 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/index.js +26 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/providers/async.js +36 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +3 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/providers/sync.js +23 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/settings.d.ts +16 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/settings.js +16 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/types/index.d.ts +4 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/out/types/index.js +2 -0
- package/dist/wasm/node_modules/@nodelib/fs.stat/package.json +37 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/LICENSE +21 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/README.md +215 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/index.d.ts +14 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/index.js +34 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/async.js +30 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +4 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/index.js +9 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +12 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/stream.js +34 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +10 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/providers/sync.js +14 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/async.js +97 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +7 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/common.js +31 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/reader.js +11 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +15 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/readers/sync.js +59 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/settings.d.ts +30 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/settings.js +26 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/types/index.d.ts +8 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/out/types/index.js +2 -0
- package/dist/wasm/node_modules/@nodelib/fs.walk/package.json +44 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/LICENSE +21 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/README.md +193 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/dist/tsdoc-metadata.json +11 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/dist/wasm-util.d.ts +423 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/dist/wasm-util.esm-bundler.js +2932 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/dist/wasm-util.esm.js +2932 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/dist/wasm-util.esm.min.js +1 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/dist/wasm-util.js +2954 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/dist/wasm-util.min.js +1 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/asyncify.js +158 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/index.js +13 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/jspi.js +46 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/load.js +97 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/memory.js +35 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/error.js +103 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/fd.js +268 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/fs.js +3 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/index.js +192 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/path.js +316 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/preview1.js +1599 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/rights.js +141 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/types.js +220 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/wasi/util.js +128 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/cjs/webassembly.js +13 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/asyncify.mjs +153 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/index.mjs +9 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/jspi.mjs +39 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/load.mjs +89 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/memory.mjs +28 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/error.mjs +97 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/fd.mjs +256 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/fs.mjs +1 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/index.mjs +186 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/path.mjs +310 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/preview1.mjs +1593 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/rights.mjs +135 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/types.mjs +216 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/wasi/util.mjs +113 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/lib/mjs/webassembly.mjs +9 -0
- package/dist/wasm/node_modules/@tybys/wasm-util/package.json +58 -0
- package/dist/wasm/node_modules/@types/braces/LICENSE +21 -0
- package/dist/wasm/node_modules/@types/braces/README.md +15 -0
- package/dist/wasm/node_modules/@types/braces/index.d.ts +100 -0
- package/dist/wasm/node_modules/@types/braces/package.json +36 -0
- package/dist/wasm/node_modules/@types/micromatch/LICENSE +21 -0
- package/dist/wasm/node_modules/@types/micromatch/README.md +15 -0
- package/dist/wasm/node_modules/@types/micromatch/index.d.ts +670 -0
- package/dist/wasm/node_modules/@types/micromatch/package.json +28 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/README.md +17 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/AliasFS.d.ts +16 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/AliasFS.js +24 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/CwdFS.d.ts +15 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/CwdFS.js +36 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/FakeFS.d.ts +398 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/FakeFS.js +451 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/JailFS.d.ts +16 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/JailFS.js +35 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/LazyFS.d.ts +13 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/LazyFS.js +26 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/MountFS.d.ts +278 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/MountFS.js +873 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/NoFS.d.ts +78 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/NoFS.js +229 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/NodeFS.d.ts +223 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/NodeFS.js +476 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/NodePathFS.d.ts +18 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/NodePathFS.js +47 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/PosixFS.d.ts +9 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/PosixFS.js +18 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/ProxiedFS.d.ts +229 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/ProxiedFS.js +255 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/VirtualFS.d.ts +19 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/VirtualFS.js +89 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/copyPromise.d.ts +19 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/copyPromise.js +271 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/opendir.d.ts +22 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/opendir.js +65 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/watchFile/CustomStatWatcher.d.ts +59 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/watchFile/CustomStatWatcher.js +139 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/watchFile.d.ts +6 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/algorithms/watchFile.js +67 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/constants.d.ts +13 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/constants.js +16 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/errors.d.ts +36 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/errors.js +54 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/index.d.ts +48 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/index.js +55 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/patchFs/FileHandle.d.ts +81 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/patchFs/FileHandle.js +254 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/patchFs/patchFs.d.ts +5 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/patchFs/patchFs.js +265 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/path.d.ts +84 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/path.js +103 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/statUtils.d.ts +81 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/statUtils.js +238 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/xfs.d.ts +18 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/lib/xfs.js +123 -0
- package/dist/wasm/node_modules/@yarnpkg/fslib/package.json +42 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/resolution.d.ts +1 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/resolution.js +530 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/resolution.pegjs +17 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/shell.d.ts +92 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/shell.js +3653 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/shell.pegjs +189 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/syml.d.ts +1 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/syml.js +1911 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/grammars/syml.pegjs +125 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/index.d.ts +6 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/index.js +24 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/resolution.d.ts +12 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/resolution.js +31 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/shell.d.ts +19 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/shell.js +170 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/syml.d.ts +11 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/lib/syml.js +132 -0
- package/dist/wasm/node_modules/@yarnpkg/parsers/package.json +46 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/README.md +38 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/boot-cli-dev.js +3 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/cli.d.ts +2 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/cli.js +19 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/commands/entry.d.ts +8 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/commands/entry.js +60 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/errors.d.ts +6 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/errors.js +13 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/globUtils.d.ts +23 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/globUtils.js +47 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/index.d.ts +56 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/index.js +926 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/pipe.d.ts +54 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/lib/pipe.js +281 -0
- package/dist/wasm/node_modules/@yarnpkg/shell/package.json +54 -0
- package/dist/wasm/node_modules/ansi-styles/index.d.ts +345 -0
- package/dist/wasm/node_modules/ansi-styles/index.js +163 -0
- package/dist/wasm/node_modules/ansi-styles/license +9 -0
- package/dist/wasm/node_modules/ansi-styles/package.json +56 -0
- package/dist/wasm/node_modules/ansi-styles/readme.md +152 -0
- package/dist/wasm/node_modules/argparse/CHANGELOG.md +216 -0
- package/dist/wasm/node_modules/argparse/LICENSE +254 -0
- package/dist/wasm/node_modules/argparse/README.md +84 -0
- package/dist/wasm/node_modules/argparse/argparse.js +3707 -0
- package/dist/wasm/node_modules/argparse/lib/sub.js +67 -0
- package/dist/wasm/node_modules/argparse/lib/textwrap.js +440 -0
- package/dist/wasm/node_modules/argparse/package.json +31 -0
- package/dist/wasm/node_modules/braces/LICENSE +21 -0
- package/dist/wasm/node_modules/braces/README.md +586 -0
- package/dist/wasm/node_modules/braces/index.js +170 -0
- package/dist/wasm/node_modules/braces/lib/compile.js +60 -0
- package/dist/wasm/node_modules/braces/lib/constants.js +57 -0
- package/dist/wasm/node_modules/braces/lib/expand.js +113 -0
- package/dist/wasm/node_modules/braces/lib/parse.js +331 -0
- package/dist/wasm/node_modules/braces/lib/stringify.js +32 -0
- package/dist/wasm/node_modules/braces/lib/utils.js +122 -0
- package/dist/wasm/node_modules/braces/package.json +77 -0
- package/dist/wasm/node_modules/chalk/index.d.ts +415 -0
- package/dist/wasm/node_modules/chalk/license +9 -0
- package/dist/wasm/node_modules/chalk/package.json +68 -0
- package/dist/wasm/node_modules/chalk/readme.md +341 -0
- package/dist/wasm/node_modules/chalk/source/index.js +229 -0
- package/dist/wasm/node_modules/chalk/source/templates.js +134 -0
- package/dist/wasm/node_modules/chalk/source/util.js +39 -0
- package/dist/wasm/node_modules/clipanion/README.md +98 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/Cli.d.ts +225 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/Cli.js +406 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/Cli.mjs +398 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/Command.d.ts +144 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/Command.js +91 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/Command.mjs +67 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/HelpCommand.d.ts +11 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/HelpCommand.js +54 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/HelpCommand.mjs +50 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/definitions.d.ts +8 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/definitions.js +17 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/definitions.mjs +13 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/help.d.ts +10 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/help.js +19 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/help.mjs +15 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/index.d.ts +3 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/index.js +13 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/index.mjs +3 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/version.d.ts +10 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/version.js +20 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/builtins/version.mjs +16 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/index.d.ts +7 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/index.js +19 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/index.mjs +8 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Array.d.ts +17 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Array.js +37 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Array.mjs +33 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Boolean.d.ts +14 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Boolean.js +34 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Boolean.mjs +30 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Counter.d.ts +15 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Counter.js +41 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Counter.mjs +37 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Proxy.d.ts +18 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Proxy.js +35 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Proxy.mjs +31 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Rest.d.ts +18 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Rest.js +51 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/Rest.mjs +47 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/String.d.ts +49 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/String.js +84 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/String.mjs +80 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/index.d.ts +7 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/index.js +26 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/index.mjs +7 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/utils.d.ts +25 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/utils.js +59 -0
- package/dist/wasm/node_modules/clipanion/lib/advanced/options/utils.mjs +50 -0
- package/dist/wasm/node_modules/clipanion/lib/constants.d.ts +11 -0
- package/dist/wasm/node_modules/clipanion/lib/constants.js +27 -0
- package/dist/wasm/node_modules/clipanion/lib/constants.mjs +13 -0
- package/dist/wasm/node_modules/clipanion/lib/core.d.ts +462 -0
- package/dist/wasm/node_modules/clipanion/lib/core.js +827 -0
- package/dist/wasm/node_modules/clipanion/lib/core.mjs +800 -0
- package/dist/wasm/node_modules/clipanion/lib/demos/advanced.d.ts +22 -0
- package/dist/wasm/node_modules/clipanion/lib/errors.d.ts +52 -0
- package/dist/wasm/node_modules/clipanion/lib/errors.js +70 -0
- package/dist/wasm/node_modules/clipanion/lib/errors.mjs +64 -0
- package/dist/wasm/node_modules/clipanion/lib/format.d.ts +19 -0
- package/dist/wasm/node_modules/clipanion/lib/format.js +74 -0
- package/dist/wasm/node_modules/clipanion/lib/format.mjs +68 -0
- package/dist/wasm/node_modules/clipanion/package.json +68 -0
- package/dist/wasm/node_modules/color-convert/CHANGELOG.md +54 -0
- package/dist/wasm/node_modules/color-convert/LICENSE +21 -0
- package/dist/wasm/node_modules/color-convert/README.md +68 -0
- package/dist/wasm/node_modules/color-convert/conversions.js +839 -0
- package/dist/wasm/node_modules/color-convert/index.js +81 -0
- package/dist/wasm/node_modules/color-convert/package.json +48 -0
- package/dist/wasm/node_modules/color-convert/route.js +97 -0
- package/dist/wasm/node_modules/color-name/LICENSE +8 -0
- package/dist/wasm/node_modules/color-name/README.md +11 -0
- package/dist/wasm/node_modules/color-name/index.js +152 -0
- package/dist/wasm/node_modules/color-name/package.json +28 -0
- package/dist/wasm/node_modules/cross-spawn/LICENSE +21 -0
- package/dist/wasm/node_modules/cross-spawn/README.md +89 -0
- package/dist/wasm/node_modules/cross-spawn/index.js +39 -0
- package/dist/wasm/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/dist/wasm/node_modules/cross-spawn/lib/parse.js +91 -0
- package/dist/wasm/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/dist/wasm/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/dist/wasm/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/dist/wasm/node_modules/cross-spawn/package.json +73 -0
- package/dist/wasm/node_modules/fast-glob/LICENSE +21 -0
- package/dist/wasm/node_modules/fast-glob/README.md +830 -0
- package/dist/wasm/node_modules/fast-glob/out/index.d.ts +40 -0
- package/dist/wasm/node_modules/fast-glob/out/index.js +102 -0
- package/dist/wasm/node_modules/fast-glob/out/managers/tasks.d.ts +22 -0
- package/dist/wasm/node_modules/fast-glob/out/managers/tasks.js +110 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/async.d.ts +9 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/async.js +23 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/filters/deep.d.ts +16 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/filters/deep.js +62 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/filters/entry.d.ts +17 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/filters/entry.js +85 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/filters/error.d.ts +8 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/filters/error.js +15 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +33 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/matchers/matcher.js +45 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/matchers/partial.d.ts +4 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/matchers/partial.js +38 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/provider.d.ts +19 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/provider.js +48 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/stream.d.ts +11 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/stream.js +31 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/sync.d.ts +9 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/sync.js +23 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/transformers/entry.d.ts +8 -0
- package/dist/wasm/node_modules/fast-glob/out/providers/transformers/entry.js +26 -0
- package/dist/wasm/node_modules/fast-glob/out/readers/async.d.ts +10 -0
- package/dist/wasm/node_modules/fast-glob/out/readers/async.js +35 -0
- package/dist/wasm/node_modules/fast-glob/out/readers/reader.d.ts +15 -0
- package/dist/wasm/node_modules/fast-glob/out/readers/reader.js +33 -0
- package/dist/wasm/node_modules/fast-glob/out/readers/stream.d.ts +14 -0
- package/dist/wasm/node_modules/fast-glob/out/readers/stream.js +55 -0
- package/dist/wasm/node_modules/fast-glob/out/readers/sync.d.ts +12 -0
- package/dist/wasm/node_modules/fast-glob/out/readers/sync.js +43 -0
- package/dist/wasm/node_modules/fast-glob/out/settings.d.ts +164 -0
- package/dist/wasm/node_modules/fast-glob/out/settings.js +59 -0
- package/dist/wasm/node_modules/fast-glob/out/types/index.d.ts +31 -0
- package/dist/wasm/node_modules/fast-glob/out/types/index.js +2 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/array.d.ts +2 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/array.js +22 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/errno.d.ts +2 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/errno.js +7 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/fs.d.ts +4 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/fs.js +19 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/index.d.ts +8 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/index.js +17 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/path.d.ts +13 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/path.js +68 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/pattern.d.ts +49 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/pattern.js +206 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/stream.d.ts +4 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/stream.js +17 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/string.d.ts +2 -0
- package/dist/wasm/node_modules/fast-glob/out/utils/string.js +11 -0
- package/dist/wasm/node_modules/fast-glob/package.json +81 -0
- package/dist/wasm/node_modules/fastq/LICENSE +13 -0
- package/dist/wasm/node_modules/fastq/README.md +310 -0
- package/dist/wasm/node_modules/fastq/SECURITY.md +15 -0
- package/dist/wasm/node_modules/fastq/bench.js +66 -0
- package/dist/wasm/node_modules/fastq/eslint.config.js +11 -0
- package/dist/wasm/node_modules/fastq/example.js +14 -0
- package/dist/wasm/node_modules/fastq/example.mjs +9 -0
- package/dist/wasm/node_modules/fastq/index.d.ts +59 -0
- package/dist/wasm/node_modules/fastq/package.json +49 -0
- package/dist/wasm/node_modules/fastq/queue.js +348 -0
- package/dist/wasm/node_modules/fastq/test/example.ts +83 -0
- package/dist/wasm/node_modules/fastq/test/promise.js +356 -0
- package/dist/wasm/node_modules/fastq/test/test.js +808 -0
- package/dist/wasm/node_modules/fastq/test/tsconfig.json +11 -0
- package/dist/wasm/node_modules/fill-range/LICENSE +21 -0
- package/dist/wasm/node_modules/fill-range/README.md +237 -0
- package/dist/wasm/node_modules/fill-range/index.js +248 -0
- package/dist/wasm/node_modules/fill-range/package.json +74 -0
- package/dist/wasm/node_modules/glob-parent/CHANGELOG.md +110 -0
- package/dist/wasm/node_modules/glob-parent/LICENSE +15 -0
- package/dist/wasm/node_modules/glob-parent/README.md +137 -0
- package/dist/wasm/node_modules/glob-parent/index.js +42 -0
- package/dist/wasm/node_modules/glob-parent/package.json +48 -0
- package/dist/wasm/node_modules/has-flag/index.d.ts +39 -0
- package/dist/wasm/node_modules/has-flag/index.js +8 -0
- package/dist/wasm/node_modules/has-flag/license +9 -0
- package/dist/wasm/node_modules/has-flag/package.json +46 -0
- package/dist/wasm/node_modules/has-flag/readme.md +89 -0
- package/dist/wasm/node_modules/is-extglob/LICENSE +21 -0
- package/dist/wasm/node_modules/is-extglob/README.md +107 -0
- package/dist/wasm/node_modules/is-extglob/index.js +20 -0
- package/dist/wasm/node_modules/is-extglob/package.json +69 -0
- package/dist/wasm/node_modules/is-glob/LICENSE +21 -0
- package/dist/wasm/node_modules/is-glob/README.md +206 -0
- package/dist/wasm/node_modules/is-glob/index.js +150 -0
- package/dist/wasm/node_modules/is-glob/package.json +81 -0
- package/dist/wasm/node_modules/is-number/LICENSE +21 -0
- package/dist/wasm/node_modules/is-number/README.md +187 -0
- package/dist/wasm/node_modules/is-number/index.js +18 -0
- package/dist/wasm/node_modules/is-number/package.json +82 -0
- package/dist/wasm/node_modules/isexe/.npmignore +2 -0
- package/dist/wasm/node_modules/isexe/LICENSE +15 -0
- package/dist/wasm/node_modules/isexe/README.md +51 -0
- package/dist/wasm/node_modules/isexe/index.js +57 -0
- package/dist/wasm/node_modules/isexe/mode.js +41 -0
- package/dist/wasm/node_modules/isexe/package.json +31 -0
- package/dist/wasm/node_modules/isexe/test/basic.js +221 -0
- package/dist/wasm/node_modules/isexe/windows.js +42 -0
- package/dist/wasm/node_modules/js-yaml/LICENSE +21 -0
- package/dist/wasm/node_modules/js-yaml/README.md +246 -0
- package/dist/wasm/node_modules/js-yaml/bin/js-yaml.js +126 -0
- package/dist/wasm/node_modules/js-yaml/dist/js-yaml.js +3874 -0
- package/dist/wasm/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
- package/dist/wasm/node_modules/js-yaml/dist/js-yaml.mjs +3851 -0
- package/dist/wasm/node_modules/js-yaml/index.js +30 -0
- package/dist/wasm/node_modules/js-yaml/lib/common.js +59 -0
- package/dist/wasm/node_modules/js-yaml/lib/dumper.js +979 -0
- package/dist/wasm/node_modules/js-yaml/lib/exception.js +55 -0
- package/dist/wasm/node_modules/js-yaml/lib/loader.js +1733 -0
- package/dist/wasm/node_modules/js-yaml/lib/schema/core.js +11 -0
- package/dist/wasm/node_modules/js-yaml/lib/schema/default.js +22 -0
- package/dist/wasm/node_modules/js-yaml/lib/schema/failsafe.js +17 -0
- package/dist/wasm/node_modules/js-yaml/lib/schema/json.js +19 -0
- package/dist/wasm/node_modules/js-yaml/lib/schema.js +121 -0
- package/dist/wasm/node_modules/js-yaml/lib/snippet.js +101 -0
- package/dist/wasm/node_modules/js-yaml/lib/type/binary.js +125 -0
- package/dist/wasm/node_modules/js-yaml/lib/type/bool.js +35 -0
- package/dist/wasm/node_modules/js-yaml/lib/type/float.js +97 -0
- package/dist/wasm/node_modules/js-yaml/lib/type/int.js +156 -0
- package/dist/wasm/node_modules/js-yaml/lib/type/map.js +8 -0
- package/dist/wasm/node_modules/js-yaml/lib/type/merge.js +12 -0
- package/dist/wasm/node_modules/js-yaml/lib/type/null.js +35 -0
- package/dist/wasm/node_modules/js-yaml/lib/type/omap.js +44 -0
- package/dist/wasm/node_modules/js-yaml/lib/type/pairs.js +53 -0
- package/dist/wasm/node_modules/js-yaml/lib/type/seq.js +8 -0
- package/dist/wasm/node_modules/js-yaml/lib/type/set.js +29 -0
- package/dist/wasm/node_modules/js-yaml/lib/type/str.js +8 -0
- package/dist/wasm/node_modules/js-yaml/lib/type/timestamp.js +88 -0
- package/dist/wasm/node_modules/js-yaml/lib/type.js +65 -0
- package/dist/wasm/node_modules/js-yaml/package.json +65 -0
- package/dist/wasm/node_modules/merge2/LICENSE +21 -0
- package/dist/wasm/node_modules/merge2/README.md +144 -0
- package/dist/wasm/node_modules/merge2/index.js +144 -0
- package/dist/wasm/node_modules/merge2/package.json +43 -0
- package/dist/wasm/node_modules/micromatch/LICENSE +21 -0
- package/dist/wasm/node_modules/micromatch/README.md +1024 -0
- package/dist/wasm/node_modules/micromatch/index.js +474 -0
- package/dist/wasm/node_modules/micromatch/package.json +119 -0
- package/dist/wasm/node_modules/path-key/index.d.ts +40 -0
- package/dist/wasm/node_modules/path-key/index.js +16 -0
- package/dist/wasm/node_modules/path-key/license +9 -0
- package/dist/wasm/node_modules/path-key/package.json +39 -0
- package/dist/wasm/node_modules/path-key/readme.md +61 -0
- package/dist/wasm/node_modules/picomatch/LICENSE +21 -0
- package/dist/wasm/node_modules/picomatch/README.md +716 -0
- package/dist/wasm/node_modules/picomatch/index.js +3 -0
- package/dist/wasm/node_modules/picomatch/lib/constants.js +184 -0
- package/dist/wasm/node_modules/picomatch/lib/parse.js +1392 -0
- package/dist/wasm/node_modules/picomatch/lib/picomatch.js +342 -0
- package/dist/wasm/node_modules/picomatch/lib/scan.js +391 -0
- package/dist/wasm/node_modules/picomatch/lib/utils.js +64 -0
- package/dist/wasm/node_modules/picomatch/package.json +81 -0
- package/dist/wasm/node_modules/queue-microtask/LICENSE +20 -0
- package/dist/wasm/node_modules/queue-microtask/README.md +90 -0
- package/dist/wasm/node_modules/queue-microtask/index.d.ts +2 -0
- package/dist/wasm/node_modules/queue-microtask/index.js +9 -0
- package/dist/wasm/node_modules/queue-microtask/package.json +55 -0
- package/dist/wasm/node_modules/reusify/.github/dependabot.yml +7 -0
- package/dist/wasm/node_modules/reusify/.github/workflows/ci.yml +96 -0
- package/dist/wasm/node_modules/reusify/LICENSE +22 -0
- package/dist/wasm/node_modules/reusify/README.md +139 -0
- package/dist/wasm/node_modules/reusify/SECURITY.md +15 -0
- package/dist/wasm/node_modules/reusify/benchmarks/createNoCodeFunction.js +30 -0
- package/dist/wasm/node_modules/reusify/benchmarks/fib.js +13 -0
- package/dist/wasm/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +38 -0
- package/dist/wasm/node_modules/reusify/eslint.config.js +14 -0
- package/dist/wasm/node_modules/reusify/package.json +50 -0
- package/dist/wasm/node_modules/reusify/reusify.d.ts +14 -0
- package/dist/wasm/node_modules/reusify/reusify.js +33 -0
- package/dist/wasm/node_modules/reusify/test.js +66 -0
- package/dist/wasm/node_modules/reusify/tsconfig.json +11 -0
- package/dist/wasm/node_modules/run-parallel/LICENSE +20 -0
- package/dist/wasm/node_modules/run-parallel/README.md +85 -0
- package/dist/wasm/node_modules/run-parallel/index.js +51 -0
- package/dist/wasm/node_modules/run-parallel/package.json +58 -0
- package/dist/wasm/node_modules/shebang-command/index.js +19 -0
- package/dist/wasm/node_modules/shebang-command/license +9 -0
- package/dist/wasm/node_modules/shebang-command/package.json +34 -0
- package/dist/wasm/node_modules/shebang-command/readme.md +34 -0
- package/dist/wasm/node_modules/shebang-regex/index.d.ts +22 -0
- package/dist/wasm/node_modules/shebang-regex/index.js +2 -0
- package/dist/wasm/node_modules/shebang-regex/license +9 -0
- package/dist/wasm/node_modules/shebang-regex/package.json +35 -0
- package/dist/wasm/node_modules/shebang-regex/readme.md +33 -0
- package/dist/wasm/node_modules/supports-color/browser.js +5 -0
- package/dist/wasm/node_modules/supports-color/index.js +135 -0
- package/dist/wasm/node_modules/supports-color/license +9 -0
- package/dist/wasm/node_modules/supports-color/package.json +53 -0
- package/dist/wasm/node_modules/supports-color/readme.md +76 -0
- package/dist/wasm/node_modules/to-regex-range/LICENSE +21 -0
- package/dist/wasm/node_modules/to-regex-range/README.md +305 -0
- package/dist/wasm/node_modules/to-regex-range/index.js +288 -0
- package/dist/wasm/node_modules/to-regex-range/package.json +88 -0
- package/dist/wasm/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/dist/wasm/node_modules/tslib/LICENSE.txt +12 -0
- package/dist/wasm/node_modules/tslib/README.md +164 -0
- package/dist/wasm/node_modules/tslib/SECURITY.md +41 -0
- package/dist/wasm/node_modules/tslib/modules/index.d.ts +38 -0
- package/dist/wasm/node_modules/tslib/modules/index.js +70 -0
- package/dist/wasm/node_modules/tslib/modules/package.json +3 -0
- package/dist/wasm/node_modules/tslib/package.json +47 -0
- package/dist/wasm/node_modules/tslib/tslib.d.ts +460 -0
- package/dist/wasm/node_modules/tslib/tslib.es6.html +1 -0
- package/dist/wasm/node_modules/tslib/tslib.es6.js +402 -0
- package/dist/wasm/node_modules/tslib/tslib.es6.mjs +401 -0
- package/dist/wasm/node_modules/tslib/tslib.html +1 -0
- package/dist/wasm/node_modules/tslib/tslib.js +484 -0
- package/dist/wasm/node_modules/typanion/README.md +117 -0
- package/dist/wasm/node_modules/typanion/lib/index.d.ts +5 -0
- package/dist/wasm/node_modules/typanion/lib/index.js +1305 -0
- package/dist/wasm/node_modules/typanion/lib/index.mjs +1249 -0
- package/dist/wasm/node_modules/typanion/lib/internal/format.d.ts +5 -0
- package/dist/wasm/node_modules/typanion/lib/internal/regexps.d.ts +5 -0
- package/dist/wasm/node_modules/typanion/lib/internal/tools.d.ts +5 -0
- package/dist/wasm/node_modules/typanion/lib/predicates/cascadingPredicates.d.ts +114 -0
- package/dist/wasm/node_modules/typanion/lib/predicates/helperPredicates.d.ts +80 -0
- package/dist/wasm/node_modules/typanion/lib/predicates/typePredicates.d.ts +205 -0
- package/dist/wasm/node_modules/typanion/lib/tools.d.ts +90 -0
- package/dist/wasm/node_modules/typanion/lib/types.d.ts +22 -0
- package/dist/wasm/node_modules/typanion/package.json +40 -0
- package/dist/wasm/node_modules/which/CHANGELOG.md +166 -0
- package/dist/wasm/node_modules/which/LICENSE +15 -0
- package/dist/wasm/node_modules/which/README.md +54 -0
- package/dist/wasm/node_modules/which/bin/node-which +52 -0
- package/dist/wasm/node_modules/which/package.json +43 -0
- package/dist/wasm/node_modules/which/which.js +125 -0
- package/dist/wasm/package.json +10 -0
- package/dist/wasm/pnpm.mjs +8 -0
- package/dist/wasm/pnpm.wasm +4 -0
- package/dist/wasm/pnpx.mjs +8 -0
- package/dist/wasm/run.mjs +147 -0
- package/dist/wasm/worker.mjs +56 -0
- package/install.js +18 -21
- package/package.json +16 -16
- package/pn +2 -70
- package/pnpm +2 -90
- package/pnpx +2 -70
- package/pnx +2 -70
|
@@ -0,0 +1,670 @@
|
|
|
1
|
+
// TypeScript Version: 2.2
|
|
2
|
+
|
|
3
|
+
import braces = require("braces");
|
|
4
|
+
declare namespace micromatch {
|
|
5
|
+
interface Item {
|
|
6
|
+
glob: string;
|
|
7
|
+
regex: RegExp;
|
|
8
|
+
input: string;
|
|
9
|
+
output: string;
|
|
10
|
+
}
|
|
11
|
+
interface Options {
|
|
12
|
+
/**
|
|
13
|
+
* Allow glob patterns without slashes to match a file path based on its basename. Same behavior as [minimatch](https://github.com/isaacs/minimatch) option `matchBase`.
|
|
14
|
+
*
|
|
15
|
+
* @default false
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```js
|
|
19
|
+
* mm(['a/b.js', 'a/c.md'], '*.js');
|
|
20
|
+
* //=> []
|
|
21
|
+
*
|
|
22
|
+
* mm(['a/b.js', 'a/c.md'], '*.js', {matchBase: true});
|
|
23
|
+
* //=> ['a/b.js']
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
basename?: boolean | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Enabled by default, this option enforces bash-like behavior with stars immediately following a bracket expression.
|
|
29
|
+
* Bash bracket expressions are similar to regex character classes, but unlike regex, a star following a bracket expression **does not repeat the bracketed characters**.
|
|
30
|
+
* Instead, the star is treated the same as an other star.
|
|
31
|
+
*
|
|
32
|
+
* @default true
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```js
|
|
36
|
+
* var files = ['abc', 'ajz'];
|
|
37
|
+
* console.log(mm(files, '[a-c]*'));
|
|
38
|
+
* //=> ['abc', 'ajz']
|
|
39
|
+
*
|
|
40
|
+
* console.log(mm(files, '[a-c]*', {bash: false}));
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
bash?: boolean | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Return regex matches in supporting methods.
|
|
46
|
+
*
|
|
47
|
+
* @default undefined
|
|
48
|
+
*/
|
|
49
|
+
capture?: boolean | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Allows glob to match any part of the given string(s).
|
|
52
|
+
*
|
|
53
|
+
* @default undefined
|
|
54
|
+
*/
|
|
55
|
+
contains?: boolean | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Current working directory. Used by `picomatch.split()`
|
|
58
|
+
*
|
|
59
|
+
* @default process.cwd()
|
|
60
|
+
*/
|
|
61
|
+
cwd?: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Debug regular expressions when an error is thrown.
|
|
64
|
+
*
|
|
65
|
+
* @default undefined
|
|
66
|
+
*/
|
|
67
|
+
debug?: boolean | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* Match dotfiles. Otherwise dotfiles are ignored unless a `.` is explicitly defined in the pattern.
|
|
70
|
+
*
|
|
71
|
+
* @default false
|
|
72
|
+
*/
|
|
73
|
+
dot?: boolean | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* Custom function for expanding ranges in brace patterns, such as `{a..z}`.
|
|
76
|
+
* The function receives the range values as two arguments, and it must return a string to be used in the generated regex.
|
|
77
|
+
* It's recommended that returned strings be wrapped in parentheses. This option is overridden by the expandBrace option.
|
|
78
|
+
*
|
|
79
|
+
* @default undefined
|
|
80
|
+
*/
|
|
81
|
+
expandRange?: ((left: string, right: string, options: Options) => string) | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Similar to the `--failglob` behavior in Bash, throws an error when no matches are found.
|
|
84
|
+
*
|
|
85
|
+
* @default false
|
|
86
|
+
*/
|
|
87
|
+
failglob?: boolean | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* To speed up processing, full parsing is skipped for a handful common glob patterns. Disable this behavior by setting this option to false.
|
|
90
|
+
*
|
|
91
|
+
* @default true
|
|
92
|
+
*/
|
|
93
|
+
fastpaths?: boolean | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* Regex flags to use in the generated regex. If defined, the `nocase` option will be overridden.
|
|
96
|
+
*
|
|
97
|
+
* @default undefined
|
|
98
|
+
*/
|
|
99
|
+
flags?: boolean | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* Custom function for formatting the returned string. This is useful for removing leading slashes, converting Windows paths to Posix paths, etc.
|
|
102
|
+
*
|
|
103
|
+
* @default undefined
|
|
104
|
+
*/
|
|
105
|
+
format?: ((returnedString: string) => string) | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* One or more glob patterns for excluding strings that should not be matched from the result.
|
|
108
|
+
*
|
|
109
|
+
* @default undefined
|
|
110
|
+
*/
|
|
111
|
+
ignore?: string | readonly string[] | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* Retain quotes in the generated regex, since quotes may also be used as an alternative to backslashes.
|
|
114
|
+
*
|
|
115
|
+
* @default false
|
|
116
|
+
*/
|
|
117
|
+
keepQuotes?: boolean | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* When `true`, brackets in the glob pattern will be escaped so that only literal brackets will be matched.
|
|
120
|
+
*
|
|
121
|
+
* @default undefined
|
|
122
|
+
*/
|
|
123
|
+
literalBrackets?: boolean | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* Support regex positive and negative lookbehinds. Note that you must be using Node 8.1.10 or higher to enable regex lookbehinds.
|
|
126
|
+
*
|
|
127
|
+
* @default true
|
|
128
|
+
*/
|
|
129
|
+
lookbehinds?: boolean | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* Alias for `basename`.
|
|
132
|
+
*
|
|
133
|
+
* @default false
|
|
134
|
+
*/
|
|
135
|
+
matchBase?: boolean | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* Limit the max length of the input string. An error is thrown if the input string is longer than this value.
|
|
138
|
+
*
|
|
139
|
+
* @default 65536
|
|
140
|
+
*/
|
|
141
|
+
maxLength?: number | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* Disable brace matching, so that `{a,b}` and `{1..3}` would be treated as literal characters.
|
|
144
|
+
*
|
|
145
|
+
* @default false
|
|
146
|
+
*/
|
|
147
|
+
nobrace?: boolean | undefined;
|
|
148
|
+
/**
|
|
149
|
+
* Disable matching with regex brackets.
|
|
150
|
+
*
|
|
151
|
+
* @default undefined
|
|
152
|
+
*/
|
|
153
|
+
nobracket?: boolean | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* Perform case-insensitive matching. Equivalent to the regex `i` flag.
|
|
156
|
+
* Note that this option is ignored when the `flags` option is defined.
|
|
157
|
+
*
|
|
158
|
+
* @default false
|
|
159
|
+
*/
|
|
160
|
+
nocase?: boolean | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* Alias for `noextglob`
|
|
163
|
+
*
|
|
164
|
+
* @default false
|
|
165
|
+
*/
|
|
166
|
+
noext?: boolean | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* Disable support for matching with extglobs (like `+(a|b)`)
|
|
169
|
+
*
|
|
170
|
+
* @default false
|
|
171
|
+
*/
|
|
172
|
+
noextglob?: boolean | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* Disable matching with globstars (`**`).
|
|
175
|
+
*
|
|
176
|
+
* @default undefined
|
|
177
|
+
*/
|
|
178
|
+
noglobstar?: boolean | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* Disallow negation (`!`) patterns, and treat leading `!` as a literal character to match.
|
|
181
|
+
*
|
|
182
|
+
* @default undefined
|
|
183
|
+
*/
|
|
184
|
+
nonegate?: boolean | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* Disable support for regex quantifiers (like `a{1,2}`) and treat them as brace patterns to be expanded.
|
|
187
|
+
*
|
|
188
|
+
* @default false
|
|
189
|
+
*/
|
|
190
|
+
noquantifiers?: boolean | undefined;
|
|
191
|
+
/**
|
|
192
|
+
* Function to be called on ignored items.
|
|
193
|
+
*
|
|
194
|
+
* @default undefined
|
|
195
|
+
*/
|
|
196
|
+
onIgnore?: ((item: Item) => void) | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* Function to be called on matched items.
|
|
199
|
+
*
|
|
200
|
+
* @default undefined
|
|
201
|
+
*/
|
|
202
|
+
onMatch?: ((item: Item) => void) | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* Function to be called on all items, regardless of whether or not they are matched or ignored.
|
|
205
|
+
*
|
|
206
|
+
* @default undefined
|
|
207
|
+
*/
|
|
208
|
+
onResult?: ((item: Item) => void) | undefined;
|
|
209
|
+
/**
|
|
210
|
+
* Support POSIX character classes ("posix brackets").
|
|
211
|
+
*
|
|
212
|
+
* @default false
|
|
213
|
+
*/
|
|
214
|
+
posix?: boolean | undefined;
|
|
215
|
+
/**
|
|
216
|
+
* String to prepend to the generated regex used for matching.
|
|
217
|
+
*
|
|
218
|
+
* @default undefined
|
|
219
|
+
*/
|
|
220
|
+
prepend?: boolean | undefined;
|
|
221
|
+
/**
|
|
222
|
+
* Use regular expression rules for `+` (instead of matching literal `+`), and for stars that follow closing parentheses or brackets (as in `)*` and `]*`).
|
|
223
|
+
*
|
|
224
|
+
* @default false
|
|
225
|
+
*/
|
|
226
|
+
regex?: boolean | undefined;
|
|
227
|
+
/**
|
|
228
|
+
* Throw an error if brackets, braces, or parens are imbalanced.
|
|
229
|
+
*
|
|
230
|
+
* @default undefined
|
|
231
|
+
*/
|
|
232
|
+
strictBrackets?: boolean | undefined;
|
|
233
|
+
/**
|
|
234
|
+
* When true, picomatch won't match trailing slashes with single stars.
|
|
235
|
+
*
|
|
236
|
+
* @default undefined
|
|
237
|
+
*/
|
|
238
|
+
strictSlashes?: boolean | undefined;
|
|
239
|
+
/**
|
|
240
|
+
* Remove backslashes from returned matches.
|
|
241
|
+
*
|
|
242
|
+
* @default undefined
|
|
243
|
+
*
|
|
244
|
+
* @example
|
|
245
|
+
* In this example we want to match a literal `*`:
|
|
246
|
+
*
|
|
247
|
+
* ```js
|
|
248
|
+
* mm.match(['abc', 'a\\*c'], 'a\\*c');
|
|
249
|
+
* //=> ['a\\*c']
|
|
250
|
+
*
|
|
251
|
+
* mm.match(['abc', 'a\\*c'], 'a\\*c', {unescape: true});
|
|
252
|
+
* //=> ['a*c']
|
|
253
|
+
* ```
|
|
254
|
+
*/
|
|
255
|
+
unescape?: boolean | undefined;
|
|
256
|
+
/**
|
|
257
|
+
* Convert all slashes in file paths to forward slashes. This does not convert slashes in the glob pattern itself
|
|
258
|
+
*
|
|
259
|
+
* @default undefined
|
|
260
|
+
*/
|
|
261
|
+
windows?: boolean | undefined;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
interface ScanOptions extends Options {
|
|
265
|
+
/**
|
|
266
|
+
* When `true`, the returned object will include an array of `tokens` (objects), representing each path "segment" in the scanned glob pattern.
|
|
267
|
+
*
|
|
268
|
+
* @default false
|
|
269
|
+
*/
|
|
270
|
+
tokens?: boolean | undefined;
|
|
271
|
+
/**
|
|
272
|
+
* When `true`, the returned object will include an array of strings representing each path "segment" in the scanned glob pattern.
|
|
273
|
+
* This is automatically enabled when `options.tokens` is `true`.
|
|
274
|
+
*
|
|
275
|
+
* @default false
|
|
276
|
+
*/
|
|
277
|
+
parts?: boolean | undefined;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
interface ScanInfo {
|
|
281
|
+
prefix: string;
|
|
282
|
+
input: string;
|
|
283
|
+
start: number;
|
|
284
|
+
base: string;
|
|
285
|
+
glob: string;
|
|
286
|
+
isBrace: boolean;
|
|
287
|
+
isBracket: boolean;
|
|
288
|
+
isGlob: boolean;
|
|
289
|
+
isExtglob: boolean;
|
|
290
|
+
isGlobstar: boolean;
|
|
291
|
+
negated: boolean;
|
|
292
|
+
negatedExtglob: boolean;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
interface ScanInfoToken {
|
|
296
|
+
value: string;
|
|
297
|
+
depth: number;
|
|
298
|
+
isGlob: boolean;
|
|
299
|
+
|
|
300
|
+
backslashes?: boolean | undefined;
|
|
301
|
+
isBrace?: boolean | undefined;
|
|
302
|
+
isBracket?: boolean | undefined;
|
|
303
|
+
isExtglob?: boolean | undefined;
|
|
304
|
+
isGlobstar?: boolean | undefined;
|
|
305
|
+
isPrefix?: boolean | undefined;
|
|
306
|
+
negated?: boolean | undefined;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
interface ScanInfoWithParts extends ScanInfo {
|
|
310
|
+
slashes: number[];
|
|
311
|
+
parts: string[];
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
interface ScanInfoWithTokens extends ScanInfoWithParts {
|
|
315
|
+
maxDepth: number;
|
|
316
|
+
tokens: ScanInfoToken[];
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
interface Micromatch {
|
|
321
|
+
/**
|
|
322
|
+
* The main function takes a list of strings and one or more glob patterns to use for matching.
|
|
323
|
+
*
|
|
324
|
+
* @param list A list of strings to match
|
|
325
|
+
* @param patterns One or more glob patterns to use for matching.
|
|
326
|
+
* @param options See available options for changing how matches are performed
|
|
327
|
+
* @returns Returns an array of matches
|
|
328
|
+
*
|
|
329
|
+
* @example
|
|
330
|
+
* ```js
|
|
331
|
+
* var mm = require('micromatch');
|
|
332
|
+
* mm(list, patterns[, options]);
|
|
333
|
+
*
|
|
334
|
+
* console.log(mm(['a.js', 'a.txt'], ['*.js']));
|
|
335
|
+
* //=> [ 'a.js' ]
|
|
336
|
+
* ```
|
|
337
|
+
*/
|
|
338
|
+
(list: readonly string[], patterns: string | readonly string[], options?: micromatch.Options): string[];
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Similar to the main function, but `pattern` must be a string.
|
|
342
|
+
*
|
|
343
|
+
* @param list Array of strings to match
|
|
344
|
+
* @param pattern Glob pattern to use for matching.
|
|
345
|
+
* @param options See available options for changing how matches are performed
|
|
346
|
+
* @returns Returns an array of matches
|
|
347
|
+
*
|
|
348
|
+
* @example
|
|
349
|
+
* ```js
|
|
350
|
+
* var mm = require('micromatch');
|
|
351
|
+
* mm.match(list, pattern[, options]);
|
|
352
|
+
*
|
|
353
|
+
* console.log(mm.match(['a.a', 'a.aa', 'a.b', 'a.c'], '*.a'));
|
|
354
|
+
* //=> ['a.a', 'a.aa']
|
|
355
|
+
* ```
|
|
356
|
+
*/
|
|
357
|
+
match(list: readonly string[], pattern: string | readonly string[], options?: micromatch.Options): string[];
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Returns true if the specified `string` matches the given glob `pattern`.
|
|
361
|
+
*
|
|
362
|
+
* @param string String to match
|
|
363
|
+
* @param pattern Glob pattern to use for matching.
|
|
364
|
+
* @param options See available options for changing how matches are performed
|
|
365
|
+
* @returns Returns true if the string matches the glob pattern.
|
|
366
|
+
*
|
|
367
|
+
* @example
|
|
368
|
+
* ```js
|
|
369
|
+
* var mm = require('micromatch');
|
|
370
|
+
* mm.isMatch(string, pattern[, options]);
|
|
371
|
+
*
|
|
372
|
+
* console.log(mm.isMatch('a.a', '*.a'));
|
|
373
|
+
* //=> true
|
|
374
|
+
* console.log(mm.isMatch('a.b', '*.a'));
|
|
375
|
+
* //=> false
|
|
376
|
+
* ```
|
|
377
|
+
*/
|
|
378
|
+
isMatch(string: string, pattern: string | readonly string[], options?: micromatch.Options): boolean;
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Returns true if some of the strings in the given `list` match any of the given glob `patterns`.
|
|
382
|
+
*
|
|
383
|
+
* @param list The string or array of strings to test. Returns as soon as the first match is found.
|
|
384
|
+
* @param patterns One or more glob patterns to use for matching.
|
|
385
|
+
* @param options See available options for changing how matches are performed
|
|
386
|
+
* @returns Returns true if any patterns match `str`
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
* ```js
|
|
390
|
+
* var mm = require('micromatch');
|
|
391
|
+
* mm.some(list, patterns[, options]);
|
|
392
|
+
*
|
|
393
|
+
* console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));
|
|
394
|
+
* // true
|
|
395
|
+
* console.log(mm.some(['foo.js'], ['*.js', '!foo.js']));
|
|
396
|
+
* // false
|
|
397
|
+
* ```
|
|
398
|
+
*/
|
|
399
|
+
some(
|
|
400
|
+
list: string | readonly string[],
|
|
401
|
+
patterns: string | readonly string[],
|
|
402
|
+
options?: micromatch.Options,
|
|
403
|
+
): boolean;
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* Returns true if every string in the given `list` matches any of the given glob `patterns`.
|
|
407
|
+
*
|
|
408
|
+
* @param list The string or array of strings to test.
|
|
409
|
+
* @param patterns One or more glob patterns to use for matching.
|
|
410
|
+
* @param options See available options for changing how matches are performed
|
|
411
|
+
* @returns Returns true if any patterns match `str`
|
|
412
|
+
*
|
|
413
|
+
* @example
|
|
414
|
+
* ```js
|
|
415
|
+
* var mm = require('micromatch');
|
|
416
|
+
* mm.every(list, patterns[, options]);
|
|
417
|
+
*
|
|
418
|
+
* console.log(mm.every('foo.js', ['foo.js']));
|
|
419
|
+
* // true
|
|
420
|
+
* console.log(mm.every(['foo.js', 'bar.js'], ['*.js']));
|
|
421
|
+
* // true
|
|
422
|
+
* console.log(mm.every(['foo.js', 'bar.js'], ['*.js', '!foo.js']));
|
|
423
|
+
* // false
|
|
424
|
+
* console.log(mm.every(['foo.js'], ['*.js', '!foo.js']));
|
|
425
|
+
* // false
|
|
426
|
+
* ```
|
|
427
|
+
*/
|
|
428
|
+
every(
|
|
429
|
+
list: string | readonly string[],
|
|
430
|
+
patterns: string | readonly string[],
|
|
431
|
+
options?: micromatch.Options,
|
|
432
|
+
): boolean;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Returns true if **any** of the given glob `patterns` match the specified `string`.
|
|
436
|
+
*
|
|
437
|
+
* @param str The string to test.
|
|
438
|
+
* @param patterns One or more glob patterns to use for matching.
|
|
439
|
+
* @param options See available options for changing how matches are performed
|
|
440
|
+
* @returns Returns true if any patterns match `str`
|
|
441
|
+
*
|
|
442
|
+
* @example
|
|
443
|
+
* ```js
|
|
444
|
+
* var mm = require('micromatch');
|
|
445
|
+
* mm.any(string, patterns[, options]);
|
|
446
|
+
*
|
|
447
|
+
* console.log(mm.any('a.a', ['b.*', '*.a']));
|
|
448
|
+
* //=> true
|
|
449
|
+
* console.log(mm.any('a.a', 'b.*'));
|
|
450
|
+
* //=> false
|
|
451
|
+
* ```
|
|
452
|
+
*/
|
|
453
|
+
any(
|
|
454
|
+
str: string | readonly string[],
|
|
455
|
+
patterns: string | readonly string[],
|
|
456
|
+
options?: micromatch.Options,
|
|
457
|
+
): boolean;
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Returns true if **all** of the given `patterns` match the specified string.
|
|
461
|
+
*
|
|
462
|
+
* @param str The string to test.
|
|
463
|
+
* @param patterns One or more glob patterns to use for matching.
|
|
464
|
+
* @param options See available options for changing how matches are performed
|
|
465
|
+
* @returns Returns true if any patterns match `str`
|
|
466
|
+
*
|
|
467
|
+
* @example
|
|
468
|
+
* ```js
|
|
469
|
+
* var mm = require('micromatch');
|
|
470
|
+
* mm.all(string, patterns[, options]);
|
|
471
|
+
*
|
|
472
|
+
* console.log(mm.all('foo.js', ['foo.js']));
|
|
473
|
+
* // true
|
|
474
|
+
*
|
|
475
|
+
* console.log(mm.all('foo.js', ['*.js', '!foo.js']));
|
|
476
|
+
* // false
|
|
477
|
+
*
|
|
478
|
+
* console.log(mm.all('foo.js', ['*.js', 'foo.js']));
|
|
479
|
+
* // true
|
|
480
|
+
*
|
|
481
|
+
* console.log(mm.all('foo.js', ['*.js', 'f*', '*o*', '*o.js']));
|
|
482
|
+
* // true
|
|
483
|
+
* ```
|
|
484
|
+
*/
|
|
485
|
+
all(
|
|
486
|
+
str: string | readonly string[],
|
|
487
|
+
patterns: string | readonly string[],
|
|
488
|
+
options?: micromatch.Options,
|
|
489
|
+
): boolean;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* Returns a list of strings that _**do not match any**_ of the given `patterns`.
|
|
493
|
+
*
|
|
494
|
+
* @param list Array of strings to match.
|
|
495
|
+
* @param patterns One or more glob pattern to use for matching.
|
|
496
|
+
* @param options See available options for changing how matches are performed
|
|
497
|
+
* @returns Returns an array of strings that **do not match** the given patterns.
|
|
498
|
+
*
|
|
499
|
+
* @example
|
|
500
|
+
* ```js
|
|
501
|
+
* var mm = require('micromatch');
|
|
502
|
+
* mm.not(list, patterns[, options]);
|
|
503
|
+
*
|
|
504
|
+
* console.log(mm.not(['a.a', 'b.b', 'c.c'], '*.a'));
|
|
505
|
+
* //=> ['b.b', 'c.c']
|
|
506
|
+
* ```
|
|
507
|
+
*/
|
|
508
|
+
not(list: readonly string[], patterns: string | readonly string[], options?: micromatch.Options): string[];
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Returns true if the given `string` contains the given pattern. Similar to [.isMatch](#isMatch) but the pattern can match any part of the string.
|
|
512
|
+
*
|
|
513
|
+
* @param str The string to match.
|
|
514
|
+
* @param patterns Glob pattern to use for matching.
|
|
515
|
+
* @param options See available options for changing how matches are performed
|
|
516
|
+
* @returns Returns true if the patter matches any part of `str`.
|
|
517
|
+
*
|
|
518
|
+
* @example
|
|
519
|
+
* ```js
|
|
520
|
+
* var mm = require('micromatch');
|
|
521
|
+
* mm.contains(string, pattern[, options]);
|
|
522
|
+
*
|
|
523
|
+
* console.log(mm.contains('aa/bb/cc', '*b'));
|
|
524
|
+
* //=> true
|
|
525
|
+
* console.log(mm.contains('aa/bb/cc', '*d'));
|
|
526
|
+
* //=> false
|
|
527
|
+
* ```
|
|
528
|
+
*/
|
|
529
|
+
contains(str: string, patterns: string | readonly string[], options?: micromatch.Options): boolean;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Filter the keys of the given object with the given `glob` pattern and `options`. Does not attempt to match nested keys.
|
|
533
|
+
* If you need this feature, use [glob-object](https://github.com/jonschlinkert/glob-object) instead.
|
|
534
|
+
*
|
|
535
|
+
* @param object The object with keys to filter.
|
|
536
|
+
* @param patterns One or more glob patterns to use for matching.
|
|
537
|
+
* @param options See available options for changing how matches are performed
|
|
538
|
+
* @returns Returns an object with only keys that match the given patterns.
|
|
539
|
+
*
|
|
540
|
+
* @example
|
|
541
|
+
* ```js
|
|
542
|
+
* var mm = require('micromatch');
|
|
543
|
+
* mm.matchKeys(object, patterns[, options]);
|
|
544
|
+
*
|
|
545
|
+
* var obj = { aa: 'a', ab: 'b', ac: 'c' };
|
|
546
|
+
* console.log(mm.matchKeys(obj, '*b'));
|
|
547
|
+
* //=> { ab: 'b' }
|
|
548
|
+
* ```
|
|
549
|
+
*/
|
|
550
|
+
matchKeys<T>(object: T, patterns: string | readonly string[], options?: micromatch.Options): Partial<T>;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Returns a memoized matcher function from the given glob `pattern` and `options`. The returned function takes a string to match as its only argument and returns true if the string is a match.
|
|
554
|
+
*
|
|
555
|
+
* @param pattern Glob pattern
|
|
556
|
+
* @param options See available options for changing how matches are performed.
|
|
557
|
+
* @returns Returns a matcher function.
|
|
558
|
+
*
|
|
559
|
+
* @example
|
|
560
|
+
* ```js
|
|
561
|
+
* var mm = require('micromatch');
|
|
562
|
+
* mm.matcher(pattern[, options]);
|
|
563
|
+
*
|
|
564
|
+
* var isMatch = mm.matcher('*.!(*a)');
|
|
565
|
+
* console.log(isMatch('a.a'));
|
|
566
|
+
* //=> false
|
|
567
|
+
* console.log(isMatch('a.b'));
|
|
568
|
+
* //=> true
|
|
569
|
+
* ```
|
|
570
|
+
*/
|
|
571
|
+
matcher(pattern: string, options?: micromatch.Options): (str: string) => boolean;
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* Returns an array of matches captured by `pattern` in `string, or`null` if the pattern did not match.
|
|
575
|
+
*
|
|
576
|
+
* @param pattern Glob pattern to use for matching.
|
|
577
|
+
* @param string String to match
|
|
578
|
+
* @param options See available options for changing how matches are performed
|
|
579
|
+
* @returns Returns an array of captures if the string matches the glob pattern, otherwise `null`.
|
|
580
|
+
*
|
|
581
|
+
* @example
|
|
582
|
+
* ```js
|
|
583
|
+
* var mm = require('micromatch');
|
|
584
|
+
* mm.capture(pattern, string[, options]);
|
|
585
|
+
*
|
|
586
|
+
* console.log(mm.capture('test/*.js', 'test/foo.js'));
|
|
587
|
+
* //=> ['foo']
|
|
588
|
+
* console.log(mm.capture('test/*.js', 'foo/bar.css'));
|
|
589
|
+
* //=> null
|
|
590
|
+
* ```
|
|
591
|
+
*/
|
|
592
|
+
capture(pattern: string, string: string, options?: micromatch.Options): string[] | null;
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* Create a regular expression from the given glob `pattern`.
|
|
596
|
+
*
|
|
597
|
+
* @param pattern A glob pattern to convert to regex.
|
|
598
|
+
* @param options See available options for changing how matches are performed.
|
|
599
|
+
* @returns Returns a regex created from the given pattern.
|
|
600
|
+
*
|
|
601
|
+
* @example
|
|
602
|
+
* ```js
|
|
603
|
+
* var mm = require('micromatch');
|
|
604
|
+
* mm.makeRe(pattern[, options]);
|
|
605
|
+
*
|
|
606
|
+
* console.log(mm.makeRe('*.js'));
|
|
607
|
+
* //=> /^(?:(\.[\\\/])?(?!\.)(?=.)[^\/]*?\.js)$/
|
|
608
|
+
* ```
|
|
609
|
+
*/
|
|
610
|
+
makeRe(pattern: string, options?: micromatch.Options): RegExp;
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Expand the given brace `pattern`.
|
|
614
|
+
*
|
|
615
|
+
* @param pattern String with brace pattern to expand.
|
|
616
|
+
* @param options Any options to change how expansion is performed. See the [braces](https://github.com/micromatch/braces) library for all available options.
|
|
617
|
+
*
|
|
618
|
+
* @example
|
|
619
|
+
* ```js
|
|
620
|
+
* var mm = require('micromatch');
|
|
621
|
+
* console.log(mm.braces('foo/{a,b}/bar'));
|
|
622
|
+
* //=> ['foo/(a|b)/bar']
|
|
623
|
+
*
|
|
624
|
+
* console.log(mm.braces('foo/{a,b}/bar', {expand: true}));
|
|
625
|
+
* //=> ['foo/(a|b)/bar']
|
|
626
|
+
* ```
|
|
627
|
+
*/
|
|
628
|
+
braces(pattern: string, options?: braces.Options): string[];
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Parse a glob pattern to create the source string for a regular expression.
|
|
632
|
+
*
|
|
633
|
+
* @returns Returns an AST
|
|
634
|
+
*
|
|
635
|
+
* @example
|
|
636
|
+
* ```js
|
|
637
|
+
* var mm = require('micromatch');
|
|
638
|
+
* mm.parse(pattern[, options]);
|
|
639
|
+
*
|
|
640
|
+
* var ast = mm.parse('a/{b,c}/d');
|
|
641
|
+
* console.log(ast);
|
|
642
|
+
* // { type: 'root',
|
|
643
|
+
* // errors: [],
|
|
644
|
+
* // input: 'a/{b,c}/d',
|
|
645
|
+
* // nodes:
|
|
646
|
+
* // [ { type: 'bos', val: '' },
|
|
647
|
+
* // { type: 'text', val: 'a/' },
|
|
648
|
+
* // { type: 'brace',
|
|
649
|
+
* // nodes:
|
|
650
|
+
* // [ { type: 'brace.open', val: '{' },
|
|
651
|
+
* // { type: 'text', val: 'b,c' },
|
|
652
|
+
* // { type: 'brace.close', val: '}' } ] },
|
|
653
|
+
* // { type: 'text', val: '/d' },
|
|
654
|
+
* // { type: 'eos', val: '' } ] }
|
|
655
|
+
* ```
|
|
656
|
+
*/
|
|
657
|
+
parse(glob: string, options?: micromatch.Options): object;
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* Scan a glob pattern to separate the pattern into segments.
|
|
661
|
+
*/
|
|
662
|
+
scan(pattern: string, options: { parts: true } & micromatch.ScanOptions): micromatch.ScanInfoWithParts;
|
|
663
|
+
scan(pattern: string, options: { tokens: true } & micromatch.ScanOptions): micromatch.ScanInfoWithTokens;
|
|
664
|
+
scan(pattern: string, options?: micromatch.ScanOptions): micromatch.ScanInfo;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
export as namespace micromatch;
|
|
668
|
+
|
|
669
|
+
declare const micromatch: Micromatch;
|
|
670
|
+
export = micromatch;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@types/micromatch",
|
|
3
|
+
"version": "4.0.10",
|
|
4
|
+
"description": "TypeScript definitions for micromatch",
|
|
5
|
+
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/micromatch",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"contributors": [
|
|
8
|
+
{
|
|
9
|
+
"name": "vemoo",
|
|
10
|
+
"githubUsername": "vemoo",
|
|
11
|
+
"url": "https://github.com/vemoo"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"main": "",
|
|
15
|
+
"types": "index.d.ts",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
19
|
+
"directory": "types/micromatch"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@types/braces": "*"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {},
|
|
26
|
+
"typesPublisherContentHash": "0a0610a3b9b22d7131155721e94d161b22949fc36a56d2f9cff0cb9a0dce7505",
|
|
27
|
+
"typeScriptVersion": "5.2"
|
|
28
|
+
}
|