@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.
Files changed (305) hide show
  1. package/README.md +12 -12
  2. package/node_modules/@oclif/plugin-plugins/README.md +7 -7
  3. package/node_modules/@oclif/plugin-plugins/oclif.manifest.json +1 -1
  4. package/node_modules/@oclif/plugin-plugins/package.json +7 -7
  5. package/node_modules/@opentelemetry/core/dist/common/attributes.cjs +5 -0
  6. package/node_modules/@opentelemetry/core/dist/common/attributes.cjs.map +1 -1
  7. package/node_modules/@opentelemetry/core/dist/common/attributes.mjs +5 -0
  8. package/node_modules/@opentelemetry/core/dist/common/attributes.mjs.map +1 -1
  9. package/node_modules/@opentelemetry/core/dist/version.cjs +1 -1
  10. package/node_modules/@opentelemetry/core/dist/version.cjs.map +1 -1
  11. package/node_modules/@opentelemetry/core/dist/version.mjs +1 -1
  12. package/node_modules/@opentelemetry/core/dist/version.mjs.map +1 -1
  13. package/node_modules/@opentelemetry/core/package.json +2 -2
  14. package/node_modules/@opentelemetry/resources/README.md +21 -2
  15. package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.cjs +9 -47
  16. package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.cjs.map +1 -1
  17. package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.d.cts +10 -24
  18. package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.d.cts.map +1 -1
  19. package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.d.mts +10 -24
  20. package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.d.mts.map +1 -1
  21. package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.mjs +9 -47
  22. package/node_modules/@opentelemetry/resources/dist/detectors/EnvDetector.mjs.map +1 -1
  23. package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.cjs +70 -0
  24. package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.cjs.map +1 -0
  25. package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.d.cts +35 -0
  26. package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.d.cts.map +1 -0
  27. package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.d.mts +35 -0
  28. package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.d.mts.map +1 -0
  29. package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.mjs +69 -0
  30. package/node_modules/@opentelemetry/resources/dist/detectors/ResourceAttributesEnvDetector.mjs.map +1 -0
  31. package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.cjs +19 -0
  32. package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.cjs.map +1 -0
  33. package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.d.cts +12 -0
  34. package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.d.cts.map +1 -0
  35. package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.d.mts +12 -0
  36. package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.d.mts.map +1 -0
  37. package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.mjs +19 -0
  38. package/node_modules/@opentelemetry/resources/dist/detectors/ServiceNameEnvDetector.mjs.map +1 -0
  39. package/node_modules/@opentelemetry/resources/dist/detectors/index.d.cts +3 -1
  40. package/node_modules/@opentelemetry/resources/dist/detectors/index.d.mts +3 -1
  41. package/node_modules/@opentelemetry/resources/dist/detectors/index.mjs +3 -1
  42. package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.cjs +0 -3
  43. package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.cjs.map +1 -1
  44. package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.d.cts +0 -3
  45. package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.d.cts.map +1 -1
  46. package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.d.mts +0 -3
  47. package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.d.mts.map +1 -1
  48. package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.mjs +0 -3
  49. package/node_modules/@opentelemetry/resources/dist/detectors/platform/node/ServiceInstanceIdDetector.mjs.map +1 -1
  50. package/node_modules/@opentelemetry/resources/dist/index.cjs +4 -0
  51. package/node_modules/@opentelemetry/resources/dist/index.d.cts +3 -1
  52. package/node_modules/@opentelemetry/resources/dist/index.d.mts +3 -1
  53. package/node_modules/@opentelemetry/resources/dist/index.mjs +3 -1
  54. package/node_modules/@opentelemetry/resources/package.json +3 -3
  55. package/node_modules/@salesforce/plugin-trust/README.md +14 -30
  56. package/node_modules/@salesforce/plugin-trust/oclif.manifest.json +1 -1
  57. package/node_modules/@salesforce/plugin-trust/package.json +4 -4
  58. package/node_modules/basic-ftp/dist/Client.js +2 -2
  59. package/node_modules/basic-ftp/dist/safePathNames.d.ts +6 -0
  60. package/node_modules/basic-ftp/dist/safePathNames.js +52 -0
  61. package/node_modules/basic-ftp/package.json +1 -1
  62. package/node_modules/npm/docs/content/commands/npm-ls.md +1 -1
  63. package/node_modules/npm/docs/content/commands/npm.md +1 -1
  64. package/node_modules/npm/docs/output/commands/npm-access.html +2 -2
  65. package/node_modules/npm/docs/output/commands/npm-adduser.html +2 -2
  66. package/node_modules/npm/docs/output/commands/npm-approve-scripts.html +2 -2
  67. package/node_modules/npm/docs/output/commands/npm-audit.html +2 -2
  68. package/node_modules/npm/docs/output/commands/npm-bugs.html +2 -2
  69. package/node_modules/npm/docs/output/commands/npm-cache.html +2 -2
  70. package/node_modules/npm/docs/output/commands/npm-ci.html +2 -2
  71. package/node_modules/npm/docs/output/commands/npm-completion.html +2 -2
  72. package/node_modules/npm/docs/output/commands/npm-config.html +2 -2
  73. package/node_modules/npm/docs/output/commands/npm-dedupe.html +2 -2
  74. package/node_modules/npm/docs/output/commands/npm-deny-scripts.html +2 -2
  75. package/node_modules/npm/docs/output/commands/npm-deprecate.html +2 -2
  76. package/node_modules/npm/docs/output/commands/npm-diff.html +2 -2
  77. package/node_modules/npm/docs/output/commands/npm-dist-tag.html +2 -2
  78. package/node_modules/npm/docs/output/commands/npm-docs.html +2 -2
  79. package/node_modules/npm/docs/output/commands/npm-doctor.html +2 -2
  80. package/node_modules/npm/docs/output/commands/npm-edit.html +2 -2
  81. package/node_modules/npm/docs/output/commands/npm-exec.html +2 -2
  82. package/node_modules/npm/docs/output/commands/npm-explain.html +2 -2
  83. package/node_modules/npm/docs/output/commands/npm-explore.html +2 -2
  84. package/node_modules/npm/docs/output/commands/npm-find-dupes.html +2 -2
  85. package/node_modules/npm/docs/output/commands/npm-fund.html +2 -2
  86. package/node_modules/npm/docs/output/commands/npm-get.html +2 -2
  87. package/node_modules/npm/docs/output/commands/npm-help-search.html +2 -2
  88. package/node_modules/npm/docs/output/commands/npm-help.html +2 -2
  89. package/node_modules/npm/docs/output/commands/npm-init.html +2 -2
  90. package/node_modules/npm/docs/output/commands/npm-install-ci-test.html +2 -2
  91. package/node_modules/npm/docs/output/commands/npm-install-scripts.html +2 -2
  92. package/node_modules/npm/docs/output/commands/npm-install-test.html +2 -2
  93. package/node_modules/npm/docs/output/commands/npm-install.html +2 -2
  94. package/node_modules/npm/docs/output/commands/npm-link.html +2 -2
  95. package/node_modules/npm/docs/output/commands/npm-ll.html +2 -2
  96. package/node_modules/npm/docs/output/commands/npm-login.html +2 -2
  97. package/node_modules/npm/docs/output/commands/npm-logout.html +2 -2
  98. package/node_modules/npm/docs/output/commands/npm-ls.html +3 -3
  99. package/node_modules/npm/docs/output/commands/npm-org.html +2 -2
  100. package/node_modules/npm/docs/output/commands/npm-outdated.html +2 -2
  101. package/node_modules/npm/docs/output/commands/npm-owner.html +2 -2
  102. package/node_modules/npm/docs/output/commands/npm-pack.html +2 -2
  103. package/node_modules/npm/docs/output/commands/npm-ping.html +2 -2
  104. package/node_modules/npm/docs/output/commands/npm-pkg.html +2 -2
  105. package/node_modules/npm/docs/output/commands/npm-prefix.html +2 -2
  106. package/node_modules/npm/docs/output/commands/npm-profile.html +2 -2
  107. package/node_modules/npm/docs/output/commands/npm-prune.html +2 -2
  108. package/node_modules/npm/docs/output/commands/npm-publish.html +2 -2
  109. package/node_modules/npm/docs/output/commands/npm-query.html +2 -2
  110. package/node_modules/npm/docs/output/commands/npm-rebuild.html +2 -2
  111. package/node_modules/npm/docs/output/commands/npm-repo.html +2 -2
  112. package/node_modules/npm/docs/output/commands/npm-restart.html +2 -2
  113. package/node_modules/npm/docs/output/commands/npm-root.html +2 -2
  114. package/node_modules/npm/docs/output/commands/npm-run.html +2 -2
  115. package/node_modules/npm/docs/output/commands/npm-sbom.html +2 -2
  116. package/node_modules/npm/docs/output/commands/npm-search.html +2 -2
  117. package/node_modules/npm/docs/output/commands/npm-set.html +2 -2
  118. package/node_modules/npm/docs/output/commands/npm-shrinkwrap.html +2 -2
  119. package/node_modules/npm/docs/output/commands/npm-stage.html +2 -2
  120. package/node_modules/npm/docs/output/commands/npm-star.html +2 -2
  121. package/node_modules/npm/docs/output/commands/npm-stars.html +2 -2
  122. package/node_modules/npm/docs/output/commands/npm-start.html +2 -2
  123. package/node_modules/npm/docs/output/commands/npm-stop.html +2 -2
  124. package/node_modules/npm/docs/output/commands/npm-team.html +2 -2
  125. package/node_modules/npm/docs/output/commands/npm-test.html +2 -2
  126. package/node_modules/npm/docs/output/commands/npm-token.html +2 -2
  127. package/node_modules/npm/docs/output/commands/npm-trust.html +2 -2
  128. package/node_modules/npm/docs/output/commands/npm-undeprecate.html +2 -2
  129. package/node_modules/npm/docs/output/commands/npm-uninstall.html +2 -2
  130. package/node_modules/npm/docs/output/commands/npm-unpublish.html +2 -2
  131. package/node_modules/npm/docs/output/commands/npm-unstar.html +2 -2
  132. package/node_modules/npm/docs/output/commands/npm-update.html +2 -2
  133. package/node_modules/npm/docs/output/commands/npm-version.html +2 -2
  134. package/node_modules/npm/docs/output/commands/npm-view.html +2 -2
  135. package/node_modules/npm/docs/output/commands/npm-whoami.html +2 -2
  136. package/node_modules/npm/docs/output/commands/npm.html +3 -3
  137. package/node_modules/npm/docs/output/commands/npx.html +2 -2
  138. package/node_modules/npm/docs/output/configuring-npm/folders.html +2 -2
  139. package/node_modules/npm/docs/output/configuring-npm/install.html +2 -2
  140. package/node_modules/npm/docs/output/configuring-npm/npm-global.html +2 -2
  141. package/node_modules/npm/docs/output/configuring-npm/npm-json.html +2 -2
  142. package/node_modules/npm/docs/output/configuring-npm/npm-shrinkwrap-json.html +2 -2
  143. package/node_modules/npm/docs/output/configuring-npm/npmrc.html +2 -2
  144. package/node_modules/npm/docs/output/configuring-npm/package-json.html +2 -2
  145. package/node_modules/npm/docs/output/configuring-npm/package-lock-json.html +2 -2
  146. package/node_modules/npm/docs/output/using-npm/config.html +2 -2
  147. package/node_modules/npm/docs/output/using-npm/dependency-selectors.html +2 -2
  148. package/node_modules/npm/docs/output/using-npm/developers.html +2 -2
  149. package/node_modules/npm/docs/output/using-npm/logging.html +2 -2
  150. package/node_modules/npm/docs/output/using-npm/orgs.html +2 -2
  151. package/node_modules/npm/docs/output/using-npm/package-spec.html +2 -2
  152. package/node_modules/npm/docs/output/using-npm/registry.html +2 -2
  153. package/node_modules/npm/docs/output/using-npm/removal.html +2 -2
  154. package/node_modules/npm/docs/output/using-npm/scope.html +2 -2
  155. package/node_modules/npm/docs/output/using-npm/scripts.html +2 -2
  156. package/node_modules/npm/docs/output/using-npm/workspaces.html +2 -2
  157. package/node_modules/npm/lib/cli/entry.js +1 -1
  158. package/node_modules/npm/man/man1/npm-access.1 +1 -1
  159. package/node_modules/npm/man/man1/npm-adduser.1 +1 -1
  160. package/node_modules/npm/man/man1/npm-approve-scripts.1 +1 -1
  161. package/node_modules/npm/man/man1/npm-audit.1 +1 -1
  162. package/node_modules/npm/man/man1/npm-bugs.1 +1 -1
  163. package/node_modules/npm/man/man1/npm-cache.1 +1 -1
  164. package/node_modules/npm/man/man1/npm-ci.1 +1 -1
  165. package/node_modules/npm/man/man1/npm-completion.1 +1 -1
  166. package/node_modules/npm/man/man1/npm-config.1 +1 -1
  167. package/node_modules/npm/man/man1/npm-dedupe.1 +1 -1
  168. package/node_modules/npm/man/man1/npm-deny-scripts.1 +1 -1
  169. package/node_modules/npm/man/man1/npm-deprecate.1 +1 -1
  170. package/node_modules/npm/man/man1/npm-diff.1 +1 -1
  171. package/node_modules/npm/man/man1/npm-dist-tag.1 +1 -1
  172. package/node_modules/npm/man/man1/npm-docs.1 +1 -1
  173. package/node_modules/npm/man/man1/npm-doctor.1 +1 -1
  174. package/node_modules/npm/man/man1/npm-edit.1 +1 -1
  175. package/node_modules/npm/man/man1/npm-exec.1 +1 -1
  176. package/node_modules/npm/man/man1/npm-explain.1 +1 -1
  177. package/node_modules/npm/man/man1/npm-explore.1 +1 -1
  178. package/node_modules/npm/man/man1/npm-find-dupes.1 +1 -1
  179. package/node_modules/npm/man/man1/npm-fund.1 +1 -1
  180. package/node_modules/npm/man/man1/npm-get.1 +1 -1
  181. package/node_modules/npm/man/man1/npm-help-search.1 +1 -1
  182. package/node_modules/npm/man/man1/npm-help.1 +1 -1
  183. package/node_modules/npm/man/man1/npm-init.1 +1 -1
  184. package/node_modules/npm/man/man1/npm-install-ci-test.1 +1 -1
  185. package/node_modules/npm/man/man1/npm-install-scripts.1 +1 -1
  186. package/node_modules/npm/man/man1/npm-install-test.1 +1 -1
  187. package/node_modules/npm/man/man1/npm-install.1 +1 -1
  188. package/node_modules/npm/man/man1/npm-link.1 +1 -1
  189. package/node_modules/npm/man/man1/npm-ll.1 +1 -1
  190. package/node_modules/npm/man/man1/npm-login.1 +1 -1
  191. package/node_modules/npm/man/man1/npm-logout.1 +1 -1
  192. package/node_modules/npm/man/man1/npm-ls.1 +2 -2
  193. package/node_modules/npm/man/man1/npm-org.1 +1 -1
  194. package/node_modules/npm/man/man1/npm-outdated.1 +1 -1
  195. package/node_modules/npm/man/man1/npm-owner.1 +1 -1
  196. package/node_modules/npm/man/man1/npm-pack.1 +1 -1
  197. package/node_modules/npm/man/man1/npm-ping.1 +1 -1
  198. package/node_modules/npm/man/man1/npm-pkg.1 +1 -1
  199. package/node_modules/npm/man/man1/npm-prefix.1 +1 -1
  200. package/node_modules/npm/man/man1/npm-profile.1 +1 -1
  201. package/node_modules/npm/man/man1/npm-prune.1 +1 -1
  202. package/node_modules/npm/man/man1/npm-publish.1 +1 -1
  203. package/node_modules/npm/man/man1/npm-query.1 +1 -1
  204. package/node_modules/npm/man/man1/npm-rebuild.1 +1 -1
  205. package/node_modules/npm/man/man1/npm-repo.1 +1 -1
  206. package/node_modules/npm/man/man1/npm-restart.1 +1 -1
  207. package/node_modules/npm/man/man1/npm-root.1 +1 -1
  208. package/node_modules/npm/man/man1/npm-run.1 +1 -1
  209. package/node_modules/npm/man/man1/npm-sbom.1 +1 -1
  210. package/node_modules/npm/man/man1/npm-search.1 +1 -1
  211. package/node_modules/npm/man/man1/npm-set.1 +1 -1
  212. package/node_modules/npm/man/man1/npm-shrinkwrap.1 +1 -1
  213. package/node_modules/npm/man/man1/npm-stage.1 +1 -1
  214. package/node_modules/npm/man/man1/npm-star.1 +1 -1
  215. package/node_modules/npm/man/man1/npm-stars.1 +1 -1
  216. package/node_modules/npm/man/man1/npm-start.1 +1 -1
  217. package/node_modules/npm/man/man1/npm-stop.1 +1 -1
  218. package/node_modules/npm/man/man1/npm-team.1 +1 -1
  219. package/node_modules/npm/man/man1/npm-test.1 +1 -1
  220. package/node_modules/npm/man/man1/npm-token.1 +1 -1
  221. package/node_modules/npm/man/man1/npm-trust.1 +1 -1
  222. package/node_modules/npm/man/man1/npm-undeprecate.1 +1 -1
  223. package/node_modules/npm/man/man1/npm-uninstall.1 +1 -1
  224. package/node_modules/npm/man/man1/npm-unpublish.1 +1 -1
  225. package/node_modules/npm/man/man1/npm-unstar.1 +1 -1
  226. package/node_modules/npm/man/man1/npm-update.1 +1 -1
  227. package/node_modules/npm/man/man1/npm-version.1 +1 -1
  228. package/node_modules/npm/man/man1/npm-view.1 +1 -1
  229. package/node_modules/npm/man/man1/npm-whoami.1 +1 -1
  230. package/node_modules/npm/man/man1/npm.1 +2 -2
  231. package/node_modules/npm/man/man1/npx.1 +1 -1
  232. package/node_modules/npm/man/man5/folders.5 +1 -1
  233. package/node_modules/npm/man/man5/install.5 +1 -1
  234. package/node_modules/npm/man/man5/npm-global.5 +1 -1
  235. package/node_modules/npm/man/man5/npm-json.5 +1 -1
  236. package/node_modules/npm/man/man5/npm-shrinkwrap-json.5 +1 -1
  237. package/node_modules/npm/man/man5/npmrc.5 +1 -1
  238. package/node_modules/npm/man/man5/package-json.5 +1 -1
  239. package/node_modules/npm/man/man5/package-lock-json.5 +1 -1
  240. package/node_modules/npm/man/man7/config.7 +1 -1
  241. package/node_modules/npm/man/man7/dependency-selectors.7 +1 -1
  242. package/node_modules/npm/man/man7/developers.7 +1 -1
  243. package/node_modules/npm/man/man7/logging.7 +1 -1
  244. package/node_modules/npm/man/man7/orgs.7 +1 -1
  245. package/node_modules/npm/man/man7/package-spec.7 +1 -1
  246. package/node_modules/npm/man/man7/registry.7 +1 -1
  247. package/node_modules/npm/man/man7/removal.7 +1 -1
  248. package/node_modules/npm/man/man7/scope.7 +1 -1
  249. package/node_modules/npm/man/man7/scripts.7 +1 -1
  250. package/node_modules/npm/man/man7/workspaces.7 +1 -1
  251. package/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js +9 -2
  252. package/node_modules/npm/node_modules/@npmcli/promise-spawn/package.json +3 -2
  253. package/node_modules/npm/node_modules/bin-links/lib/get-paths.js +2 -0
  254. package/node_modules/npm/node_modules/bin-links/package.json +2 -1
  255. package/node_modules/npm/node_modules/ip-address/dist/common.js +2 -2
  256. package/node_modules/npm/node_modules/ip-address/dist/ipv4.js +7 -0
  257. package/node_modules/npm/node_modules/ip-address/dist/ipv6.js +7 -4
  258. package/node_modules/npm/node_modules/ip-address/dist/v6/constants.js +3 -0
  259. package/node_modules/npm/node_modules/ip-address/package.json +3 -2
  260. package/node_modules/npm/node_modules/libnpmexec/README.md +9 -1
  261. package/node_modules/npm/node_modules/libnpmexec/lib/index.js +6 -2
  262. package/node_modules/npm/node_modules/libnpmexec/lib/run-script.js +22 -5
  263. package/node_modules/npm/node_modules/libnpmexec/package.json +1 -1
  264. package/node_modules/npm/node_modules/pacote/lib/registry.js +71 -2
  265. package/node_modules/npm/node_modules/pacote/package.json +3 -2
  266. package/node_modules/npm/node_modules/semver/classes/range.js +2 -2
  267. package/node_modules/npm/node_modules/semver/internal/constants.js +30 -0
  268. package/node_modules/npm/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  269. package/node_modules/npm/node_modules/semver/package.json +1 -1
  270. package/node_modules/npm/node_modules/undici/docs/docs/api/Client.md +2 -0
  271. package/node_modules/npm/node_modules/undici/lib/dispatcher/agent.js +6 -2
  272. package/node_modules/npm/node_modules/undici/lib/dispatcher/client-h1.js +0 -2
  273. package/node_modules/npm/node_modules/undici/lib/dispatcher/client-h2.js +0 -4
  274. package/node_modules/npm/node_modules/undici/lib/dispatcher/client.js +3 -2
  275. package/node_modules/npm/node_modules/undici/lib/dispatcher/dispatcher-base.js +9 -0
  276. package/node_modules/npm/node_modules/undici/lib/web/eventsource/eventsource-stream.js +91 -10
  277. package/node_modules/npm/node_modules/undici/lib/web/eventsource/eventsource.js +4 -1
  278. package/node_modules/npm/node_modules/undici/lib/web/fetch/index.js +7 -9
  279. package/node_modules/npm/node_modules/undici/lib/web/websocket/receiver.js +14 -0
  280. package/node_modules/npm/node_modules/undici/package.json +1 -1
  281. package/node_modules/npm/package.json +5 -5
  282. package/node_modules/semver/classes/range.js +2 -2
  283. package/node_modules/semver/internal/constants.js +30 -0
  284. package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  285. package/node_modules/semver/package.json +1 -1
  286. package/oclif.manifest.json +1 -1
  287. package/package.json +6 -6
  288. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUtil.cpython-314.pyc +0 -0
  289. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSVersion.cpython-314.pyc +0 -0
  290. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-314.pyc +0 -0
  291. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-314.pyc +0 -0
  292. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-314.pyc +0 -0
  293. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/msvs_emulation.cpython-314.pyc +0 -0
  294. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/ninja_syntax.cpython-314.pyc +0 -0
  295. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-314.pyc +0 -0
  296. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-314.pyc +0 -0
  297. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_ninja.cpython-314.pyc +0 -0
  298. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcodeproj_file.cpython-314.pyc +0 -0
  299. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-314.pyc +0 -0
  300. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/make.cpython-314.pyc +0 -0
  301. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja.cpython-314.pyc +0 -0
  302. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode.cpython-314.pyc +0 -0
  303. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/__init__.cpython-314.pyc +0 -0
  304. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/_structures.cpython-314.pyc +0 -0
  305. 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;;;;;cAK1B,2BAA2B"}
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\n/**\n * @experimental\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;;;;AAKA,MAAa,4BAA4B,IAAI,0BAA0B"}
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.0.0",
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.0.0",
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": "12a5817ad147c186a0e45a6637abd5abf423727a"
99
+ "gitHead": "9985264933cc7d93bfa4cbd02f1de562a050e9ce"
100
100
  }
@@ -2,9 +2,9 @@
2
2
 
3
3
  [![NPM](https://img.shields.io/npm/v/@salesforce/plugin-trust.svg?label=@salesforce/plugin-trust)](https://www.npmjs.com/package/@salesforce/plugin-trust) [![Downloads/week](https://img.shields.io/npm/dw/@salesforce/plugin-trust.svg)](https://npmjs.org/package/@salesforce/plugin-trust) [![License](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](https://opensource.org/license/apache-2-0)
4
4
 
5
- Verify the authenticity of a plugin being installed with `plugins:install`.
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/sfdxcli). 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).
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
- sfdx plugins:install trust@x.y.z
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
- 1. Please read our [Code of Conduct](CODE_OF_CONDUCT.md)
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 install
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:trust
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 sfdx cli
85
- sfdx plugins:link .
68
+ # Link your plugin to the sf cli
69
+ sf plugins link .
86
70
  # To verify
87
- sfdx plugins
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.0/src/commands/plugins/trust/allowlist/add.ts)_
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.0/src/commands/plugins/trust/allowlist/list.ts)_
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.0/src/commands/plugins/trust/allowlist/remove.ts)_
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.0/src/commands/plugins/trust/verify.ts)_
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 -->
@@ -354,5 +354,5 @@
354
354
  ]
355
355
  }
356
356
  },
357
- "version": "4.1.0"
357
+ "version": "4.1.1"
358
358
  }
@@ -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.0",
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.0",
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.0.crt",
259
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/4.1.0.sig"
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
- const hasInvalidName = !file.name || (0, path_1.basename)(file.name) !== file.name;
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
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "basic-ftp",
3
- "version": "6.2.5",
3
+ "version": "6.2.6",
4
4
  "description": "FTP client for Node.js, supports FTPS over TLS, IPv6, Async/Await, and Typescript.",
5
5
  "main": "dist/index",
6
6
  "types": "dist/index",
@@ -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.1 /path/to/npm
26
+ npm@11.21.2 /path/to/npm
27
27
  └─┬ init-package-json@0.0.4
28
28
  └── promzard@0.1.5
29
29
  ```
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces.
14
14
 
15
15
  ### Version
16
16
 
17
- 11.21.1
17
+ 11.21.2
18
18
 
19
19
  ### Description
20
20
 
@@ -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----11211">
189
+ <h1 id="----npm-access----11212">
190
190
  <span>npm-access</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-adduser----11212">
190
190
  <span>npm-adduser</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-approve-scripts----11212">
190
190
  <span>npm-approve-scripts</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-audit----11212">
190
190
  <span>npm-audit</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-bugs----11212">
190
190
  <span>npm-bugs</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-cache----11212">
190
190
  <span>npm-cache</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-ci----11212">
190
190
  <span>npm-ci</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-completion----11212">
190
190
  <span>npm-completion</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-config----11212">
190
190
  <span>npm-config</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-dedupe----11212">
190
190
  <span>npm-dedupe</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-deny-scripts----11212">
190
190
  <span>npm-deny-scripts</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-deprecate----11212">
190
190
  <span>npm-deprecate</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-diff----11212">
190
190
  <span>npm-diff</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-dist-tag----11212">
190
190
  <span>npm-dist-tag</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-docs----11212">
190
190
  <span>npm-docs</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-doctor----11212">
190
190
  <span>npm-doctor</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-edit----11212">
190
190
  <span>npm-edit</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-exec----11212">
190
190
  <span>npm-exec</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-explain----11212">
190
190
  <span>npm-explain</span>
191
- <span class="version">@11.21.1</span>
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----11211">
189
+ <h1 id="----npm-explore----11212">
190
190
  <span>npm-explore</span>
191
- <span class="version">@11.21.1</span>
191
+ <span class="version">@11.21.2</span>
192
192
  </h1>
193
193
  <span class="description">Browse an installed package</span>
194
194
  </header>