@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceInstanceIdDetector.d.mts","names":[],"sources":["../../../../src/detectors/platform/node/ServiceInstanceIdDetector.d.ts"],"mappings":";;;;;;cAKc,qCAAqC;UACvC;EACR,OAAO,UAAU,0BAA0B
|
|
1
|
+
{"version":3,"file":"ServiceInstanceIdDetector.d.mts","names":[],"sources":["../../../../src/detectors/platform/node/ServiceInstanceIdDetector.d.ts"],"mappings":";;;;;;cAKc,qCAAqC;UACvC;EACR,OAAO,UAAU,0BAA0B;;cAE1B,2BAA2B"}
|
|
@@ -11,9 +11,6 @@ var ServiceInstanceIdDetector = class {
|
|
|
11
11
|
return { attributes: { [ATTR_SERVICE_INSTANCE_ID]: this._serviceInstanceId } };
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @experimental
|
|
16
|
-
*/
|
|
17
14
|
const serviceInstanceIdDetector = new ServiceInstanceIdDetector();
|
|
18
15
|
//#endregion
|
|
19
16
|
export { serviceInstanceIdDetector };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceInstanceIdDetector.mjs","names":[],"sources":["../../../../src/detectors/platform/node/ServiceInstanceIdDetector.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { ATTR_SERVICE_INSTANCE_ID } from '../../../semconv';\nimport { randomUUID } from 'crypto';\nimport type { ResourceDetectionConfig } from '../../../config';\nimport type { DetectedResource, ResourceDetector } from '../../../types';\n\n/**\n * ServiceInstanceIdDetector detects the resources related to the service instance ID.\n */\nclass ServiceInstanceIdDetector implements ResourceDetector {\n // Multiple calls to ServiceInstanceIdDetector return the same ID.\n private _serviceInstanceId: string | undefined;\n\n detect(_config?: ResourceDetectionConfig): DetectedResource {\n if (!this._serviceInstanceId) {\n this._serviceInstanceId = randomUUID();\n }\n return {\n attributes: {\n [ATTR_SERVICE_INSTANCE_ID]: this._serviceInstanceId,\n },\n };\n }\n}\n\
|
|
1
|
+
{"version":3,"file":"ServiceInstanceIdDetector.mjs","names":[],"sources":["../../../../src/detectors/platform/node/ServiceInstanceIdDetector.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { ATTR_SERVICE_INSTANCE_ID } from '../../../semconv';\nimport { randomUUID } from 'crypto';\nimport type { ResourceDetectionConfig } from '../../../config';\nimport type { DetectedResource, ResourceDetector } from '../../../types';\n\n/**\n * ServiceInstanceIdDetector detects the resources related to the service instance ID.\n */\nclass ServiceInstanceIdDetector implements ResourceDetector {\n // Multiple calls to ServiceInstanceIdDetector return the same ID.\n private _serviceInstanceId: string | undefined;\n\n detect(_config?: ResourceDetectionConfig): DetectedResource {\n if (!this._serviceInstanceId) {\n this._serviceInstanceId = randomUUID();\n }\n return {\n attributes: {\n [ATTR_SERVICE_INSTANCE_ID]: this._serviceInstanceId,\n },\n };\n }\n}\n\nexport const serviceInstanceIdDetector = new ServiceInstanceIdDetector();\n"],"mappings":";;;;;;AAaA,IAAM,4BAAN,MAA4D;CAE1D;CAEA,OAAO,SAAqD;EAC1D,IAAI,CAAC,KAAK,oBACR,KAAK,qBAAqB,WAAW;EAEvC,OAAO,EACL,YAAY,GACT,2BAA2B,KAAK,mBACnC,EACF;CACF;AACF;AAEA,MAAa,4BAA4B,IAAI,0BAA0B"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_ResourceImpl = require("./ResourceImpl.cjs");
|
|
3
3
|
const require_detect_resources = require("./detect-resources.cjs");
|
|
4
|
+
const require_ResourceAttributesEnvDetector = require("./detectors/ResourceAttributesEnvDetector.cjs");
|
|
4
5
|
const require_EnvDetector = require("./detectors/EnvDetector.cjs");
|
|
6
|
+
const require_ServiceNameEnvDetector = require("./detectors/ServiceNameEnvDetector.cjs");
|
|
5
7
|
let _platform = require("#platform");
|
|
6
8
|
exports.defaultResource = require_ResourceImpl.defaultResource;
|
|
7
9
|
Object.defineProperty(exports, "defaultServiceName", {
|
|
@@ -31,6 +33,7 @@ Object.defineProperty(exports, "processDetector", {
|
|
|
31
33
|
return _platform.processDetector;
|
|
32
34
|
}
|
|
33
35
|
});
|
|
36
|
+
exports.resourceAttributesEnvDetector = require_ResourceAttributesEnvDetector.resourceAttributesEnvDetector;
|
|
34
37
|
exports.resourceFromAttributes = require_ResourceImpl.resourceFromAttributes;
|
|
35
38
|
Object.defineProperty(exports, "serviceInstanceIdDetector", {
|
|
36
39
|
enumerable: true,
|
|
@@ -38,3 +41,4 @@ Object.defineProperty(exports, "serviceInstanceIdDetector", {
|
|
|
38
41
|
return _platform.serviceInstanceIdDetector;
|
|
39
42
|
}
|
|
40
43
|
});
|
|
44
|
+
exports.serviceNameEnvDetector = require_ServiceNameEnvDetector.serviceNameEnvDetector;
|
|
@@ -8,7 +8,9 @@ import { defaultServiceName } from "./detectors/platform/node/default-service-na
|
|
|
8
8
|
import "./detectors/platform/node/index.cjs";
|
|
9
9
|
import { Resource } from "./Resource.cjs";
|
|
10
10
|
import { detectResources } from "./detect-resources.cjs";
|
|
11
|
+
import { resourceAttributesEnvDetector } from "./detectors/ResourceAttributesEnvDetector.cjs";
|
|
11
12
|
import { envDetector } from "./detectors/EnvDetector.cjs";
|
|
13
|
+
import { serviceNameEnvDetector } from "./detectors/ServiceNameEnvDetector.cjs";
|
|
12
14
|
import "./detectors/index.cjs";
|
|
13
15
|
import { defaultResource, emptyResource, resourceFromAttributes } from "./ResourceImpl.cjs";
|
|
14
|
-
export { type DetectedResource, type DetectedResourceAttributes, type MaybePromise, type RawResourceAttribute, type Resource, type ResourceDetectionConfig, type ResourceDetector, defaultResource, defaultServiceName, detectResources, emptyResource, envDetector, hostDetector, osDetector, processDetector, resourceFromAttributes, serviceInstanceIdDetector };
|
|
16
|
+
export { type DetectedResource, type DetectedResourceAttributes, type MaybePromise, type RawResourceAttribute, type Resource, type ResourceDetectionConfig, type ResourceDetector, defaultResource, defaultServiceName, detectResources, emptyResource, envDetector, hostDetector, osDetector, processDetector, resourceAttributesEnvDetector, resourceFromAttributes, serviceInstanceIdDetector, serviceNameEnvDetector };
|
|
@@ -8,7 +8,9 @@ import { defaultServiceName } from "./detectors/platform/node/default-service-na
|
|
|
8
8
|
import "./detectors/platform/node/index.mjs";
|
|
9
9
|
import { Resource } from "./Resource.mjs";
|
|
10
10
|
import { detectResources } from "./detect-resources.mjs";
|
|
11
|
+
import { resourceAttributesEnvDetector } from "./detectors/ResourceAttributesEnvDetector.mjs";
|
|
11
12
|
import { envDetector } from "./detectors/EnvDetector.mjs";
|
|
13
|
+
import { serviceNameEnvDetector } from "./detectors/ServiceNameEnvDetector.mjs";
|
|
12
14
|
import "./detectors/index.mjs";
|
|
13
15
|
import { defaultResource, emptyResource, resourceFromAttributes } from "./ResourceImpl.mjs";
|
|
14
|
-
export { type DetectedResource, type DetectedResourceAttributes, type MaybePromise, type RawResourceAttribute, type Resource, type ResourceDetectionConfig, type ResourceDetector, defaultResource, defaultServiceName, detectResources, emptyResource, envDetector, hostDetector, osDetector, processDetector, resourceFromAttributes, serviceInstanceIdDetector };
|
|
16
|
+
export { type DetectedResource, type DetectedResourceAttributes, type MaybePromise, type RawResourceAttribute, type Resource, type ResourceDetectionConfig, type ResourceDetector, defaultResource, defaultServiceName, detectResources, emptyResource, envDetector, hostDetector, osDetector, processDetector, resourceAttributesEnvDetector, resourceFromAttributes, serviceInstanceIdDetector, serviceNameEnvDetector };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { defaultResource, emptyResource, resourceFromAttributes } from "./ResourceImpl.mjs";
|
|
2
2
|
import { detectResources } from "./detect-resources.mjs";
|
|
3
|
+
import { resourceAttributesEnvDetector } from "./detectors/ResourceAttributesEnvDetector.mjs";
|
|
3
4
|
import { envDetector } from "./detectors/EnvDetector.mjs";
|
|
5
|
+
import { serviceNameEnvDetector } from "./detectors/ServiceNameEnvDetector.mjs";
|
|
4
6
|
import { hostDetector, osDetector, processDetector, serviceInstanceIdDetector } from "./detectors/index.mjs";
|
|
5
7
|
import { defaultServiceName } from "#platform";
|
|
6
|
-
export { defaultResource, defaultServiceName, detectResources, emptyResource, envDetector, hostDetector, osDetector, processDetector, resourceFromAttributes, serviceInstanceIdDetector };
|
|
8
|
+
export { defaultResource, defaultServiceName, detectResources, emptyResource, envDetector, hostDetector, osDetector, processDetector, resourceAttributesEnvDetector, resourceFromAttributes, serviceInstanceIdDetector, serviceNameEnvDetector };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentelemetry/resources",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "OpenTelemetry SDK resources",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"types": "./dist/index.d.cts",
|
|
@@ -91,10 +91,10 @@
|
|
|
91
91
|
"@opentelemetry/api": ">=1.10.0 <1.11.0"
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
|
-
"@opentelemetry/core": "3.
|
|
94
|
+
"@opentelemetry/core": "3.1.0",
|
|
95
95
|
"@opentelemetry/semantic-conventions": "^1.29.0"
|
|
96
96
|
},
|
|
97
97
|
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-resources",
|
|
98
98
|
"sideEffects": false,
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "9985264933cc7d93bfa4cbd02f1de562a050e9ce"
|
|
100
100
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@salesforce/plugin-trust) [](https://npmjs.org/package/@salesforce/plugin-trust) [](https://opensource.org/license/apache-2-0)
|
|
4
4
|
|
|
5
|
-
Verify the authenticity of a plugin being installed with `plugins
|
|
5
|
+
Verify the authenticity of a plugin being installed with `plugins install`.
|
|
6
6
|
|
|
7
|
-
This plugin is bundled with the [Salesforce CLI](https://developer.salesforce.com/tools/
|
|
7
|
+
This plugin is bundled with the [Salesforce CLI](https://developer.salesforce.com/tools/salesforcecli). For more information on the CLI, read the [getting started guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm).
|
|
8
8
|
|
|
9
9
|
We always recommend using the latest version of these commands bundled with the CLI, however, you can install a specific version or tag if needed.
|
|
10
10
|
|
|
@@ -32,7 +32,7 @@ Signature - The plugin tarball's RSA-SHA256 signature is verified against the pu
|
|
|
32
32
|
## Install
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
|
-
|
|
35
|
+
sf plugins install trust@x.y.z
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
## Issues
|
|
@@ -41,22 +41,7 @@ Please report any issues at <https://github.com/forcedotcom/cli/issues>
|
|
|
41
41
|
|
|
42
42
|
## Contributing
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
2. Create a new issue before starting your project so that we can keep track of
|
|
46
|
-
what you are trying to add/fix. That way, we can also offer suggestions or
|
|
47
|
-
let you know if there is already an effort in progress.
|
|
48
|
-
3. Fork this repository.
|
|
49
|
-
4. [Build the plugin locally](#build)
|
|
50
|
-
5. Create a _topic_ branch in your fork. Note, this step is recommended but technically not required if contributing using a fork.
|
|
51
|
-
6. Edit the code in your fork.
|
|
52
|
-
7. Write appropriate tests for your changes. Try to achieve at least 95% code coverage on any new code. No pull request will be accepted without unit tests.
|
|
53
|
-
8. Sign CLA (see [CLA](#cla) below).
|
|
54
|
-
9. Send us a pull request when you are done. We'll review your code, suggest any needed changes, and merge it in.
|
|
55
|
-
|
|
56
|
-
### CLA
|
|
57
|
-
|
|
58
|
-
External contributors will be required to sign a Contributor's License
|
|
59
|
-
Agreement. You can do so by going to <https://cla.salesforce.com/sign-cla>.
|
|
44
|
+
If you're interested in contributing, take a look at the [CONTRIBUTING](CONTRIBUTING.md) guide.
|
|
60
45
|
|
|
61
46
|
### Build
|
|
62
47
|
|
|
@@ -67,24 +52,23 @@ To build the plugin locally, make sure to have yarn installed and run the follow
|
|
|
67
52
|
git clone git@github.com:salesforcecli/plugin-trust
|
|
68
53
|
|
|
69
54
|
# Install the dependencies and compile
|
|
70
|
-
yarn
|
|
71
|
-
yarn build
|
|
55
|
+
yarn && yarn build
|
|
72
56
|
```
|
|
73
57
|
|
|
74
|
-
To use your plugin, run using the local `./bin/dev` or `./bin/dev.cmd` file.
|
|
58
|
+
To use your plugin, run using the local `./bin/dev.js` or `./bin/dev.cmd` file.
|
|
75
59
|
|
|
76
60
|
```bash
|
|
77
61
|
# Run using local run file.
|
|
78
|
-
./bin/dev plugins
|
|
62
|
+
./bin/dev.js plugins trust
|
|
79
63
|
```
|
|
80
64
|
|
|
81
65
|
There should be no differences when running via the Salesforce CLI or using the local run file. However, it can be useful to link the plugin to do some additional testing or run your commands from anywhere on your machine.
|
|
82
66
|
|
|
83
67
|
```bash
|
|
84
|
-
# Link your plugin to the
|
|
85
|
-
|
|
68
|
+
# Link your plugin to the sf cli
|
|
69
|
+
sf plugins link .
|
|
86
70
|
# To verify
|
|
87
|
-
|
|
71
|
+
sf plugins
|
|
88
72
|
```
|
|
89
73
|
|
|
90
74
|
## Commands
|
|
@@ -131,7 +115,7 @@ EXAMPLES
|
|
|
131
115
|
$ @salesforce/plugin-trust plugins trust allowlist add --name @scope/my-plugin --name another-plugin
|
|
132
116
|
```
|
|
133
117
|
|
|
134
|
-
_See code: [src/commands/plugins/trust/allowlist/add.ts](https://github.com/salesforcecli/plugin-trust/blob/4.1.
|
|
118
|
+
_See code: [src/commands/plugins/trust/allowlist/add.ts](https://github.com/salesforcecli/plugin-trust/blob/4.1.1/src/commands/plugins/trust/allowlist/add.ts)_
|
|
135
119
|
|
|
136
120
|
## `@salesforce/plugin-trust plugins trust allowlist list`
|
|
137
121
|
|
|
@@ -159,7 +143,7 @@ EXAMPLES
|
|
|
159
143
|
$ @salesforce/plugin-trust plugins trust allowlist list
|
|
160
144
|
```
|
|
161
145
|
|
|
162
|
-
_See code: [src/commands/plugins/trust/allowlist/list.ts](https://github.com/salesforcecli/plugin-trust/blob/4.1.
|
|
146
|
+
_See code: [src/commands/plugins/trust/allowlist/list.ts](https://github.com/salesforcecli/plugin-trust/blob/4.1.1/src/commands/plugins/trust/allowlist/list.ts)_
|
|
163
147
|
|
|
164
148
|
## `@salesforce/plugin-trust plugins trust allowlist remove`
|
|
165
149
|
|
|
@@ -196,7 +180,7 @@ EXAMPLES
|
|
|
196
180
|
$ @salesforce/plugin-trust plugins trust allowlist remove --name @scope/my-plugin --name another-plugin
|
|
197
181
|
```
|
|
198
182
|
|
|
199
|
-
_See code: [src/commands/plugins/trust/allowlist/remove.ts](https://github.com/salesforcecli/plugin-trust/blob/4.1.
|
|
183
|
+
_See code: [src/commands/plugins/trust/allowlist/remove.ts](https://github.com/salesforcecli/plugin-trust/blob/4.1.1/src/commands/plugins/trust/allowlist/remove.ts)_
|
|
200
184
|
|
|
201
185
|
## `@salesforce/plugin-trust plugins trust verify`
|
|
202
186
|
|
|
@@ -225,6 +209,6 @@ EXAMPLES
|
|
|
225
209
|
$ @salesforce/plugin-trust plugins trust verify --npm @scope/npmName
|
|
226
210
|
```
|
|
227
211
|
|
|
228
|
-
_See code: [src/commands/plugins/trust/verify.ts](https://github.com/salesforcecli/plugin-trust/blob/4.1.
|
|
212
|
+
_See code: [src/commands/plugins/trust/verify.ts](https://github.com/salesforcecli/plugin-trust/blob/4.1.1/src/commands/plugins/trust/verify.ts)_
|
|
229
213
|
|
|
230
214
|
<!-- commandsstop -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-trust",
|
|
3
3
|
"description": "validate a digital signature for a npm package",
|
|
4
|
-
"version": "4.1.
|
|
4
|
+
"version": "4.1.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf-trust": "bin/run.js"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@salesforce/sf-plugins-core": "^13.0.4",
|
|
18
18
|
"cross-spawn": "^7.0.6",
|
|
19
19
|
"got": "^13.0.0",
|
|
20
|
-
"npm": "^11.21.
|
|
20
|
+
"npm": "^11.21.2",
|
|
21
21
|
"npm-run-path": "^4.0.1",
|
|
22
22
|
"proxy-agent": "^6.5.0",
|
|
23
23
|
"semver": "^7.8.2",
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
},
|
|
256
256
|
"type": "module",
|
|
257
257
|
"sfdx": {
|
|
258
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/4.1.
|
|
259
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/4.1.
|
|
258
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/4.1.1.crt",
|
|
259
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/4.1.1.sig"
|
|
260
260
|
}
|
|
261
261
|
}
|
|
@@ -11,6 +11,7 @@ const parseControlResponse_1 = require("./parseControlResponse");
|
|
|
11
11
|
const parseList_1 = require("./parseList");
|
|
12
12
|
const parseListMLSD_1 = require("./parseListMLSD");
|
|
13
13
|
const ProgressTracker_1 = require("./ProgressTracker");
|
|
14
|
+
const safePathNames_1 = require("./safePathNames");
|
|
14
15
|
const StringWriter_1 = require("./StringWriter");
|
|
15
16
|
const transfer_1 = require("./transfer");
|
|
16
17
|
// Use promisify to keep the library compatible with Node 8.
|
|
@@ -647,8 +648,7 @@ class Client {
|
|
|
647
648
|
async _downloadFromWorkingDir(localDirPath) {
|
|
648
649
|
await ensureLocalDirectory(localDirPath);
|
|
649
650
|
for (const file of await this.list()) {
|
|
650
|
-
|
|
651
|
-
if (hasInvalidName) {
|
|
651
|
+
if (!(0, safePathNames_1.isSafePathName)(file.name)) {
|
|
652
652
|
const safeName = JSON.stringify(file.name);
|
|
653
653
|
this.ftp.log(`Invalid filename from server listing, will skip file. (${safeName})`);
|
|
654
654
|
continue;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as path from "path";
|
|
2
|
+
/**
|
|
3
|
+
* Returns true if a name from a directory listing can only refer to an entry directly inside a
|
|
4
|
+
* local directory when joined with its path.
|
|
5
|
+
*/
|
|
6
|
+
export declare function isSafePathName(name: string, localPath?: typeof path): boolean;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.isSafePathName = isSafePathName;
|
|
37
|
+
const path = __importStar(require("path"));
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if a name from a directory listing can only refer to an entry directly inside a
|
|
40
|
+
* local directory when joined with its path.
|
|
41
|
+
*/
|
|
42
|
+
function isSafePathName(name, localPath = path) {
|
|
43
|
+
if (!name || name === "." || name === ".." || name.includes("/")) {
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
if (localPath.sep === "\\") {
|
|
47
|
+
// Windows also separates with "\", reads ":" as a drive (older Node joins "." and "C:" to
|
|
48
|
+
// "C:", see CVE-2025-23084) and ignores trailing dots and spaces, so ".. " acts like "..".
|
|
49
|
+
return !/[\\:]/.test(name) && !/^[. ]+$/.test(name);
|
|
50
|
+
}
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
@@ -23,7 +23,7 @@ Note that nested packages will *also* show the paths to the specified packages.
|
|
|
23
23
|
For example, running `npm ls promzard` in npm's source tree will show:
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
npm@11.21.
|
|
26
|
+
npm@11.21.2 /path/to/npm
|
|
27
27
|
└─┬ init-package-json@0.0.4
|
|
28
28
|
└── promzard@0.1.5
|
|
29
29
|
```
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-access----
|
|
189
|
+
<h1 id="----npm-access----11212">
|
|
190
190
|
<span>npm-access</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Set access level on published packages</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-adduser----
|
|
189
|
+
<h1 id="----npm-adduser----11212">
|
|
190
190
|
<span>npm-adduser</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Add a registry user account</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-approve-scripts----
|
|
189
|
+
<h1 id="----npm-approve-scripts----11212">
|
|
190
190
|
<span>npm-approve-scripts</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Approve install scripts for specific dependencies</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-audit----
|
|
189
|
+
<h1 id="----npm-audit----11212">
|
|
190
190
|
<span>npm-audit</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Run a security audit</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-bugs----
|
|
189
|
+
<h1 id="----npm-bugs----11212">
|
|
190
190
|
<span>npm-bugs</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Report bugs for a package in a web browser</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-cache----
|
|
189
|
+
<h1 id="----npm-cache----11212">
|
|
190
190
|
<span>npm-cache</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Manipulates packages cache</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-ci----
|
|
189
|
+
<h1 id="----npm-ci----11212">
|
|
190
190
|
<span>npm-ci</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Clean install a project</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-completion----
|
|
189
|
+
<h1 id="----npm-completion----11212">
|
|
190
190
|
<span>npm-completion</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Tab Completion for npm</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-config----
|
|
189
|
+
<h1 id="----npm-config----11212">
|
|
190
190
|
<span>npm-config</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Manage the npm configuration files</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-dedupe----
|
|
189
|
+
<h1 id="----npm-dedupe----11212">
|
|
190
190
|
<span>npm-dedupe</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Reduce duplication in the package tree</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-deny-scripts----
|
|
189
|
+
<h1 id="----npm-deny-scripts----11212">
|
|
190
190
|
<span>npm-deny-scripts</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Deny install scripts for specific dependencies</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-deprecate----
|
|
189
|
+
<h1 id="----npm-deprecate----11212">
|
|
190
190
|
<span>npm-deprecate</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Deprecate a version of a package</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-diff----
|
|
189
|
+
<h1 id="----npm-diff----11212">
|
|
190
190
|
<span>npm-diff</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">The registry diff command</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-dist-tag----
|
|
189
|
+
<h1 id="----npm-dist-tag----11212">
|
|
190
190
|
<span>npm-dist-tag</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Modify package distribution tags</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-docs----
|
|
189
|
+
<h1 id="----npm-docs----11212">
|
|
190
190
|
<span>npm-docs</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Open documentation for a package in a web browser</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-doctor----
|
|
189
|
+
<h1 id="----npm-doctor----11212">
|
|
190
190
|
<span>npm-doctor</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Check the health of your npm environment</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-edit----
|
|
189
|
+
<h1 id="----npm-edit----11212">
|
|
190
190
|
<span>npm-edit</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Edit an installed package</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-exec----
|
|
189
|
+
<h1 id="----npm-exec----11212">
|
|
190
190
|
<span>npm-exec</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Run a command from a local or remote npm package</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-explain----
|
|
189
|
+
<h1 id="----npm-explain----11212">
|
|
190
190
|
<span>npm-explain</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Explain installed packages</span>
|
|
194
194
|
</header>
|
|
@@ -186,9 +186,9 @@ npm command-line interface
|
|
|
186
186
|
|
|
187
187
|
<section id="content">
|
|
188
188
|
<header class="title">
|
|
189
|
-
<h1 id="----npm-explore----
|
|
189
|
+
<h1 id="----npm-explore----11212">
|
|
190
190
|
<span>npm-explore</span>
|
|
191
|
-
<span class="version">@11.21.
|
|
191
|
+
<span class="version">@11.21.2</span>
|
|
192
192
|
</h1>
|
|
193
193
|
<span class="description">Browse an installed package</span>
|
|
194
194
|
</header>
|