@socketsecurity/lib 0.0.0 → 1.0.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/CHANGELOG.md +270 -0
- package/LICENSE +21 -0
- package/README.md +80 -2
- package/data/extensions.json +28 -0
- package/dist/abort.d.ts +11 -0
- package/dist/abort.js +62 -0
- package/dist/abort.js.map +7 -0
- package/dist/agent.d.ts +102 -0
- package/dist/agent.js +288 -0
- package/dist/agent.js.map +7 -0
- package/dist/ansi.d.ts +29 -0
- package/dist/ansi.js +62 -0
- package/dist/ansi.js.map +7 -0
- package/dist/argv/flags.d.ts +199 -0
- package/dist/argv/flags.js +284 -0
- package/dist/argv/flags.js.map +7 -0
- package/dist/argv/parse.d.ts +76 -0
- package/dist/argv/parse.js +173 -0
- package/dist/argv/parse.js.map +7 -0
- package/dist/arrays.d.ts +29 -0
- package/dist/arrays.js +87 -0
- package/dist/arrays.js.map +7 -0
- package/dist/bin.d.ts +50 -0
- package/dist/bin.js +405 -0
- package/dist/bin.js.map +7 -0
- package/dist/cacache.d.ts +86 -0
- package/dist/cacache.js +140 -0
- package/dist/cacache.js.map +7 -0
- package/dist/cache-with-ttl.d.ts +133 -0
- package/dist/cache-with-ttl.js +225 -0
- package/dist/cache-with-ttl.js.map +7 -0
- package/dist/constants/agents.d.ts +37 -0
- package/dist/constants/agents.js +128 -0
- package/dist/constants/agents.js.map +7 -0
- package/dist/constants/core.d.ts +22 -0
- package/dist/constants/core.js +59 -0
- package/dist/constants/core.js.map +7 -0
- package/dist/constants/encoding.d.ts +13 -0
- package/dist/constants/encoding.js +50 -0
- package/dist/constants/encoding.js.map +7 -0
- package/dist/constants/github.d.ts +7 -0
- package/dist/constants/github.js +32 -0
- package/dist/constants/github.js.map +7 -0
- package/dist/constants/licenses.d.ts +8 -0
- package/dist/constants/licenses.js +68 -0
- package/dist/constants/licenses.js.map +7 -0
- package/dist/constants/node.d.ts +29 -0
- package/dist/constants/node.js +173 -0
- package/dist/constants/node.js.map +7 -0
- package/dist/constants/packages.d.ts +19 -0
- package/dist/constants/packages.js +130 -0
- package/dist/constants/packages.js.map +7 -0
- package/dist/constants/paths.d.ts +51 -0
- package/dist/constants/paths.js +152 -0
- package/dist/constants/paths.js.map +7 -0
- package/dist/constants/platform.d.ts +6 -0
- package/dist/constants/platform.js +43 -0
- package/dist/constants/platform.js.map +7 -0
- package/dist/constants/process.d.ts +7 -0
- package/dist/constants/process.js +54 -0
- package/dist/constants/process.js.map +7 -0
- package/dist/constants/socket.d.ts +29 -0
- package/dist/constants/socket.js +83 -0
- package/dist/constants/socket.js.map +7 -0
- package/dist/constants/testing.d.ts +9 -0
- package/dist/constants/testing.js +38 -0
- package/dist/constants/testing.js.map +7 -0
- package/dist/constants/time.d.ts +11 -0
- package/dist/constants/time.js +41 -0
- package/dist/constants/time.js.map +7 -0
- package/dist/constants/typescript.d.ts +6 -0
- package/dist/constants/typescript.js +56 -0
- package/dist/constants/typescript.js.map +7 -0
- package/dist/cover/code.d.ts +8 -0
- package/dist/cover/code.js +137 -0
- package/dist/cover/code.js.map +7 -0
- package/dist/cover/formatters.d.ts +9 -0
- package/dist/cover/formatters.js +103 -0
- package/dist/cover/formatters.js.map +7 -0
- package/dist/cover/type.d.ts +7 -0
- package/dist/cover/type.js +65 -0
- package/dist/cover/type.js.map +7 -0
- package/dist/cover/types.d.ts +70 -0
- package/dist/cover/types.js +17 -0
- package/dist/cover/types.js.map +7 -0
- package/dist/debug.d.ts +99 -0
- package/dist/debug.js +345 -0
- package/dist/debug.js.map +7 -0
- package/dist/dlx-binary.d.ts +49 -0
- package/dist/dlx-binary.js +261 -0
- package/dist/dlx-binary.js.map +7 -0
- package/dist/dlx.d.ts +64 -0
- package/dist/dlx.js +168 -0
- package/dist/dlx.js.map +7 -0
- package/dist/download-lock.d.ts +48 -0
- package/dist/download-lock.js +139 -0
- package/dist/download-lock.js.map +7 -0
- package/dist/effects/pulse-frames.d.ts +23 -0
- package/dist/effects/pulse-frames.js +66 -0
- package/dist/effects/pulse-frames.js.map +7 -0
- package/dist/effects/text-shimmer.d.ts +37 -0
- package/dist/effects/text-shimmer.js +175 -0
- package/dist/effects/text-shimmer.js.map +7 -0
- package/dist/effects/types.d.ts +41 -0
- package/dist/effects/types.js +17 -0
- package/dist/effects/types.js.map +7 -0
- package/dist/effects/ultra.d.ts +16 -0
- package/dist/effects/ultra.js +63 -0
- package/dist/effects/ultra.js.map +7 -0
- package/dist/env/appdata.d.ts +1 -0
- package/dist/env/appdata.js +30 -0
- package/dist/env/appdata.js.map +7 -0
- package/dist/env/ci.d.ts +1 -0
- package/dist/env/ci.js +31 -0
- package/dist/env/ci.js.map +7 -0
- package/dist/env/comspec.d.ts +1 -0
- package/dist/env/comspec.js +30 -0
- package/dist/env/comspec.js.map +7 -0
- package/dist/env/debug.d.ts +1 -0
- package/dist/env/debug.js +30 -0
- package/dist/env/debug.js.map +7 -0
- package/dist/env/getters.d.ts +40 -0
- package/dist/env/getters.js +283 -0
- package/dist/env/getters.js.map +7 -0
- package/dist/env/github-api-url.d.ts +1 -0
- package/dist/env/github-api-url.js +30 -0
- package/dist/env/github-api-url.js.map +7 -0
- package/dist/env/github-base-ref.d.ts +1 -0
- package/dist/env/github-base-ref.js +30 -0
- package/dist/env/github-base-ref.js.map +7 -0
- package/dist/env/github-ref-name.d.ts +1 -0
- package/dist/env/github-ref-name.js +30 -0
- package/dist/env/github-ref-name.js.map +7 -0
- package/dist/env/github-ref-type.d.ts +1 -0
- package/dist/env/github-ref-type.js +30 -0
- package/dist/env/github-ref-type.js.map +7 -0
- package/dist/env/github-repository.d.ts +1 -0
- package/dist/env/github-repository.js +30 -0
- package/dist/env/github-repository.js.map +7 -0
- package/dist/env/github-server-url.d.ts +1 -0
- package/dist/env/github-server-url.js +30 -0
- package/dist/env/github-server-url.js.map +7 -0
- package/dist/env/github-token.d.ts +1 -0
- package/dist/env/github-token.js +30 -0
- package/dist/env/github-token.js.map +7 -0
- package/dist/env/helpers.d.ts +6 -0
- package/dist/env/helpers.js +49 -0
- package/dist/env/helpers.js.map +7 -0
- package/dist/env/home.d.ts +1 -0
- package/dist/env/home.js +30 -0
- package/dist/env/home.js.map +7 -0
- package/dist/env/jest-worker-id.d.ts +1 -0
- package/dist/env/jest-worker-id.js +30 -0
- package/dist/env/jest-worker-id.js.map +7 -0
- package/dist/env/lang.d.ts +1 -0
- package/dist/env/lang.js +30 -0
- package/dist/env/lang.js.map +7 -0
- package/dist/env/lc-all.d.ts +1 -0
- package/dist/env/lc-all.js +30 -0
- package/dist/env/lc-all.js.map +7 -0
- package/dist/env/lc-messages.d.ts +1 -0
- package/dist/env/lc-messages.js +30 -0
- package/dist/env/lc-messages.js.map +7 -0
- package/dist/env/localappdata.d.ts +1 -0
- package/dist/env/localappdata.js +30 -0
- package/dist/env/localappdata.js.map +7 -0
- package/dist/env/node-auth-token.d.ts +1 -0
- package/dist/env/node-auth-token.js +30 -0
- package/dist/env/node-auth-token.js.map +7 -0
- package/dist/env/node-env.d.ts +1 -0
- package/dist/env/node-env.js +30 -0
- package/dist/env/node-env.js.map +7 -0
- package/dist/env/npm-config-registry.d.ts +1 -0
- package/dist/env/npm-config-registry.js +30 -0
- package/dist/env/npm-config-registry.js.map +7 -0
- package/dist/env/npm-config-user-agent.d.ts +1 -0
- package/dist/env/npm-config-user-agent.js +30 -0
- package/dist/env/npm-config-user-agent.js.map +7 -0
- package/dist/env/npm-lifecycle-event.d.ts +1 -0
- package/dist/env/npm-lifecycle-event.js +30 -0
- package/dist/env/npm-lifecycle-event.js.map +7 -0
- package/dist/env/npm-registry.d.ts +1 -0
- package/dist/env/npm-registry.js +30 -0
- package/dist/env/npm-registry.js.map +7 -0
- package/dist/env/npm-token.d.ts +1 -0
- package/dist/env/npm-token.js +30 -0
- package/dist/env/npm-token.js.map +7 -0
- package/dist/env/path.d.ts +1 -0
- package/dist/env/path.js +30 -0
- package/dist/env/path.js.map +7 -0
- package/dist/env/pre-commit.d.ts +1 -0
- package/dist/env/pre-commit.js +31 -0
- package/dist/env/pre-commit.js.map +7 -0
- package/dist/env/shell.d.ts +1 -0
- package/dist/env/shell.js +30 -0
- package/dist/env/shell.js.map +7 -0
- package/dist/env/socket-accept-risks.d.ts +1 -0
- package/dist/env/socket-accept-risks.js +31 -0
- package/dist/env/socket-accept-risks.js.map +7 -0
- package/dist/env/socket-api-base-url.d.ts +1 -0
- package/dist/env/socket-api-base-url.js +30 -0
- package/dist/env/socket-api-base-url.js.map +7 -0
- package/dist/env/socket-api-proxy.d.ts +1 -0
- package/dist/env/socket-api-proxy.js +30 -0
- package/dist/env/socket-api-proxy.js.map +7 -0
- package/dist/env/socket-api-timeout.d.ts +1 -0
- package/dist/env/socket-api-timeout.js +31 -0
- package/dist/env/socket-api-timeout.js.map +7 -0
- package/dist/env/socket-api-token.d.ts +1 -0
- package/dist/env/socket-api-token.js +30 -0
- package/dist/env/socket-api-token.js.map +7 -0
- package/dist/env/socket-cacache-dir.d.ts +1 -0
- package/dist/env/socket-cacache-dir.js +30 -0
- package/dist/env/socket-cacache-dir.js.map +7 -0
- package/dist/env/socket-cli-accept-risks.d.ts +1 -0
- package/dist/env/socket-cli-accept-risks.js +33 -0
- package/dist/env/socket-cli-accept-risks.js.map +7 -0
- package/dist/env/socket-cli-api-base-url.d.ts +1 -0
- package/dist/env/socket-cli-api-base-url.js +30 -0
- package/dist/env/socket-cli-api-base-url.js.map +7 -0
- package/dist/env/socket-cli-api-proxy.d.ts +1 -0
- package/dist/env/socket-cli-api-proxy.js +30 -0
- package/dist/env/socket-cli-api-proxy.js.map +7 -0
- package/dist/env/socket-cli-api-timeout.d.ts +1 -0
- package/dist/env/socket-cli-api-timeout.js +31 -0
- package/dist/env/socket-cli-api-timeout.js.map +7 -0
- package/dist/env/socket-cli-api-token.d.ts +1 -0
- package/dist/env/socket-cli-api-token.js +30 -0
- package/dist/env/socket-cli-api-token.js.map +7 -0
- package/dist/env/socket-cli-config.d.ts +1 -0
- package/dist/env/socket-cli-config.js +30 -0
- package/dist/env/socket-cli-config.js.map +7 -0
- package/dist/env/socket-cli-fix.d.ts +1 -0
- package/dist/env/socket-cli-fix.js +30 -0
- package/dist/env/socket-cli-fix.js.map +7 -0
- package/dist/env/socket-cli-no-api-token.d.ts +1 -0
- package/dist/env/socket-cli-no-api-token.js +33 -0
- package/dist/env/socket-cli-no-api-token.js.map +7 -0
- package/dist/env/socket-cli-optimize.d.ts +1 -0
- package/dist/env/socket-cli-optimize.js +31 -0
- package/dist/env/socket-cli-optimize.js.map +7 -0
- package/dist/env/socket-cli-org-slug.d.ts +1 -0
- package/dist/env/socket-cli-org-slug.js +30 -0
- package/dist/env/socket-cli-org-slug.js.map +7 -0
- package/dist/env/socket-cli-shadow-accept-risks.d.ts +1 -0
- package/dist/env/socket-cli-shadow-accept-risks.js +33 -0
- package/dist/env/socket-cli-shadow-accept-risks.js.map +7 -0
- package/dist/env/socket-cli-shadow-api-token.d.ts +1 -0
- package/dist/env/socket-cli-shadow-api-token.js +30 -0
- package/dist/env/socket-cli-shadow-api-token.js.map +7 -0
- package/dist/env/socket-cli-shadow-bin.d.ts +1 -0
- package/dist/env/socket-cli-shadow-bin.js +30 -0
- package/dist/env/socket-cli-shadow-bin.js.map +7 -0
- package/dist/env/socket-cli-shadow-progress.d.ts +1 -0
- package/dist/env/socket-cli-shadow-progress.js +33 -0
- package/dist/env/socket-cli-shadow-progress.js.map +7 -0
- package/dist/env/socket-cli-shadow-silent.d.ts +1 -0
- package/dist/env/socket-cli-shadow-silent.js +33 -0
- package/dist/env/socket-cli-shadow-silent.js.map +7 -0
- package/dist/env/socket-cli-view-all-risks.d.ts +1 -0
- package/dist/env/socket-cli-view-all-risks.js +33 -0
- package/dist/env/socket-cli-view-all-risks.js.map +7 -0
- package/dist/env/socket-config.d.ts +1 -0
- package/dist/env/socket-config.js +30 -0
- package/dist/env/socket-config.js.map +7 -0
- package/dist/env/socket-debug.d.ts +1 -0
- package/dist/env/socket-debug.js +30 -0
- package/dist/env/socket-debug.js.map +7 -0
- package/dist/env/socket-home.d.ts +1 -0
- package/dist/env/socket-home.js +30 -0
- package/dist/env/socket-home.js.map +7 -0
- package/dist/env/socket-no-api-token.d.ts +1 -0
- package/dist/env/socket-no-api-token.js +31 -0
- package/dist/env/socket-no-api-token.js.map +7 -0
- package/dist/env/socket-npm-registry.d.ts +1 -0
- package/dist/env/socket-npm-registry.js +30 -0
- package/dist/env/socket-npm-registry.js.map +7 -0
- package/dist/env/socket-org-slug.d.ts +1 -0
- package/dist/env/socket-org-slug.js +30 -0
- package/dist/env/socket-org-slug.js.map +7 -0
- package/dist/env/socket-registry-url.d.ts +1 -0
- package/dist/env/socket-registry-url.js +30 -0
- package/dist/env/socket-registry-url.js.map +7 -0
- package/dist/env/socket-view-all-risks.d.ts +1 -0
- package/dist/env/socket-view-all-risks.js +31 -0
- package/dist/env/socket-view-all-risks.js.map +7 -0
- package/dist/env/temp.d.ts +1 -0
- package/dist/env/temp.js +30 -0
- package/dist/env/temp.js.map +7 -0
- package/dist/env/term.d.ts +1 -0
- package/dist/env/term.js +30 -0
- package/dist/env/term.js.map +7 -0
- package/dist/env/tmp.d.ts +1 -0
- package/dist/env/tmp.js +30 -0
- package/dist/env/tmp.js.map +7 -0
- package/dist/env/tmpdir.d.ts +1 -0
- package/dist/env/tmpdir.js +30 -0
- package/dist/env/tmpdir.js.map +7 -0
- package/dist/env/userprofile.d.ts +1 -0
- package/dist/env/userprofile.js +30 -0
- package/dist/env/userprofile.js.map +7 -0
- package/dist/env/vitest.d.ts +1 -0
- package/dist/env/vitest.js +31 -0
- package/dist/env/vitest.js.map +7 -0
- package/dist/env/xdg-cache-home.d.ts +1 -0
- package/dist/env/xdg-cache-home.js +30 -0
- package/dist/env/xdg-cache-home.js.map +7 -0
- package/dist/env/xdg-config-home.d.ts +1 -0
- package/dist/env/xdg-config-home.js +30 -0
- package/dist/env/xdg-config-home.js.map +7 -0
- package/dist/env/xdg-data-home.d.ts +1 -0
- package/dist/env/xdg-data-home.js +30 -0
- package/dist/env/xdg-data-home.js.map +7 -0
- package/dist/env.d.ts +15 -0
- package/dist/env.js +63 -0
- package/dist/env.js.map +7 -0
- package/dist/external/@inquirer/checkbox.js +4 -0
- package/dist/external/@inquirer/confirm.js +22 -0
- package/dist/external/@inquirer/core.js +4 -0
- package/dist/external/@inquirer/input.js +1 -0
- package/dist/external/@inquirer/password.js +1 -0
- package/dist/external/@inquirer/prompts.js +4 -0
- package/dist/external/@inquirer/search.js +1 -0
- package/dist/external/@inquirer/select.js +25 -0
- package/dist/external/@npmcli/package-json/index.js +1 -0
- package/dist/external/@npmcli/package-json/lib/read-package.js +1 -0
- package/dist/external/@npmcli/package-json/lib/sort.js +1 -0
- package/dist/external/@npmcli/promise-spawn.js +5 -0
- package/dist/external/@socketregistry/is-unicode-supported.d.ts +2 -0
- package/dist/external/@socketregistry/is-unicode-supported.js +5 -0
- package/dist/external/@socketregistry/packageurl-js.js +34 -0
- package/dist/external/@socketregistry/yocto-spinner.d.ts +12 -0
- package/dist/external/@socketregistry/yocto-spinner.js +8 -0
- package/dist/external/@yarnpkg/extensions.d.ts +5 -0
- package/dist/external/@yarnpkg/extensions.js +5 -0
- package/dist/external/cacache.d.ts +93 -0
- package/dist/external/cacache.js +32 -0
- package/dist/external/debug.d.ts +25 -0
- package/dist/external/debug.js +9 -0
- package/dist/external/del.d.ts +1 -0
- package/dist/external/del.js +54 -0
- package/dist/external/fast-glob.js +54 -0
- package/dist/external/fast-sort.d.ts +4 -0
- package/dist/external/fast-sort.js +5 -0
- package/dist/external/get-east-asian-width.d.ts +5 -0
- package/dist/external/get-east-asian-width.js +5 -0
- package/dist/external/libnpmpack.d.ts +3 -0
- package/dist/external/libnpmpack.js +225 -0
- package/dist/external/make-fetch-happen.d.ts +16 -0
- package/dist/external/make-fetch-happen.js +69 -0
- package/dist/external/normalize-package-data.js +6 -0
- package/dist/external/npm-package-arg.js +6 -0
- package/dist/external/pacote.d.ts +19 -0
- package/dist/external/pacote.js +105 -0
- package/dist/external/picomatch.js +5 -0
- package/dist/external/semver.d.ts +3 -0
- package/dist/external/semver.js +5 -0
- package/dist/external/spdx-correct.js +5 -0
- package/dist/external/spdx-expression-parse.js +5 -0
- package/dist/external/streaming-iterables.js +5 -0
- package/dist/external/validate-npm-package-name.js +5 -0
- package/dist/external/which.js +5 -0
- package/dist/external/yargs-parser.d.ts +3 -0
- package/dist/external/yargs-parser.js +26 -0
- package/dist/external/yoctocolors-cjs.d.ts +38 -0
- package/dist/external/yoctocolors-cjs.js +5 -0
- package/dist/external/zod.d.ts +1 -0
- package/dist/external/zod.js +27 -0
- package/dist/fs.d.ts +184 -0
- package/dist/fs.js +610 -0
- package/dist/fs.js.map +7 -0
- package/dist/functions.d.ts +27 -0
- package/dist/functions.js +70 -0
- package/dist/functions.js.map +7 -0
- package/dist/git.d.ts +93 -0
- package/dist/git.js +321 -0
- package/dist/git.js.map +7 -0
- package/dist/github.d.ts +121 -0
- package/dist/github.js +203 -0
- package/dist/github.js.map +7 -0
- package/dist/globs.d.ts +46 -0
- package/dist/globs.js +154 -0
- package/dist/globs.js.map +7 -0
- package/dist/http-request.d.ts +53 -0
- package/dist/http-request.js +315 -0
- package/dist/http-request.js.map +7 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +64 -0
- package/dist/index.js.map +7 -0
- package/dist/ipc.d.ts +366 -0
- package/dist/ipc.js +234 -0
- package/dist/ipc.js.map +7 -0
- package/dist/json.d.ts +23 -0
- package/dist/json.js +75 -0
- package/dist/json.js.map +7 -0
- package/dist/logger.d.ts +183 -0
- package/dist/logger.js +653 -0
- package/dist/logger.js.map +7 -0
- package/dist/maintained-node-versions.d.ts +7 -0
- package/dist/maintained-node-versions.js +37 -0
- package/dist/maintained-node-versions.js.map +7 -0
- package/dist/memoization.d.ts +142 -0
- package/dist/memoization.js +212 -0
- package/dist/memoization.js.map +7 -0
- package/dist/objects.d.ts +146 -0
- package/dist/objects.js +321 -0
- package/dist/objects.js.map +7 -0
- package/dist/packages/editable.d.ts +107 -0
- package/dist/packages/editable.js +358 -0
- package/dist/packages/editable.js.map +7 -0
- package/dist/packages/exports.d.ts +30 -0
- package/dist/packages/exports.js +164 -0
- package/dist/packages/exports.js.map +7 -0
- package/dist/packages/isolation.d.ts +22 -0
- package/dist/packages/isolation.js +197 -0
- package/dist/packages/isolation.js.map +7 -0
- package/dist/packages/licenses.d.ts +68 -0
- package/dist/packages/licenses.js +216 -0
- package/dist/packages/licenses.js.map +7 -0
- package/dist/packages/manifest.d.ts +16 -0
- package/dist/packages/manifest.js +192 -0
- package/dist/packages/manifest.js.map +7 -0
- package/dist/packages/normalize.d.ts +21 -0
- package/dist/packages/normalize.js +122 -0
- package/dist/packages/normalize.js.map +7 -0
- package/dist/packages/operations.d.ts +54 -0
- package/dist/packages/operations.js +306 -0
- package/dist/packages/operations.js.map +7 -0
- package/dist/packages/paths.d.ts +10 -0
- package/dist/packages/paths.js +55 -0
- package/dist/packages/paths.js.map +7 -0
- package/dist/packages/provenance.d.ts +10 -0
- package/dist/packages/provenance.js +180 -0
- package/dist/packages/provenance.js.map +7 -0
- package/dist/packages/registry.d.ts +8 -0
- package/dist/packages/registry.js +30 -0
- package/dist/packages/registry.js.map +7 -0
- package/dist/packages/specs.d.ts +28 -0
- package/dist/packages/specs.js +85 -0
- package/dist/packages/specs.js.map +7 -0
- package/dist/packages/validation.d.ts +15 -0
- package/dist/packages/validation.js +53 -0
- package/dist/packages/validation.js.map +7 -0
- package/dist/packages.d.ts +154 -0
- package/dist/packages.js +131 -0
- package/dist/packages.js.map +7 -0
- package/dist/path.d.ts +74 -0
- package/dist/path.js +442 -0
- package/dist/path.js.map +7 -0
- package/dist/paths.d.ts +42 -0
- package/dist/paths.js +145 -0
- package/dist/paths.js.map +7 -0
- package/dist/performance.d.ts +178 -0
- package/dist/performance.js +219 -0
- package/dist/performance.js.map +7 -0
- package/dist/promise-queue.d.ts +35 -0
- package/dist/promise-queue.js +111 -0
- package/dist/promise-queue.js.map +7 -0
- package/dist/promises.d.ts +67 -0
- package/dist/promises.js +268 -0
- package/dist/promises.js.map +7 -0
- package/dist/prompts.d.ts +27 -0
- package/dist/prompts.js +60 -0
- package/dist/prompts.js.map +7 -0
- package/dist/regexps.d.ts +13 -0
- package/dist/regexps.js +32 -0
- package/dist/regexps.js.map +7 -0
- package/dist/sea.d.ts +10 -0
- package/dist/sea.js +46 -0
- package/dist/sea.js.map +7 -0
- package/dist/shadow.d.ts +17 -0
- package/dist/shadow.js +60 -0
- package/dist/shadow.js.map +7 -0
- package/dist/signal-exit.d.ts +23 -0
- package/dist/signal-exit.js +250 -0
- package/dist/signal-exit.js.map +7 -0
- package/dist/sorts.d.ts +28 -0
- package/dist/sorts.js +96 -0
- package/dist/sorts.js.map +7 -0
- package/dist/spawn.d.ts +207 -0
- package/dist/spawn.js +201 -0
- package/dist/spawn.js.map +7 -0
- package/dist/spinner.d.ts +208 -0
- package/dist/spinner.js +729 -0
- package/dist/spinner.js.map +7 -0
- package/dist/ssri.d.ts +95 -0
- package/dist/ssri.js +73 -0
- package/dist/ssri.js.map +7 -0
- package/dist/stdio/clear.d.ts +40 -0
- package/dist/stdio/clear.js +84 -0
- package/dist/stdio/clear.js.map +7 -0
- package/dist/stdio/divider.d.ts +48 -0
- package/dist/stdio/divider.js +81 -0
- package/dist/stdio/divider.js.map +7 -0
- package/dist/stdio/footer.d.ts +25 -0
- package/dist/stdio/footer.js +96 -0
- package/dist/stdio/footer.js.map +7 -0
- package/dist/stdio/header.d.ts +25 -0
- package/dist/stdio/header.js +102 -0
- package/dist/stdio/header.js.map +7 -0
- package/dist/stdio/mask.d.ts +72 -0
- package/dist/stdio/mask.js +187 -0
- package/dist/stdio/mask.js.map +7 -0
- package/dist/stdio/progress.d.ts +51 -0
- package/dist/stdio/progress.js +171 -0
- package/dist/stdio/progress.js.map +7 -0
- package/dist/stdio/prompts.d.ts +46 -0
- package/dist/stdio/prompts.js +90 -0
- package/dist/stdio/prompts.js.map +7 -0
- package/dist/stdio/stderr.d.ts +48 -0
- package/dist/stdio/stderr.js +91 -0
- package/dist/stdio/stderr.js.map +7 -0
- package/dist/stdio/stdout.d.ts +48 -0
- package/dist/stdio/stdout.js +105 -0
- package/dist/stdio/stdout.js.map +7 -0
- package/dist/streams.d.ts +20 -0
- package/dist/streams.js +80 -0
- package/dist/streams.js.map +7 -0
- package/dist/strings.d.ts +139 -0
- package/dist/strings.js +253 -0
- package/dist/strings.js.map +7 -0
- package/dist/suppress-warnings.d.ts +66 -0
- package/dist/suppress-warnings.js +100 -0
- package/dist/suppress-warnings.js.map +7 -0
- package/dist/tables.d.ts +69 -0
- package/dist/tables.js +130 -0
- package/dist/tables.js.map +7 -0
- package/dist/temporary-executor.d.ts +9 -0
- package/dist/temporary-executor.js +54 -0
- package/dist/temporary-executor.js.map +7 -0
- package/dist/types.d.ts +65 -0
- package/dist/types.js +74 -0
- package/dist/types.js.map +7 -0
- package/dist/url.d.ts +60 -0
- package/dist/url.js +144 -0
- package/dist/url.js.map +7 -0
- package/dist/utils/get-ipc.d.ts +16 -0
- package/dist/utils/get-ipc.js +60 -0
- package/dist/utils/get-ipc.js.map +7 -0
- package/dist/validation/json-parser.d.ts +10 -0
- package/dist/validation/json-parser.js +129 -0
- package/dist/validation/json-parser.js.map +7 -0
- package/dist/validation/types.d.ts +40 -0
- package/dist/validation/types.js +17 -0
- package/dist/validation/types.js.map +7 -0
- package/dist/versions.d.ts +87 -0
- package/dist/versions.js +155 -0
- package/dist/versions.js.map +7 -0
- package/dist/words.d.ts +22 -0
- package/dist/words.js +52 -0
- package/dist/words.js.map +7 -0
- package/dist/zod.d.ts +5 -0
- package/dist/zod.js +29 -0
- package/dist/zod.js.map +7 -0
- package/package.json +856 -7
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bundled from normalize-package-data
|
|
3
|
+
* This is a zero-dependency bundle created by esbuild.
|
|
4
|
+
*/
|
|
5
|
+
var Ot=Object.defineProperty;var r=(t,e)=>Ot(t,"name",{value:e,configurable:!0});var P=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var V=P((es,de)=>{"use strict";var bt=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>{}:()=>{};de.exports=bt});var K=P((ts,me)=>{"use strict";var wt="2.0.0",Rt=Number.MAX_SAFE_INTEGER||9007199254740991,vt=16,$t=250,Gt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];me.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:vt,MAX_SAFE_BUILD_LENGTH:$t,MAX_SAFE_INTEGER:Rt,RELEASE_TYPES:Gt,SEMVER_SPEC_VERSION:wt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Se=P((w,Ee)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Z,MAX_SAFE_BUILD_LENGTH:Tt,MAX_LENGTH:Ft}=K(),xt=V();w=Ee.exports={};var Ut=w.re=[],Bt=w.safeRe=[],a=w.src=[],Mt=w.safeSrc=[],c=w.t={},Ht=0,J="[a-zA-Z0-9-]",_t=[["\\s",1],["\\d",Ft],[J,Tt]],kt=r(t=>{for(let[e,i]of _t)t=t.split(`${e}*`).join(`${e}{0,${i}}`).split(`${e}+`).join(`${e}{1,${i}}`);return t},"makeSafeRegex"),L=r((t,e,i)=>{let s=kt(e),n=Ht++;xt(t,n,e),c[t]=n,a[n]=e,Mt[n]=s,Ut[n]=new RegExp(e,i?"g":void 0),Bt[n]=new RegExp(s,i?"g":void 0)},"createToken");L("NUMERICIDENTIFIER","0|[1-9]\\d*");L("NUMERICIDENTIFIERLOOSE","\\d+");L("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${J}*`);L("MAINVERSION",`(${a[c.NUMERICIDENTIFIER]})\\.(${a[c.NUMERICIDENTIFIER]})\\.(${a[c.NUMERICIDENTIFIER]})`);L("MAINVERSIONLOOSE",`(${a[c.NUMERICIDENTIFIERLOOSE]})\\.(${a[c.NUMERICIDENTIFIERLOOSE]})\\.(${a[c.NUMERICIDENTIFIERLOOSE]})`);L("PRERELEASEIDENTIFIER",`(?:${a[c.NONNUMERICIDENTIFIER]}|${a[c.NUMERICIDENTIFIER]})`);L("PRERELEASEIDENTIFIERLOOSE",`(?:${a[c.NONNUMERICIDENTIFIER]}|${a[c.NUMERICIDENTIFIERLOOSE]})`);L("PRERELEASE",`(?:-(${a[c.PRERELEASEIDENTIFIER]}(?:\\.${a[c.PRERELEASEIDENTIFIER]})*))`);L("PRERELEASELOOSE",`(?:-?(${a[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[c.PRERELEASEIDENTIFIERLOOSE]})*))`);L("BUILDIDENTIFIER",`${J}+`);L("BUILD",`(?:\\+(${a[c.BUILDIDENTIFIER]}(?:\\.${a[c.BUILDIDENTIFIER]})*))`);L("FULLPLAIN",`v?${a[c.MAINVERSION]}${a[c.PRERELEASE]}?${a[c.BUILD]}?`);L("FULL",`^${a[c.FULLPLAIN]}$`);L("LOOSEPLAIN",`[v=\\s]*${a[c.MAINVERSIONLOOSE]}${a[c.PRERELEASELOOSE]}?${a[c.BUILD]}?`);L("LOOSE",`^${a[c.LOOSEPLAIN]}$`);L("GTLT","((?:<|>)?=?)");L("XRANGEIDENTIFIERLOOSE",`${a[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);L("XRANGEIDENTIFIER",`${a[c.NUMERICIDENTIFIER]}|x|X|\\*`);L("XRANGEPLAIN",`[v=\\s]*(${a[c.XRANGEIDENTIFIER]})(?:\\.(${a[c.XRANGEIDENTIFIER]})(?:\\.(${a[c.XRANGEIDENTIFIER]})(?:${a[c.PRERELEASE]})?${a[c.BUILD]}?)?)?`);L("XRANGEPLAINLOOSE",`[v=\\s]*(${a[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[c.XRANGEIDENTIFIERLOOSE]})(?:${a[c.PRERELEASELOOSE]})?${a[c.BUILD]}?)?)?`);L("XRANGE",`^${a[c.GTLT]}\\s*${a[c.XRANGEPLAIN]}$`);L("XRANGELOOSE",`^${a[c.GTLT]}\\s*${a[c.XRANGEPLAINLOOSE]}$`);L("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Z}})(?:\\.(\\d{1,${Z}}))?(?:\\.(\\d{1,${Z}}))?`);L("COERCE",`${a[c.COERCEPLAIN]}(?:$|[^\\d])`);L("COERCEFULL",a[c.COERCEPLAIN]+`(?:${a[c.PRERELEASE]})?(?:${a[c.BUILD]})?(?:$|[^\\d])`);L("COERCERTL",a[c.COERCE],!0);L("COERCERTLFULL",a[c.COERCEFULL],!0);L("LONETILDE","(?:~>?)");L("TILDETRIM",`(\\s*)${a[c.LONETILDE]}\\s+`,!0);w.tildeTrimReplace="$1~";L("TILDE",`^${a[c.LONETILDE]}${a[c.XRANGEPLAIN]}$`);L("TILDELOOSE",`^${a[c.LONETILDE]}${a[c.XRANGEPLAINLOOSE]}$`);L("LONECARET","(?:\\^)");L("CARETTRIM",`(\\s*)${a[c.LONECARET]}\\s+`,!0);w.caretTrimReplace="$1^";L("CARET",`^${a[c.LONECARET]}${a[c.XRANGEPLAIN]}$`);L("CARETLOOSE",`^${a[c.LONECARET]}${a[c.XRANGEPLAINLOOSE]}$`);L("COMPARATORLOOSE",`^${a[c.GTLT]}\\s*(${a[c.LOOSEPLAIN]})$|^$`);L("COMPARATOR",`^${a[c.GTLT]}\\s*(${a[c.FULLPLAIN]})$|^$`);L("COMPARATORTRIM",`(\\s*)${a[c.GTLT]}\\s*(${a[c.LOOSEPLAIN]}|${a[c.XRANGEPLAIN]})`,!0);w.comparatorTrimReplace="$1$2$3";L("HYPHENRANGE",`^\\s*(${a[c.XRANGEPLAIN]})\\s+-\\s+(${a[c.XRANGEPLAIN]})\\s*$`);L("HYPHENRANGELOOSE",`^\\s*(${a[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[c.XRANGEPLAINLOOSE]})\\s*$`);L("STAR","(<|>)?=?\\s*\\*");L("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");L("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Ce=P((ss,ge)=>{"use strict";var Wt=Object.freeze({loose:!0}),jt=Object.freeze({}),zt=r(t=>t?typeof t!="object"?Wt:t:jt,"parseOptions");ge.exports=zt});var Ne=P((rs,De)=>{"use strict";var Pe=/^[0-9]+$/,Ae=r((t,e)=>{let i=Pe.test(t),s=Pe.test(e);return i&&s&&(t=+t,e=+e),t===e?0:i&&!s?-1:s&&!i?1:t<e?-1:1},"compareIdentifiers"),Yt=r((t,e)=>Ae(e,t),"rcompareIdentifiers");De.exports={compareIdentifiers:Ae,rcompareIdentifiers:Yt}});var Oe=P((ls,Ie)=>{"use strict";var H=V(),{MAX_LENGTH:ye,MAX_SAFE_INTEGER:_}=K(),{safeRe:k,t:W}=Se(),Xt=Ce(),{compareIdentifiers:x}=Ne(),Q=class t{static{r(this,"SemVer")}constructor(e,i){if(i=Xt(i),e instanceof t){if(e.loose===!!i.loose&&e.includePrerelease===!!i.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>ye)throw new TypeError(`version is longer than ${ye} characters`);H("SemVer",e,i),this.options=i,this.loose=!!i.loose,this.includePrerelease=!!i.includePrerelease;let s=e.trim().match(i.loose?k[W.LOOSE]:k[W.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>_||this.major<0)throw new TypeError("Invalid major version");if(this.minor>_||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>_||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let o=+n;if(o>=0&&o<_)return o}return n}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(H("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),x(this.major,e.major)||x(this.minor,e.minor)||x(this.patch,e.patch)}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let i=0;do{let s=this.prerelease[i],n=e.prerelease[i];if(H("prerelease compare",i,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return x(s,n)}while(++i)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let i=0;do{let s=this.build[i],n=e.build[i];if(H("build compare",i,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return x(s,n)}while(++i)}inc(e,i,s){if(e.startsWith("pre")){if(!i&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(i){let n=`-${i}`.match(this.options.loose?k[W.PRERELEASELOOSE]:k[W.PRERELEASE]);if(!n||n[1]!==i)throw new Error(`invalid identifier: ${i}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",i,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",i,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",i,s),this.inc("pre",i,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",i,s),this.inc("pre",i,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(i===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(i){let o=[i,n];s===!1&&(o=[i]),x(this.prerelease[0],i)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Ie.exports=Q});var ee=P((cs,we)=>{"use strict";var be=Oe(),qt=r((t,e,i=!1)=>{if(t instanceof be)return t;try{return new be(t,e)}catch(s){if(!i)return null;throw s}},"parse");we.exports=qt});var ve=P((us,Re)=>{"use strict";var Vt=ee(),Kt=r((t,e)=>{let i=Vt(t,e);return i?i.version:null},"valid");Re.exports=Kt});var Ge=P((ps,$e)=>{"use strict";var Zt=ee(),Jt=r((t,e)=>{let i=Zt(t.trim().replace(/^[=v]+/,""),e);return i?i.version:null},"clean");$e.exports=Jt});var te=P((ds,Qt)=>{Qt.exports=["0BSD","3D-Slicer-1.0","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMD-newlib","AMDPLPA","AML","AML-glslang","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","ASWF-Digital-Assets-1.0","ASWF-Digital-Assets-1.1","Abstyles","AdaCore-doc","Adobe-2006","Adobe-Display-PostScript","Adobe-Glyph","Adobe-Utopia","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","App-s2p","Arphic-1999","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","Artistic-dist","Aspell-RU","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Darwin","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-2-Clause-first-lines","BSD-2-Clause-pkgconf-disclaimer","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-HP","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-3-Clause-Sun","BSD-3-Clause-acpica","BSD-3-Clause-flex","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-4.3RENO","BSD-4.3TAHOE","BSD-Advertising-Acknowledgement","BSD-Attribution-HPND-disclaimer","BSD-Inferno-Nettverk","BSD-Protection","BSD-Source-Code","BSD-Source-beginning-file","BSD-Systemics","BSD-Systemics-W3Works","BSL-1.0","BUSL-1.1","Baekmuk","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","Bitstream-Charter","Bitstream-Vera","BlueOak-1.0.0","Boehm-GC","Boehm-GC-without-fee","Borceux","Brian-Gladman-2-Clause","Brian-Gladman-3-Clause","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-AU","CC-BY-3.0-DE","CC-BY-3.0-IGO","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-DE","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-3.0-IGO","CC-BY-SA-4.0","CC-PDDC","CC-PDM-1.0","CC-SA-1.0","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CFITSIO","CMU-Mach","CMU-Mach-nodoc","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","Caldera-no-preamble","Catharon","ClArtistic","Clips","Community-Spec-1.0","Condor-1.1","Cornell-Lossless-JPEG","Cronyx","Crossword","CryptoSwift","CrystalStacker","Cube","D-FSL-1.0","DEC-3-Clause","DL-DE-BY-2.0","DL-DE-ZERO-2.0","DOC","DRL-1.0","DRL-1.1","DSDP","DocBook-DTD","DocBook-Schema","DocBook-Stylesheet","DocBook-XML","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Elastic-2.0","Entessa","ErlPL-1.1","Eurosym","FBM","FDK-AAC","FSFAP","FSFAP-no-warranty-disclaimer","FSFUL","FSFULLR","FSFULLRSD","FSFULLRWD","FSL-1.1-ALv2","FSL-1.1-MIT","FTL","Fair","Ferguson-Twofish","Frameworx-1.0","FreeBSD-DOC","FreeImage","Furuseth","GCR-docs","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Game-Programming-Gems","Giftware","Glide","Glulxe","Graphics-Gems","Gutmann","HDF5","HIDAPI","HP-1986","HP-1989","HPND","HPND-DEC","HPND-Fenneberg-Livingston","HPND-INRIA-IMAG","HPND-Intel","HPND-Kevlin-Henney","HPND-MIT-disclaimer","HPND-Markus-Kuhn","HPND-Netrek","HPND-Pbmplus","HPND-UC","HPND-UC-export-US","HPND-doc","HPND-doc-sell","HPND-export-US","HPND-export-US-acknowledgement","HPND-export-US-modify","HPND-export2-US","HPND-merchantability-variant","HPND-sell-MIT-disclaimer-xserver","HPND-sell-regexpr","HPND-sell-variant","HPND-sell-variant-MIT-disclaimer","HPND-sell-variant-MIT-disclaimer-rev","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IEC-Code-Components-EULA","IJG","IJG-short","IPA","IPL-1.0","ISC","ISC-Veillard","ImageMagick","Imlib2","Info-ZIP","Inner-Net-2.0","InnoSetup","Intel","Intel-ACPI","Interbase-1.0","JPL-image","JPNIC","JSON","Jam","JasPer-2.0","Kastrup","Kazlib","Knuth-CTAN","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LOOP","LPD-document","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","LZMA-SDK-9.11-to-9.20","LZMA-SDK-9.22","Latex2e","Latex2e-translated-notice","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","Linux-man-pages-1-para","Linux-man-pages-copyleft","Linux-man-pages-copyleft-2-para","Linux-man-pages-copyleft-var","Lucida-Bitmap-Fonts","MIPS","MIT","MIT-0","MIT-CMU","MIT-Click","MIT-Festival","MIT-Khronos-old","MIT-Modern-Variant","MIT-Wu","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MIT-testregex","MITNFA","MMIXware","MPEG-SSG","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-LPL","MS-PL","MS-RL","MTLL","Mackerras-3-Clause","Mackerras-3-Clause-acknowledgment","MakeIndex","Martin-Birgmeier","McPhee-slideshow","Minpack","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCBI-PD","NCGL-UK-2.0","NCL","NCSA","NGPL","NICTA-1.0","NIST-PD","NIST-PD-fallback","NIST-Software","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTIA-PD","NTP","NTP-0","Naumen","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OAR","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFFIS","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OLFL-1.3","OML","OPL-1.0","OPL-UK-3.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenPBS-2.3","OpenSSL","OpenSSL-standalone","OpenVision","PADL","PDDL-1.0","PHP-3.0","PHP-3.01","PPL","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Pixar","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","Python-2.0.1","QPL-1.0","QPL-1.0-INRIA-2004","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","Ruby-pty","SAX-PD","SAX-PD-2.0","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SGI-OpenGL","SGP4","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SL","SMAIL-GPL","SMLNJ","SMPPL","SNIA","SOFA","SPL-1.0","SSH-OpenSSH","SSH-short","SSLeay-standalone","SSPL-1.0","SUL-1.0","SWL","Saxpath","SchemeReport","Sendmail","Sendmail-8.23","Sendmail-Open-Source-1.1","SimPL-2.0","Sleepycat","Soundex","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","Sun-PPP","Sun-PPP-2000","SunPro","Symlinks","TAPR-OHL-1.0","TCL","TCP-wrappers","TGPPL-1.0","TMate","TORQUE-1.1","TOSL","TPDL","TPL-1.0","TTWL","TTYP0","TU-Berlin-1.0","TU-Berlin-2.0","TermReadKey","ThirdEye","TrustedQSL","UCAR","UCL-1.0","UMich-Merit","UPL-1.0","URT-RLE","Ubuntu-font-1.0","Unicode-3.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","UnixCrypt","Unlicense","Unlicense-libtelnet","Unlicense-libwhirlpool","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Widget-Workshop","Wsuipa","X11","X11-distribute-modifications-variant","X11-swapped","XFree86-1.1","XSkat","Xdebug-1.03","Xerox","Xfig","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zeeff","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","any-OSI","any-OSI-perl-modules","bcrypt-Solar-Designer","blessing","bzip2-1.0.6","check-cvs","checkmk","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","cve-tou","diffmark","dtoa","dvipdfm","eGenix","etalab-2.0","fwlw","gSOAP-1.3b","generic-xts","gnuplot","gtkbook","hdparm","iMatix","jove","libpng-1.6.35","libpng-2.0","libselinux-1.0","libtiff","libutil-David-Nugent","lsof","magaz","mailprio","man2html","metamail","mpi-permissive","mpich2","mplus","ngrep","pkgconf","pnmstitch","psfrag","psutils","python-ldap","radvd","snprintf","softSurfer","ssh-keyscan","swrule","threeparttable","ulem","w3m","wwl","xinetd","xkeyboard-config-Zinoviev","xlock","xpp","xzoom","zlib-acknowledgement"]});var Te=P((ms,ei)=>{ei.exports=["AGPL-1.0","AGPL-3.0","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","GFDL-1.1","GFDL-1.2","GFDL-1.3","GPL-1.0","GPL-2.0","GPL-2.0-with-GCC-exception","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-3.0","GPL-3.0-with-GCC-exception","GPL-3.0-with-autoconf-exception","LGPL-2.0","LGPL-2.1","LGPL-3.0","Net-SNMP","Nunit","StandardML-NJ","bzip2-1.0.5","eCos-2.0","wxWindows"]});var Fe=P((Es,ti)=>{ti.exports=["389-exception","Asterisk-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Autoconf-exception-generic","Autoconf-exception-generic-3.0","Autoconf-exception-macro","Bison-exception-1.24","Bison-exception-2.2","Bootloader-exception","Classpath-exception-2.0","CLISP-exception-2.0","cryptsetup-OpenSSL-exception","DigiRule-FOSS-exception","eCos-exception-2.0","Fawkes-Runtime-exception","FLTK-exception","fmt-exception","Font-exception-2.0","freertos-exception-2.0","GCC-exception-2.0","GCC-exception-2.0-note","GCC-exception-3.1","Gmsh-exception","GNAT-exception","GNOME-examples-exception","GNU-compiler-exception","gnu-javamail-exception","GPL-3.0-interface-exception","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","GStreamer-exception-2005","GStreamer-exception-2008","i2p-gpl-java-exception","KiCad-libraries-exception","LGPL-3.0-linking-exception","libpri-OpenH323-exception","Libtool-exception","Linux-syscall-note","LLGPL","LLVM-exception","LZMA-exception","mif-exception","OCaml-LGPL-linking-exception","OCCT-exception-1.0","OpenJDK-assembly-exception-1.0","openvpn-openssl-exception","PS-or-PDF-font-exception-20170817","QPL-1.0-INRIA-2004-exception","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","SANE-exception","SHL-2.0","SHL-2.1","stunnel-exception","SWI-exception","Swift-exception","Texinfo-exception","u-boot-exception-2.0","UBDL-exception","Universal-FOSS-exception-1.0","vsftpd-openssl-exception","WxWindows-exception-3.1","x11vnc-openssl-exception"]});var Ue=P((Ss,xe)=>{"use strict";var ii=[].concat(te()).concat(Te()),si=Fe();xe.exports=function(t){var e=0;function i(){return e<t.length}r(i,"hasMore");function s(S){if(S instanceof RegExp){var h=t.slice(e),d=h.match(S);if(d)return e+=d[0].length,d[0]}else if(t.indexOf(S,e)===e)return e+=S.length,S}r(s,"read");function n(){s(/[ ]*/)}r(n,"skipWhitespace");function o(){for(var S,h=["WITH","AND","OR","(",")",":","+"],d=0;d<h.length&&(S=s(h[d]),!S);d++);if(S==="+"&&e>1&&t[e-2]===" ")throw new Error("Space before `+`");return S&&{type:"OPERATOR",string:S}}r(o,"operator");function l(){return s(/[A-Za-z0-9-.]+/)}r(l,"idstring");function u(){var S=l();if(!S)throw new Error("Expected idstring at offset "+e);return S}r(u,"expectIdstring");function f(){if(s("DocumentRef-")){var S=u();return{type:"DOCUMENTREF",string:S}}}r(f,"documentRef");function A(){if(s("LicenseRef-")){var S=u();return{type:"LICENSEREF",string:S}}}r(A,"licenseRef");function I(){var S=e,h=l();if(ii.indexOf(h)!==-1)return{type:"LICENSE",string:h};if(si.indexOf(h)!==-1)return{type:"EXCEPTION",string:h};e=S}r(I,"identifier");function m(){return o()||f()||A()||I()}r(m,"parseToken");for(var g=[];i()&&(n(),!!i());){var E=m();if(!E)throw new Error("Unexpected `"+t[e]+"` at offset "+e);g.push(E)}return g}});var Me=P((Cs,Be)=>{"use strict";Be.exports=function(t){var e=0;function i(){return e<t.length}r(i,"hasMore");function s(){return i()?t[e]:null}r(s,"token");function n(){if(!i())throw new Error;e++}r(n,"next");function o(h){var d=s();if(d&&d.type==="OPERATOR"&&h===d.string)return n(),d.string}r(o,"parseOperator");function l(){if(o("WITH")){var h=s();if(h&&h.type==="EXCEPTION")return n(),h.string;throw new Error("Expected exception after `WITH`")}}r(l,"parseWith");function u(){var h=e,d="",p=s();if(p.type==="DOCUMENTREF"&&(n(),d+="DocumentRef-"+p.string+":",!o(":")))throw new Error("Expected `:` after `DocumentRef-...`");if(p=s(),p.type==="LICENSEREF")return n(),d+="LicenseRef-"+p.string,{license:d};e=h}r(u,"parseLicenseRef");function f(){var h=s();if(h&&h.type==="LICENSE"){n();var d={license:h.string};o("+")&&(d.plus=!0);var p=l();return p&&(d.exception=p),d}}r(f,"parseLicense");function A(){var h=o("(");if(h){var d=E();if(!o(")"))throw new Error("Expected `)`");return d}}r(A,"parseParenthesizedExpression");function I(){return A()||u()||f()}r(I,"parseAtom");function m(h,d){return r(function p(){var D=d();if(D){if(!o(h))return D;var O=p();if(!O)throw new Error("Expected expression");return{left:D,conjunction:h.toLowerCase(),right:O}}},"parseBinaryOp")}r(m,"makeBinaryOpParser");var g=m("AND",I),E=m("OR",g),S=E();if(!S||i())throw new Error("Syntax error");return S}});var ie=P((As,He)=>{"use strict";var ni=Ue(),ri=Me();He.exports=function(t){return ri(ni(t))}});var Ve=P((Ds,qe)=>{var oi=ie(),li=te();function j(t){try{return oi(t),!0}catch{return!1}}r(j,"valid");function Xe(t,e){var i=e[0].length-t[0].length;return i!==0?i:t[0].toUpperCase().localeCompare(e[0].toUpperCase())}r(Xe,"sortTranspositions");var _e=[["APGL","AGPL"],["Gpl","GPL"],["GLP","GPL"],["APL","Apache"],["ISD","ISC"],["GLP","GPL"],["IST","ISC"],["Claude","Clause"],[" or later","+"],[" International",""],["GNU","GPL"],["GUN","GPL"],["+",""],["GNU GPL","GPL"],["GNU LGPL","LGPL"],["GNU/GPL","GPL"],["GNU GLP","GPL"],["GNU LESSER GENERAL PUBLIC LICENSE","LGPL"],["GNU Lesser General Public License","LGPL"],["GNU LESSER GENERAL PUBLIC LICENSE","LGPL-2.1"],["GNU Lesser General Public License","LGPL-2.1"],["LESSER GENERAL PUBLIC LICENSE","LGPL"],["Lesser General Public License","LGPL"],["LESSER GENERAL PUBLIC LICENSE","LGPL-2.1"],["Lesser General Public License","LGPL-2.1"],["GNU General Public License","GPL"],["Gnu public license","GPL"],["GNU Public License","GPL"],["GNU GENERAL PUBLIC LICENSE","GPL"],["MTI","MIT"],["Mozilla Public License","MPL"],["Universal Permissive License","UPL"],["WTH","WTF"],["WTFGPL","WTFPL"],["-License",""]].sort(Xe),ai=0,ci=1,ke=[function(t){return t.toUpperCase()},function(t){return t.trim()},function(t){return t.replace(/\./g,"")},function(t){return t.replace(/\s+/g,"")},function(t){return t.replace(/\s+/g,"-")},function(t){return t.replace("v","-")},function(t){return t.replace(/,?\s*(\d)/,"-$1")},function(t){return t.replace(/,?\s*(\d)/,"-$1.0")},function(t){return t.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2")},function(t){return t.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2.0")},function(t){return t[0].toUpperCase()+t.slice(1)},function(t){return t.replace("/","-")},function(t){return t.replace(/\s*V\s*(\d)/,"-$1").replace(/(\d)$/,"$1.0")},function(t){return t.indexOf("3.0")!==-1?t+"-or-later":t+"-only"},function(t){return t+"only"},function(t){return t.replace(/(\d)$/,"-$1.0")},function(t){return t.replace(/(-| )?(\d)$/,"-$2-Clause")},function(t){return t.replace(/(-| )clause(-| )(\d)/,"-$3-Clause")},function(t){return t.replace(/\b(Modified|New|Revised)(-| )?BSD((-| )License)?/i,"BSD-3-Clause")},function(t){return t.replace(/\bSimplified(-| )?BSD((-| )License)?/i,"BSD-2-Clause")},function(t){return t.replace(/\b(Free|Net)(-| )?BSD((-| )License)?/i,"BSD-2-Clause-$1BSD")},function(t){return t.replace(/\bClear(-| )?BSD((-| )License)?/i,"BSD-3-Clause-Clear")},function(t){return t.replace(/\b(Old|Original)(-| )?BSD((-| )License)?/i,"BSD-4-Clause")},function(t){return"CC-"+t},function(t){return"CC-"+t+"-4.0"},function(t){return t.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")},function(t){return"CC-"+t.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")+"-4.0"}],se=li.map(function(t){var e=/^(.*)-\d+\.\d+$/.exec(t);return e?[e[0],e[1]]:[t,null]}).reduce(function(t,e){var i=e[1];return t[i]=t[i]||[],t[i].push(e[0]),t},{}),hi=Object.keys(se).map(r(function(e){return[e,se[e]]},"makeEntries")).filter(r(function(e){return e[1].length===1&&e[0]!==null&&e[0]!=="APL"},"identifySoleVersions")).map(r(function(e){return[e[0],e[1][0]]},"createLastResorts"));se=void 0;var We=[["UNLI","Unlicense"],["WTF","WTFPL"],["2 CLAUSE","BSD-2-Clause"],["2-CLAUSE","BSD-2-Clause"],["3 CLAUSE","BSD-3-Clause"],["3-CLAUSE","BSD-3-Clause"],["AFFERO","AGPL-3.0-or-later"],["AGPL","AGPL-3.0-or-later"],["APACHE","Apache-2.0"],["ARTISTIC","Artistic-2.0"],["Affero","AGPL-3.0-or-later"],["BEER","Beerware"],["BOOST","BSL-1.0"],["BSD","BSD-2-Clause"],["CDDL","CDDL-1.1"],["ECLIPSE","EPL-1.0"],["FUCK","WTFPL"],["GNU","GPL-3.0-or-later"],["LGPL","LGPL-3.0-or-later"],["GPLV1","GPL-1.0-only"],["GPL-1","GPL-1.0-only"],["GPLV2","GPL-2.0-only"],["GPL-2","GPL-2.0-only"],["GPL","GPL-3.0-or-later"],["MIT +NO-FALSE-ATTRIBS","MITNFA"],["MIT","MIT"],["MPL","MPL-2.0"],["X11","X11"],["ZLIB","Zlib"]].concat(hi).sort(Xe),ui=0,fi=1,je=r(function(t){for(var e=0;e<ke.length;e++){var i=ke[e](t).trim();if(i!==t&&j(i))return i}return null},"validTransformation"),ze=r(function(t){for(var e=t.toUpperCase(),i=0;i<We.length;i++){var s=We[i];if(e.indexOf(s[ui])>-1)return s[fi]}return null},"validLastResort"),Ye=r(function(t,e){for(var i=0;i<_e.length;i++){var s=_e[i],n=s[ai];if(t.indexOf(n)>-1){var o=t.replace(n,s[ci]),l=e(o);if(l!==null)return l}}return null},"anyCorrection");qe.exports=function(t,e){e=e||{};var i=e.upgrade===void 0?!0:!!e.upgrade;function s(u){return i?pi(u):u}r(s,"postprocess");var n=typeof t=="string"&&t.trim().length!==0;if(!n)throw Error("Invalid argument. Expected non-empty string.");if(t=t.trim(),j(t))return s(t);var o=t.replace(/\+$/,"").trim();if(j(o))return s(o);var l=je(t);return l!==null||(l=Ye(t,function(u){return j(u)?u:je(u)}),l!==null)||(l=ze(t),l!==null)||(l=Ye(t,ze),l!==null)?s(l):null};function pi(t){return["GPL-1.0","LGPL-1.0","AGPL-1.0","GPL-2.0","LGPL-2.0","AGPL-2.0","LGPL-2.1"].indexOf(t)!==-1?t+"-only":["GPL-1.0+","GPL-2.0+","GPL-3.0+","LGPL-2.0+","LGPL-2.1+","LGPL-3.0+","AGPL-1.0+","AGPL-3.0+"].indexOf(t)!==-1?t.replace(/\+$/,"-or-later"):["GPL-3.0","LGPL-3.0","AGPL-3.0"].indexOf(t)!==-1?t+"-or-later":t}r(pi,"upgradeGPLs")});var Qe=P((ys,Je)=>{var Li=ie(),di=Ve(),Ke='license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN <filename>"',mi=/^SEE LICEN[CS]E IN (.+)$/;function Ze(t,e){return e.slice(0,t.length)===t}r(Ze,"startsWith");function ne(t){if(t.hasOwnProperty("license")){var e=t.license;return Ze("LicenseRef",e)||Ze("DocumentRef",e)}else return ne(t.left)||ne(t.right)}r(ne,"usesLicenseRef");Je.exports=function(t){var e;try{e=Li(t)}catch{var i;if(t==="UNLICENSED"||t==="UNLICENCED")return{validForOldPackages:!0,validForNewPackages:!0,unlicensed:!0};if(i=mi.exec(t))return{validForOldPackages:!0,validForNewPackages:!0,inFile:i[1]};var s={validForOldPackages:!1,validForNewPackages:!1,warnings:[Ke]};if(t.trim().length!==0){var n=di(t);n&&s.warnings.push('license is similar to the valid expression "'+n+'"')}return s}return ne(e)?{validForNewPackages:!1,validForOldPackages:!1,spdx:!0,warnings:[Ke]}:{validForNewPackages:!0,validForOldPackages:!0,spdx:!0}}});var nt=P(Y=>{"use strict";Object.defineProperty(Y,"__esModule",{value:!0});Y.LRUCache=void 0;var Ei=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,tt=new Set,re=typeof process=="object"&&process?process:{},it=r((t,e,i,s)=>{typeof re.emitWarning=="function"&&re.emitWarning(t,e,i,s)},"emitWarning"),z=globalThis.AbortController,et=globalThis.AbortSignal;if(typeof z>"u"){et=class{static{r(this,"AbortSignal")}onabort;_onabort=[];reason;aborted=!1;addEventListener(s,n){this._onabort.push(n)}},z=class{static{r(this,"AbortController")}constructor(){e()}signal=new et;abort(s){if(!this.signal.aborted){this.signal.reason=s,this.signal.aborted=!0;for(let n of this.signal._onabort)n(s);this.signal.onabort?.(s)}}};let t=re.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=r(()=>{t&&(t=!1,it("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))},"warnACPolyfill")}var Si=r(t=>!tt.has(t),"shouldWarn"),ws=Symbol("type"),R=r(t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),"isPosInt"),st=r(t=>R(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?U:null:null,"getUintArray"),U=class extends Array{static{r(this,"ZeroArray")}constructor(e){super(e),this.fill(0)}},oe=class t{static{r(this,"Stack")}heap;length;static#n=!1;static create(e){let i=st(e);if(!i)return[];t.#n=!0;let s=new t(e,i);return t.#n=!1,s}constructor(e,i){if(!t.#n)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new i(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},le=class t{static{r(this,"LRUCache")}#n;#c;#t;#b;#m;#$;#G;#E;get perf(){return this.#E}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#o;#S;#r;#s;#e;#u;#p;#h;#l;#g;#a;#C;#P;#L;#A;#O;#f;#T;static unsafeExposeInternals(e){return{starts:e.#P,ttls:e.#L,sizes:e.#C,keyMap:e.#r,keyList:e.#s,valList:e.#e,next:e.#u,prev:e.#p,get head(){return e.#h},get tail(){return e.#l},free:e.#g,isBackgroundFetch:r(i=>e.#i(i),"isBackgroundFetch"),backgroundFetch:r((i,s,n,o)=>e.#U(i,s,n,o),"backgroundFetch"),moveToTail:r(i=>e.#v(i),"moveToTail"),indexes:r(i=>e.#D(i),"indexes"),rindexes:r(i=>e.#N(i),"rindexes"),isStale:r(i=>e.#d(i),"isStale")}}get max(){return this.#n}get maxSize(){return this.#c}get calculatedSize(){return this.#S}get size(){return this.#o}get fetchMethod(){return this.#$}get memoMethod(){return this.#G}get dispose(){return this.#t}get onInsert(){return this.#b}get disposeAfter(){return this.#m}constructor(e){let{max:i=0,ttl:s,ttlResolution:n=1,ttlAutopurge:o,updateAgeOnGet:l,updateAgeOnHas:u,allowStale:f,dispose:A,onInsert:I,disposeAfter:m,noDisposeOnSet:g,noUpdateTTL:E,maxSize:S=0,maxEntrySize:h=0,sizeCalculation:d,fetchMethod:p,memoMethod:D,noDeleteOnFetchRejection:O,noDeleteOnStaleGet:N,allowStaleOnFetchRejection:b,allowStaleOnFetchAbort:B,ignoreFetchAbort:G,perf:M}=e;if(M!==void 0&&typeof M?.now!="function")throw new TypeError("perf option must have a now() method if specified");if(this.#E=M??Ei,i!==0&&!R(i))throw new TypeError("max option must be a nonnegative integer");let T=i?st(i):Array;if(!T)throw new Error("invalid max value: "+i);if(this.#n=i,this.#c=S,this.maxEntrySize=h||this.#c,this.sizeCalculation=d,this.sizeCalculation){if(!this.#c&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(D!==void 0&&typeof D!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#G=D,p!==void 0&&typeof p!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#$=p,this.#O=!!p,this.#r=new Map,this.#s=new Array(i).fill(void 0),this.#e=new Array(i).fill(void 0),this.#u=new T(i),this.#p=new T(i),this.#h=0,this.#l=0,this.#g=oe.create(i),this.#o=0,this.#S=0,typeof A=="function"&&(this.#t=A),typeof I=="function"&&(this.#b=I),typeof m=="function"?(this.#m=m,this.#a=[]):(this.#m=void 0,this.#a=void 0),this.#A=!!this.#t,this.#T=!!this.#b,this.#f=!!this.#m,this.noDisposeOnSet=!!g,this.noUpdateTTL=!!E,this.noDeleteOnFetchRejection=!!O,this.allowStaleOnFetchRejection=!!b,this.allowStaleOnFetchAbort=!!B,this.ignoreFetchAbort=!!G,this.maxEntrySize!==0){if(this.#c!==0&&!R(this.#c))throw new TypeError("maxSize must be a positive integer if specified");if(!R(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#j()}if(this.allowStale=!!f,this.noDeleteOnStaleGet=!!N,this.updateAgeOnGet=!!l,this.updateAgeOnHas=!!u,this.ttlResolution=R(n)||n===0?n:1,this.ttlAutopurge=!!o,this.ttl=s||0,this.ttl){if(!R(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#B()}if(this.#n===0&&this.ttl===0&&this.#c===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#n&&!this.#c){let F="LRU_CACHE_UNBOUNDED";Si(F)&&(tt.add(F),it("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",F,t))}}getRemainingTTL(e){return this.#r.has(e)?1/0:0}#B(){let e=new U(this.#n),i=new U(this.#n);this.#L=e,this.#P=i,this.#M=(o,l,u=this.#E.now())=>{if(i[o]=l!==0?u:0,e[o]=l,l!==0&&this.ttlAutopurge){let f=setTimeout(()=>{this.#d(o)&&this.#y(this.#s[o],"expire")},l+1);f.unref&&f.unref()}},this.#w=o=>{i[o]=e[o]!==0?this.#E.now():0},this.#I=(o,l)=>{if(e[l]){let u=e[l],f=i[l];if(!u||!f)return;o.ttl=u,o.start=f,o.now=s||n();let A=o.now-f;o.remainingTTL=u-A}};let s=0,n=r(()=>{let o=this.#E.now();if(this.ttlResolution>0){s=o;let l=setTimeout(()=>s=0,this.ttlResolution);l.unref&&l.unref()}return o},"getNow");this.getRemainingTTL=o=>{let l=this.#r.get(o);if(l===void 0)return 0;let u=e[l],f=i[l];if(!u||!f)return 1/0;let A=(s||n())-f;return u-A},this.#d=o=>{let l=i[o],u=e[o];return!!u&&!!l&&(s||n())-l>u}}#w=r(()=>{},"#updateItemAge");#I=r(()=>{},"#statusTTL");#M=r(()=>{},"#setItemTTL");#d=r(()=>!1,"#isStale");#j(){let e=new U(this.#n);this.#S=0,this.#C=e,this.#R=i=>{this.#S-=e[i],e[i]=0},this.#H=(i,s,n,o)=>{if(this.#i(s))return 0;if(!R(n))if(o){if(typeof o!="function")throw new TypeError("sizeCalculation must be a function");if(n=o(s,i),!R(n))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return n},this.#F=(i,s,n)=>{if(e[i]=s,this.#c){let o=this.#c-e[i];for(;this.#S>o;)this.#x(!0)}this.#S+=e[i],n&&(n.entrySize=s,n.totalCalculatedSize=this.#S)}}#R=r(e=>{},"#removeItemSize");#F=r((e,i,s)=>{},"#addItemSize");#H=r((e,i,s,n)=>{if(s||n)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0},"#requireSize");*#D({allowStale:e=this.allowStale}={}){if(this.#o)for(let i=this.#l;!(!this.#_(i)||((e||!this.#d(i))&&(yield i),i===this.#h));)i=this.#p[i]}*#N({allowStale:e=this.allowStale}={}){if(this.#o)for(let i=this.#h;!(!this.#_(i)||((e||!this.#d(i))&&(yield i),i===this.#l));)i=this.#u[i]}#_(e){return e!==void 0&&this.#r.get(this.#s[e])===e}*entries(){for(let e of this.#D())this.#e[e]!==void 0&&this.#s[e]!==void 0&&!this.#i(this.#e[e])&&(yield[this.#s[e],this.#e[e]])}*rentries(){for(let e of this.#N())this.#e[e]!==void 0&&this.#s[e]!==void 0&&!this.#i(this.#e[e])&&(yield[this.#s[e],this.#e[e]])}*keys(){for(let e of this.#D()){let i=this.#s[e];i!==void 0&&!this.#i(this.#e[e])&&(yield i)}}*rkeys(){for(let e of this.#N()){let i=this.#s[e];i!==void 0&&!this.#i(this.#e[e])&&(yield i)}}*values(){for(let e of this.#D())this.#e[e]!==void 0&&!this.#i(this.#e[e])&&(yield this.#e[e])}*rvalues(){for(let e of this.#N())this.#e[e]!==void 0&&!this.#i(this.#e[e])&&(yield this.#e[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,i={}){for(let s of this.#D()){let n=this.#e[s],o=this.#i(n)?n.__staleWhileFetching:n;if(o!==void 0&&e(o,this.#s[s],this))return this.get(this.#s[s],i)}}forEach(e,i=this){for(let s of this.#D()){let n=this.#e[s],o=this.#i(n)?n.__staleWhileFetching:n;o!==void 0&&e.call(i,o,this.#s[s],this)}}rforEach(e,i=this){for(let s of this.#N()){let n=this.#e[s],o=this.#i(n)?n.__staleWhileFetching:n;o!==void 0&&e.call(i,o,this.#s[s],this)}}purgeStale(){let e=!1;for(let i of this.#N({allowStale:!0}))this.#d(i)&&(this.#y(this.#s[i],"expire"),e=!0);return e}info(e){let i=this.#r.get(e);if(i===void 0)return;let s=this.#e[i],n=this.#i(s)?s.__staleWhileFetching:s;if(n===void 0)return;let o={value:n};if(this.#L&&this.#P){let l=this.#L[i],u=this.#P[i];if(l&&u){let f=l-(this.#E.now()-u);o.ttl=f,o.start=Date.now()}}return this.#C&&(o.size=this.#C[i]),o}dump(){let e=[];for(let i of this.#D({allowStale:!0})){let s=this.#s[i],n=this.#e[i],o=this.#i(n)?n.__staleWhileFetching:n;if(o===void 0||s===void 0)continue;let l={value:o};if(this.#L&&this.#P){l.ttl=this.#L[i];let u=this.#E.now()-this.#P[i];l.start=Math.floor(Date.now()-u)}this.#C&&(l.size=this.#C[i]),e.unshift([s,l])}return e}load(e){this.clear();for(let[i,s]of e){if(s.start){let n=Date.now()-s.start;s.start=this.#E.now()-n}this.set(i,s.value,s)}}set(e,i,s={}){if(i===void 0)return this.delete(e),this;let{ttl:n=this.ttl,start:o,noDisposeOnSet:l=this.noDisposeOnSet,sizeCalculation:u=this.sizeCalculation,status:f}=s,{noUpdateTTL:A=this.noUpdateTTL}=s,I=this.#H(e,i,s.size||0,u);if(this.maxEntrySize&&I>this.maxEntrySize)return f&&(f.set="miss",f.maxEntrySizeExceeded=!0),this.#y(e,"set"),this;let m=this.#o===0?void 0:this.#r.get(e);if(m===void 0)m=this.#o===0?this.#l:this.#g.length!==0?this.#g.pop():this.#o===this.#n?this.#x(!1):this.#o,this.#s[m]=e,this.#e[m]=i,this.#r.set(e,m),this.#u[this.#l]=m,this.#p[m]=this.#l,this.#l=m,this.#o++,this.#F(m,I,f),f&&(f.set="add"),A=!1,this.#T&&this.#b?.(i,e,"add");else{this.#v(m);let g=this.#e[m];if(i!==g){if(this.#O&&this.#i(g)){g.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:E}=g;E!==void 0&&!l&&(this.#A&&this.#t?.(E,e,"set"),this.#f&&this.#a?.push([E,e,"set"]))}else l||(this.#A&&this.#t?.(g,e,"set"),this.#f&&this.#a?.push([g,e,"set"]));if(this.#R(m),this.#F(m,I,f),this.#e[m]=i,f){f.set="replace";let E=g&&this.#i(g)?g.__staleWhileFetching:g;E!==void 0&&(f.oldValue=E)}}else f&&(f.set="update");this.#T&&this.onInsert?.(i,e,i===g?"update":"replace")}if(n!==0&&!this.#L&&this.#B(),this.#L&&(A||this.#M(m,n,o),f&&this.#I(f,m)),!l&&this.#f&&this.#a){let g=this.#a,E;for(;E=g?.shift();)this.#m?.(...E)}return this}pop(){try{for(;this.#o;){let e=this.#e[this.#h];if(this.#x(!0),this.#i(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#f&&this.#a){let e=this.#a,i;for(;i=e?.shift();)this.#m?.(...i)}}}#x(e){let i=this.#h,s=this.#s[i],n=this.#e[i];return this.#O&&this.#i(n)?n.__abortController.abort(new Error("evicted")):(this.#A||this.#f)&&(this.#A&&this.#t?.(n,s,"evict"),this.#f&&this.#a?.push([n,s,"evict"])),this.#R(i),e&&(this.#s[i]=void 0,this.#e[i]=void 0,this.#g.push(i)),this.#o===1?(this.#h=this.#l=0,this.#g.length=0):this.#h=this.#u[i],this.#r.delete(s),this.#o--,i}has(e,i={}){let{updateAgeOnHas:s=this.updateAgeOnHas,status:n}=i,o=this.#r.get(e);if(o!==void 0){let l=this.#e[o];if(this.#i(l)&&l.__staleWhileFetching===void 0)return!1;if(this.#d(o))n&&(n.has="stale",this.#I(n,o));else return s&&this.#w(o),n&&(n.has="hit",this.#I(n,o)),!0}else n&&(n.has="miss");return!1}peek(e,i={}){let{allowStale:s=this.allowStale}=i,n=this.#r.get(e);if(n===void 0||!s&&this.#d(n))return;let o=this.#e[n];return this.#i(o)?o.__staleWhileFetching:o}#U(e,i,s,n){let o=i===void 0?void 0:this.#e[i];if(this.#i(o))return o;let l=new z,{signal:u}=s;u?.addEventListener("abort",()=>l.abort(u.reason),{signal:l.signal});let f={signal:l.signal,options:s,context:n},A=r((h,d=!1)=>{let{aborted:p}=l.signal,D=s.ignoreFetchAbort&&h!==void 0;if(s.status&&(p&&!d?(s.status.fetchAborted=!0,s.status.fetchError=l.signal.reason,D&&(s.status.fetchAbortIgnored=!0)):s.status.fetchResolved=!0),p&&!D&&!d)return m(l.signal.reason);let O=E,N=this.#e[i];return(N===E||D&&d&&N===void 0)&&(h===void 0?O.__staleWhileFetching!==void 0?this.#e[i]=O.__staleWhileFetching:this.#y(e,"fetch"):(s.status&&(s.status.fetchUpdated=!0),this.set(e,h,f.options))),h},"cb"),I=r(h=>(s.status&&(s.status.fetchRejected=!0,s.status.fetchError=h),m(h)),"eb"),m=r(h=>{let{aborted:d}=l.signal,p=d&&s.allowStaleOnFetchAbort,D=p||s.allowStaleOnFetchRejection,O=D||s.noDeleteOnFetchRejection,N=E;if(this.#e[i]===E&&(!O||N.__staleWhileFetching===void 0?this.#y(e,"fetch"):p||(this.#e[i]=N.__staleWhileFetching)),D)return s.status&&N.__staleWhileFetching!==void 0&&(s.status.returnedStale=!0),N.__staleWhileFetching;if(N.__returned===N)throw h},"fetchFail"),g=r((h,d)=>{let p=this.#$?.(e,o,f);p&&p instanceof Promise&&p.then(D=>h(D===void 0?void 0:D),d),l.signal.addEventListener("abort",()=>{(!s.ignoreFetchAbort||s.allowStaleOnFetchAbort)&&(h(void 0),s.allowStaleOnFetchAbort&&(h=r(D=>A(D,!0),"res")))})},"pcall");s.status&&(s.status.fetchDispatched=!0);let E=new Promise(g).then(A,I),S=Object.assign(E,{__abortController:l,__staleWhileFetching:o,__returned:void 0});return i===void 0?(this.set(e,S,{...f.options,status:void 0}),i=this.#r.get(e)):this.#e[i]=S,S}#i(e){if(!this.#O)return!1;let i=e;return!!i&&i instanceof Promise&&i.hasOwnProperty("__staleWhileFetching")&&i.__abortController instanceof z}async fetch(e,i={}){let{allowStale:s=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,ttl:l=this.ttl,noDisposeOnSet:u=this.noDisposeOnSet,size:f=0,sizeCalculation:A=this.sizeCalculation,noUpdateTTL:I=this.noUpdateTTL,noDeleteOnFetchRejection:m=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:g=this.allowStaleOnFetchRejection,ignoreFetchAbort:E=this.ignoreFetchAbort,allowStaleOnFetchAbort:S=this.allowStaleOnFetchAbort,context:h,forceRefresh:d=!1,status:p,signal:D}=i;if(!this.#O)return p&&(p.fetch="get"),this.get(e,{allowStale:s,updateAgeOnGet:n,noDeleteOnStaleGet:o,status:p});let O={allowStale:s,updateAgeOnGet:n,noDeleteOnStaleGet:o,ttl:l,noDisposeOnSet:u,size:f,sizeCalculation:A,noUpdateTTL:I,noDeleteOnFetchRejection:m,allowStaleOnFetchRejection:g,allowStaleOnFetchAbort:S,ignoreFetchAbort:E,status:p,signal:D},N=this.#r.get(e);if(N===void 0){p&&(p.fetch="miss");let b=this.#U(e,N,O,h);return b.__returned=b}else{let b=this.#e[N];if(this.#i(b)){let F=s&&b.__staleWhileFetching!==void 0;return p&&(p.fetch="inflight",F&&(p.returnedStale=!0)),F?b.__staleWhileFetching:b.__returned=b}let B=this.#d(N);if(!d&&!B)return p&&(p.fetch="hit"),this.#v(N),n&&this.#w(N),p&&this.#I(p,N),b;let G=this.#U(e,N,O,h),T=G.__staleWhileFetching!==void 0&&s;return p&&(p.fetch=B?"stale":"refresh",T&&B&&(p.returnedStale=!0)),T?G.__staleWhileFetching:G.__returned=G}}async forceFetch(e,i={}){let s=await this.fetch(e,i);if(s===void 0)throw new Error("fetch() returned undefined");return s}memo(e,i={}){let s=this.#G;if(!s)throw new Error("no memoMethod provided to constructor");let{context:n,forceRefresh:o,...l}=i,u=this.get(e,l);if(!o&&u!==void 0)return u;let f=s(e,u,{options:l,context:n});return this.set(e,f,l),f}get(e,i={}){let{allowStale:s=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,status:l}=i,u=this.#r.get(e);if(u!==void 0){let f=this.#e[u],A=this.#i(f);return l&&this.#I(l,u),this.#d(u)?(l&&(l.get="stale"),A?(l&&s&&f.__staleWhileFetching!==void 0&&(l.returnedStale=!0),s?f.__staleWhileFetching:void 0):(o||this.#y(e,"expire"),l&&s&&(l.returnedStale=!0),s?f:void 0)):(l&&(l.get="hit"),A?f.__staleWhileFetching:(this.#v(u),n&&this.#w(u),f))}else l&&(l.get="miss")}#k(e,i){this.#p[i]=e,this.#u[e]=i}#v(e){e!==this.#l&&(e===this.#h?this.#h=this.#u[e]:this.#k(this.#p[e],this.#u[e]),this.#k(this.#l,e),this.#l=e)}delete(e){return this.#y(e,"delete")}#y(e,i){let s=!1;if(this.#o!==0){let n=this.#r.get(e);if(n!==void 0)if(s=!0,this.#o===1)this.#W(i);else{this.#R(n);let o=this.#e[n];if(this.#i(o)?o.__abortController.abort(new Error("deleted")):(this.#A||this.#f)&&(this.#A&&this.#t?.(o,e,i),this.#f&&this.#a?.push([o,e,i])),this.#r.delete(e),this.#s[n]=void 0,this.#e[n]=void 0,n===this.#l)this.#l=this.#p[n];else if(n===this.#h)this.#h=this.#u[n];else{let l=this.#p[n];this.#u[l]=this.#u[n];let u=this.#u[n];this.#p[u]=this.#p[n]}this.#o--,this.#g.push(n)}}if(this.#f&&this.#a?.length){let n=this.#a,o;for(;o=n?.shift();)this.#m?.(...o)}return s}clear(){return this.#W("delete")}#W(e){for(let i of this.#N({allowStale:!0})){let s=this.#e[i];if(this.#i(s))s.__abortController.abort(new Error("deleted"));else{let n=this.#s[i];this.#A&&this.#t?.(s,n,e),this.#f&&this.#a?.push([s,n,e])}}if(this.#r.clear(),this.#e.fill(void 0),this.#s.fill(void 0),this.#L&&this.#P&&(this.#L.fill(0),this.#P.fill(0)),this.#C&&this.#C.fill(0),this.#h=0,this.#l=0,this.#g.length=0,this.#S=0,this.#o=0,this.#f&&this.#a){let i=this.#a,s;for(;s=i?.shift();)this.#m?.(...s)}}};Y.LRUCache=le});var lt=P(($s,ot)=>{"use strict";var C=r((...t)=>t.every(e=>e)?t.join(""):"","maybeJoin"),y=r(t=>t?encodeURIComponent(t):"","maybeEncode"),rt=r(t=>t.toLowerCase().replace(/^\W+/g,"").replace(/(?<!\W)\W+$/,"").replace(/\//g,"").replace(/\W+/g,"-"),"formatHashFragment"),gi={sshtemplate:r(({domain:t,user:e,project:i,committish:s})=>`git@${t}:${e}/${i}.git${C("#",s)}`,"sshtemplate"),sshurltemplate:r(({domain:t,user:e,project:i,committish:s})=>`git+ssh://git@${t}/${e}/${i}.git${C("#",s)}`,"sshurltemplate"),edittemplate:r(({domain:t,user:e,project:i,committish:s,editpath:n,path:o})=>`https://${t}/${e}/${i}${C("/",n,"/",y(s||"HEAD"),"/",o)}`,"edittemplate"),browsetemplate:r(({domain:t,user:e,project:i,committish:s,treepath:n})=>`https://${t}/${e}/${i}${C("/",n,"/",y(s))}`,"browsetemplate"),browsetreetemplate:r(({domain:t,user:e,project:i,committish:s,treepath:n,path:o,fragment:l,hashformat:u})=>`https://${t}/${e}/${i}/${n}/${y(s||"HEAD")}/${o}${C("#",u(l||""))}`,"browsetreetemplate"),browseblobtemplate:r(({domain:t,user:e,project:i,committish:s,blobpath:n,path:o,fragment:l,hashformat:u})=>`https://${t}/${e}/${i}/${n}/${y(s||"HEAD")}/${o}${C("#",u(l||""))}`,"browseblobtemplate"),docstemplate:r(({domain:t,user:e,project:i,treepath:s,committish:n})=>`https://${t}/${e}/${i}${C("/",s,"/",y(n))}#readme`,"docstemplate"),httpstemplate:r(({auth:t,domain:e,user:i,project:s,committish:n})=>`git+https://${C(t,"@")}${e}/${i}/${s}.git${C("#",n)}`,"httpstemplate"),filetemplate:r(({domain:t,user:e,project:i,committish:s,path:n})=>`https://${t}/${e}/${i}/raw/${y(s||"HEAD")}/${n}`,"filetemplate"),shortcuttemplate:r(({type:t,user:e,project:i,committish:s})=>`${t}:${e}/${i}${C("#",s)}`,"shortcuttemplate"),pathtemplate:r(({user:t,project:e,committish:i})=>`${t}/${e}${C("#",i)}`,"pathtemplate"),bugstemplate:r(({domain:t,user:e,project:i})=>`https://${t}/${e}/${i}/issues`,"bugstemplate"),hashformat:rt},v={};v.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:r(({auth:t,user:e,project:i,committish:s,path:n})=>`https://${C(t,"@")}raw.githubusercontent.com/${e}/${i}/${y(s||"HEAD")}/${n}`,"filetemplate"),gittemplate:r(({auth:t,domain:e,user:i,project:s,committish:n})=>`git://${C(t,"@")}${e}/${i}/${s}.git${C("#",n)}`,"gittemplate"),tarballtemplate:r(({domain:t,user:e,project:i,committish:s})=>`https://codeload.${t}/${e}/${i}/tar.gz/${y(s||"HEAD")}`,"tarballtemplate"),extract:r(t=>{let[,e,i,s,n]=t.pathname.split("/",5);if(!(s&&s!=="tree")&&(s||(n=t.hash.slice(1)),i&&i.endsWith(".git")&&(i=i.slice(0,-4)),!(!e||!i)))return{user:e,project:i,committish:n}},"extract")};v.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:r(({domain:t,user:e,project:i,committish:s,treepath:n,path:o,editpath:l})=>`https://${t}/${e}/${i}${C("/",n,"/",y(s||"HEAD"),"/",o,l)}`,"edittemplate"),tarballtemplate:r(({domain:t,user:e,project:i,committish:s})=>`https://${t}/${e}/${i}/get/${y(s||"HEAD")}.tar.gz`,"tarballtemplate"),extract:r(t=>{let[,e,i,s]=t.pathname.split("/",4);if(!["get"].includes(s)&&(i&&i.endsWith(".git")&&(i=i.slice(0,-4)),!(!e||!i)))return{user:e,project:i,committish:t.hash.slice(1)}},"extract")};v.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",tarballtemplate:r(({domain:t,user:e,project:i,committish:s})=>`https://${t}/${e}/${i}/repository/archive.tar.gz?ref=${y(s||"HEAD")}`,"tarballtemplate"),extract:r(t=>{let e=t.pathname.slice(1);if(e.includes("/-/")||e.includes("/archive.tar.gz"))return;let i=e.split("/"),s=i.pop();s.endsWith(".git")&&(s=s.slice(0,-4));let n=i.join("/");if(!(!n||!s))return{user:n,project:s,committish:t.hash.slice(1)}},"extract")};v.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:r(({domain:t,project:e,committish:i})=>`git@${t}:${e}.git${C("#",i)}`,"sshtemplate"),sshurltemplate:r(({domain:t,project:e,committish:i})=>`git+ssh://git@${t}/${e}.git${C("#",i)}`,"sshurltemplate"),edittemplate:r(({domain:t,user:e,project:i,committish:s,editpath:n})=>`https://${t}/${e}/${i}${C("/",y(s))}/${n}`,"edittemplate"),browsetemplate:r(({domain:t,project:e,committish:i})=>`https://${t}/${e}${C("/",y(i))}`,"browsetemplate"),browsetreetemplate:r(({domain:t,project:e,committish:i,path:s,hashformat:n})=>`https://${t}/${e}${C("/",y(i))}${C("#",n(s))}`,"browsetreetemplate"),browseblobtemplate:r(({domain:t,project:e,committish:i,path:s,hashformat:n})=>`https://${t}/${e}${C("/",y(i))}${C("#",n(s))}`,"browseblobtemplate"),docstemplate:r(({domain:t,project:e,committish:i})=>`https://${t}/${e}${C("/",y(i))}`,"docstemplate"),httpstemplate:r(({domain:t,project:e,committish:i})=>`git+https://${t}/${e}.git${C("#",i)}`,"httpstemplate"),filetemplate:r(({user:t,project:e,committish:i,path:s})=>`https://gist.githubusercontent.com/${t}/${e}/raw${C("/",y(i))}/${s}`,"filetemplate"),shortcuttemplate:r(({type:t,project:e,committish:i})=>`${t}:${e}${C("#",i)}`,"shortcuttemplate"),pathtemplate:r(({project:t,committish:e})=>`${t}${C("#",e)}`,"pathtemplate"),bugstemplate:r(({domain:t,project:e})=>`https://${t}/${e}`,"bugstemplate"),gittemplate:r(({domain:t,project:e,committish:i})=>`git://${t}/${e}.git${C("#",i)}`,"gittemplate"),tarballtemplate:r(({project:t,committish:e})=>`https://codeload.github.com/gist/${t}/tar.gz/${y(e||"HEAD")}`,"tarballtemplate"),extract:r(t=>{let[,e,i,s]=t.pathname.split("/",4);if(s!=="raw"){if(!i){if(!e)return;i=e,e=null}return i.endsWith(".git")&&(i=i.slice(0,-4)),{user:e,project:i,committish:t.hash.slice(1)}}},"extract"),hashformat:r(function(t){return t&&"file-"+rt(t)},"hashformat")};v.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:r(({domain:t,user:e,project:i,committish:s,path:n})=>`https://${t}/${e}/${i}/blob/${y(s)||"HEAD"}/${n}`,"filetemplate"),httpstemplate:r(({domain:t,user:e,project:i,committish:s})=>`https://${t}/${e}/${i}.git${C("#",s)}`,"httpstemplate"),tarballtemplate:r(({domain:t,user:e,project:i,committish:s})=>`https://${t}/${e}/${i}/archive/${y(s)||"HEAD"}.tar.gz`,"tarballtemplate"),bugstemplate:r(()=>null,"bugstemplate"),extract:r(t=>{let[,e,i,s]=t.pathname.split("/",4);if(!["archive"].includes(s)&&(i&&i.endsWith(".git")&&(i=i.slice(0,-4)),!(!e||!i)))return{user:e,project:i,committish:t.hash.slice(1)}},"extract")};for(let[t,e]of Object.entries(v))v[t]=Object.assign({},gi,e);ot.exports=v});var ce=P((Ts,ct)=>{var Ci=require("url"),ae=r((t,e,i)=>{let s=t.indexOf(i);return t.lastIndexOf(e,s>-1?s:1/0)},"lastIndexOfBefore"),at=r(t=>{try{return new Ci.URL(t)}catch{}},"safeUrl"),Pi=r((t,e)=>{let i=t.indexOf(":"),s=t.slice(0,i+1);if(Object.prototype.hasOwnProperty.call(e,s)||t.substr(i,3)==="://")return t;let n=t.indexOf("@");return n>-1?n>i?`git+ssh://${t}`:t:`${t.slice(0,i+1)}//${t.slice(i+1)}`},"correctProtocol"),Ai=r(t=>{let e=ae(t,"@","#"),i=ae(t,":","#");return i>e&&(t=t.slice(0,i)+"/"+t.slice(i+1)),ae(t,":","#")===-1&&t.indexOf("//")===-1&&(t=`git+ssh://${t}`),t},"correctUrl");ct.exports=(t,e)=>{let i=e?Pi(t,e):t;return at(i)||at(Ai(i))}});var ut=P((xs,ht)=>{"use strict";var Di=ce(),Ni=r(t=>{let e=t.indexOf("#"),i=t.indexOf("/"),s=t.indexOf("/",i+1),n=t.indexOf(":"),o=/\s/.exec(t),l=t.indexOf("@"),u=!o||e>-1&&o.index>e,f=l===-1||e>-1&&l>e,A=n===-1||e>-1&&n>e,I=s===-1||e>-1&&s>e,m=i>0,g=e>-1?t[e-1]!=="/":!t.endsWith("/"),E=!t.startsWith(".");return u&&m&&g&&E&&f&&A&&I},"isGitHubShorthand");ht.exports=(t,e,{gitHosts:i,protocols:s})=>{if(!t)return;let n=Ni(t)?`github:${t}`:t,o=Di(n,s);if(!o)return;let l=i.byShortcut[o.protocol],u=i.byDomain[o.hostname.startsWith("www.")?o.hostname.slice(4):o.hostname],f=l||u;if(!f)return;let A=i[l||u],I=null;s[o.protocol]?.auth&&(o.username||o.password)&&(I=`${o.username}${o.password?":"+o.password:""}`);let m=null,g=null,E=null,S=null;try{if(l){let h=o.pathname.startsWith("/")?o.pathname.slice(1):o.pathname,d=h.indexOf("@");d>-1&&(h=h.slice(d+1));let p=h.lastIndexOf("/");p>-1?(g=decodeURIComponent(h.slice(0,p)),g||(g=null),E=decodeURIComponent(h.slice(p+1))):E=decodeURIComponent(h),E.endsWith(".git")&&(E=E.slice(0,-4)),o.hash&&(m=decodeURIComponent(o.hash.slice(1))),S="shortcut"}else{if(!A.protocols.includes(o.protocol))return;let h=A.extract(o);if(!h)return;g=h.user&&decodeURIComponent(h.user),E=decodeURIComponent(h.project),m=decodeURIComponent(h.committish),S=s[o.protocol]?.name||o.protocol.slice(0,-1)}}catch(h){if(h instanceof URIError)return;throw h}return[f,g,I,E,m,S,e]}});var pt=P((Bs,ft)=>{"use strict";var{LRUCache:yi}=nt(),Ii=lt(),Oi=ut(),bi=ce(),he=new yi({max:1e3});function wi(t){try{let{protocol:e,hostname:i,pathname:s}=new URL(t);if(!i)return null;let n=/(?:git\+)http:$/.test(e)?"http:":"https:",o=s.replace(/\.git$/,"");return`${n}//${i}${o}`}catch{return null}}r(wi,"unknownHostedUrl");var X=class t{static{r(this,"GitHost")}constructor(e,i,s,n,o,l,u={}){Object.assign(this,t.#n[e],{type:e,user:i,auth:s,project:n,committish:o,default:l,opts:u})}static#n={byShortcut:{},byDomain:{}};static#c={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}};static addHost(e,i){t.#n[e]=i,t.#n.byDomain[i.domain]=e,t.#n.byShortcut[`${e}:`]=e,t.#c[`${e}:`]={name:e}}static fromUrl(e,i){if(typeof e!="string")return;let s=e+JSON.stringify(i||{});if(!he.has(s)){let n=Oi(e,i,{gitHosts:t.#n,protocols:t.#c});he.set(s,n?new t(...n):void 0)}return he.get(s)}static fromManifest(e,i={}){if(!e||typeof e!="object")return;let s=e.repository,n=s&&(typeof s=="string"?s:typeof s=="object"&&typeof s.url=="string"?s.url:null);if(!n)throw new Error("no repository");let o=n&&t.fromUrl(n.replace(/^git\+/,""),i)||null;if(o)return o;let l=wi(n);return t.fromUrl(l,i)||l}static parseUrl(e){return bi(e)}#t(e,i){if(typeof e!="function")return null;let s={...this,...this.opts,...i};s.path||(s.path=""),s.path.startsWith("/")&&(s.path=s.path.slice(1)),s.noCommittish&&(s.committish=null);let n=e(s);return s.noGitPlus&&n.startsWith("git+")?n.slice(4):n}hash(){return this.committish?`#${this.committish}`:""}ssh(e){return this.#t(this.sshtemplate,e)}sshurl(e){return this.#t(this.sshurltemplate,e)}browse(e,...i){return typeof e!="string"?this.#t(this.browsetemplate,e):typeof i[0]!="string"?this.#t(this.browsetreetemplate,{...i[0],path:e}):this.#t(this.browsetreetemplate,{...i[1],fragment:i[0],path:e})}browseFile(e,...i){return typeof i[0]!="string"?this.#t(this.browseblobtemplate,{...i[0],path:e}):this.#t(this.browseblobtemplate,{...i[1],fragment:i[0],path:e})}docs(e){return this.#t(this.docstemplate,e)}bugs(e){return this.#t(this.bugstemplate,e)}https(e){return this.#t(this.httpstemplate,e)}git(e){return this.#t(this.gittemplate,e)}shortcut(e){return this.#t(this.shortcuttemplate,e)}path(e){return this.#t(this.pathtemplate,e)}tarball(e){return this.#t(this.tarballtemplate,{...e,noCommittish:!1})}file(e,i){return this.#t(this.filetemplate,{...i,path:e})}edit(e,i){return this.#t(this.edittemplate,{...i,path:e})}getDefaultRepresentation(){return this.default}toString(e){return this.default&&typeof this[this.default]=="function"?this[this.default](e):this.sshurl(e)}};for(let[t,e]of Object.entries(Ii))X.addHost(t,e);ft.exports=X});var dt=P((Hs,Lt)=>{Lt.exports=Ri;function Ri(t){if(!t||t==="ERROR: No README data found!")return;t=t.trim().split(`
|
|
6
|
+
`);let e=0;for(;t[e]&&t[e].trim().match(/^(#|$)/);)e++;let i=t.length,s=e+1;for(;s<i&&t[s].trim();)s++;return t.slice(e,s).join(" ").trim()}r(Ri,"extractDescription")});var mt=P((ks,vi)=>{vi.exports={topLevel:{dependancies:"dependencies",dependecies:"dependencies",depdenencies:"dependencies",devEependencies:"devDependencies",depends:"dependencies","dev-dependencies":"devDependencies",devDependences:"devDependencies",devDepenencies:"devDependencies",devdependencies:"devDependencies",repostitory:"repository",repo:"repository",prefereGlobal:"preferGlobal",hompage:"homepage",hampage:"homepage",autohr:"author",autor:"author",contributers:"contributors",publicationConfig:"publishConfig",script:"scripts"},bugs:{web:"url",name:"url"},script:{server:"start",tests:"test"}}});var Ct=P((Ws,gt)=>{var{URL:ue}=require("node:url"),$i=ve(),Gi=Ge(),Ti=Qe(),q=pt(),{isBuiltin:Fi}=require("node:module"),xi=["dependencies","devDependencies","optionalDependencies"],Ui=dt(),$=mt(),Et=r(t=>t.includes("@")&&t.indexOf("@")<t.lastIndexOf("."),"isEmail");gt.exports={warn:r(function(){},"warn"),fixRepositoryField:r(function(t){if(t.repositories&&(this.warn("repositories"),t.repository=t.repositories[0]),!t.repository)return this.warn("missingRepository");typeof t.repository=="string"&&(t.repository={type:"git",url:t.repository});var e=t.repository.url||"";if(e){var i=q.fromUrl(e);i&&(e=t.repository.url=i.getDefaultRepresentation()==="shortcut"?i.https():i.toString())}e.match(/github.com\/[^/]+\/[^/]+\.git\.git$/)&&this.warn("brokenGitUrl",e)},"fixRepositoryField"),fixTypos:r(function(t){Object.keys($.topLevel).forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)&&this.warn("typo",e,$.topLevel[e])},this)},"fixTypos"),fixScriptsField:r(function(t){if(t.scripts){if(typeof t.scripts!="object"){this.warn("nonObjectScripts"),delete t.scripts;return}Object.keys(t.scripts).forEach(function(e){typeof t.scripts[e]!="string"?(this.warn("nonStringScript"),delete t.scripts[e]):$.script[e]&&!t.scripts[$.script[e]]&&this.warn("typo",e,$.script[e],"scripts")},this)}},"fixScriptsField"),fixFilesField:r(function(t){var e=t.files;e&&!Array.isArray(e)?(this.warn("nonArrayFiles"),delete t.files):t.files&&(t.files=t.files.filter(function(i){return!i||typeof i!="string"?(this.warn("invalidFilename",i),!1):!0},this))},"fixFilesField"),fixBinField:r(function(t){if(t.bin&&typeof t.bin=="string"){var e={},i;(i=t.name.match(/^@[^/]+[/](.*)$/))?e[i[1]]=t.bin:e[t.name]=t.bin,t.bin=e}},"fixBinField"),fixManField:r(function(t){t.man&&typeof t.man=="string"&&(t.man=[t.man])},"fixManField"),fixBundleDependenciesField:r(function(t){var e="bundledDependencies",i="bundleDependencies";t[e]&&!t[i]&&(t[i]=t[e],delete t[e]),t[i]&&!Array.isArray(t[i])?(this.warn("nonArrayBundleDependencies"),delete t[i]):t[i]&&(t[i]=t[i].filter(function(s){return!s||typeof s!="string"?(this.warn("nonStringBundleDependency",s),!1):(t.dependencies||(t.dependencies={}),Object.prototype.hasOwnProperty.call(t.dependencies,s)||(this.warn("nonDependencyBundleDependency",s),t.dependencies[s]="*"),!0)},this))},"fixBundleDependenciesField"),fixDependencies:r(function(t){zi(t,this.warn),Wi(t,this.warn),this.fixBundleDependenciesField(t),["dependencies","devDependencies"].forEach(function(e){if(e in t){if(!t[e]||typeof t[e]!="object"){this.warn("nonObjectDependencies",e),delete t[e];return}Object.keys(t[e]).forEach(function(i){var s=t[e][i];typeof s!="string"&&(this.warn("nonStringDependency",i,JSON.stringify(s)),delete t[e][i]);var n=q.fromUrl(t[e][i]);n&&(t[e][i]=n.toString())},this)}},this)},"fixDependencies"),fixModulesField:r(function(t){t.modules&&(this.warn("deprecatedModules"),delete t.modules)},"fixModulesField"),fixKeywordsField:r(function(t){typeof t.keywords=="string"&&(t.keywords=t.keywords.split(/,\s+/)),t.keywords&&!Array.isArray(t.keywords)?(delete t.keywords,this.warn("nonArrayKeywords")):t.keywords&&(t.keywords=t.keywords.filter(function(e){return typeof e!="string"||!e?(this.warn("nonStringKeyword"),!1):!0},this))},"fixKeywordsField"),fixVersionField:r(function(t,e){var i=!e;if(!t.version)return t.version="",!0;if(!$i(t.version,i))throw new Error('Invalid version: "'+t.version+'"');return t.version=Gi(t.version,i),!0},"fixVersionField"),fixPeople:r(function(t){St(t,_i),St(t,ki)},"fixPeople"),fixNameField:r(function(t,e){typeof e=="boolean"?e={strict:e}:typeof e>"u"&&(e={});var i=e.strict;if(!t.name&&!i){t.name="";return}if(typeof t.name!="string")throw new Error("name field must be a string.");i||(t.name=t.name.trim()),Hi(t.name,i,e.allowLegacyCase),Fi(t.name)&&this.warn("conflictingName",t.name)},"fixNameField"),fixDescriptionField:r(function(t){t.description&&typeof t.description!="string"&&(this.warn("nonStringDescription"),delete t.description),t.readme&&!t.description&&(t.description=Ui(t.readme)),t.description===void 0&&delete t.description,t.description||this.warn("missingDescription")},"fixDescriptionField"),fixReadmeField:r(function(t){t.readme||(this.warn("missingReadme"),t.readme="ERROR: No README data found!")},"fixReadmeField"),fixBugsField:r(function(t){if(!t.bugs&&t.repository&&t.repository.url){var e=q.fromUrl(t.repository.url);e&&e.bugs()&&(t.bugs={url:e.bugs()})}else if(t.bugs){if(typeof t.bugs=="string")Et(t.bugs)?t.bugs={email:t.bugs}:ue.canParse(t.bugs)?t.bugs={url:t.bugs}:this.warn("nonEmailUrlBugsString");else{Yi(t.bugs,this.warn);var i=t.bugs;t.bugs={},i.url&&(ue.canParse(i.url)?t.bugs.url=i.url:this.warn("nonUrlBugsUrlField")),i.email&&(typeof i.email=="string"&&Et(i.email)?t.bugs.email=i.email:this.warn("nonEmailBugsEmailField"))}!t.bugs.email&&!t.bugs.url&&(delete t.bugs,this.warn("emptyNormalizedBugs"))}},"fixBugsField"),fixHomepageField:r(function(t){if(!t.homepage&&t.repository&&t.repository.url){var e=q.fromUrl(t.repository.url);e&&e.docs()&&(t.homepage=e.docs())}if(t.homepage){if(typeof t.homepage!="string")return this.warn("nonUrlHomepage"),delete t.homepage;ue.canParse(t.homepage)||(t.homepage="http://"+t.homepage)}},"fixHomepageField"),fixLicenseField:r(function(t){let e=t.license||t.licence;if(!e)return this.warn("missingLicense");if(typeof e!="string"||e.length<1||e.trim()==="")return this.warn("invalidLicense");if(!Ti(e).validForNewPackages)return this.warn("invalidLicense")},"fixLicenseField")};function Bi(t){if(t.charAt(0)!=="@")return!1;var e=t.slice(1).split("/");return e.length!==2?!1:e[0]&&e[1]&&e[0]===encodeURIComponent(e[0])&&e[1]===encodeURIComponent(e[1])}r(Bi,"isValidScopedPackageName");function Mi(t){return!t.match(/[/@\s+%:]/)&&t===encodeURIComponent(t)}r(Mi,"isCorrectlyEncodedName");function Hi(t,e,i){if(t.charAt(0)==="."||!(Bi(t)||Mi(t))||e&&!i&&t!==t.toLowerCase()||t.toLowerCase()==="node_modules"||t.toLowerCase()==="favicon.ico")throw new Error("Invalid name: "+JSON.stringify(t))}r(Hi,"ensureValidName");function St(t,e){return t.author&&(t.author=e(t.author)),["maintainers","contributors"].forEach(function(i){Array.isArray(t[i])&&(t[i]=t[i].map(e))}),t}r(St,"modifyPeople");function _i(t){if(typeof t=="string")return t;var e=t.name||"",i=t.url||t.web,s=i?" ("+i+")":"",n=t.email||t.mail,o=n?" <"+n+">":"";return e+o+s}r(_i,"unParsePerson");function ki(t){if(typeof t!="string")return t;var e=t.match(/^([^(<]+)/),i=t.match(/\(([^()]+)\)/),s=t.match(/<([^<>]+)>/),n={};return e&&e[0].trim()&&(n.name=e[0].trim()),s&&(n.email=s[1]),i&&(n.url=i[1]),n}r(ki,"parsePerson");function Wi(t){var e=t.optionalDependencies;if(e){var i=t.dependencies||{};Object.keys(e).forEach(function(s){i[s]=e[s]}),t.dependencies=i}}r(Wi,"addOptionalDepsToDeps");function ji(t,e,i){if(!t)return{};if(typeof t=="string"&&(t=t.trim().split(/[\n\r\s\t ,]+/)),!Array.isArray(t))return t;i("deprecatedArrayDependencies",e);var s={};return t.filter(function(n){return typeof n=="string"}).forEach(function(n){n=n.trim().split(/(:?[@\s><=])/);var o=n.shift(),l=n.join("");l=l.trim(),l=l.replace(/^@/,""),s[o]=l}),s}r(ji,"depObjectify");function zi(t,e){xi.forEach(function(i){t[i]&&(t[i]=ji(t[i],i,e))})}r(zi,"objectifyDeps");function Yi(t,e){t&&Object.keys(t).forEach(function(i){$.bugs[i]&&(e("typo",i,$.bugs[i],"bugs"),t[$.bugs[i]]=t[i],delete t[i])})}r(Yi,"bugsTypos")});var Pt=P((zs,Xi)=>{Xi.exports={repositories:"'repositories' (plural) Not supported. Please pick one as the 'repository' field",missingRepository:"No repository field.",brokenGitUrl:"Probably broken git url: %s",nonObjectScripts:"scripts must be an object",nonStringScript:"script values must be string commands",nonArrayFiles:"Invalid 'files' member",invalidFilename:"Invalid filename in 'files' list: %s",nonArrayBundleDependencies:"Invalid 'bundleDependencies' list. Must be array of package names",nonStringBundleDependency:"Invalid bundleDependencies member: %s",nonDependencyBundleDependency:"Non-dependency in bundleDependencies: %s",nonObjectDependencies:"%s field must be an object",nonStringDependency:"Invalid dependency: %s %s",deprecatedArrayDependencies:"specifying %s as array is deprecated",deprecatedModules:"modules field is deprecated",nonArrayKeywords:"keywords should be an array of strings",nonStringKeyword:"keywords should be an array of strings",conflictingName:"%s is also the name of a node core module.",nonStringDescription:"'description' field should be a string",missingDescription:"No description",missingReadme:"No README data",missingLicense:"No license field.",nonEmailUrlBugsString:"Bug string field must be url, email, or {email,url}",nonUrlBugsUrlField:"bugs.url field must be a string url. Deleted.",nonEmailBugsEmailField:"bugs.email field must be a string email. Deleted.",emptyNormalizedBugs:"Normalized value of bugs field is an empty object. Deleted.",nonUrlHomepage:"homepage field must be a string url. Deleted.",invalidLicense:"license should be a valid SPDX license expression",typo:"%s should probably be %s."}});var Nt=P((Ys,Dt)=>{var At=require("util"),fe=Pt();Dt.exports=function(){var t=Array.prototype.slice.call(arguments,0),e=t.shift();if(e==="typo")return qi.apply(null,t);var i=fe[e]?fe[e]:e+": '%s'";return t.unshift(i),At.format.apply(null,t)};function qi(t,e,i){return i&&(t=i+"['"+t+"']",e=i+"['"+e+"']"),At.format(fe.typo,t,e)}r(qi,"makeTypoWarning")});module.exports=yt;var pe=Ct();yt.fixer=pe;var Vi=Nt(),Ki=["name","version","description","repository","modules","scripts","files","bin","man","bugs","keywords","readme","homepage","license"],Zi=["dependencies","people","typos"],Le=Ki.map(function(t){return It(t)+"Field"});Le=Le.concat(Zi);function yt(t,e,i){e===!0&&(e=null,i=!0),i||(i=!1),(!e||t.private)&&(e=r(function(){},"warn")),t.scripts&&t.scripts.install==="node-gyp rebuild"&&!t.scripts.preinstall&&(t.gypfile=!0),pe.warn=function(){e(Vi.apply(null,arguments))},Le.forEach(function(s){pe["fix"+It(s)](t,i)}),t._id=t.name+"@"+t.version}r(yt,"normalize");function It(t){return t.charAt(0).toUpperCase()+t.slice(1)}r(It,"ucFirst");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bundled from npm-package-arg
|
|
3
|
+
* This is a zero-dependency bundle created by esbuild.
|
|
4
|
+
*/
|
|
5
|
+
"use strict";var cr=Object.defineProperty;var o=(s,e)=>cr(s,"name",{value:e,configurable:!0});var E=(s,e)=>()=>(e||s((e={exports:{}}).exports,e),e.exports);var Ze=E(ae=>{"use strict";Object.defineProperty(ae,"__esModule",{value:!0});ae.LRUCache=void 0;var hr=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Be=new Set,Re=typeof process=="object"&&process?process:{},Ke=o((s,e,t,r)=>{typeof Re.emitWarning=="function"&&Re.emitWarning(s,e,t,r)},"emitWarning"),oe=globalThis.AbortController,Ye=globalThis.AbortSignal;if(typeof oe>"u"){Ye=class{static{o(this,"AbortSignal")}onabort;_onabort=[];reason;aborted=!1;addEventListener(r,i){this._onabort.push(i)}},oe=class{static{o(this,"AbortController")}constructor(){e()}signal=new Ye;abort(r){if(!this.signal.aborted){this.signal.reason=r,this.signal.aborted=!0;for(let i of this.signal._onabort)i(r);this.signal.onabort?.(r)}}};let s=Re.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=o(()=>{s&&(s=!1,Ke("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))},"warnACPolyfill")}var ur=o(s=>!Be.has(s),"shouldWarn"),Yo=Symbol("type"),_=o(s=>s&&s===Math.floor(s)&&s>0&&isFinite(s),"isPosInt"),Je=o(s=>_(s)?s<=Math.pow(2,8)?Uint8Array:s<=Math.pow(2,16)?Uint16Array:s<=Math.pow(2,32)?Uint32Array:s<=Number.MAX_SAFE_INTEGER?H:null:null,"getUintArray"),H=class extends Array{static{o(this,"ZeroArray")}constructor(e){super(e),this.fill(0)}},Ae=class s{static{o(this,"Stack")}heap;length;static#i=!1;static create(e){let t=Je(e);if(!t)return[];s.#i=!0;let r=new s(e,t);return s.#i=!1,r}constructor(e,t){if(!s.#i)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},Ie=class s{static{o(this,"LRUCache")}#i;#c;#t;#b;#E;#x;#q;#g;get perf(){return this.#g}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#o;#$;#n;#r;#e;#u;#p;#h;#a;#w;#l;#S;#R;#d;#A;#v;#f;#P;static unsafeExposeInternals(e){return{starts:e.#R,ttls:e.#d,sizes:e.#S,keyMap:e.#n,keyList:e.#r,valList:e.#e,next:e.#u,prev:e.#p,get head(){return e.#h},get tail(){return e.#a},free:e.#w,isBackgroundFetch:o(t=>e.#s(t),"isBackgroundFetch"),backgroundFetch:o((t,r,i,n)=>e.#_(t,r,i,n),"backgroundFetch"),moveToTail:o(t=>e.#C(t),"moveToTail"),indexes:o(t=>e.#I(t),"indexes"),rindexes:o(t=>e.#O(t),"rindexes"),isStale:o(t=>e.#m(t),"isStale")}}get max(){return this.#i}get maxSize(){return this.#c}get calculatedSize(){return this.#$}get size(){return this.#o}get fetchMethod(){return this.#x}get memoMethod(){return this.#q}get dispose(){return this.#t}get onInsert(){return this.#b}get disposeAfter(){return this.#E}constructor(e){let{max:t=0,ttl:r,ttlResolution:i=1,ttlAutopurge:n,updateAgeOnGet:a,updateAgeOnHas:l,allowStale:c,dispose:d,onInsert:m,disposeAfter:h,noDisposeOnSet:g,noUpdateTTL:u,maxSize:C=0,maxEntrySize:w=0,sizeCalculation:T,fetchMethod:S,memoMethod:y,noDeleteOnFetchRejection:D,noDeleteOnStaleGet:I,allowStaleOnFetchRejection:x,allowStaleOnFetchAbort:M,ignoreFetchAbort:G,perf:ne}=e;if(ne!==void 0&&typeof ne?.now!="function")throw new TypeError("perf option must have a now() method if specified");if(this.#g=ne??hr,t!==0&&!_(t))throw new TypeError("max option must be a nonnegative integer");let W=t?Je(t):Array;if(!W)throw new Error("invalid max value: "+t);if(this.#i=t,this.#c=C,this.maxEntrySize=w||this.#c,this.sizeCalculation=T,this.sizeCalculation){if(!this.#c&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(y!==void 0&&typeof y!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#q=y,S!==void 0&&typeof S!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#x=S,this.#v=!!S,this.#n=new Map,this.#r=new Array(t).fill(void 0),this.#e=new Array(t).fill(void 0),this.#u=new W(t),this.#p=new W(t),this.#h=0,this.#a=0,this.#w=Ae.create(t),this.#o=0,this.#$=0,typeof d=="function"&&(this.#t=d),typeof m=="function"&&(this.#b=m),typeof h=="function"?(this.#E=h,this.#l=[]):(this.#E=void 0,this.#l=void 0),this.#A=!!this.#t,this.#P=!!this.#b,this.#f=!!this.#E,this.noDisposeOnSet=!!g,this.noUpdateTTL=!!u,this.noDeleteOnFetchRejection=!!D,this.allowStaleOnFetchRejection=!!x,this.allowStaleOnFetchAbort=!!M,this.ignoreFetchAbort=!!G,this.maxEntrySize!==0){if(this.#c!==0&&!_(this.#c))throw new TypeError("maxSize must be a positive integer if specified");if(!_(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#V()}if(this.allowStale=!!c,this.noDeleteOnStaleGet=!!I,this.updateAgeOnGet=!!a,this.updateAgeOnHas=!!l,this.ttlResolution=_(i)||i===0?i:1,this.ttlAutopurge=!!n,this.ttl=r||0,this.ttl){if(!_(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#U()}if(this.#i===0&&this.ttl===0&&this.#c===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#i&&!this.#c){let z="LRU_CACHE_UNBOUNDED";ur(z)&&(Be.add(z),Ke("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",z,s))}}getRemainingTTL(e){return this.#n.has(e)?1/0:0}#U(){let e=new H(this.#i),t=new H(this.#i);this.#d=e,this.#R=t,this.#j=(n,a,l=this.#g.now())=>{if(t[n]=a!==0?l:0,e[n]=a,a!==0&&this.ttlAutopurge){let c=setTimeout(()=>{this.#m(n)&&this.#y(this.#r[n],"expire")},a+1);c.unref&&c.unref()}},this.#T=n=>{t[n]=e[n]!==0?this.#g.now():0},this.#L=(n,a)=>{if(e[a]){let l=e[a],c=t[a];if(!l||!c)return;n.ttl=l,n.start=c,n.now=r||i();let d=n.now-c;n.remainingTTL=l-d}};let r=0,i=o(()=>{let n=this.#g.now();if(this.ttlResolution>0){r=n;let a=setTimeout(()=>r=0,this.ttlResolution);a.unref&&a.unref()}return n},"getNow");this.getRemainingTTL=n=>{let a=this.#n.get(n);if(a===void 0)return 0;let l=e[a],c=t[a];if(!l||!c)return 1/0;let d=(r||i())-c;return l-d},this.#m=n=>{let a=t[n],l=e[n];return!!l&&!!a&&(r||i())-a>l}}#T=o(()=>{},"#updateItemAge");#L=o(()=>{},"#statusTTL");#j=o(()=>{},"#setItemTTL");#m=o(()=>!1,"#isStale");#V(){let e=new H(this.#i);this.#$=0,this.#S=e,this.#N=t=>{this.#$-=e[t],e[t]=0},this.#G=(t,r,i,n)=>{if(this.#s(r))return 0;if(!_(i))if(n){if(typeof n!="function")throw new TypeError("sizeCalculation must be a function");if(i=n(r,t),!_(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return i},this.#F=(t,r,i)=>{if(e[t]=r,this.#c){let n=this.#c-e[t];for(;this.#$>n;)this.#D(!0)}this.#$+=e[t],i&&(i.entrySize=r,i.totalCalculatedSize=this.#$)}}#N=o(e=>{},"#removeItemSize");#F=o((e,t,r)=>{},"#addItemSize");#G=o((e,t,r,i)=>{if(r||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0},"#requireSize");*#I({allowStale:e=this.allowStale}={}){if(this.#o)for(let t=this.#a;!(!this.#W(t)||((e||!this.#m(t))&&(yield t),t===this.#h));)t=this.#p[t]}*#O({allowStale:e=this.allowStale}={}){if(this.#o)for(let t=this.#h;!(!this.#W(t)||((e||!this.#m(t))&&(yield t),t===this.#a));)t=this.#u[t]}#W(e){return e!==void 0&&this.#n.get(this.#r[e])===e}*entries(){for(let e of this.#I())this.#e[e]!==void 0&&this.#r[e]!==void 0&&!this.#s(this.#e[e])&&(yield[this.#r[e],this.#e[e]])}*rentries(){for(let e of this.#O())this.#e[e]!==void 0&&this.#r[e]!==void 0&&!this.#s(this.#e[e])&&(yield[this.#r[e],this.#e[e]])}*keys(){for(let e of this.#I()){let t=this.#r[e];t!==void 0&&!this.#s(this.#e[e])&&(yield t)}}*rkeys(){for(let e of this.#O()){let t=this.#r[e];t!==void 0&&!this.#s(this.#e[e])&&(yield t)}}*values(){for(let e of this.#I())this.#e[e]!==void 0&&!this.#s(this.#e[e])&&(yield this.#e[e])}*rvalues(){for(let e of this.#O())this.#e[e]!==void 0&&!this.#s(this.#e[e])&&(yield this.#e[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(let r of this.#I()){let i=this.#e[r],n=this.#s(i)?i.__staleWhileFetching:i;if(n!==void 0&&e(n,this.#r[r],this))return this.get(this.#r[r],t)}}forEach(e,t=this){for(let r of this.#I()){let i=this.#e[r],n=this.#s(i)?i.__staleWhileFetching:i;n!==void 0&&e.call(t,n,this.#r[r],this)}}rforEach(e,t=this){for(let r of this.#O()){let i=this.#e[r],n=this.#s(i)?i.__staleWhileFetching:i;n!==void 0&&e.call(t,n,this.#r[r],this)}}purgeStale(){let e=!1;for(let t of this.#O({allowStale:!0}))this.#m(t)&&(this.#y(this.#r[t],"expire"),e=!0);return e}info(e){let t=this.#n.get(e);if(t===void 0)return;let r=this.#e[t],i=this.#s(r)?r.__staleWhileFetching:r;if(i===void 0)return;let n={value:i};if(this.#d&&this.#R){let a=this.#d[t],l=this.#R[t];if(a&&l){let c=a-(this.#g.now()-l);n.ttl=c,n.start=Date.now()}}return this.#S&&(n.size=this.#S[t]),n}dump(){let e=[];for(let t of this.#I({allowStale:!0})){let r=this.#r[t],i=this.#e[t],n=this.#s(i)?i.__staleWhileFetching:i;if(n===void 0||r===void 0)continue;let a={value:n};if(this.#d&&this.#R){a.ttl=this.#d[t];let l=this.#g.now()-this.#R[t];a.start=Math.floor(Date.now()-l)}this.#S&&(a.size=this.#S[t]),e.unshift([r,a])}return e}load(e){this.clear();for(let[t,r]of e){if(r.start){let i=Date.now()-r.start;r.start=this.#g.now()-i}this.set(t,r.value,r)}}set(e,t,r={}){if(t===void 0)return this.delete(e),this;let{ttl:i=this.ttl,start:n,noDisposeOnSet:a=this.noDisposeOnSet,sizeCalculation:l=this.sizeCalculation,status:c}=r,{noUpdateTTL:d=this.noUpdateTTL}=r,m=this.#G(e,t,r.size||0,l);if(this.maxEntrySize&&m>this.maxEntrySize)return c&&(c.set="miss",c.maxEntrySizeExceeded=!0),this.#y(e,"set"),this;let h=this.#o===0?void 0:this.#n.get(e);if(h===void 0)h=this.#o===0?this.#a:this.#w.length!==0?this.#w.pop():this.#o===this.#i?this.#D(!1):this.#o,this.#r[h]=e,this.#e[h]=t,this.#n.set(e,h),this.#u[this.#a]=h,this.#p[h]=this.#a,this.#a=h,this.#o++,this.#F(h,m,c),c&&(c.set="add"),d=!1,this.#P&&this.#b?.(t,e,"add");else{this.#C(h);let g=this.#e[h];if(t!==g){if(this.#v&&this.#s(g)){g.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:u}=g;u!==void 0&&!a&&(this.#A&&this.#t?.(u,e,"set"),this.#f&&this.#l?.push([u,e,"set"]))}else a||(this.#A&&this.#t?.(g,e,"set"),this.#f&&this.#l?.push([g,e,"set"]));if(this.#N(h),this.#F(h,m,c),this.#e[h]=t,c){c.set="replace";let u=g&&this.#s(g)?g.__staleWhileFetching:g;u!==void 0&&(c.oldValue=u)}}else c&&(c.set="update");this.#P&&this.onInsert?.(t,e,t===g?"update":"replace")}if(i!==0&&!this.#d&&this.#U(),this.#d&&(d||this.#j(h,i,n),c&&this.#L(c,h)),!a&&this.#f&&this.#l){let g=this.#l,u;for(;u=g?.shift();)this.#E?.(...u)}return this}pop(){try{for(;this.#o;){let e=this.#e[this.#h];if(this.#D(!0),this.#s(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#f&&this.#l){let e=this.#l,t;for(;t=e?.shift();)this.#E?.(...t)}}}#D(e){let t=this.#h,r=this.#r[t],i=this.#e[t];return this.#v&&this.#s(i)?i.__abortController.abort(new Error("evicted")):(this.#A||this.#f)&&(this.#A&&this.#t?.(i,r,"evict"),this.#f&&this.#l?.push([i,r,"evict"])),this.#N(t),e&&(this.#r[t]=void 0,this.#e[t]=void 0,this.#w.push(t)),this.#o===1?(this.#h=this.#a=0,this.#w.length=0):this.#h=this.#u[t],this.#n.delete(r),this.#o--,t}has(e,t={}){let{updateAgeOnHas:r=this.updateAgeOnHas,status:i}=t,n=this.#n.get(e);if(n!==void 0){let a=this.#e[n];if(this.#s(a)&&a.__staleWhileFetching===void 0)return!1;if(this.#m(n))i&&(i.has="stale",this.#L(i,n));else return r&&this.#T(n),i&&(i.has="hit",this.#L(i,n)),!0}else i&&(i.has="miss");return!1}peek(e,t={}){let{allowStale:r=this.allowStale}=t,i=this.#n.get(e);if(i===void 0||!r&&this.#m(i))return;let n=this.#e[i];return this.#s(n)?n.__staleWhileFetching:n}#_(e,t,r,i){let n=t===void 0?void 0:this.#e[t];if(this.#s(n))return n;let a=new oe,{signal:l}=r;l?.addEventListener("abort",()=>a.abort(l.reason),{signal:a.signal});let c={signal:a.signal,options:r,context:i},d=o((w,T=!1)=>{let{aborted:S}=a.signal,y=r.ignoreFetchAbort&&w!==void 0;if(r.status&&(S&&!T?(r.status.fetchAborted=!0,r.status.fetchError=a.signal.reason,y&&(r.status.fetchAbortIgnored=!0)):r.status.fetchResolved=!0),S&&!y&&!T)return h(a.signal.reason);let D=u,I=this.#e[t];return(I===u||y&&T&&I===void 0)&&(w===void 0?D.__staleWhileFetching!==void 0?this.#e[t]=D.__staleWhileFetching:this.#y(e,"fetch"):(r.status&&(r.status.fetchUpdated=!0),this.set(e,w,c.options))),w},"cb"),m=o(w=>(r.status&&(r.status.fetchRejected=!0,r.status.fetchError=w),h(w)),"eb"),h=o(w=>{let{aborted:T}=a.signal,S=T&&r.allowStaleOnFetchAbort,y=S||r.allowStaleOnFetchRejection,D=y||r.noDeleteOnFetchRejection,I=u;if(this.#e[t]===u&&(!D||I.__staleWhileFetching===void 0?this.#y(e,"fetch"):S||(this.#e[t]=I.__staleWhileFetching)),y)return r.status&&I.__staleWhileFetching!==void 0&&(r.status.returnedStale=!0),I.__staleWhileFetching;if(I.__returned===I)throw w},"fetchFail"),g=o((w,T)=>{let S=this.#x?.(e,n,c);S&&S instanceof Promise&&S.then(y=>w(y===void 0?void 0:y),T),a.signal.addEventListener("abort",()=>{(!r.ignoreFetchAbort||r.allowStaleOnFetchAbort)&&(w(void 0),r.allowStaleOnFetchAbort&&(w=o(y=>d(y,!0),"res")))})},"pcall");r.status&&(r.status.fetchDispatched=!0);let u=new Promise(g).then(d,m),C=Object.assign(u,{__abortController:a,__staleWhileFetching:n,__returned:void 0});return t===void 0?(this.set(e,C,{...c.options,status:void 0}),t=this.#n.get(e)):this.#e[t]=C,C}#s(e){if(!this.#v)return!1;let t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof oe}async fetch(e,t={}){let{allowStale:r=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:a=this.ttl,noDisposeOnSet:l=this.noDisposeOnSet,size:c=0,sizeCalculation:d=this.sizeCalculation,noUpdateTTL:m=this.noUpdateTTL,noDeleteOnFetchRejection:h=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:g=this.allowStaleOnFetchRejection,ignoreFetchAbort:u=this.ignoreFetchAbort,allowStaleOnFetchAbort:C=this.allowStaleOnFetchAbort,context:w,forceRefresh:T=!1,status:S,signal:y}=t;if(!this.#v)return S&&(S.fetch="get"),this.get(e,{allowStale:r,updateAgeOnGet:i,noDeleteOnStaleGet:n,status:S});let D={allowStale:r,updateAgeOnGet:i,noDeleteOnStaleGet:n,ttl:a,noDisposeOnSet:l,size:c,sizeCalculation:d,noUpdateTTL:m,noDeleteOnFetchRejection:h,allowStaleOnFetchRejection:g,allowStaleOnFetchAbort:C,ignoreFetchAbort:u,status:S,signal:y},I=this.#n.get(e);if(I===void 0){S&&(S.fetch="miss");let x=this.#_(e,I,D,w);return x.__returned=x}else{let x=this.#e[I];if(this.#s(x)){let z=r&&x.__staleWhileFetching!==void 0;return S&&(S.fetch="inflight",z&&(S.returnedStale=!0)),z?x.__staleWhileFetching:x.__returned=x}let M=this.#m(I);if(!T&&!M)return S&&(S.fetch="hit"),this.#C(I),i&&this.#T(I),S&&this.#L(S,I),x;let G=this.#_(e,I,D,w),W=G.__staleWhileFetching!==void 0&&r;return S&&(S.fetch=M?"stale":"refresh",W&&M&&(S.returnedStale=!0)),W?G.__staleWhileFetching:G.__returned=G}}async forceFetch(e,t={}){let r=await this.fetch(e,t);if(r===void 0)throw new Error("fetch() returned undefined");return r}memo(e,t={}){let r=this.#q;if(!r)throw new Error("no memoMethod provided to constructor");let{context:i,forceRefresh:n,...a}=t,l=this.get(e,a);if(!n&&l!==void 0)return l;let c=r(e,l,{options:a,context:i});return this.set(e,c,a),c}get(e,t={}){let{allowStale:r=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:a}=t,l=this.#n.get(e);if(l!==void 0){let c=this.#e[l],d=this.#s(c);return a&&this.#L(a,l),this.#m(l)?(a&&(a.get="stale"),d?(a&&r&&c.__staleWhileFetching!==void 0&&(a.returnedStale=!0),r?c.__staleWhileFetching:void 0):(n||this.#y(e,"expire"),a&&r&&(a.returnedStale=!0),r?c:void 0)):(a&&(a.get="hit"),d?c.__staleWhileFetching:(this.#C(l),i&&this.#T(l),c))}else a&&(a.get="miss")}#z(e,t){this.#p[t]=e,this.#u[e]=t}#C(e){e!==this.#a&&(e===this.#h?this.#h=this.#u[e]:this.#z(this.#p[e],this.#u[e]),this.#z(this.#a,e),this.#a=e)}delete(e){return this.#y(e,"delete")}#y(e,t){let r=!1;if(this.#o!==0){let i=this.#n.get(e);if(i!==void 0)if(r=!0,this.#o===1)this.#H(t);else{this.#N(i);let n=this.#e[i];if(this.#s(n)?n.__abortController.abort(new Error("deleted")):(this.#A||this.#f)&&(this.#A&&this.#t?.(n,e,t),this.#f&&this.#l?.push([n,e,t])),this.#n.delete(e),this.#r[i]=void 0,this.#e[i]=void 0,i===this.#a)this.#a=this.#p[i];else if(i===this.#h)this.#h=this.#u[i];else{let a=this.#p[i];this.#u[a]=this.#u[i];let l=this.#u[i];this.#p[l]=this.#p[i]}this.#o--,this.#w.push(i)}}if(this.#f&&this.#l?.length){let i=this.#l,n;for(;n=i?.shift();)this.#E?.(...n)}return r}clear(){return this.#H("delete")}#H(e){for(let t of this.#O({allowStale:!0})){let r=this.#e[t];if(this.#s(r))r.__abortController.abort(new Error("deleted"));else{let i=this.#r[t];this.#A&&this.#t?.(r,i,e),this.#f&&this.#l?.push([r,i,e])}}if(this.#n.clear(),this.#e.fill(void 0),this.#r.fill(void 0),this.#d&&this.#R&&(this.#d.fill(0),this.#R.fill(0)),this.#S&&this.#S.fill(0),this.#h=0,this.#a=0,this.#w.length=0,this.#$=0,this.#o=0,this.#f&&this.#l){let t=this.#l,r;for(;r=t?.shift();)this.#E?.(...r)}}};ae.LRUCache=Ie});var tt=E((Jo,et)=>{"use strict";var R=o((...s)=>s.every(e=>e)?s.join(""):"","maybeJoin"),O=o(s=>s?encodeURIComponent(s):"","maybeEncode"),Qe=o(s=>s.toLowerCase().replace(/^\W+/g,"").replace(/(?<!\W)\W+$/,"").replace(/\//g,"").replace(/\W+/g,"-"),"formatHashFragment"),fr={sshtemplate:o(({domain:s,user:e,project:t,committish:r})=>`git@${s}:${e}/${t}.git${R("#",r)}`,"sshtemplate"),sshurltemplate:o(({domain:s,user:e,project:t,committish:r})=>`git+ssh://git@${s}/${e}/${t}.git${R("#",r)}`,"sshurltemplate"),edittemplate:o(({domain:s,user:e,project:t,committish:r,editpath:i,path:n})=>`https://${s}/${e}/${t}${R("/",i,"/",O(r||"HEAD"),"/",n)}`,"edittemplate"),browsetemplate:o(({domain:s,user:e,project:t,committish:r,treepath:i})=>`https://${s}/${e}/${t}${R("/",i,"/",O(r))}`,"browsetemplate"),browsetreetemplate:o(({domain:s,user:e,project:t,committish:r,treepath:i,path:n,fragment:a,hashformat:l})=>`https://${s}/${e}/${t}/${i}/${O(r||"HEAD")}/${n}${R("#",l(a||""))}`,"browsetreetemplate"),browseblobtemplate:o(({domain:s,user:e,project:t,committish:r,blobpath:i,path:n,fragment:a,hashformat:l})=>`https://${s}/${e}/${t}/${i}/${O(r||"HEAD")}/${n}${R("#",l(a||""))}`,"browseblobtemplate"),docstemplate:o(({domain:s,user:e,project:t,treepath:r,committish:i})=>`https://${s}/${e}/${t}${R("/",r,"/",O(i))}#readme`,"docstemplate"),httpstemplate:o(({auth:s,domain:e,user:t,project:r,committish:i})=>`git+https://${R(s,"@")}${e}/${t}/${r}.git${R("#",i)}`,"httpstemplate"),filetemplate:o(({domain:s,user:e,project:t,committish:r,path:i})=>`https://${s}/${e}/${t}/raw/${O(r||"HEAD")}/${i}`,"filetemplate"),shortcuttemplate:o(({type:s,user:e,project:t,committish:r})=>`${s}:${e}/${t}${R("#",r)}`,"shortcuttemplate"),pathtemplate:o(({user:s,project:e,committish:t})=>`${s}/${e}${R("#",t)}`,"pathtemplate"),bugstemplate:o(({domain:s,user:e,project:t})=>`https://${s}/${e}/${t}/issues`,"bugstemplate"),hashformat:Qe},U={};U.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:o(({auth:s,user:e,project:t,committish:r,path:i})=>`https://${R(s,"@")}raw.githubusercontent.com/${e}/${t}/${O(r||"HEAD")}/${i}`,"filetemplate"),gittemplate:o(({auth:s,domain:e,user:t,project:r,committish:i})=>`git://${R(s,"@")}${e}/${t}/${r}.git${R("#",i)}`,"gittemplate"),tarballtemplate:o(({domain:s,user:e,project:t,committish:r})=>`https://codeload.${s}/${e}/${t}/tar.gz/${O(r||"HEAD")}`,"tarballtemplate"),extract:o(s=>{let[,e,t,r,i]=s.pathname.split("/",5);if(!(r&&r!=="tree")&&(r||(i=s.hash.slice(1)),t&&t.endsWith(".git")&&(t=t.slice(0,-4)),!(!e||!t)))return{user:e,project:t,committish:i}},"extract")};U.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:o(({domain:s,user:e,project:t,committish:r,treepath:i,path:n,editpath:a})=>`https://${s}/${e}/${t}${R("/",i,"/",O(r||"HEAD"),"/",n,a)}`,"edittemplate"),tarballtemplate:o(({domain:s,user:e,project:t,committish:r})=>`https://${s}/${e}/${t}/get/${O(r||"HEAD")}.tar.gz`,"tarballtemplate"),extract:o(s=>{let[,e,t,r]=s.pathname.split("/",4);if(!["get"].includes(r)&&(t&&t.endsWith(".git")&&(t=t.slice(0,-4)),!(!e||!t)))return{user:e,project:t,committish:s.hash.slice(1)}},"extract")};U.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",tarballtemplate:o(({domain:s,user:e,project:t,committish:r})=>`https://${s}/${e}/${t}/repository/archive.tar.gz?ref=${O(r||"HEAD")}`,"tarballtemplate"),extract:o(s=>{let e=s.pathname.slice(1);if(e.includes("/-/")||e.includes("/archive.tar.gz"))return;let t=e.split("/"),r=t.pop();r.endsWith(".git")&&(r=r.slice(0,-4));let i=t.join("/");if(!(!i||!r))return{user:i,project:r,committish:s.hash.slice(1)}},"extract")};U.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:o(({domain:s,project:e,committish:t})=>`git@${s}:${e}.git${R("#",t)}`,"sshtemplate"),sshurltemplate:o(({domain:s,project:e,committish:t})=>`git+ssh://git@${s}/${e}.git${R("#",t)}`,"sshurltemplate"),edittemplate:o(({domain:s,user:e,project:t,committish:r,editpath:i})=>`https://${s}/${e}/${t}${R("/",O(r))}/${i}`,"edittemplate"),browsetemplate:o(({domain:s,project:e,committish:t})=>`https://${s}/${e}${R("/",O(t))}`,"browsetemplate"),browsetreetemplate:o(({domain:s,project:e,committish:t,path:r,hashformat:i})=>`https://${s}/${e}${R("/",O(t))}${R("#",i(r))}`,"browsetreetemplate"),browseblobtemplate:o(({domain:s,project:e,committish:t,path:r,hashformat:i})=>`https://${s}/${e}${R("/",O(t))}${R("#",i(r))}`,"browseblobtemplate"),docstemplate:o(({domain:s,project:e,committish:t})=>`https://${s}/${e}${R("/",O(t))}`,"docstemplate"),httpstemplate:o(({domain:s,project:e,committish:t})=>`git+https://${s}/${e}.git${R("#",t)}`,"httpstemplate"),filetemplate:o(({user:s,project:e,committish:t,path:r})=>`https://gist.githubusercontent.com/${s}/${e}/raw${R("/",O(t))}/${r}`,"filetemplate"),shortcuttemplate:o(({type:s,project:e,committish:t})=>`${s}:${e}${R("#",t)}`,"shortcuttemplate"),pathtemplate:o(({project:s,committish:e})=>`${s}${R("#",e)}`,"pathtemplate"),bugstemplate:o(({domain:s,project:e})=>`https://${s}/${e}`,"bugstemplate"),gittemplate:o(({domain:s,project:e,committish:t})=>`git://${s}/${e}.git${R("#",t)}`,"gittemplate"),tarballtemplate:o(({project:s,committish:e})=>`https://codeload.github.com/gist/${s}/tar.gz/${O(e||"HEAD")}`,"tarballtemplate"),extract:o(s=>{let[,e,t,r]=s.pathname.split("/",4);if(r!=="raw"){if(!t){if(!e)return;t=e,e=null}return t.endsWith(".git")&&(t=t.slice(0,-4)),{user:e,project:t,committish:s.hash.slice(1)}}},"extract"),hashformat:o(function(s){return s&&"file-"+Qe(s)},"hashformat")};U.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:o(({domain:s,user:e,project:t,committish:r,path:i})=>`https://${s}/${e}/${t}/blob/${O(r)||"HEAD"}/${i}`,"filetemplate"),httpstemplate:o(({domain:s,user:e,project:t,committish:r})=>`https://${s}/${e}/${t}.git${R("#",r)}`,"httpstemplate"),tarballtemplate:o(({domain:s,user:e,project:t,committish:r})=>`https://${s}/${e}/${t}/archive/${O(r)||"HEAD"}.tar.gz`,"tarballtemplate"),bugstemplate:o(()=>null,"bugstemplate"),extract:o(s=>{let[,e,t,r]=s.pathname.split("/",4);if(!["archive"].includes(r)&&(t&&t.endsWith(".git")&&(t=t.slice(0,-4)),!(!e||!t)))return{user:e,project:t,committish:s.hash.slice(1)}},"extract")};for(let[s,e]of Object.entries(U))U[s]=Object.assign({},fr,e);et.exports=U});var ye=E((Qo,rt)=>{var pr=require("url"),Oe=o((s,e,t)=>{let r=s.indexOf(t);return s.lastIndexOf(e,r>-1?r:1/0)},"lastIndexOfBefore"),st=o(s=>{try{return new pr.URL(s)}catch{}},"safeUrl"),dr=o((s,e)=>{let t=s.indexOf(":"),r=s.slice(0,t+1);if(Object.prototype.hasOwnProperty.call(e,r)||s.substr(t,3)==="://")return s;let i=s.indexOf("@");return i>-1?i>t?`git+ssh://${s}`:s:`${s.slice(0,t+1)}//${s.slice(t+1)}`},"correctProtocol"),mr=o(s=>{let e=Oe(s,"@","#"),t=Oe(s,":","#");return t>e&&(s=s.slice(0,t)+"/"+s.slice(t+1)),Oe(s,":","#")===-1&&s.indexOf("//")===-1&&(s=`git+ssh://${s}`),s},"correctUrl");rt.exports=(s,e)=>{let t=e?dr(s,e):s;return st(t)||st(mr(t))}});var nt=E((ta,it)=>{"use strict";var Er=ye(),gr=o(s=>{let e=s.indexOf("#"),t=s.indexOf("/"),r=s.indexOf("/",t+1),i=s.indexOf(":"),n=/\s/.exec(s),a=s.indexOf("@"),l=!n||e>-1&&n.index>e,c=a===-1||e>-1&&a>e,d=i===-1||e>-1&&i>e,m=r===-1||e>-1&&r>e,h=t>0,g=e>-1?s[e-1]!=="/":!s.endsWith("/"),u=!s.startsWith(".");return l&&h&&g&&u&&c&&d&&m},"isGitHubShorthand");it.exports=(s,e,{gitHosts:t,protocols:r})=>{if(!s)return;let i=gr(s)?`github:${s}`:s,n=Er(i,r);if(!n)return;let a=t.byShortcut[n.protocol],l=t.byDomain[n.hostname.startsWith("www.")?n.hostname.slice(4):n.hostname],c=a||l;if(!c)return;let d=t[a||l],m=null;r[n.protocol]?.auth&&(n.username||n.password)&&(m=`${n.username}${n.password?":"+n.password:""}`);let h=null,g=null,u=null,C=null;try{if(a){let w=n.pathname.startsWith("/")?n.pathname.slice(1):n.pathname,T=w.indexOf("@");T>-1&&(w=w.slice(T+1));let S=w.lastIndexOf("/");S>-1?(g=decodeURIComponent(w.slice(0,S)),g||(g=null),u=decodeURIComponent(w.slice(S+1))):u=decodeURIComponent(w),u.endsWith(".git")&&(u=u.slice(0,-4)),n.hash&&(h=decodeURIComponent(n.hash.slice(1))),C="shortcut"}else{if(!d.protocols.includes(n.protocol))return;let w=d.extract(n);if(!w)return;g=w.user&&decodeURIComponent(w.user),u=decodeURIComponent(w.project),h=decodeURIComponent(w.committish),C=r[n.protocol]?.name||n.protocol.slice(0,-1)}}catch(w){if(w instanceof URIError)return;throw w}return[c,g,m,u,h,C,e]}});var at=E((ra,ot)=>{"use strict";var{LRUCache:$r}=Ze(),wr=tt(),Sr=nt(),Rr=ye(),Le=new $r({max:1e3});function Ar(s){try{let{protocol:e,hostname:t,pathname:r}=new URL(s);if(!t)return null;let i=/(?:git\+)http:$/.test(e)?"http:":"https:",n=r.replace(/\.git$/,"");return`${i}//${t}${n}`}catch{return null}}o(Ar,"unknownHostedUrl");var le=class s{static{o(this,"GitHost")}constructor(e,t,r,i,n,a,l={}){Object.assign(this,s.#i[e],{type:e,user:t,auth:r,project:i,committish:n,default:a,opts:l})}static#i={byShortcut:{},byDomain:{}};static#c={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}};static addHost(e,t){s.#i[e]=t,s.#i.byDomain[t.domain]=e,s.#i.byShortcut[`${e}:`]=e,s.#c[`${e}:`]={name:e}}static fromUrl(e,t){if(typeof e!="string")return;let r=e+JSON.stringify(t||{});if(!Le.has(r)){let i=Sr(e,t,{gitHosts:s.#i,protocols:s.#c});Le.set(r,i?new s(...i):void 0)}return Le.get(r)}static fromManifest(e,t={}){if(!e||typeof e!="object")return;let r=e.repository,i=r&&(typeof r=="string"?r:typeof r=="object"&&typeof r.url=="string"?r.url:null);if(!i)throw new Error("no repository");let n=i&&s.fromUrl(i.replace(/^git\+/,""),t)||null;if(n)return n;let a=Ar(i);return s.fromUrl(a,t)||a}static parseUrl(e){return Rr(e)}#t(e,t){if(typeof e!="function")return null;let r={...this,...this.opts,...t};r.path||(r.path=""),r.path.startsWith("/")&&(r.path=r.path.slice(1)),r.noCommittish&&(r.committish=null);let i=e(r);return r.noGitPlus&&i.startsWith("git+")?i.slice(4):i}hash(){return this.committish?`#${this.committish}`:""}ssh(e){return this.#t(this.sshtemplate,e)}sshurl(e){return this.#t(this.sshurltemplate,e)}browse(e,...t){return typeof e!="string"?this.#t(this.browsetemplate,e):typeof t[0]!="string"?this.#t(this.browsetreetemplate,{...t[0],path:e}):this.#t(this.browsetreetemplate,{...t[1],fragment:t[0],path:e})}browseFile(e,...t){return typeof t[0]!="string"?this.#t(this.browseblobtemplate,{...t[0],path:e}):this.#t(this.browseblobtemplate,{...t[1],fragment:t[0],path:e})}docs(e){return this.#t(this.docstemplate,e)}bugs(e){return this.#t(this.bugstemplate,e)}https(e){return this.#t(this.httpstemplate,e)}git(e){return this.#t(this.gittemplate,e)}shortcut(e){return this.#t(this.shortcuttemplate,e)}path(e){return this.#t(this.pathtemplate,e)}tarball(e){return this.#t(this.tarballtemplate,{...e,noCommittish:!1})}file(e,t){return this.#t(this.filetemplate,{...t,path:e})}edit(e,t){return this.#t(this.edittemplate,{...t,path:e})}getDefaultRepresentation(){return this.default}toString(e){return this.default&&typeof this[this.default]=="function"?this[this.default](e):this.sshurl(e)}};for(let[s,e]of Object.entries(wr))le.addHost(s,e);ot.exports=le});var Y=E((na,lt)=>{"use strict";var Ir="2.0.0",Or=Number.MAX_SAFE_INTEGER||9007199254740991,yr=16,Lr=250,vr=["major","premajor","minor","preminor","patch","prepatch","prerelease"];lt.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:yr,MAX_SAFE_BUILD_LENGTH:Lr,MAX_SAFE_INTEGER:Or,RELEASE_TYPES:vr,SEMVER_SPEC_VERSION:Ir,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var B=E((oa,ct)=>{"use strict";var br=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...s)=>{}:()=>{};ct.exports=br});var V=E((F,ht)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:ve,MAX_SAFE_BUILD_LENGTH:Tr,MAX_LENGTH:Nr}=Y(),Cr=B();F=ht.exports={};var xr=F.re=[],qr=F.safeRe=[],f=F.src=[],Pr=F.safeSrc=[],p=F.t={},Fr=0,be="[a-zA-Z0-9-]",Dr=[["\\s",1],["\\d",Nr],[be,Tr]],_r=o(s=>{for(let[e,t]of Dr)s=s.split(`${e}*`).join(`${e}{0,${t}}`).split(`${e}+`).join(`${e}{1,${t}}`);return s},"makeSafeRegex"),$=o((s,e,t)=>{let r=_r(e),i=Fr++;Cr(s,i,e),p[s]=i,f[i]=e,Pr[i]=r,xr[i]=new RegExp(e,t?"g":void 0),qr[i]=new RegExp(r,t?"g":void 0)},"createToken");$("NUMERICIDENTIFIER","0|[1-9]\\d*");$("NUMERICIDENTIFIERLOOSE","\\d+");$("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${be}*`);$("MAINVERSION",`(${f[p.NUMERICIDENTIFIER]})\\.(${f[p.NUMERICIDENTIFIER]})\\.(${f[p.NUMERICIDENTIFIER]})`);$("MAINVERSIONLOOSE",`(${f[p.NUMERICIDENTIFIERLOOSE]})\\.(${f[p.NUMERICIDENTIFIERLOOSE]})\\.(${f[p.NUMERICIDENTIFIERLOOSE]})`);$("PRERELEASEIDENTIFIER",`(?:${f[p.NONNUMERICIDENTIFIER]}|${f[p.NUMERICIDENTIFIER]})`);$("PRERELEASEIDENTIFIERLOOSE",`(?:${f[p.NONNUMERICIDENTIFIER]}|${f[p.NUMERICIDENTIFIERLOOSE]})`);$("PRERELEASE",`(?:-(${f[p.PRERELEASEIDENTIFIER]}(?:\\.${f[p.PRERELEASEIDENTIFIER]})*))`);$("PRERELEASELOOSE",`(?:-?(${f[p.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${f[p.PRERELEASEIDENTIFIERLOOSE]})*))`);$("BUILDIDENTIFIER",`${be}+`);$("BUILD",`(?:\\+(${f[p.BUILDIDENTIFIER]}(?:\\.${f[p.BUILDIDENTIFIER]})*))`);$("FULLPLAIN",`v?${f[p.MAINVERSION]}${f[p.PRERELEASE]}?${f[p.BUILD]}?`);$("FULL",`^${f[p.FULLPLAIN]}$`);$("LOOSEPLAIN",`[v=\\s]*${f[p.MAINVERSIONLOOSE]}${f[p.PRERELEASELOOSE]}?${f[p.BUILD]}?`);$("LOOSE",`^${f[p.LOOSEPLAIN]}$`);$("GTLT","((?:<|>)?=?)");$("XRANGEIDENTIFIERLOOSE",`${f[p.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);$("XRANGEIDENTIFIER",`${f[p.NUMERICIDENTIFIER]}|x|X|\\*`);$("XRANGEPLAIN",`[v=\\s]*(${f[p.XRANGEIDENTIFIER]})(?:\\.(${f[p.XRANGEIDENTIFIER]})(?:\\.(${f[p.XRANGEIDENTIFIER]})(?:${f[p.PRERELEASE]})?${f[p.BUILD]}?)?)?`);$("XRANGEPLAINLOOSE",`[v=\\s]*(${f[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${f[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${f[p.XRANGEIDENTIFIERLOOSE]})(?:${f[p.PRERELEASELOOSE]})?${f[p.BUILD]}?)?)?`);$("XRANGE",`^${f[p.GTLT]}\\s*${f[p.XRANGEPLAIN]}$`);$("XRANGELOOSE",`^${f[p.GTLT]}\\s*${f[p.XRANGEPLAINLOOSE]}$`);$("COERCEPLAIN",`(^|[^\\d])(\\d{1,${ve}})(?:\\.(\\d{1,${ve}}))?(?:\\.(\\d{1,${ve}}))?`);$("COERCE",`${f[p.COERCEPLAIN]}(?:$|[^\\d])`);$("COERCEFULL",f[p.COERCEPLAIN]+`(?:${f[p.PRERELEASE]})?(?:${f[p.BUILD]})?(?:$|[^\\d])`);$("COERCERTL",f[p.COERCE],!0);$("COERCERTLFULL",f[p.COERCEFULL],!0);$("LONETILDE","(?:~>?)");$("TILDETRIM",`(\\s*)${f[p.LONETILDE]}\\s+`,!0);F.tildeTrimReplace="$1~";$("TILDE",`^${f[p.LONETILDE]}${f[p.XRANGEPLAIN]}$`);$("TILDELOOSE",`^${f[p.LONETILDE]}${f[p.XRANGEPLAINLOOSE]}$`);$("LONECARET","(?:\\^)");$("CARETTRIM",`(\\s*)${f[p.LONECARET]}\\s+`,!0);F.caretTrimReplace="$1^";$("CARET",`^${f[p.LONECARET]}${f[p.XRANGEPLAIN]}$`);$("CARETLOOSE",`^${f[p.LONECARET]}${f[p.XRANGEPLAINLOOSE]}$`);$("COMPARATORLOOSE",`^${f[p.GTLT]}\\s*(${f[p.LOOSEPLAIN]})$|^$`);$("COMPARATOR",`^${f[p.GTLT]}\\s*(${f[p.FULLPLAIN]})$|^$`);$("COMPARATORTRIM",`(\\s*)${f[p.GTLT]}\\s*(${f[p.LOOSEPLAIN]}|${f[p.XRANGEPLAIN]})`,!0);F.comparatorTrimReplace="$1$2$3";$("HYPHENRANGE",`^\\s*(${f[p.XRANGEPLAIN]})\\s+-\\s+(${f[p.XRANGEPLAIN]})\\s*$`);$("HYPHENRANGELOOSE",`^\\s*(${f[p.XRANGEPLAINLOOSE]})\\s+-\\s+(${f[p.XRANGEPLAINLOOSE]})\\s*$`);$("STAR","(<|>)?=?\\s*\\*");$("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");$("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var ce=E((la,ut)=>{"use strict";var Ur=Object.freeze({loose:!0}),jr=Object.freeze({}),Gr=o(s=>s?typeof s!="object"?Ur:s:jr,"parseOptions");ut.exports=Gr});var Te=E((ha,dt)=>{"use strict";var ft=/^[0-9]+$/,pt=o((s,e)=>{let t=ft.test(s),r=ft.test(e);return t&&r&&(s=+s,e=+e),s===e?0:t&&!r?-1:r&&!t?1:s<e?-1:1},"compareIdentifiers"),Wr=o((s,e)=>pt(e,s),"rcompareIdentifiers");dt.exports={compareIdentifiers:pt,rcompareIdentifiers:Wr}});var L=E((fa,Et)=>{"use strict";var he=B(),{MAX_LENGTH:mt,MAX_SAFE_INTEGER:ue}=Y(),{safeRe:fe,t:pe}=V(),zr=ce(),{compareIdentifiers:X}=Te(),Ne=class s{static{o(this,"SemVer")}constructor(e,t){if(t=zr(t),e instanceof s){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>mt)throw new TypeError(`version is longer than ${mt} characters`);he("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?fe[pe.LOOSE]:fe[pe.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>ue||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ue||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ue||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let n=+i;if(n>=0&&n<ue)return n}return i}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(he("SemVer.compare",this.version,this.options,e),!(e instanceof s)){if(typeof e=="string"&&e===this.version)return 0;e=new s(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof s||(e=new s(e,this.options)),X(this.major,e.major)||X(this.minor,e.minor)||X(this.patch,e.patch)}comparePre(e){if(e instanceof s||(e=new s(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let r=this.prerelease[t],i=e.prerelease[t];if(he("prerelease compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r===i)continue;return X(r,i)}while(++t)}compareBuild(e){e instanceof s||(e=new s(e,this.options));let t=0;do{let r=this.build[t],i=e.build[t];if(he("build compare",t,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r===i)continue;return X(r,i)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(t){let i=`-${t}`.match(this.options.loose?fe[pe.PRERELEASELOOSE]:fe[pe.PRERELEASE]);if(!i||i[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let i=Number(r)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let n=this.prerelease.length;for(;--n>=0;)typeof this.prerelease[n]=="number"&&(this.prerelease[n]++,n=-2);if(n===-1){if(t===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(t){let n=[t,i];r===!1&&(n=[t]),X(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Et.exports=Ne});var j=E((da,$t)=>{"use strict";var gt=L(),Hr=o((s,e,t=!1)=>{if(s instanceof gt)return s;try{return new gt(s,e)}catch(r){if(!t)return null;throw r}},"parse");$t.exports=Hr});var St=E((Ea,wt)=>{"use strict";var Vr=j(),Xr=o((s,e)=>{let t=Vr(s,e);return t?t.version:null},"valid");wt.exports=Xr});var At=E(($a,Rt)=>{"use strict";var kr=j(),Mr=o((s,e)=>{let t=kr(s.trim().replace(/^[=v]+/,""),e);return t?t.version:null},"clean");Rt.exports=Mr});var yt=E((Sa,Ot)=>{"use strict";var It=L(),Yr=o((s,e,t,r,i)=>{typeof t=="string"&&(i=r,r=t,t=void 0);try{return new It(s instanceof It?s.version:s,t).inc(e,r,i).version}catch{return null}},"inc");Ot.exports=Yr});var bt=E((Aa,vt)=>{"use strict";var Lt=j(),Br=o((s,e)=>{let t=Lt(s,null,!0),r=Lt(e,null,!0),i=t.compare(r);if(i===0)return null;let n=i>0,a=n?t:r,l=n?r:t,c=!!a.prerelease.length;if(!!l.prerelease.length&&!c){if(!l.patch&&!l.minor)return"major";if(l.compareMain(a)===0)return l.minor&&!l.patch?"minor":"patch"}let m=c?"pre":"";return t.major!==r.major?m+"major":t.minor!==r.minor?m+"minor":t.patch!==r.patch?m+"patch":"prerelease"},"diff");vt.exports=Br});var Nt=E((Oa,Tt)=>{"use strict";var Kr=L(),Jr=o((s,e)=>new Kr(s,e).major,"major");Tt.exports=Jr});var xt=E((La,Ct)=>{"use strict";var Zr=L(),Qr=o((s,e)=>new Zr(s,e).minor,"minor");Ct.exports=Qr});var Pt=E((ba,qt)=>{"use strict";var ei=L(),ti=o((s,e)=>new ei(s,e).patch,"patch");qt.exports=ti});var Dt=E((Na,Ft)=>{"use strict";var si=j(),ri=o((s,e)=>{let t=si(s,e);return t&&t.prerelease.length?t.prerelease:null},"prerelease");Ft.exports=ri});var q=E((xa,Ut)=>{"use strict";var _t=L(),ii=o((s,e,t)=>new _t(s,t).compare(new _t(e,t)),"compare");Ut.exports=ii});var Gt=E((Pa,jt)=>{"use strict";var ni=q(),oi=o((s,e,t)=>ni(e,s,t),"rcompare");jt.exports=oi});var zt=E((Da,Wt)=>{"use strict";var ai=q(),li=o((s,e)=>ai(s,e,!0),"compareLoose");Wt.exports=li});var de=E((Ua,Vt)=>{"use strict";var Ht=L(),ci=o((s,e,t)=>{let r=new Ht(s,t),i=new Ht(e,t);return r.compare(i)||r.compareBuild(i)},"compareBuild");Vt.exports=ci});var kt=E((Ga,Xt)=>{"use strict";var hi=de(),ui=o((s,e)=>s.sort((t,r)=>hi(t,r,e)),"sort");Xt.exports=ui});var Yt=E((za,Mt)=>{"use strict";var fi=de(),pi=o((s,e)=>s.sort((t,r)=>fi(r,t,e)),"rsort");Mt.exports=pi});var K=E((Va,Bt)=>{"use strict";var di=q(),mi=o((s,e,t)=>di(s,e,t)>0,"gt");Bt.exports=mi});var me=E((ka,Kt)=>{"use strict";var Ei=q(),gi=o((s,e,t)=>Ei(s,e,t)<0,"lt");Kt.exports=gi});var Ce=E((Ya,Jt)=>{"use strict";var $i=q(),wi=o((s,e,t)=>$i(s,e,t)===0,"eq");Jt.exports=wi});var xe=E((Ka,Zt)=>{"use strict";var Si=q(),Ri=o((s,e,t)=>Si(s,e,t)!==0,"neq");Zt.exports=Ri});var Ee=E((Za,Qt)=>{"use strict";var Ai=q(),Ii=o((s,e,t)=>Ai(s,e,t)>=0,"gte");Qt.exports=Ii});var ge=E((el,es)=>{"use strict";var Oi=q(),yi=o((s,e,t)=>Oi(s,e,t)<=0,"lte");es.exports=yi});var qe=E((sl,ts)=>{"use strict";var Li=Ce(),vi=xe(),bi=K(),Ti=Ee(),Ni=me(),Ci=ge(),xi=o((s,e,t,r)=>{switch(e){case"===":return typeof s=="object"&&(s=s.version),typeof t=="object"&&(t=t.version),s===t;case"!==":return typeof s=="object"&&(s=s.version),typeof t=="object"&&(t=t.version),s!==t;case"":case"=":case"==":return Li(s,t,r);case"!=":return vi(s,t,r);case">":return bi(s,t,r);case">=":return Ti(s,t,r);case"<":return Ni(s,t,r);case"<=":return Ci(s,t,r);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");ts.exports=xi});var rs=E((il,ss)=>{"use strict";var qi=L(),Pi=j(),{safeRe:$e,t:we}=V(),Fi=o((s,e)=>{if(s instanceof qi)return s;if(typeof s=="number"&&(s=String(s)),typeof s!="string")return null;e=e||{};let t=null;if(!e.rtl)t=s.match(e.includePrerelease?$e[we.COERCEFULL]:$e[we.COERCE]);else{let c=e.includePrerelease?$e[we.COERCERTLFULL]:$e[we.COERCERTL],d;for(;(d=c.exec(s))&&(!t||t.index+t[0].length!==s.length);)(!t||d.index+d[0].length!==t.index+t[0].length)&&(t=d),c.lastIndex=d.index+d[1].length+d[2].length;c.lastIndex=-1}if(t===null)return null;let r=t[2],i=t[3]||"0",n=t[4]||"0",a=e.includePrerelease&&t[5]?`-${t[5]}`:"",l=e.includePrerelease&&t[6]?`+${t[6]}`:"";return Pi(`${r}.${i}.${n}${a}${l}`,e)},"coerce");ss.exports=Fi});var ns=E((ol,is)=>{"use strict";var Pe=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let i=this.map.keys().next().value;this.delete(i)}this.map.set(e,t)}return this}};is.exports=Pe});var P=E((ll,cs)=>{"use strict";var Di=/\s+/g,Fe=class s{static{o(this,"Range")}constructor(e,t){if(t=Ui(t),e instanceof s)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new s(e.raw,t);if(e instanceof De)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(Di," "),this.set=this.raw.split("||").map(r=>this.parseRange(r.trim())).filter(r=>r.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let r=this.set[0];if(this.set=this.set.filter(i=>!as(i[0])),this.set.length===0)this.set=[r];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&Xi(i[0])){this.set=[i];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let t=this.set[e];for(let r=0;r<t.length;r++)r>0&&(this.formatted+=" "),this.formatted+=t[r].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let r=((this.options.includePrerelease&&Hi)|(this.options.loose&&Vi))+":"+e,i=os.get(r);if(i)return i;let n=this.options.loose,a=n?N[v.HYPHENRANGELOOSE]:N[v.HYPHENRANGE];e=e.replace(a,tn(this.options.includePrerelease)),A("hyphen replace",e),e=e.replace(N[v.COMPARATORTRIM],Gi),A("comparator trim",e),e=e.replace(N[v.TILDETRIM],Wi),A("tilde trim",e),e=e.replace(N[v.CARETTRIM],zi),A("caret trim",e);let l=e.split(" ").map(h=>ki(h,this.options)).join(" ").split(/\s+/).map(h=>en(h,this.options));n&&(l=l.filter(h=>(A("loose invalid filter",h,this.options),!!h.match(N[v.COMPARATORLOOSE])))),A("range list",l);let c=new Map,d=l.map(h=>new De(h,this.options));for(let h of d){if(as(h))return[h];c.set(h.value,h)}c.size>1&&c.has("")&&c.delete("");let m=[...c.values()];return os.set(r,m),m}intersects(e,t){if(!(e instanceof s))throw new TypeError("a Range is required");return this.set.some(r=>ls(r,t)&&e.set.some(i=>ls(i,t)&&r.every(n=>i.every(a=>n.intersects(a,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new ji(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(sn(this.set[t],e,this.options))return!0;return!1}};cs.exports=Fe;var _i=ns(),os=new _i,Ui=ce(),De=J(),A=B(),ji=L(),{safeRe:N,t:v,comparatorTrimReplace:Gi,tildeTrimReplace:Wi,caretTrimReplace:zi}=V(),{FLAG_INCLUDE_PRERELEASE:Hi,FLAG_LOOSE:Vi}=Y(),as=o(s=>s.value==="<0.0.0-0","isNullSet"),Xi=o(s=>s.value==="","isAny"),ls=o((s,e)=>{let t=!0,r=s.slice(),i=r.pop();for(;t&&r.length;)t=r.every(n=>i.intersects(n,e)),i=r.pop();return t},"isSatisfiable"),ki=o((s,e)=>(A("comp",s,e),s=Bi(s,e),A("caret",s),s=Mi(s,e),A("tildes",s),s=Ji(s,e),A("xrange",s),s=Qi(s,e),A("stars",s),s),"parseComparator"),b=o(s=>!s||s.toLowerCase()==="x"||s==="*","isX"),Mi=o((s,e)=>s.trim().split(/\s+/).map(t=>Yi(t,e)).join(" "),"replaceTildes"),Yi=o((s,e)=>{let t=e.loose?N[v.TILDELOOSE]:N[v.TILDE];return s.replace(t,(r,i,n,a,l)=>{A("tilde",s,r,i,n,a,l);let c;return b(i)?c="":b(n)?c=`>=${i}.0.0 <${+i+1}.0.0-0`:b(a)?c=`>=${i}.${n}.0 <${i}.${+n+1}.0-0`:l?(A("replaceTilde pr",l),c=`>=${i}.${n}.${a}-${l} <${i}.${+n+1}.0-0`):c=`>=${i}.${n}.${a} <${i}.${+n+1}.0-0`,A("tilde return",c),c})},"replaceTilde"),Bi=o((s,e)=>s.trim().split(/\s+/).map(t=>Ki(t,e)).join(" "),"replaceCarets"),Ki=o((s,e)=>{A("caret",s,e);let t=e.loose?N[v.CARETLOOSE]:N[v.CARET],r=e.includePrerelease?"-0":"";return s.replace(t,(i,n,a,l,c)=>{A("caret",s,i,n,a,l,c);let d;return b(n)?d="":b(a)?d=`>=${n}.0.0${r} <${+n+1}.0.0-0`:b(l)?n==="0"?d=`>=${n}.${a}.0${r} <${n}.${+a+1}.0-0`:d=`>=${n}.${a}.0${r} <${+n+1}.0.0-0`:c?(A("replaceCaret pr",c),n==="0"?a==="0"?d=`>=${n}.${a}.${l}-${c} <${n}.${a}.${+l+1}-0`:d=`>=${n}.${a}.${l}-${c} <${n}.${+a+1}.0-0`:d=`>=${n}.${a}.${l}-${c} <${+n+1}.0.0-0`):(A("no pr"),n==="0"?a==="0"?d=`>=${n}.${a}.${l}${r} <${n}.${a}.${+l+1}-0`:d=`>=${n}.${a}.${l}${r} <${n}.${+a+1}.0-0`:d=`>=${n}.${a}.${l} <${+n+1}.0.0-0`),A("caret return",d),d})},"replaceCaret"),Ji=o((s,e)=>(A("replaceXRanges",s,e),s.split(/\s+/).map(t=>Zi(t,e)).join(" ")),"replaceXRanges"),Zi=o((s,e)=>{s=s.trim();let t=e.loose?N[v.XRANGELOOSE]:N[v.XRANGE];return s.replace(t,(r,i,n,a,l,c)=>{A("xRange",s,r,i,n,a,l,c);let d=b(n),m=d||b(a),h=m||b(l),g=h;return i==="="&&g&&(i=""),c=e.includePrerelease?"-0":"",d?i===">"||i==="<"?r="<0.0.0-0":r="*":i&&g?(m&&(a=0),l=0,i===">"?(i=">=",m?(n=+n+1,a=0,l=0):(a=+a+1,l=0)):i==="<="&&(i="<",m?n=+n+1:a=+a+1),i==="<"&&(c="-0"),r=`${i+n}.${a}.${l}${c}`):m?r=`>=${n}.0.0${c} <${+n+1}.0.0-0`:h&&(r=`>=${n}.${a}.0${c} <${n}.${+a+1}.0-0`),A("xRange return",r),r})},"replaceXRange"),Qi=o((s,e)=>(A("replaceStars",s,e),s.trim().replace(N[v.STAR],"")),"replaceStars"),en=o((s,e)=>(A("replaceGTE0",s,e),s.trim().replace(N[e.includePrerelease?v.GTE0PRE:v.GTE0],"")),"replaceGTE0"),tn=o(s=>(e,t,r,i,n,a,l,c,d,m,h,g)=>(b(r)?t="":b(i)?t=`>=${r}.0.0${s?"-0":""}`:b(n)?t=`>=${r}.${i}.0${s?"-0":""}`:a?t=`>=${t}`:t=`>=${t}${s?"-0":""}`,b(d)?c="":b(m)?c=`<${+d+1}.0.0-0`:b(h)?c=`<${d}.${+m+1}.0-0`:g?c=`<=${d}.${m}.${h}-${g}`:s?c=`<${d}.${m}.${+h+1}-0`:c=`<=${c}`,`${t} ${c}`.trim()),"hyphenReplace"),sn=o((s,e,t)=>{for(let r=0;r<s.length;r++)if(!s[r].test(e))return!1;if(e.prerelease.length&&!t.includePrerelease){for(let r=0;r<s.length;r++)if(A(s[r].semver),s[r].semver!==De.ANY&&s[r].semver.prerelease.length>0){let i=s[r].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0},"testSet")});var J=E((hl,ms)=>{"use strict";var Z=Symbol("SemVer ANY"),je=class s{static{o(this,"Comparator")}static get ANY(){return Z}constructor(e,t){if(t=hs(t),e instanceof s){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Ue("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===Z?this.value="":this.value=this.operator+this.semver.version,Ue("comp",this)}parse(e){let t=this.options.loose?us[fs.COMPARATORLOOSE]:us[fs.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new ps(r[2],this.options.loose):this.semver=Z}toString(){return this.value}test(e){if(Ue("Comparator.test",e,this.options.loose),this.semver===Z||e===Z)return!0;if(typeof e=="string")try{e=new ps(e,this.options)}catch{return!1}return _e(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof s))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new ds(e.value,t).test(this.value):e.operator===""?e.value===""?!0:new ds(this.value,t).test(e.semver):(t=hs(t),t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||_e(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||_e(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};ms.exports=je;var hs=ce(),{safeRe:us,t:fs}=V(),_e=qe(),Ue=B(),ps=L(),ds=P()});var Q=E((fl,Es)=>{"use strict";var rn=P(),nn=o((s,e,t)=>{try{e=new rn(e,t)}catch{return!1}return e.test(s)},"satisfies");Es.exports=nn});var $s=E((dl,gs)=>{"use strict";var on=P(),an=o((s,e)=>new on(s,e).set.map(t=>t.map(r=>r.value).join(" ").trim().split(" ")),"toComparators");gs.exports=an});var Ss=E((El,ws)=>{"use strict";var ln=L(),cn=P(),hn=o((s,e,t)=>{let r=null,i=null,n=null;try{n=new cn(e,t)}catch{return null}return s.forEach(a=>{n.test(a)&&(!r||i.compare(a)===-1)&&(r=a,i=new ln(r,t))}),r},"maxSatisfying");ws.exports=hn});var As=E(($l,Rs)=>{"use strict";var un=L(),fn=P(),pn=o((s,e,t)=>{let r=null,i=null,n=null;try{n=new fn(e,t)}catch{return null}return s.forEach(a=>{n.test(a)&&(!r||i.compare(a)===1)&&(r=a,i=new un(r,t))}),r},"minSatisfying");Rs.exports=pn});var ys=E((Sl,Os)=>{"use strict";var Ge=L(),dn=P(),Is=K(),mn=o((s,e)=>{s=new dn(s,e);let t=new Ge("0.0.0");if(s.test(t)||(t=new Ge("0.0.0-0"),s.test(t)))return t;t=null;for(let r=0;r<s.set.length;++r){let i=s.set[r],n=null;i.forEach(a=>{let l=new Ge(a.semver.version);switch(a.operator){case">":l.prerelease.length===0?l.patch++:l.prerelease.push(0),l.raw=l.format();case"":case">=":(!n||Is(l,n))&&(n=l);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),n&&(!t||Is(t,n))&&(t=n)}return t&&s.test(t)?t:null},"minVersion");Os.exports=mn});var vs=E((Al,Ls)=>{"use strict";var En=P(),gn=o((s,e)=>{try{return new En(s,e).range||"*"}catch{return null}},"validRange");Ls.exports=gn});var Se=E((Ol,Cs)=>{"use strict";var $n=L(),Ns=J(),{ANY:wn}=Ns,Sn=P(),Rn=Q(),bs=K(),Ts=me(),An=ge(),In=Ee(),On=o((s,e,t,r)=>{s=new $n(s,r),e=new Sn(e,r);let i,n,a,l,c;switch(t){case">":i=bs,n=An,a=Ts,l=">",c=">=";break;case"<":i=Ts,n=In,a=bs,l="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Rn(s,e,r))return!1;for(let d=0;d<e.set.length;++d){let m=e.set[d],h=null,g=null;if(m.forEach(u=>{u.semver===wn&&(u=new Ns(">=0.0.0")),h=h||u,g=g||u,i(u.semver,h.semver,r)?h=u:a(u.semver,g.semver,r)&&(g=u)}),h.operator===l||h.operator===c||(!g.operator||g.operator===l)&&n(s,g.semver))return!1;if(g.operator===c&&a(s,g.semver))return!1}return!0},"outside");Cs.exports=On});var qs=E((Ll,xs)=>{"use strict";var yn=Se(),Ln=o((s,e,t)=>yn(s,e,">",t),"gtr");xs.exports=Ln});var Fs=E((bl,Ps)=>{"use strict";var vn=Se(),bn=o((s,e,t)=>vn(s,e,"<",t),"ltr");Ps.exports=bn});var Us=E((Nl,_s)=>{"use strict";var Ds=P(),Tn=o((s,e,t)=>(s=new Ds(s,t),e=new Ds(e,t),s.intersects(e,t)),"intersects");_s.exports=Tn});var Gs=E((xl,js)=>{"use strict";var Nn=Q(),Cn=q();js.exports=(s,e,t)=>{let r=[],i=null,n=null,a=s.sort((m,h)=>Cn(m,h,t));for(let m of a)Nn(m,e,t)?(n=m,i||(i=m)):(n&&r.push([i,n]),n=null,i=null);i&&r.push([i,null]);let l=[];for(let[m,h]of r)m===h?l.push(m):!h&&m===a[0]?l.push("*"):h?m===a[0]?l.push(`<=${h}`):l.push(`${m} - ${h}`):l.push(`>=${m}`);let c=l.join(" || "),d=typeof e.raw=="string"?e.raw:String(e);return c.length<d.length?c:e}});var ks=E((ql,Xs)=>{"use strict";var Ws=P(),ze=J(),{ANY:We}=ze,ee=Q(),He=q(),xn=o((s,e,t={})=>{if(s===e)return!0;s=new Ws(s,t),e=new Ws(e,t);let r=!1;e:for(let i of s.set){for(let n of e.set){let a=Pn(i,n,t);if(r=r||a!==null,a)continue e}if(r)return!1}return!0},"subset"),qn=[new ze(">=0.0.0-0")],zs=[new ze(">=0.0.0")],Pn=o((s,e,t)=>{if(s===e)return!0;if(s.length===1&&s[0].semver===We){if(e.length===1&&e[0].semver===We)return!0;t.includePrerelease?s=qn:s=zs}if(e.length===1&&e[0].semver===We){if(t.includePrerelease)return!0;e=zs}let r=new Set,i,n;for(let u of s)u.operator===">"||u.operator===">="?i=Hs(i,u,t):u.operator==="<"||u.operator==="<="?n=Vs(n,u,t):r.add(u.semver);if(r.size>1)return null;let a;if(i&&n){if(a=He(i.semver,n.semver,t),a>0)return null;if(a===0&&(i.operator!==">="||n.operator!=="<="))return null}for(let u of r){if(i&&!ee(u,String(i),t)||n&&!ee(u,String(n),t))return null;for(let C of e)if(!ee(u,String(C),t))return!1;return!0}let l,c,d,m,h=n&&!t.includePrerelease&&n.semver.prerelease.length?n.semver:!1,g=i&&!t.includePrerelease&&i.semver.prerelease.length?i.semver:!1;h&&h.prerelease.length===1&&n.operator==="<"&&h.prerelease[0]===0&&(h=!1);for(let u of e){if(m=m||u.operator===">"||u.operator===">=",d=d||u.operator==="<"||u.operator==="<=",i){if(g&&u.semver.prerelease&&u.semver.prerelease.length&&u.semver.major===g.major&&u.semver.minor===g.minor&&u.semver.patch===g.patch&&(g=!1),u.operator===">"||u.operator===">="){if(l=Hs(i,u,t),l===u&&l!==i)return!1}else if(i.operator===">="&&!ee(i.semver,String(u),t))return!1}if(n){if(h&&u.semver.prerelease&&u.semver.prerelease.length&&u.semver.major===h.major&&u.semver.minor===h.minor&&u.semver.patch===h.patch&&(h=!1),u.operator==="<"||u.operator==="<="){if(c=Vs(n,u,t),c===u&&c!==n)return!1}else if(n.operator==="<="&&!ee(n.semver,String(u),t))return!1}if(!u.operator&&(n||i)&&a!==0)return!1}return!(i&&d&&!n&&a!==0||n&&m&&!i&&a!==0||g||h)},"simpleSubset"),Hs=o((s,e,t)=>{if(!s)return e;let r=He(s.semver,e.semver,t);return r>0?s:r<0||e.operator===">"&&s.operator===">="?e:s},"higherGT"),Vs=o((s,e,t)=>{if(!s)return e;let r=He(s.semver,e.semver,t);return r<0?s:r>0||e.operator==="<"&&s.operator==="<="?e:s},"lowerLT");Xs.exports=xn});var Ks=E((Fl,Bs)=>{"use strict";var Ve=V(),Ms=Y(),Fn=L(),Ys=Te(),Dn=j(),_n=St(),Un=At(),jn=yt(),Gn=bt(),Wn=Nt(),zn=xt(),Hn=Pt(),Vn=Dt(),Xn=q(),kn=Gt(),Mn=zt(),Yn=de(),Bn=kt(),Kn=Yt(),Jn=K(),Zn=me(),Qn=Ce(),eo=xe(),to=Ee(),so=ge(),ro=qe(),io=rs(),no=J(),oo=P(),ao=Q(),lo=$s(),co=Ss(),ho=As(),uo=ys(),fo=vs(),po=Se(),mo=qs(),Eo=Fs(),go=Us(),$o=Gs(),wo=ks();Bs.exports={parse:Dn,valid:_n,clean:Un,inc:jn,diff:Gn,major:Wn,minor:zn,patch:Hn,prerelease:Vn,compare:Xn,rcompare:kn,compareLoose:Mn,compareBuild:Yn,sort:Bn,rsort:Kn,gt:Jn,lt:Zn,eq:Qn,neq:eo,gte:to,lte:so,cmp:ro,coerce:io,Comparator:no,Range:oo,satisfies:ao,toComparators:lo,maxSatisfying:co,minSatisfying:ho,minVersion:uo,validRange:fo,outside:po,gtr:mo,ltr:Eo,intersects:go,simplifyRange:$o,subset:wo,SemVer:Fn,re:Ve.re,src:Ve.src,tokens:Ve.t,SEMVER_SPEC_VERSION:Ms.SEMVER_SPEC_VERSION,RELEASE_TYPES:Ms.RELEASE_TYPES,compareIdentifiers:Ys.compareIdentifiers,rcompareIdentifiers:Ys.rcompareIdentifiers}});var Zs=E((Dl,Js)=>{"use strict";var{builtinModules:So}=require("module"),Ro=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),Ao=["node_modules","favicon.ico"];function Io(s){var e=[],t=[];if(s===null)return t.push("name cannot be null"),te(e,t);if(s===void 0)return t.push("name cannot be undefined"),te(e,t);if(typeof s!="string")return t.push("name must be a string"),te(e,t);if(s.length||t.push("name length must be greater than zero"),s.startsWith(".")&&t.push("name cannot start with a period"),s.match(/^_/)&&t.push("name cannot start with an underscore"),s.trim()!==s&&t.push("name cannot contain leading or trailing spaces"),Ao.forEach(function(a){s.toLowerCase()===a&&t.push(a+" is not a valid package name")}),So.includes(s.toLowerCase())&&e.push(s+" is a core module name"),s.length>214&&e.push("name can no longer contain more than 214 characters"),s.toLowerCase()!==s&&e.push("name can no longer contain capital letters"),/[~'!()*]/.test(s.split("/").slice(-1)[0])&&e.push(`name can no longer contain special characters ("~'!()*")`),encodeURIComponent(s)!==s){var r=s.match(Ro);if(r){var i=r[1],n=r[2];if(n.startsWith(".")&&t.push("name cannot start with a period"),encodeURIComponent(i)===i&&encodeURIComponent(n)===n)return te(e,t)}t.push("name can only contain URL-friendly characters")}return te(e,t)}o(Io,"validate");var te=o(function(s,e){var t={validForNewPackages:e.length===0&&s.length===0,validForOldPackages:e.length===0,warnings:s,errors:e};return t.warnings.length||delete t.warnings,t.errors.length||delete t.errors,t},"done");Js.exports=Io});var er=E((Ul,Qs)=>{var Oo=Symbol("proc-log.meta");Qs.exports={META:Oo,output:{LEVELS:["standard","error","buffer","flush"],KEYS:{standard:"standard",error:"error",buffer:"buffer",flush:"flush"},standard:o(function(...s){return process.emit("output","standard",...s)},"standard"),error:o(function(...s){return process.emit("output","error",...s)},"error"),buffer:o(function(...s){return process.emit("output","buffer",...s)},"buffer"),flush:o(function(...s){return process.emit("output","flush",...s)},"flush")},log:{LEVELS:["notice","error","warn","info","verbose","http","silly","timing","pause","resume"],KEYS:{notice:"notice",error:"error",warn:"warn",info:"info",verbose:"verbose",http:"http",silly:"silly",timing:"timing",pause:"pause",resume:"resume"},error:o(function(...s){return process.emit("log","error",...s)},"error"),notice:o(function(...s){return process.emit("log","notice",...s)},"notice"),warn:o(function(...s){return process.emit("log","warn",...s)},"warn"),info:o(function(...s){return process.emit("log","info",...s)},"info"),verbose:o(function(...s){return process.emit("log","verbose",...s)},"verbose"),http:o(function(...s){return process.emit("log","http",...s)},"http"),silly:o(function(...s){return process.emit("log","silly",...s)},"silly"),timing:o(function(...s){return process.emit("log","timing",...s)},"timing"),pause:o(function(){return process.emit("log","pause")},"pause"),resume:o(function(){return process.emit("log","resume")},"resume")},time:{LEVELS:["start","end"],KEYS:{start:"start",end:"end"},start:o(function(s,e){process.emit("time","start",s);function t(){return process.emit("time","end",s)}if(o(t,"end"),typeof e=="function"){let r=e();return r&&r.finally?r.finally(t):(t(),r)}return t},"start"),end:o(function(s){return process.emit("time","end",s)},"end")},input:{LEVELS:["start","end","read"],KEYS:{start:"start",end:"end",read:"read"},start:o(function(s){process.emit("input","start");function e(){return process.emit("input","end")}if(o(e,"end"),typeof s=="function"){let t=s();return t&&t.finally?t.finally(e):(e(),t)}return e},"start"),end:o(function(){return process.emit("input","end")},"end"),read:o(function(...s){let e,t,r=new Promise((i,n)=>{e=i,t=n});return process.emit("input","read",e,t,...s),r},"read")}}});var ie=process.platform==="win32",{URL:Xe}=require("node:url"),k=ie?require("node:path/win32"):require("node:path"),{homedir:yo}=require("node:os"),Lo=at(),tr=Ks(),nr=Zs(),{log:vo}=er(),or=ie?/\\|[/]/:/[/]/,ar=/^(?:git[+])?[a-z]+:/i,bo=/^[^@]+@[^:.]+\.[^:]+:.+$/i,Me=/[.](?:tgz|tar.gz|tar)$/i,To=/:[0-9]+(\/|$)/i,No=/^(?:[.]|~[/]|[/\\]|[a-zA-Z]:)/,Co=/^(?:[.]|~[/]|[/]|[a-zA-Z]:)/,sr="https://registry.npmjs.org";function se(s,e){let t,r;if(typeof s=="object")return s instanceof re&&(!e||e===s.where)?s:s.name&&s.rawSpec?se.resolve(s.name,s.rawSpec,e||s.where):se(s.raw,e||s.where);let i=s.indexOf("@",1),n=i>0?s.slice(0,i):s;return ar.test(s)?r=s:bo.test(s)?r=`git+ssh://${s}`:!n.startsWith("@")&&(or.test(n)||Me.test(n))?r=s:i>0?(t=n,r=s.slice(i+1)||"*"):nr(s).validForOldPackages?(t=s,r="*"):r=s,lr(t,r,e,s)}o(se,"npa");function xo(s){return s?s.toLowerCase().startsWith("file:")?!0:ie?No.test(s):Co.test(s):!1}o(xo,"isFileSpec");function qo(s){return s?s.toLowerCase().startsWith("npm:"):!1}o(qo,"isAliasSpec");function lr(s,e,t,r){let i=new re({raw:r,name:s,rawSpec:e,fromArgument:r!=null});if(s&&(i.name=s),t||(t=process.cwd()),xo(e))return ir(i,t);if(qo(e))return zo(i,t);let n=Lo.fromUrl(e,{noGitPlus:!0,noCommittish:!0});return n?jo(i,n):e&&ar.test(e)?Wo(i):e&&(or.test(e)||Me.test(e))?ir(i,t):Ho(i)}o(lr,"resolve");function Po(s,e=sr){let t=se(s);if(t.type!=="version")throw _o(t.type,t.raw);let r="pkg:npm/"+t.name.replace(/^@/,"%40")+"@"+t.rawSpec;return e!==sr&&(r+="?repository_url="+e),r}o(Po,"toPurl");function Fo(s,e,t){let r=new Error(`Invalid package name "${s}" of package "${t}": ${e.errors.join("; ")}.`);return r.code="EINVALIDPACKAGENAME",r}o(Fo,"invalidPackageName");function Do(s,e){let t=new Error(`Invalid tag name "${s}" of package "${e}": Tags may not have any characters that encodeURIComponent encodes.`);return t.code="EINVALIDTAGNAME",t}o(Do,"invalidTagName");function _o(s,e){let t=new Error(`Invalid type "${s}" of package "${e}": Purl can only be generated for "version" types.`);return t.code="EINVALIDPURLTYPE",t}o(_o,"invalidPurlType");var re=class{static{o(this,"Result")}constructor(e){this.type=e.type,this.registry=e.registry,this.where=e.where,e.raw==null?this.raw=e.name?`${e.name}@${e.rawSpec}`:e.rawSpec:this.raw=e.raw,this.name=void 0,this.escapedName=void 0,this.scope=void 0,this.rawSpec=e.rawSpec||"",this.saveSpec=e.saveSpec,this.fetchSpec=e.fetchSpec,e.name&&this.setName(e.name),this.gitRange=e.gitRange,this.gitCommittish=e.gitCommittish,this.gitSubdir=e.gitSubdir,this.hosted=e.hosted}setName(e){let t=nr(e);if(!t.validForOldPackages)throw Fo(e,t,this.raw);return this.name=e,this.scope=e[0]==="@"?e.slice(0,e.indexOf("/")):void 0,this.escapedName=e.replace("/","%2f"),this}toString(){let e=[];this.name!=null&&this.name!==""&&e.push(this.name);let t=this.saveSpec||this.fetchSpec||this.rawSpec;return t!=null&&t!==""&&e.push(t),e.length?e.join("@"):this.raw}toJSON(){let e=Object.assign({},this);return delete e.hosted,e}};function ke(s,e){if(!e){s.gitCommittish=null;return}for(let t of e.split("::")){if(!t.includes(":")){if(s.gitRange)throw new Error("cannot override existing semver range with a committish");if(s.gitCommittish)throw new Error("cannot override existing committish with a second committish");s.gitCommittish=t;continue}let[r,i]=t.split(":");if(r==="semver"){if(s.gitCommittish)throw new Error("cannot override existing committish with a semver range");if(s.gitRange)throw new Error("cannot override existing semver range with a second semver range");s.gitRange=decodeURIComponent(i);continue}if(r==="path"){if(s.gitSubdir)throw new Error("cannot override existing path with a second path");s.gitSubdir=`/${i}`;continue}vo.warn("npm-package-arg",`ignoring unknown key "${r}"`)}}o(ke,"setGitAttrs");var Uo=new Map([["\0","%00"],[" ","%09"],[`
|
|
6
|
+
`,"%0A"],["\r","%0D"],[" ","%20"],['"',"%22"],["#","%23"],["%","%25"],["?","%3F"],["[","%5B"],["\\",ie?"/":"%5C"],["]","%5D"],["^","%5E"],["|","%7C"],["~","%7E"]]);function rr(s){let e="";for(let t=0;t<s.length;t++)e=`${e}${Uo.get(s[t])??s[t]}`;return e.startsWith("file:")?e:`file:${e}`}o(rr,"pathToFileURL");function ir(s,e){s.type=Me.test(s.rawSpec)?"file":"directory",s.where=e;let t=rr(s.rawSpec);t.startsWith("file:/")&&(/^file:\/\/[^/]/.test(t)&&(t=`file:/${t.slice(5)}`),/^\/{1,3}\.\.?(\/|$)/.test(t.slice(5))&&(t=t.replace(/^file:\/{1,3}/,"file:")));let r,i;try{r=new Xe(t,`${rr(k.resolve(e))}/`),i=new Xe(t)}catch(l){let c=new Error("Invalid file: URL, must comply with RFC 8089");throw Object.assign(c,{raw:s.rawSpec,spec:s,where:e,originalError:l})}let n=decodeURIComponent(i.pathname),a=decodeURIComponent(r.pathname);return ie&&(n=n.replace(/^\/+([a-z]:\/)/i,"$1"),a=a.replace(/^\/+([a-z]:\/)/i,"$1")),/^\/~(\/|$)/.test(n)?(s.saveSpec=`file:${n.substr(1)}`,a=k.resolve(yo(),n.substr(3))):k.isAbsolute(t.slice(5))?s.saveSpec=`file:${k.resolve(a)}`:s.saveSpec=`file:${k.relative(e,a)}`,s.fetchSpec=k.resolve(e,a),s.saveSpec=s.saveSpec.split("\\").join("/"),s.saveSpec.startsWith("file://")&&(s.saveSpec=`file:/${s.saveSpec.slice(7)}`),s}o(ir,"fromFile");function jo(s,e){return s.type="git",s.hosted=e,s.saveSpec=e.toString({noGitPlus:!1,noCommittish:!1}),s.fetchSpec=e.getDefaultRepresentation()==="shortcut"?null:e.toString(),ke(s,e.committish),s}o(jo,"fromHostedGit");function Go(s,e){let t=new Error(`Unsupported URL Type "${s}": ${e}`);return t.code="EUNSUPPORTEDPROTOCOL",t}o(Go,"unsupportedURLType");function Wo(s){let e=s.rawSpec;if(s.saveSpec=e,e.startsWith("git+ssh:")){let r=e.match(/^git\+ssh:\/\/([^:#]+:[^#]+(?:\.git)?)(?:#(.*))?$/i);if(r&&!r[1].match(To))return s.type="git",ke(s,r[2]),s.fetchSpec=r[1],s}else e.startsWith("git+file://")&&(e=e.replace(/\\/g,"/"));let t=new Xe(e);switch(t.protocol){case"git:":case"git+http:":case"git+https:":case"git+rsync:":case"git+ftp:":case"git+file:":case"git+ssh:":s.type="git",ke(s,t.hash.slice(1)),t.protocol==="git+file:"&&/^git\+file:\/\/[a-z]:/i.test(e)?s.fetchSpec=`git+file://${t.host.toLowerCase()}:${t.pathname}`:(t.hash="",s.fetchSpec=t.toString()),s.fetchSpec.startsWith("git+")&&(s.fetchSpec=s.fetchSpec.slice(4));break;case"http:":case"https:":s.type="remote",s.fetchSpec=s.saveSpec;break;default:throw Go(t.protocol,e)}return s}o(Wo,"fromURL");function zo(s,e){let t=se(s.rawSpec.substr(4),e);if(t.type==="alias")throw new Error("nested aliases not supported");if(!t.registry)throw new Error("aliases only work for registry deps");if(!t.name)throw new Error("aliases must have a name");return s.subSpec=t,s.registry=!0,s.type="alias",s.saveSpec=null,s.fetchSpec=null,s}o(zo,"fromAlias");function Ho(s){s.registry=!0;let e=s.rawSpec.trim();s.saveSpec=null,s.fetchSpec=e;let t=tr.valid(e,!0),r=tr.validRange(e,!0);if(t)s.type="version";else if(r)s.type="range";else{if(encodeURIComponent(e)!==e)throw Do(e,s.raw);s.type="tag"}return s}o(Ho,"fromRegistry");module.exports=se;module.exports.resolve=lr;module.exports.toPurl=Po;module.exports.Result=re;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare class RegistryFetcher {
|
|
2
|
+
// biome-ignore lint/suspicious/noExplicitAny: External third-party type definition
|
|
3
|
+
constructor(spec: string, opts?: any)
|
|
4
|
+
cache: string
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
declare const pacote: {
|
|
8
|
+
RegistryFetcher: typeof RegistryFetcher
|
|
9
|
+
// biome-ignore lint/suspicious/noExplicitAny: External third-party type definition
|
|
10
|
+
extract(spec: string, dest: string, opts?: any): Promise<any>
|
|
11
|
+
// biome-ignore lint/suspicious/noExplicitAny: External third-party type definition
|
|
12
|
+
manifest(spec: string, opts?: any): Promise<any>
|
|
13
|
+
// biome-ignore lint/suspicious/noExplicitAny: External third-party type definition
|
|
14
|
+
packument(spec: string, opts?: any): Promise<any>
|
|
15
|
+
// biome-ignore lint/suspicious/noExplicitAny: External third-party type definition
|
|
16
|
+
tarball(spec: string, opts?: any): Promise<Buffer>
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export = pacote
|