@salesforce/cli 2.159.0 → 2.159.2

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 (348) 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/@opentelemetry/semantic-conventions/dist/experimental_attributes.cjs +1461 -176
  56. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.cjs.map +1 -1
  57. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.d.cts +1363 -171
  58. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.d.cts.map +1 -1
  59. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.d.mts +1363 -171
  60. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.d.mts.map +1 -1
  61. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.mjs +1363 -171
  62. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_attributes.mjs.map +1 -1
  63. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.cjs +1 -1
  64. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.cjs.map +1 -1
  65. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.d.cts +1 -1
  66. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.d.mts +1 -1
  67. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.mjs +1 -1
  68. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_events.mjs.map +1 -1
  69. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.cjs +382 -95
  70. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.cjs.map +1 -1
  71. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.d.cts +358 -94
  72. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.d.cts.map +1 -1
  73. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.d.mts +358 -94
  74. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.d.mts.map +1 -1
  75. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.mjs +358 -94
  76. package/node_modules/@opentelemetry/semantic-conventions/dist/experimental_metrics.mjs.map +1 -1
  77. package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.cjs +132 -8
  78. package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.d.cts +5 -5
  79. package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.d.mts +5 -5
  80. package/node_modules/@opentelemetry/semantic-conventions/dist/index-incubating.mjs +5 -5
  81. package/node_modules/@opentelemetry/semantic-conventions/dist/index.cjs +8 -0
  82. package/node_modules/@opentelemetry/semantic-conventions/dist/index.d.cts +3 -3
  83. package/node_modules/@opentelemetry/semantic-conventions/dist/index.d.mts +3 -3
  84. package/node_modules/@opentelemetry/semantic-conventions/dist/index.mjs +3 -3
  85. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.cjs +104 -13
  86. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.cjs.map +1 -1
  87. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.d.cts +99 -14
  88. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.d.cts.map +1 -1
  89. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.d.mts +99 -14
  90. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.d.mts.map +1 -1
  91. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.mjs +99 -14
  92. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.mjs.map +1 -1
  93. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.cjs +16 -0
  94. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.cjs.map +1 -1
  95. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.d.cts +15 -1
  96. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.d.cts.map +1 -1
  97. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.d.mts +15 -1
  98. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.d.mts.map +1 -1
  99. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.mjs +15 -1
  100. package/node_modules/@opentelemetry/semantic-conventions/dist/stable_metrics.mjs.map +1 -1
  101. package/node_modules/@opentelemetry/semantic-conventions/package.json +2 -2
  102. package/node_modules/@salesforce/plugin-trust/README.md +14 -30
  103. package/node_modules/@salesforce/plugin-trust/oclif.manifest.json +1 -1
  104. package/node_modules/@salesforce/plugin-trust/package.json +4 -4
  105. package/node_modules/npm/docs/content/commands/npm-ls.md +1 -1
  106. package/node_modules/npm/docs/content/commands/npm.md +1 -1
  107. package/node_modules/npm/docs/output/commands/npm-access.html +2 -2
  108. package/node_modules/npm/docs/output/commands/npm-adduser.html +2 -2
  109. package/node_modules/npm/docs/output/commands/npm-approve-scripts.html +2 -2
  110. package/node_modules/npm/docs/output/commands/npm-audit.html +2 -2
  111. package/node_modules/npm/docs/output/commands/npm-bugs.html +2 -2
  112. package/node_modules/npm/docs/output/commands/npm-cache.html +2 -2
  113. package/node_modules/npm/docs/output/commands/npm-ci.html +2 -2
  114. package/node_modules/npm/docs/output/commands/npm-completion.html +2 -2
  115. package/node_modules/npm/docs/output/commands/npm-config.html +2 -2
  116. package/node_modules/npm/docs/output/commands/npm-dedupe.html +2 -2
  117. package/node_modules/npm/docs/output/commands/npm-deny-scripts.html +2 -2
  118. package/node_modules/npm/docs/output/commands/npm-deprecate.html +2 -2
  119. package/node_modules/npm/docs/output/commands/npm-diff.html +2 -2
  120. package/node_modules/npm/docs/output/commands/npm-dist-tag.html +2 -2
  121. package/node_modules/npm/docs/output/commands/npm-docs.html +2 -2
  122. package/node_modules/npm/docs/output/commands/npm-doctor.html +2 -2
  123. package/node_modules/npm/docs/output/commands/npm-edit.html +2 -2
  124. package/node_modules/npm/docs/output/commands/npm-exec.html +2 -2
  125. package/node_modules/npm/docs/output/commands/npm-explain.html +2 -2
  126. package/node_modules/npm/docs/output/commands/npm-explore.html +2 -2
  127. package/node_modules/npm/docs/output/commands/npm-find-dupes.html +2 -2
  128. package/node_modules/npm/docs/output/commands/npm-fund.html +2 -2
  129. package/node_modules/npm/docs/output/commands/npm-get.html +2 -2
  130. package/node_modules/npm/docs/output/commands/npm-help-search.html +2 -2
  131. package/node_modules/npm/docs/output/commands/npm-help.html +2 -2
  132. package/node_modules/npm/docs/output/commands/npm-init.html +2 -2
  133. package/node_modules/npm/docs/output/commands/npm-install-ci-test.html +2 -2
  134. package/node_modules/npm/docs/output/commands/npm-install-scripts.html +2 -2
  135. package/node_modules/npm/docs/output/commands/npm-install-test.html +2 -2
  136. package/node_modules/npm/docs/output/commands/npm-install.html +2 -2
  137. package/node_modules/npm/docs/output/commands/npm-link.html +2 -2
  138. package/node_modules/npm/docs/output/commands/npm-ll.html +2 -2
  139. package/node_modules/npm/docs/output/commands/npm-login.html +2 -2
  140. package/node_modules/npm/docs/output/commands/npm-logout.html +2 -2
  141. package/node_modules/npm/docs/output/commands/npm-ls.html +3 -3
  142. package/node_modules/npm/docs/output/commands/npm-org.html +2 -2
  143. package/node_modules/npm/docs/output/commands/npm-outdated.html +2 -2
  144. package/node_modules/npm/docs/output/commands/npm-owner.html +2 -2
  145. package/node_modules/npm/docs/output/commands/npm-pack.html +2 -2
  146. package/node_modules/npm/docs/output/commands/npm-ping.html +2 -2
  147. package/node_modules/npm/docs/output/commands/npm-pkg.html +2 -2
  148. package/node_modules/npm/docs/output/commands/npm-prefix.html +2 -2
  149. package/node_modules/npm/docs/output/commands/npm-profile.html +2 -2
  150. package/node_modules/npm/docs/output/commands/npm-prune.html +2 -2
  151. package/node_modules/npm/docs/output/commands/npm-publish.html +2 -2
  152. package/node_modules/npm/docs/output/commands/npm-query.html +2 -2
  153. package/node_modules/npm/docs/output/commands/npm-rebuild.html +2 -2
  154. package/node_modules/npm/docs/output/commands/npm-repo.html +2 -2
  155. package/node_modules/npm/docs/output/commands/npm-restart.html +2 -2
  156. package/node_modules/npm/docs/output/commands/npm-root.html +2 -2
  157. package/node_modules/npm/docs/output/commands/npm-run.html +2 -2
  158. package/node_modules/npm/docs/output/commands/npm-sbom.html +2 -2
  159. package/node_modules/npm/docs/output/commands/npm-search.html +2 -2
  160. package/node_modules/npm/docs/output/commands/npm-set.html +2 -2
  161. package/node_modules/npm/docs/output/commands/npm-shrinkwrap.html +2 -2
  162. package/node_modules/npm/docs/output/commands/npm-stage.html +2 -2
  163. package/node_modules/npm/docs/output/commands/npm-star.html +2 -2
  164. package/node_modules/npm/docs/output/commands/npm-stars.html +2 -2
  165. package/node_modules/npm/docs/output/commands/npm-start.html +2 -2
  166. package/node_modules/npm/docs/output/commands/npm-stop.html +2 -2
  167. package/node_modules/npm/docs/output/commands/npm-team.html +2 -2
  168. package/node_modules/npm/docs/output/commands/npm-test.html +2 -2
  169. package/node_modules/npm/docs/output/commands/npm-token.html +2 -2
  170. package/node_modules/npm/docs/output/commands/npm-trust.html +2 -2
  171. package/node_modules/npm/docs/output/commands/npm-undeprecate.html +2 -2
  172. package/node_modules/npm/docs/output/commands/npm-uninstall.html +2 -2
  173. package/node_modules/npm/docs/output/commands/npm-unpublish.html +2 -2
  174. package/node_modules/npm/docs/output/commands/npm-unstar.html +2 -2
  175. package/node_modules/npm/docs/output/commands/npm-update.html +2 -2
  176. package/node_modules/npm/docs/output/commands/npm-version.html +2 -2
  177. package/node_modules/npm/docs/output/commands/npm-view.html +2 -2
  178. package/node_modules/npm/docs/output/commands/npm-whoami.html +2 -2
  179. package/node_modules/npm/docs/output/commands/npm.html +3 -3
  180. package/node_modules/npm/docs/output/commands/npx.html +2 -2
  181. package/node_modules/npm/docs/output/configuring-npm/folders.html +2 -2
  182. package/node_modules/npm/docs/output/configuring-npm/install.html +2 -2
  183. package/node_modules/npm/docs/output/configuring-npm/npm-global.html +2 -2
  184. package/node_modules/npm/docs/output/configuring-npm/npm-json.html +2 -2
  185. package/node_modules/npm/docs/output/configuring-npm/npm-shrinkwrap-json.html +2 -2
  186. package/node_modules/npm/docs/output/configuring-npm/npmrc.html +2 -2
  187. package/node_modules/npm/docs/output/configuring-npm/package-json.html +2 -2
  188. package/node_modules/npm/docs/output/configuring-npm/package-lock-json.html +2 -2
  189. package/node_modules/npm/docs/output/using-npm/config.html +2 -2
  190. package/node_modules/npm/docs/output/using-npm/dependency-selectors.html +2 -2
  191. package/node_modules/npm/docs/output/using-npm/developers.html +2 -2
  192. package/node_modules/npm/docs/output/using-npm/logging.html +2 -2
  193. package/node_modules/npm/docs/output/using-npm/orgs.html +2 -2
  194. package/node_modules/npm/docs/output/using-npm/package-spec.html +2 -2
  195. package/node_modules/npm/docs/output/using-npm/registry.html +2 -2
  196. package/node_modules/npm/docs/output/using-npm/removal.html +2 -2
  197. package/node_modules/npm/docs/output/using-npm/scope.html +2 -2
  198. package/node_modules/npm/docs/output/using-npm/scripts.html +2 -2
  199. package/node_modules/npm/docs/output/using-npm/workspaces.html +2 -2
  200. package/node_modules/npm/lib/cli/entry.js +1 -1
  201. package/node_modules/npm/man/man1/npm-access.1 +1 -1
  202. package/node_modules/npm/man/man1/npm-adduser.1 +1 -1
  203. package/node_modules/npm/man/man1/npm-approve-scripts.1 +1 -1
  204. package/node_modules/npm/man/man1/npm-audit.1 +1 -1
  205. package/node_modules/npm/man/man1/npm-bugs.1 +1 -1
  206. package/node_modules/npm/man/man1/npm-cache.1 +1 -1
  207. package/node_modules/npm/man/man1/npm-ci.1 +1 -1
  208. package/node_modules/npm/man/man1/npm-completion.1 +1 -1
  209. package/node_modules/npm/man/man1/npm-config.1 +1 -1
  210. package/node_modules/npm/man/man1/npm-dedupe.1 +1 -1
  211. package/node_modules/npm/man/man1/npm-deny-scripts.1 +1 -1
  212. package/node_modules/npm/man/man1/npm-deprecate.1 +1 -1
  213. package/node_modules/npm/man/man1/npm-diff.1 +1 -1
  214. package/node_modules/npm/man/man1/npm-dist-tag.1 +1 -1
  215. package/node_modules/npm/man/man1/npm-docs.1 +1 -1
  216. package/node_modules/npm/man/man1/npm-doctor.1 +1 -1
  217. package/node_modules/npm/man/man1/npm-edit.1 +1 -1
  218. package/node_modules/npm/man/man1/npm-exec.1 +1 -1
  219. package/node_modules/npm/man/man1/npm-explain.1 +1 -1
  220. package/node_modules/npm/man/man1/npm-explore.1 +1 -1
  221. package/node_modules/npm/man/man1/npm-find-dupes.1 +1 -1
  222. package/node_modules/npm/man/man1/npm-fund.1 +1 -1
  223. package/node_modules/npm/man/man1/npm-get.1 +1 -1
  224. package/node_modules/npm/man/man1/npm-help-search.1 +1 -1
  225. package/node_modules/npm/man/man1/npm-help.1 +1 -1
  226. package/node_modules/npm/man/man1/npm-init.1 +1 -1
  227. package/node_modules/npm/man/man1/npm-install-ci-test.1 +1 -1
  228. package/node_modules/npm/man/man1/npm-install-scripts.1 +1 -1
  229. package/node_modules/npm/man/man1/npm-install-test.1 +1 -1
  230. package/node_modules/npm/man/man1/npm-install.1 +1 -1
  231. package/node_modules/npm/man/man1/npm-link.1 +1 -1
  232. package/node_modules/npm/man/man1/npm-ll.1 +1 -1
  233. package/node_modules/npm/man/man1/npm-login.1 +1 -1
  234. package/node_modules/npm/man/man1/npm-logout.1 +1 -1
  235. package/node_modules/npm/man/man1/npm-ls.1 +2 -2
  236. package/node_modules/npm/man/man1/npm-org.1 +1 -1
  237. package/node_modules/npm/man/man1/npm-outdated.1 +1 -1
  238. package/node_modules/npm/man/man1/npm-owner.1 +1 -1
  239. package/node_modules/npm/man/man1/npm-pack.1 +1 -1
  240. package/node_modules/npm/man/man1/npm-ping.1 +1 -1
  241. package/node_modules/npm/man/man1/npm-pkg.1 +1 -1
  242. package/node_modules/npm/man/man1/npm-prefix.1 +1 -1
  243. package/node_modules/npm/man/man1/npm-profile.1 +1 -1
  244. package/node_modules/npm/man/man1/npm-prune.1 +1 -1
  245. package/node_modules/npm/man/man1/npm-publish.1 +1 -1
  246. package/node_modules/npm/man/man1/npm-query.1 +1 -1
  247. package/node_modules/npm/man/man1/npm-rebuild.1 +1 -1
  248. package/node_modules/npm/man/man1/npm-repo.1 +1 -1
  249. package/node_modules/npm/man/man1/npm-restart.1 +1 -1
  250. package/node_modules/npm/man/man1/npm-root.1 +1 -1
  251. package/node_modules/npm/man/man1/npm-run.1 +1 -1
  252. package/node_modules/npm/man/man1/npm-sbom.1 +1 -1
  253. package/node_modules/npm/man/man1/npm-search.1 +1 -1
  254. package/node_modules/npm/man/man1/npm-set.1 +1 -1
  255. package/node_modules/npm/man/man1/npm-shrinkwrap.1 +1 -1
  256. package/node_modules/npm/man/man1/npm-stage.1 +1 -1
  257. package/node_modules/npm/man/man1/npm-star.1 +1 -1
  258. package/node_modules/npm/man/man1/npm-stars.1 +1 -1
  259. package/node_modules/npm/man/man1/npm-start.1 +1 -1
  260. package/node_modules/npm/man/man1/npm-stop.1 +1 -1
  261. package/node_modules/npm/man/man1/npm-team.1 +1 -1
  262. package/node_modules/npm/man/man1/npm-test.1 +1 -1
  263. package/node_modules/npm/man/man1/npm-token.1 +1 -1
  264. package/node_modules/npm/man/man1/npm-trust.1 +1 -1
  265. package/node_modules/npm/man/man1/npm-undeprecate.1 +1 -1
  266. package/node_modules/npm/man/man1/npm-uninstall.1 +1 -1
  267. package/node_modules/npm/man/man1/npm-unpublish.1 +1 -1
  268. package/node_modules/npm/man/man1/npm-unstar.1 +1 -1
  269. package/node_modules/npm/man/man1/npm-update.1 +1 -1
  270. package/node_modules/npm/man/man1/npm-version.1 +1 -1
  271. package/node_modules/npm/man/man1/npm-view.1 +1 -1
  272. package/node_modules/npm/man/man1/npm-whoami.1 +1 -1
  273. package/node_modules/npm/man/man1/npm.1 +2 -2
  274. package/node_modules/npm/man/man1/npx.1 +1 -1
  275. package/node_modules/npm/man/man5/folders.5 +1 -1
  276. package/node_modules/npm/man/man5/install.5 +1 -1
  277. package/node_modules/npm/man/man5/npm-global.5 +1 -1
  278. package/node_modules/npm/man/man5/npm-json.5 +1 -1
  279. package/node_modules/npm/man/man5/npm-shrinkwrap-json.5 +1 -1
  280. package/node_modules/npm/man/man5/npmrc.5 +1 -1
  281. package/node_modules/npm/man/man5/package-json.5 +1 -1
  282. package/node_modules/npm/man/man5/package-lock-json.5 +1 -1
  283. package/node_modules/npm/man/man7/config.7 +1 -1
  284. package/node_modules/npm/man/man7/dependency-selectors.7 +1 -1
  285. package/node_modules/npm/man/man7/developers.7 +1 -1
  286. package/node_modules/npm/man/man7/logging.7 +1 -1
  287. package/node_modules/npm/man/man7/orgs.7 +1 -1
  288. package/node_modules/npm/man/man7/package-spec.7 +1 -1
  289. package/node_modules/npm/man/man7/registry.7 +1 -1
  290. package/node_modules/npm/man/man7/removal.7 +1 -1
  291. package/node_modules/npm/man/man7/scope.7 +1 -1
  292. package/node_modules/npm/man/man7/scripts.7 +1 -1
  293. package/node_modules/npm/man/man7/workspaces.7 +1 -1
  294. package/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js +9 -2
  295. package/node_modules/npm/node_modules/@npmcli/promise-spawn/package.json +3 -2
  296. package/node_modules/npm/node_modules/bin-links/lib/get-paths.js +2 -0
  297. package/node_modules/npm/node_modules/bin-links/package.json +2 -1
  298. package/node_modules/npm/node_modules/ip-address/dist/common.js +2 -2
  299. package/node_modules/npm/node_modules/ip-address/dist/ipv4.js +7 -0
  300. package/node_modules/npm/node_modules/ip-address/dist/ipv6.js +7 -4
  301. package/node_modules/npm/node_modules/ip-address/dist/v6/constants.js +3 -0
  302. package/node_modules/npm/node_modules/ip-address/package.json +3 -2
  303. package/node_modules/npm/node_modules/libnpmexec/README.md +9 -1
  304. package/node_modules/npm/node_modules/libnpmexec/lib/index.js +6 -2
  305. package/node_modules/npm/node_modules/libnpmexec/lib/run-script.js +22 -5
  306. package/node_modules/npm/node_modules/libnpmexec/package.json +1 -1
  307. package/node_modules/npm/node_modules/pacote/lib/registry.js +71 -2
  308. package/node_modules/npm/node_modules/pacote/package.json +3 -2
  309. package/node_modules/npm/node_modules/semver/classes/range.js +2 -2
  310. package/node_modules/npm/node_modules/semver/internal/constants.js +30 -0
  311. package/node_modules/npm/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  312. package/node_modules/npm/node_modules/semver/package.json +1 -1
  313. package/node_modules/npm/node_modules/undici/docs/docs/api/Client.md +2 -0
  314. package/node_modules/npm/node_modules/undici/lib/dispatcher/agent.js +6 -2
  315. package/node_modules/npm/node_modules/undici/lib/dispatcher/client-h1.js +0 -2
  316. package/node_modules/npm/node_modules/undici/lib/dispatcher/client-h2.js +0 -4
  317. package/node_modules/npm/node_modules/undici/lib/dispatcher/client.js +3 -2
  318. package/node_modules/npm/node_modules/undici/lib/dispatcher/dispatcher-base.js +9 -0
  319. package/node_modules/npm/node_modules/undici/lib/web/eventsource/eventsource-stream.js +91 -10
  320. package/node_modules/npm/node_modules/undici/lib/web/eventsource/eventsource.js +4 -1
  321. package/node_modules/npm/node_modules/undici/lib/web/fetch/index.js +7 -9
  322. package/node_modules/npm/node_modules/undici/lib/web/websocket/receiver.js +14 -0
  323. package/node_modules/npm/node_modules/undici/package.json +1 -1
  324. package/node_modules/npm/package.json +5 -5
  325. package/node_modules/semver/classes/range.js +2 -2
  326. package/node_modules/semver/internal/constants.js +30 -0
  327. package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  328. package/node_modules/semver/package.json +1 -1
  329. package/oclif.manifest.json +1 -1
  330. package/package.json +6 -6
  331. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUtil.cpython-314.pyc +0 -0
  332. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSVersion.cpython-314.pyc +0 -0
  333. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-314.pyc +0 -0
  334. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-314.pyc +0 -0
  335. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-314.pyc +0 -0
  336. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/msvs_emulation.cpython-314.pyc +0 -0
  337. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/ninja_syntax.cpython-314.pyc +0 -0
  338. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-314.pyc +0 -0
  339. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-314.pyc +0 -0
  340. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_ninja.cpython-314.pyc +0 -0
  341. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcodeproj_file.cpython-314.pyc +0 -0
  342. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-314.pyc +0 -0
  343. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/make.cpython-314.pyc +0 -0
  344. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja.cpython-314.pyc +0 -0
  345. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode.cpython-314.pyc +0 -0
  346. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/__init__.cpython-314.pyc +0 -0
  347. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/_structures.cpython-314.pyc +0 -0
  348. package/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/version.cpython-314.pyc +0 -0
