@salesforce/cli 2.158.7 → 2.159.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -12
- package/node_modules/@oclif/plugin-plugins/README.md +7 -7
- package/node_modules/@oclif/plugin-plugins/oclif.manifest.json +1 -1
- package/node_modules/@oclif/plugin-plugins/package.json +7 -7
- package/node_modules/@opentelemetry/core/dist/common/attributes.cjs +5 -0
- package/node_modules/@opentelemetry/core/dist/common/attributes.cjs.map +1 -1
- package/node_modules/@opentelemetry/core/dist/common/attributes.mjs +5 -0
- package/node_modules/@opentelemetry/core/dist/common/attributes.mjs.map +1 -1
- package/node_modules/@opentelemetry/core/dist/version.cjs +1 -1
- package/node_modules/@opentelemetry/core/dist/version.cjs.map +1 -1
- package/node_modules/@opentelemetry/core/dist/version.mjs +1 -1
- package/node_modules/@opentelemetry/core/dist/version.mjs.map +1 -1
- package/node_modules/@opentelemetry/core/package.json +2 -2
- package/node_modules/@opentelemetry/resources/README.md +21 -2
- package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.cjs +9 -47
- package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.cjs.map +1 -1
- package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.d.cts +10 -24
- package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.d.cts.map +1 -1
- package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.d.mts +10 -24
- package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.d.mts.map +1 -1
- package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.mjs +9 -47
- package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.mjs.map +1 -1
- package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.cjs +70 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.cjs.map +1 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.d.cts +35 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.d.cts.map +1 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.d.mts +35 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.d.mts.map +1 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.mjs +69 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.mjs.map +1 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.cjs +19 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.cjs.map +1 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.d.cts +12 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.d.cts.map +1 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.d.mts +12 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.d.mts.map +1 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.mjs +19 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.mjs.map +1 -0
- package/node_modules/@opentelemetry/resources/dist/detectors/index.d.cts +3 -1
- package/node_modules/@opentelemetry/resources/dist/detectors/index.d.mts +3 -1
- package/node_modules/@opentelemetry/resources/dist/detectors/index.mjs +3 -1
- package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.cjs +0 -3
- package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.cjs.map +1 -1
- package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.d.cts +0 -3
- package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.d.cts.map +1 -1
- package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.d.mts +0 -3
- package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.d.mts.map +1 -1
- package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.mjs +0 -3
- package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.mjs.map +1 -1
- package/node_modules/@opentelemetry/resources/dist/index.cjs +4 -0
- package/node_modules/@opentelemetry/resources/dist/index.d.cts +3 -1
- package/node_modules/@opentelemetry/resources/dist/index.d.mts +3 -1
- package/node_modules/@opentelemetry/resources/dist/index.mjs +3 -1
- package/node_modules/@opentelemetry/resources/package.json +3 -3
- package/node_modules/@salesforce/plugin-trust/README.md +14 -30
- package/node_modules/@salesforce/plugin-trust/oclif.manifest.json +1 -1
- package/node_modules/@salesforce/plugin-trust/package.json +4 -4
- package/node_modules/basic-ftp/dist/Client.js +2 -2
- package/node_modules/basic-ftp/dist/safePathNames.d.ts +6 -0
- package/node_modules/basic-ftp/dist/safePathNames.js +52 -0
- package/node_modules/basic-ftp/package.json +1 -1
- package/node_modules/npm/docs/content/commands/npm-ls.md +1 -1
- package/node_modules/npm/docs/content/commands/npm.md +1 -1
- package/node_modules/npm/docs/output/commands/npm-access.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-adduser.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-approve-scripts.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-audit.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-bugs.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-cache.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-ci.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-completion.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-config.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-dedupe.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-deny-scripts.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-deprecate.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-diff.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-dist-tag.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-docs.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-doctor.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-edit.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-exec.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-explain.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-explore.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-find-dupes.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-fund.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-get.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-help-search.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-help.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-init.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-install-ci-test.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-install-scripts.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-install-test.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-install.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-link.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-ll.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-login.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-logout.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-ls.html +3 -3
- package/node_modules/npm/docs/output/commands/npm-org.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-outdated.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-owner.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-pack.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-ping.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-pkg.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-prefix.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-profile.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-prune.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-publish.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-query.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-rebuild.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-repo.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-restart.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-root.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-run.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-sbom.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-search.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-set.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-shrinkwrap.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-stage.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-star.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-stars.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-start.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-stop.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-team.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-test.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-token.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-trust.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-undeprecate.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-uninstall.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-unpublish.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-unstar.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-update.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-version.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-view.html +2 -2
- package/node_modules/npm/docs/output/commands/npm-whoami.html +2 -2
- package/node_modules/npm/docs/output/commands/npm.html +3 -3
- package/node_modules/npm/docs/output/commands/npx.html +2 -2
- package/node_modules/npm/docs/output/configuring-npm/folders.html +2 -2
- package/node_modules/npm/docs/output/configuring-npm/install.html +2 -2
- package/node_modules/npm/docs/output/configuring-npm/npm-global.html +2 -2
- package/node_modules/npm/docs/output/configuring-npm/npm-json.html +2 -2
- package/node_modules/npm/docs/output/configuring-npm/npm-shrinkwrap-json.html +2 -2
- package/node_modules/npm/docs/output/configuring-npm/npmrc.html +2 -2
- package/node_modules/npm/docs/output/configuring-npm/package-json.html +2 -2
- package/node_modules/npm/docs/output/configuring-npm/package-lock-json.html +2 -2
- package/node_modules/npm/docs/output/using-npm/config.html +2 -2
- package/node_modules/npm/docs/output/using-npm/dependency-selectors.html +2 -2
- package/node_modules/npm/docs/output/using-npm/developers.html +2 -2
- package/node_modules/npm/docs/output/using-npm/logging.html +2 -2
- package/node_modules/npm/docs/output/using-npm/orgs.html +2 -2
- package/node_modules/npm/docs/output/using-npm/package-spec.html +2 -2
- package/node_modules/npm/docs/output/using-npm/registry.html +2 -2
- package/node_modules/npm/docs/output/using-npm/removal.html +2 -2
- package/node_modules/npm/docs/output/using-npm/scope.html +2 -2
- package/node_modules/npm/docs/output/using-npm/scripts.html +2 -2
- package/node_modules/npm/docs/output/using-npm/workspaces.html +2 -2
- package/node_modules/npm/lib/cli/entry.js +1 -1
- package/node_modules/npm/man/man1/npm-access.1 +1 -1
- package/node_modules/npm/man/man1/npm-adduser.1 +1 -1
- package/node_modules/npm/man/man1/npm-approve-scripts.1 +1 -1
- package/node_modules/npm/man/man1/npm-audit.1 +1 -1
- package/node_modules/npm/man/man1/npm-bugs.1 +1 -1
- package/node_modules/npm/man/man1/npm-cache.1 +1 -1
- package/node_modules/npm/man/man1/npm-ci.1 +1 -1
- package/node_modules/npm/man/man1/npm-completion.1 +1 -1
- package/node_modules/npm/man/man1/npm-config.1 +1 -1
- package/node_modules/npm/man/man1/npm-dedupe.1 +1 -1
- package/node_modules/npm/man/man1/npm-deny-scripts.1 +1 -1
- package/node_modules/npm/man/man1/npm-deprecate.1 +1 -1
- package/node_modules/npm/man/man1/npm-diff.1 +1 -1
- package/node_modules/npm/man/man1/npm-dist-tag.1 +1 -1
- package/node_modules/npm/man/man1/npm-docs.1 +1 -1
- package/node_modules/npm/man/man1/npm-doctor.1 +1 -1
- package/node_modules/npm/man/man1/npm-edit.1 +1 -1
- package/node_modules/npm/man/man1/npm-exec.1 +1 -1
- package/node_modules/npm/man/man1/npm-explain.1 +1 -1
- package/node_modules/npm/man/man1/npm-explore.1 +1 -1
- package/node_modules/npm/man/man1/npm-find-dupes.1 +1 -1
- package/node_modules/npm/man/man1/npm-fund.1 +1 -1
- package/node_modules/npm/man/man1/npm-get.1 +1 -1
- package/node_modules/npm/man/man1/npm-help-search.1 +1 -1
- package/node_modules/npm/man/man1/npm-help.1 +1 -1
- package/node_modules/npm/man/man1/npm-init.1 +1 -1
- package/node_modules/npm/man/man1/npm-install-ci-test.1 +1 -1
- package/node_modules/npm/man/man1/npm-install-scripts.1 +1 -1
- package/node_modules/npm/man/man1/npm-install-test.1 +1 -1
- package/node_modules/npm/man/man1/npm-install.1 +1 -1
- package/node_modules/npm/man/man1/npm-link.1 +1 -1
- package/node_modules/npm/man/man1/npm-ll.1 +1 -1
- package/node_modules/npm/man/man1/npm-login.1 +1 -1
- package/node_modules/npm/man/man1/npm-logout.1 +1 -1
- package/node_modules/npm/man/man1/npm-ls.1 +2 -2
- package/node_modules/npm/man/man1/npm-org.1 +1 -1
- package/node_modules/npm/man/man1/npm-outdated.1 +1 -1
- package/node_modules/npm/man/man1/npm-owner.1 +1 -1
- package/node_modules/npm/man/man1/npm-pack.1 +1 -1
- package/node_modules/npm/man/man1/npm-ping.1 +1 -1
- package/node_modules/npm/man/man1/npm-pkg.1 +1 -1
- package/node_modules/npm/man/man1/npm-prefix.1 +1 -1
- package/node_modules/npm/man/man1/npm-profile.1 +1 -1
- package/node_modules/npm/man/man1/npm-prune.1 +1 -1
- package/node_modules/npm/man/man1/npm-publish.1 +1 -1
- package/node_modules/npm/man/man1/npm-query.1 +1 -1
- package/node_modules/npm/man/man1/npm-rebuild.1 +1 -1
- package/node_modules/npm/man/man1/npm-repo.1 +1 -1
- package/node_modules/npm/man/man1/npm-restart.1 +1 -1
- package/node_modules/npm/man/man1/npm-root.1 +1 -1
- package/node_modules/npm/man/man1/npm-run.1 +1 -1
- package/node_modules/npm/man/man1/npm-sbom.1 +1 -1
- package/node_modules/npm/man/man1/npm-search.1 +1 -1
- package/node_modules/npm/man/man1/npm-set.1 +1 -1
- package/node_modules/npm/man/man1/npm-shrinkwrap.1 +1 -1
- package/node_modules/npm/man/man1/npm-stage.1 +1 -1
- package/node_modules/npm/man/man1/npm-star.1 +1 -1
- package/node_modules/npm/man/man1/npm-stars.1 +1 -1
- package/node_modules/npm/man/man1/npm-start.1 +1 -1
- package/node_modules/npm/man/man1/npm-stop.1 +1 -1
- package/node_modules/npm/man/man1/npm-team.1 +1 -1
- package/node_modules/npm/man/man1/npm-test.1 +1 -1
- package/node_modules/npm/man/man1/npm-token.1 +1 -1
- package/node_modules/npm/man/man1/npm-trust.1 +1 -1
- package/node_modules/npm/man/man1/npm-undeprecate.1 +1 -1
- package/node_modules/npm/man/man1/npm-uninstall.1 +1 -1
- package/node_modules/npm/man/man1/npm-unpublish.1 +1 -1
- package/node_modules/npm/man/man1/npm-unstar.1 +1 -1
- package/node_modules/npm/man/man1/npm-update.1 +1 -1
- package/node_modules/npm/man/man1/npm-version.1 +1 -1
- package/node_modules/npm/man/man1/npm-view.1 +1 -1
- package/node_modules/npm/man/man1/npm-whoami.1 +1 -1
- package/node_modules/npm/man/man1/npm.1 +2 -2
- package/node_modules/npm/man/man1/npx.1 +1 -1
- package/node_modules/npm/man/man5/folders.5 +1 -1
- package/node_modules/npm/man/man5/install.5 +1 -1
- package/node_modules/npm/man/man5/npm-global.5 +1 -1
- package/node_modules/npm/man/man5/npm-json.5 +1 -1
- package/node_modules/npm/man/man5/npm-shrinkwrap-json.5 +1 -1
- package/node_modules/npm/man/man5/npmrc.5 +1 -1
- package/node_modules/npm/man/man5/package-json.5 +1 -1
- package/node_modules/npm/man/man5/package-lock-json.5 +1 -1
- package/node_modules/npm/man/man7/config.7 +1 -1
- package/node_modules/npm/man/man7/dependency-selectors.7 +1 -1
- package/node_modules/npm/man/man7/developers.7 +1 -1
- package/node_modules/npm/man/man7/logging.7 +1 -1
- package/node_modules/npm/man/man7/orgs.7 +1 -1
- package/node_modules/npm/man/man7/package-spec.7 +1 -1
- package/node_modules/npm/man/man7/registry.7 +1 -1
- package/node_modules/npm/man/man7/removal.7 +1 -1
- package/node_modules/npm/man/man7/scope.7 +1 -1
- package/node_modules/npm/man/man7/scripts.7 +1 -1
- package/node_modules/npm/man/man7/workspaces.7 +1 -1
- package/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js +9 -2
- package/node_modules/npm/node_modules/@npmcli/promise-spawn/package.json +3 -2
- package/node_modules/npm/node_modules/bin-links/lib/get-paths.js +2 -0
- package/node_modules/npm/node_modules/bin-links/package.json +2 -1
- package/node_modules/npm/node_modules/ip-address/dist/common.js +2 -2
- package/node_modules/npm/node_modules/ip-address/dist/ipv4.js +7 -0
- package/node_modules/npm/node_modules/ip-address/dist/ipv6.js +7 -4
- package/node_modules/npm/node_modules/ip-address/dist/v6/constants.js +3 -0
- package/node_modules/npm/node_modules/ip-address/package.json +3 -2
- package/node_modules/npm/node_modules/libnpmexec/README.md +9 -1
- package/node_modules/npm/node_modules/libnpmexec/lib/index.js +6 -2
- package/node_modules/npm/node_modules/libnpmexec/lib/run-script.js +22 -5
- package/node_modules/npm/node_modules/libnpmexec/package.json +1 -1
- package/node_modules/npm/node_modules/pacote/lib/registry.js +71 -2
- package/node_modules/npm/node_modules/pacote/package.json +3 -2
- package/node_modules/npm/node_modules/semver/classes/range.js +2 -2
- package/node_modules/npm/node_modules/semver/internal/constants.js +30 -0
- package/node_modules/npm/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
- package/node_modules/npm/node_modules/semver/package.json +1 -1
- package/node_modules/npm/node_modules/undici/docs/docs/api/Client.md +2 -0
- package/node_modules/npm/node_modules/undici/lib/dispatcher/agent.js +6 -2
- package/node_modules/npm/node_modules/undici/lib/dispatcher/client-h1.js +0 -2
- package/node_modules/npm/node_modules/undici/lib/dispatcher/client-h2.js +0 -4
- package/node_modules/npm/node_modules/undici/lib/dispatcher/client.js +3 -2
- package/node_modules/npm/node_modules/undici/lib/dispatcher/dispatcher-base.js +9 -0
- package/node_modules/npm/node_modules/undici/lib/web/eventsource/eventsource-stream.js +91 -10
- package/node_modules/npm/node_modules/undici/lib/web/eventsource/eventsource.js +4 -1
- package/node_modules/npm/node_modules/undici/lib/web/fetch/index.js +7 -9
- package/node_modules/npm/node_modules/undici/lib/web/websocket/receiver.js +14 -0
- package/node_modules/npm/node_modules/undici/package.json +1 -1
- package/node_modules/npm/package.json +5 -5
- package/node_modules/semver/classes/range.js +2 -2
- package/node_modules/semver/internal/constants.js +30 -0
- package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
- package/node_modules/semver/package.json +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUtil.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSVersion.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/msvs_emulation.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/ninja_syntax.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_ninja.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcodeproj_file.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/make.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/__init__.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/_structures.cpython-314.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/version.cpython-314.pyc +0 -0
|
@@ -16,13 +16,14 @@
|
|
|
16
16
|
"bigint",
|
|
17
17
|
"browser"
|
|
18
18
|
],
|
|
19
|
-
"version": "10.7.
|
|
19
|
+
"version": "10.7.5",
|
|
20
20
|
"author": "Beau Gunderson <beau@beaugunderson.com> (https://beaugunderson.com/)",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"main": "dist/ip-address.js",
|
|
23
23
|
"types": "dist/ip-address.d.ts",
|
|
24
24
|
"scripts": {
|
|
25
25
|
"docs": "tsx scripts/build-readme.ts",
|
|
26
|
+
"docs:check": "tsx scripts/build-readme.ts --check",
|
|
26
27
|
"build": "rm -rf dist; mkdir dist; tsc",
|
|
27
28
|
"prepack": "npm run docs && npm run build",
|
|
28
29
|
"prepare": "git config core.hooksPath hooks || true",
|
|
@@ -79,7 +80,7 @@
|
|
|
79
80
|
"eslint-plugin-import": "^2.32.0",
|
|
80
81
|
"eslint-plugin-prettier": "^5.5.5",
|
|
81
82
|
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
|
|
82
|
-
"mocha": "^
|
|
83
|
+
"mocha": "^12.0.3",
|
|
83
84
|
"monocart-coverage-reports": "^2.12.11",
|
|
84
85
|
"prettier": "^3.8.3",
|
|
85
86
|
"source-map-support": "^0.5.21",
|
|
@@ -28,7 +28,7 @@ await libexec({
|
|
|
28
28
|
|
|
29
29
|
- `opts`:
|
|
30
30
|
- `args`: List of pkgs to execute **Array<String>**, defaults to `[]`
|
|
31
|
-
- `call`: An alternative
|
|
31
|
+
- `call`: An alternative shell script to run when using `packages` option **String**, defaults to empty string. Unlike an executable selected from `args` or a package's `bin`, this is intentionally interpreted as shell syntax.
|
|
32
32
|
- `cache`: The path location to where the npm cache folder is placed **String**
|
|
33
33
|
- `npxCache`: The path location to where the npx cache folder is placed **String**
|
|
34
34
|
- `chalk`: Chalk instance to use for colors? **Required**
|
|
@@ -42,6 +42,14 @@ await libexec({
|
|
|
42
42
|
- `yes`: Should skip download confirmation prompt when fetching missing packages from the registry? **Boolean**
|
|
43
43
|
- `registry`, `cache`, and more options that are forwarded to [@npmcli/arborist](https://github.com/npm/cli/blob/latest/workspaces/arborist/README.md) and [pacote](https://github.com/npm/pacote/#options) **Object**
|
|
44
44
|
|
|
45
|
+
Executable names are escaped for the selected shell, including POSIX shells and
|
|
46
|
+
PowerShell used on Windows. For inferred PowerShell invocations, arguments are
|
|
47
|
+
also escaped as literal strings. With `cmd.exe`, executable names containing double
|
|
48
|
+
quotes, percent signs, exclamation marks, or control characters are rejected
|
|
49
|
+
with `EINVALIDCOMMAND`. Use a bin name without these characters. On a matching
|
|
50
|
+
npx-cache hit, command selection uses the installed package's `bin` rather than
|
|
51
|
+
the registry's bin metadata.
|
|
52
|
+
|
|
45
53
|
## LICENSE
|
|
46
54
|
|
|
47
55
|
[ISC](./LICENSE)
|
|
@@ -267,8 +267,8 @@ const exec = async (opts) => {
|
|
|
267
267
|
})
|
|
268
268
|
const lockPath = join(installDir, 'concurrency.lock')
|
|
269
269
|
const npxTree = await withLock(lockPath, () => npxArb.loadActual())
|
|
270
|
-
await Promise.all(needInstall.map(async ({ spec }) => {
|
|
271
|
-
const { manifest } = await missingFromTree({
|
|
270
|
+
await Promise.all(needInstall.map(async ({ spec, manifest: requestedManifest }) => {
|
|
271
|
+
const { manifest, node } = await missingFromTree({
|
|
272
272
|
spec,
|
|
273
273
|
tree: npxTree,
|
|
274
274
|
flatOptions,
|
|
@@ -281,6 +281,10 @@ const exec = async (opts) => {
|
|
|
281
281
|
} else {
|
|
282
282
|
add.push(manifest._id)
|
|
283
283
|
}
|
|
284
|
+
} else if (needPackageCommandSwap && commandManifest === requestedManifest) {
|
|
285
|
+
// A cache hit must use the installed bin, not mutable registry metadata.
|
|
286
|
+
commandManifest = node.package
|
|
287
|
+
args[0] = getBinFromManifest(commandManifest)
|
|
284
288
|
}
|
|
285
289
|
}))
|
|
286
290
|
|
|
@@ -3,7 +3,10 @@ const runScript = require('@npmcli/run-script')
|
|
|
3
3
|
const pkgJson = require('@npmcli/package-json')
|
|
4
4
|
const { log, output } = require('proc-log')
|
|
5
5
|
const noTTY = require('./no-tty.js')
|
|
6
|
-
const
|
|
6
|
+
const isWindows = require('./is-windows.js')
|
|
7
|
+
|
|
8
|
+
const isCmd = shell => /(?:^|[\\/])cmd(?:\.exe)?$/i.test(shell)
|
|
9
|
+
const isPowerShell = shell => /(?:^|[\\/])(?:powershell|pwsh)(?:\.exe)?$/i.test(shell)
|
|
7
10
|
|
|
8
11
|
const run = async ({
|
|
9
12
|
args,
|
|
@@ -15,10 +18,24 @@ const run = async ({
|
|
|
15
18
|
runPath,
|
|
16
19
|
scriptShell,
|
|
17
20
|
}) => {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
if (!call && args.length > 0) {
|
|
22
|
+
const shell = scriptShell || (isWindows ? process.env.ComSpec || 'cmd' : 'sh')
|
|
23
|
+
if (isCmd(shell)) {
|
|
24
|
+
// Variable expansion (including delayed expansion) and embedded quotes
|
|
25
|
+
// cannot be safely escaped here. Control characters are invalid filenames.
|
|
26
|
+
if (/["%!]/.test(args[0]) || [...args[0]].some(c => c.charCodeAt(0) < 32)) {
|
|
27
|
+
throw Object.assign(
|
|
28
|
+
new Error(`Invalid executable name for cmd.exe: ${JSON.stringify(args[0])}`),
|
|
29
|
+
{ code: 'EINVALIDCOMMAND' }
|
|
30
|
+
)
|
|
31
|
+
}
|
|
32
|
+
// Protect both cmd.exe's metacharacter parsing and executable-name parsing.
|
|
33
|
+
args[0] = `"${args[0]}"`.replace(/[ ^&()<>|";,*?=@]/g, '^$&')
|
|
34
|
+
} else if (isPowerShell(shell)) {
|
|
35
|
+
// Encode the whole invocation to avoid promise-spawn's POSIX argument escaping.
|
|
36
|
+
const quotedArgs = args.map(arg => `'${arg.replace(/['\u2018-\u201b]/g, '$&$&')}'`)
|
|
37
|
+
args = [`& ${quotedArgs.join(' ')}`]
|
|
38
|
+
} else {
|
|
22
39
|
// single-quote so shell metacharacters in the executable name are taken
|
|
23
40
|
// literally; double quotes still expand $(), backticks, $var and "
|
|
24
41
|
args[0] = `'${args[0].replace(/'/g, `'\\''`)}'`
|
|
@@ -113,6 +113,70 @@ class RegistryFetcher extends Fetcher {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
+
// Registry signatures and attestations authenticate `name@version`, so the
|
|
117
|
+
// manifest must claim the requested name and be listed under its own
|
|
118
|
+
// version. Otherwise a registry could replay validly signed metadata from
|
|
119
|
+
// another package (or another version) and have it verify as this one.
|
|
120
|
+
#verifyManifestIdentity (packument, picked) {
|
|
121
|
+
const pickedId = `${picked.name}@${picked.version}`
|
|
122
|
+
if (picked.name !== this.spec.name) {
|
|
123
|
+
const message = [
|
|
124
|
+
`${this.spec.name} registry manifest has mismatched package name:`,
|
|
125
|
+
`expected ${this.spec.name} but got ${pickedId}`,
|
|
126
|
+
].join(' ')
|
|
127
|
+
throw Object.assign(new Error(message), {
|
|
128
|
+
code: 'EMANIFESTMISMATCH',
|
|
129
|
+
expected: this.spec.name,
|
|
130
|
+
found: pickedId,
|
|
131
|
+
})
|
|
132
|
+
}
|
|
133
|
+
if (picked._id && picked._id !== pickedId) {
|
|
134
|
+
const message = [
|
|
135
|
+
`${pickedId} registry manifest has mismatched id:`,
|
|
136
|
+
`expected ${pickedId} but got ${picked._id}`,
|
|
137
|
+
].join(' ')
|
|
138
|
+
throw Object.assign(new Error(message), {
|
|
139
|
+
code: 'EMANIFESTMISMATCH',
|
|
140
|
+
expected: pickedId,
|
|
141
|
+
found: picked._id,
|
|
142
|
+
})
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
// without dist there are no signatures or attestations to authenticate
|
|
146
|
+
if (!picked.dist) {
|
|
147
|
+
return
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// npm-pick-manifest may return a shallow copy, so match on the dist object
|
|
151
|
+
const matchesPickedManifest = manifest => manifest.dist === picked.dist
|
|
152
|
+
const versionCollections = [
|
|
153
|
+
packument.versions,
|
|
154
|
+
packument.stagedVersions?.versions,
|
|
155
|
+
packument.policyRestrictions?.versions,
|
|
156
|
+
]
|
|
157
|
+
const matchingVersionKeys = []
|
|
158
|
+
for (const manifestsByVersion of versionCollections) {
|
|
159
|
+
for (const versionKey in manifestsByVersion) {
|
|
160
|
+
if (Object.hasOwn(manifestsByVersion, versionKey) &&
|
|
161
|
+
matchesPickedManifest(manifestsByVersion[versionKey])) {
|
|
162
|
+
matchingVersionKeys.push(versionKey)
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
if (matchingVersionKeys.some(versionKey => versionKey !== picked.version)) {
|
|
168
|
+
const message = [
|
|
169
|
+
`${pickedId} registry manifest has mismatched version:`,
|
|
170
|
+
`listed in the packument as ${matchingVersionKeys.join(', ')}`,
|
|
171
|
+
].join(' ')
|
|
172
|
+
throw Object.assign(new Error(message), {
|
|
173
|
+
code: 'EMANIFESTMISMATCH',
|
|
174
|
+
expected: matchingVersionKeys,
|
|
175
|
+
found: pickedId,
|
|
176
|
+
})
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
116
180
|
async manifest () {
|
|
117
181
|
if (this.package) {
|
|
118
182
|
return this.package
|
|
@@ -127,11 +191,16 @@ class RegistryFetcher extends Fetcher {
|
|
|
127
191
|
|
|
128
192
|
const packument = await this.packument()
|
|
129
193
|
const steps = PackageJson.normalizeSteps.filter(s => s !== '_attributes')
|
|
130
|
-
const
|
|
194
|
+
const picked = pickManifest(packument, this.spec.fetchSpec, {
|
|
131
195
|
...this.opts,
|
|
132
196
|
defaultTag: this.defaultTag,
|
|
133
197
|
before: this.before,
|
|
134
|
-
})
|
|
198
|
+
})
|
|
199
|
+
if (this.opts.verifySignatures || this.opts.verifyAttestations) {
|
|
200
|
+
this.#verifyManifestIdentity(packument, picked)
|
|
201
|
+
}
|
|
202
|
+
const mani = await new PackageJson().fromContent(picked)
|
|
203
|
+
.normalize({ steps }).then(p => p.content)
|
|
135
204
|
|
|
136
205
|
/* XXX add ETARGET and E403 revalidation of cached packuments here */
|
|
137
206
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pacote",
|
|
3
|
-
"version": "21.5.
|
|
3
|
+
"version": "21.5.2",
|
|
4
4
|
"description": "JavaScript package downloader",
|
|
5
5
|
"author": "GitHub Inc.",
|
|
6
6
|
"bin": {
|
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
|
76
76
|
"version": "5.1.0",
|
|
77
77
|
"windowsCI": false,
|
|
78
|
-
"publish": "true"
|
|
78
|
+
"publish": "true",
|
|
79
|
+
"backport": 21
|
|
79
80
|
}
|
|
80
81
|
}
|
|
@@ -119,7 +119,7 @@ class Range {
|
|
|
119
119
|
debug('hyphen replace', range)
|
|
120
120
|
|
|
121
121
|
// `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
|
|
122
|
-
range = range
|
|
122
|
+
range = trimComparatorWhitespace(range)
|
|
123
123
|
debug('comparator trim', range)
|
|
124
124
|
|
|
125
125
|
// `~ 1.2.3` => `~1.2.3`
|
|
@@ -224,11 +224,11 @@ const parseOptions = require('../internal/parse-options')
|
|
|
224
224
|
const Comparator = require('./comparator')
|
|
225
225
|
const debug = require('../internal/debug')
|
|
226
226
|
const SemVer = require('./semver')
|
|
227
|
+
const trimComparatorWhitespace = require('../internal/trim-comparator-whitespace')
|
|
227
228
|
const {
|
|
228
229
|
safeRe: re,
|
|
229
230
|
src,
|
|
230
231
|
t,
|
|
231
|
-
comparatorTrimReplace,
|
|
232
232
|
tildeTrimReplace,
|
|
233
233
|
caretTrimReplace,
|
|
234
234
|
} = require('../internal/re')
|
|
@@ -15,6 +15,35 @@ const MAX_SAFE_COMPONENT_LENGTH = 16
|
|
|
15
15
|
// the shortest version with a build 0.0.0+BUILD.
|
|
16
16
|
const MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6
|
|
17
17
|
|
|
18
|
+
// ECMAScript whitespace and line terminators matched by \s.
|
|
19
|
+
const WHITESPACE_CHARACTERS = [
|
|
20
|
+
'\t',
|
|
21
|
+
'\n',
|
|
22
|
+
'\v',
|
|
23
|
+
'\f',
|
|
24
|
+
'\r',
|
|
25
|
+
' ',
|
|
26
|
+
'\u00a0',
|
|
27
|
+
'\u1680',
|
|
28
|
+
'\u2000',
|
|
29
|
+
'\u2001',
|
|
30
|
+
'\u2002',
|
|
31
|
+
'\u2003',
|
|
32
|
+
'\u2004',
|
|
33
|
+
'\u2005',
|
|
34
|
+
'\u2006',
|
|
35
|
+
'\u2007',
|
|
36
|
+
'\u2008',
|
|
37
|
+
'\u2009',
|
|
38
|
+
'\u200a',
|
|
39
|
+
'\u2028',
|
|
40
|
+
'\u2029',
|
|
41
|
+
'\u202f',
|
|
42
|
+
'\u205f',
|
|
43
|
+
'\u3000',
|
|
44
|
+
'\ufeff',
|
|
45
|
+
]
|
|
46
|
+
|
|
18
47
|
const RELEASE_TYPES = [
|
|
19
48
|
'major',
|
|
20
49
|
'premajor',
|
|
@@ -30,6 +59,7 @@ module.exports = {
|
|
|
30
59
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
31
60
|
MAX_SAFE_BUILD_LENGTH,
|
|
32
61
|
MAX_SAFE_INTEGER,
|
|
62
|
+
WHITESPACE_CHARACTERS,
|
|
33
63
|
RELEASE_TYPES,
|
|
34
64
|
SEMVER_SPEC_VERSION,
|
|
35
65
|
FLAG_INCLUDE_PRERELEASE: 0b001,
|