@@ -16,13 +16,14 @@
16
16
  "bigint",
17
17
  "browser"
18
18
  ],
19
- "version": "10.7.2",
19
+ "version": "10.7.5",
20
20
  "author": "Beau Gunderson <beau@beaugunderson.com> (https://beaugunderson.com/)",
21
21
  "license": "MIT",
22
22
  "main": "dist/ip-address.js",
23
23
  "types": "dist/ip-address.d.ts",
24
24
  "scripts": {
25
25
  "docs": "tsx scripts/build-readme.ts",
26
+ "docs:check": "tsx scripts/build-readme.ts --check",
26
27
  "build": "rm -rf dist; mkdir dist; tsc",
27
28
  "prepack": "npm run docs && npm run build",
28
29
  "prepare": "git config core.hooksPath hooks || true",
@@ -79,7 +80,7 @@
79
80
  "eslint-plugin-import": "^2.32.0",
80
81
  "eslint-plugin-prettier": "^5.5.5",
81
82
  "eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
82
- "mocha": "^11.7.5",
83
+ "mocha": "^12.0.3",
83
84
  "monocart-coverage-reports": "^2.12.11",
84
85
  "prettier": "^3.8.3",
85
86
  "source-map-support": "^0.5.21",
@@ -28,7 +28,7 @@ await libexec({
28
28
 
29
29
  - `opts`:
30
30
  - `args`: List of pkgs to execute **Array<String>**, defaults to `[]`
31
- - `call`: An alternative command to run when using `packages` option **String**, defaults to empty string.
31
+ - `call`: An alternative shell script to run when using `packages` option **String**, defaults to empty string. Unlike an executable selected from `args` or a package's `bin`, this is intentionally interpreted as shell syntax.
32
32
  - `cache`: The path location to where the npm cache folder is placed **String**
33
33
  - `npxCache`: The path location to where the npx cache folder is placed **String**
34
34
  - `chalk`: Chalk instance to use for colors? **Required**
@@ -42,6 +42,14 @@ await libexec({
42
42
  - `yes`: Should skip download confirmation prompt when fetching missing packages from the registry? **Boolean**
43
43
  - `registry`, `cache`, and more options that are forwarded to [@npmcli/arborist](https://github.com/npm/cli/blob/latest/workspaces/arborist/README.md) and [pacote](https://github.com/npm/pacote/#options) **Object**
44
44
 
45
+ Executable names are escaped for the selected shell, including POSIX shells and
46
+ PowerShell used on Windows. For inferred PowerShell invocations, arguments are
47
+ also escaped as literal strings. With `cmd.exe`, executable names containing double
48
+ quotes, percent signs, exclamation marks, or control characters are rejected
49
+ with `EINVALIDCOMMAND`. Use a bin name without these characters. On a matching
50
+ npx-cache hit, command selection uses the installed package's `bin` rather than
51
+ the registry's bin metadata.
52
+
45
53
  ## LICENSE
46
54
 
47
55
  [ISC](./LICENSE)
@@ -267,8 +267,8 @@ const exec = async (opts) => {
267
267
  })
268
268
  const lockPath = join(installDir, 'concurrency.lock')
269
269
  const npxTree = await withLock(lockPath, () => npxArb.loadActual())
270
- await Promise.all(needInstall.map(async ({ spec }) => {
271
- const { manifest } = await missingFromTree({
270
+ await Promise.all(needInstall.map(async ({ spec, manifest: requestedManifest }) => {
271
+ const { manifest, node } = await missingFromTree({
272
272
  spec,
273
273
  tree: npxTree,
274
274
  flatOptions,
@@ -281,6 +281,10 @@ const exec = async (opts) => {
281
281
  } else {
282
282
  add.push(manifest._id)
283
283
  }
284
+ } else if (needPackageCommandSwap && commandManifest === requestedManifest) {
285
+ // A cache hit must use the installed bin, not mutable registry metadata.
286
+ commandManifest = node.package
287
+ args[0] = getBinFromManifest(commandManifest)
284
288
  }
285
289
  }))
286
290
 
@@ -3,7 +3,10 @@ const runScript = require('@npmcli/run-script')
3
3
  const pkgJson = require('@npmcli/package-json')
4
4
  const { log, output } = require('proc-log')
5
5
  const noTTY = require('./no-tty.js')
6
- const isWindowsShell = require('./is-windows.js')
6
+ const isWindows = require('./is-windows.js')
7
+
8
+ const isCmd = shell => /(?:^|[\\/])cmd(?:\.exe)?$/i.test(shell)
9
+ const isPowerShell = shell => /(?:^|[\\/])(?:powershell|pwsh)(?:\.exe)?$/i.test(shell)
7
10
 
8
11
  const run = async ({
9
12
  args,
@@ -15,10 +18,24 @@ const run = async ({
15
18
  runPath,
16
19
  scriptShell,
17
20
  }) => {
18
- // escape executable path
19
- // necessary for preventing bash/cmd keywords from overriding
20
- if (!isWindowsShell) {
21
- if (args.length > 0) {
21
+ if (!call && args.length > 0) {
22
+ const shell = scriptShell || (isWindows ? process.env.ComSpec || 'cmd' : 'sh')
23
+ if (isCmd(shell)) {
24
+ // Variable expansion (including delayed expansion) and embedded quotes
25
+ // cannot be safely escaped here. Control characters are invalid filenames.
26
+ if (/["%!]/.test(args[0]) || [...args[0]].some(c => c.charCodeAt(0) < 32)) {
27
+ throw Object.assign(
28
+ new Error(`Invalid executable name for cmd.exe: ${JSON.stringify(args[0])}`),
29
+ { code: 'EINVALIDCOMMAND' }
30
+ )
31
+ }
32
+ // Protect both cmd.exe's metacharacter parsing and executable-name parsing.
33
+ args[0] = `"${args[0]}"`.replace(/[ ^&()<>|";,*?=@]/g, '^$&')
34
+ } else if (isPowerShell(shell)) {
35
+ // Encode the whole invocation to avoid promise-spawn's POSIX argument escaping.
36
+ const quotedArgs = args.map(arg => `'${arg.replace(/['\u2018-\u201b]/g, '$&$&')}'`)
37
+ args = [`& ${quotedArgs.join(' ')}`]
38
+ } else {
22
39
  // single-quote so shell metacharacters in the executable name are taken
23
40
  // literally; double quotes still expand $(), backticks, $var and "
24
41
  args[0] = `'${args[0].replace(/'/g, `'\\''`)}'`
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libnpmexec",
3
- "version": "10.3.4",
3
+ "version": "10.3.5",
4
4
  "files": [
5
5
  "bin/",
6
6
  "lib/"
@@ -113,6 +113,70 @@ class RegistryFetcher extends Fetcher {
113
113
  }
114
114
  }
115
115
 
116
+ // Registry signatures and attestations authenticate `name@version`, so the
117
+ // manifest must claim the requested name and be listed under its own
118
+ // version. Otherwise a registry could replay validly signed metadata from
119
+ // another package (or another version) and have it verify as this one.
120
+ #verifyManifestIdentity (packument, picked) {
121
+ const pickedId = `${picked.name}@${picked.version}`
122
+ if (picked.name !== this.spec.name) {
123
+ const message = [
124
+ `${this.spec.name} registry manifest has mismatched package name:`,
125
+ `expected ${this.spec.name} but got ${pickedId}`,
126
+ ].join(' ')
127
+ throw Object.assign(new Error(message), {
128
+ code: 'EMANIFESTMISMATCH',
129
+ expected: this.spec.name,
130
+ found: pickedId,
131
+ })
132
+ }
133
+ if (picked._id && picked._id !== pickedId) {
134
+ const message = [
135
+ `${pickedId} registry manifest has mismatched id:`,
136
+ `expected ${pickedId} but got ${picked._id}`,
137
+ ].join(' ')
138
+ throw Object.assign(new Error(message), {
139
+ code: 'EMANIFESTMISMATCH',
140
+ expected: pickedId,
141
+ found: picked._id,
142
+ })
143
+ }
144
+
145
+ // without dist there are no signatures or attestations to authenticate
146
+ if (!picked.dist) {
147
+ return
148
+ }
149
+
150
+ // npm-pick-manifest may return a shallow copy, so match on the dist object
151
+ const matchesPickedManifest = manifest => manifest.dist === picked.dist
152
+ const versionCollections = [
153
+ packument.versions,
154
+ packument.stagedVersions?.versions,
155
+ packument.policyRestrictions?.versions,
156
+ ]
157
+ const matchingVersionKeys = []
158
+ for (const manifestsByVersion of versionCollections) {
159
+ for (const versionKey in manifestsByVersion) {
160
+ if (Object.hasOwn(manifestsByVersion, versionKey) &&
161
+ matchesPickedManifest(manifestsByVersion[versionKey])) {
162
+ matchingVersionKeys.push(versionKey)
163
+ }
164
+ }
165
+ }
166
+
167
+ if (matchingVersionKeys.some(versionKey => versionKey !== picked.version)) {
168
+ const message = [
169
+ `${pickedId} registry manifest has mismatched version:`,
170
+ `listed in the packument as ${matchingVersionKeys.join(', ')}`,
171
+ ].join(' ')
172
+ throw Object.assign(new Error(message), {
173
+ code: 'EMANIFESTMISMATCH',
174
+ expected: matchingVersionKeys,
175
+ found: pickedId,
176
+ })
177
+ }
178
+ }
179
+
116
180
  async manifest () {
117
181
  if (this.package) {
118
182
  return this.package
@@ -127,11 +191,16 @@ class RegistryFetcher extends Fetcher {
127
191
 
128
192
  const packument = await this.packument()
129
193
  const steps = PackageJson.normalizeSteps.filter(s => s !== '_attributes')
130
- const mani = await new PackageJson().fromContent(pickManifest(packument, this.spec.fetchSpec, {
194
+ const picked = pickManifest(packument, this.spec.fetchSpec, {
131
195
  ...this.opts,
132
196
  defaultTag: this.defaultTag,
133
197
  before: this.before,
134
- })).normalize({ steps }).then(p => p.content)
198
+ })
199
+ if (this.opts.verifySignatures || this.opts.verifyAttestations) {
200
+ this.#verifyManifestIdentity(packument, picked)
201
+ }
202
+ const mani = await new PackageJson().fromContent(picked)
203
+ .normalize({ steps }).then(p => p.content)
135
204
 
136
205
  /* XXX add ETARGET and E403 revalidation of cached packuments here */
137
206
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacote",
3
- "version": "21.5.1",
3
+ "version": "21.5.2",
4
4
  "description": "JavaScript package downloader",
5
5
  "author": "GitHub Inc.",
6
6
  "bin": {
@@ -75,6 +75,7 @@
75
75
  "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
76
76
  "version": "5.1.0",
77
77
  "windowsCI": false,
78
- "publish": "true"
78
+ "publish": "true",
79
+ "backport": 21
79
80
  }
80
81
  }
@@ -119,7 +119,7 @@ class Range {
119
119
  debug('hyphen replace', range)
120
120
 
121
121
  // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
122
- range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)
122
+ range = trimComparatorWhitespace(range)
123
123
  debug('comparator trim', range)
124
124
 
125
125
  // `~ 1.2.3` => `~1.2.3`
@@ -224,11 +224,11 @@ const parseOptions = require('../internal/parse-options')
224
224
  const Comparator = require('./comparator')
225
225
  const debug = require('../internal/debug')
226
226
  const SemVer = require('./semver')
227
+ const trimComparatorWhitespace = require('../internal/trim-comparator-whitespace')
227
228
  const {
228
229
  safeRe: re,
229
230
  src,
230
231
  t,
231
- comparatorTrimReplace,
232
232
  tildeTrimReplace,
233
233
  caretTrimReplace,
234
234
  } = require('../internal/re')
@@ -15,6 +15,35 @@ const MAX_SAFE_COMPONENT_LENGTH = 16
15
15
  // the shortest version with a build 0.0.0+BUILD.
16
16
  const MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6
17
17
 
18
+ // ECMAScript whitespace and line terminators matched by \s.
19
+ const WHITESPACE_CHARACTERS = [
20
+ '\t',
21
+ '\n',
22
+ '\v',
23
+ '\f',
24
+ '\r',
25
+ ' ',
26
+ '\u00a0',
27
+ '\u1680',
28
+ '\u2000',
29
+ '\u2001',
30
+ '\u2002',
31
+ '\u2003',
32
+ '\u2004',
33
+ '\u2005',
34
+ '\u2006',
35
+ '\u2007',
36
+ '\u2008',
37
+ '\u2009',
38
+ '\u200a',
39
+ '\u2028',
40
+ '\u2029',
41
+ '\u202f',
42
+ '\u205f',
43
+ '\u3000',
44
+ '\ufeff',
45
+ ]
46
+
18
47
  const RELEASE_TYPES = [
19
48
  'major',
20
49
  'premajor',
@@ -30,6 +59,7 @@ module.exports = {
30
59
  MAX_SAFE_COMPONENT_LENGTH,
31
60
  MAX_SAFE_BUILD_LENGTH,
32
61
  MAX_SAFE_INTEGER,
62
+ WHITESPACE_CHARACTERS,
33
63
  RELEASE_TYPES,
34
64
  SEMVER_SPEC_VERSION,
35
65
  FLAG_INCLUDE_PRERELEASE: 0b001,