@patternfly-java/charts 0.0.1 → 0.0.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 (2206) hide show
  1. package/.parcel-cache/data.mdb +0 -0
  2. package/.parcel-cache/lock.mdb +0 -0
  3. package/{src/demo/html/index.html → demo.html} +1 -1
  4. package/{target/classes/org/patternfly/chart → dist}/charts.js +41 -56
  5. package/dist/charts.js.map +1 -0
  6. package/dist/demo.html +60744 -0
  7. package/package.json +4 -4
  8. package/node/node +0 -0
  9. package/node/node_modules/corepack/CHANGELOG.md +0 -541
  10. package/node/node_modules/corepack/LICENSE.md +0 -7
  11. package/node/node_modules/corepack/README.md +0 -381
  12. package/node/node_modules/corepack/dist/corepack.js +0 -4
  13. package/node/node_modules/corepack/dist/lib/corepack.cjs +0 -23689
  14. package/node/node_modules/corepack/dist/npm.js +0 -4
  15. package/node/node_modules/corepack/dist/npx.js +0 -4
  16. package/node/node_modules/corepack/dist/pnpm.js +0 -4
  17. package/node/node_modules/corepack/dist/pnpx.js +0 -4
  18. package/node/node_modules/corepack/dist/yarn.js +0 -4
  19. package/node/node_modules/corepack/dist/yarnpkg.js +0 -4
  20. package/node/node_modules/corepack/package.json +0 -102
  21. package/node/node_modules/corepack/shims/corepack +0 -12
  22. package/node/node_modules/corepack/shims/corepack.cmd +0 -7
  23. package/node/node_modules/corepack/shims/corepack.ps1 +0 -28
  24. package/node/node_modules/corepack/shims/nodewin/corepack +0 -12
  25. package/node/node_modules/corepack/shims/nodewin/corepack.cmd +0 -7
  26. package/node/node_modules/corepack/shims/nodewin/corepack.ps1 +0 -28
  27. package/node/node_modules/corepack/shims/nodewin/npm +0 -12
  28. package/node/node_modules/corepack/shims/nodewin/npm.cmd +0 -7
  29. package/node/node_modules/corepack/shims/nodewin/npm.ps1 +0 -28
  30. package/node/node_modules/corepack/shims/nodewin/npx +0 -12
  31. package/node/node_modules/corepack/shims/nodewin/npx.cmd +0 -7
  32. package/node/node_modules/corepack/shims/nodewin/npx.ps1 +0 -28
  33. package/node/node_modules/corepack/shims/nodewin/pnpm +0 -12
  34. package/node/node_modules/corepack/shims/nodewin/pnpm.cmd +0 -7
  35. package/node/node_modules/corepack/shims/nodewin/pnpm.ps1 +0 -28
  36. package/node/node_modules/corepack/shims/nodewin/pnpx +0 -12
  37. package/node/node_modules/corepack/shims/nodewin/pnpx.cmd +0 -7
  38. package/node/node_modules/corepack/shims/nodewin/pnpx.ps1 +0 -28
  39. package/node/node_modules/corepack/shims/nodewin/yarn +0 -12
  40. package/node/node_modules/corepack/shims/nodewin/yarn.cmd +0 -7
  41. package/node/node_modules/corepack/shims/nodewin/yarn.ps1 +0 -28
  42. package/node/node_modules/corepack/shims/nodewin/yarnpkg +0 -12
  43. package/node/node_modules/corepack/shims/nodewin/yarnpkg.cmd +0 -7
  44. package/node/node_modules/corepack/shims/nodewin/yarnpkg.ps1 +0 -28
  45. package/node/node_modules/corepack/shims/npm +0 -12
  46. package/node/node_modules/corepack/shims/npm.cmd +0 -7
  47. package/node/node_modules/corepack/shims/npm.ps1 +0 -28
  48. package/node/node_modules/corepack/shims/npx +0 -12
  49. package/node/node_modules/corepack/shims/npx.cmd +0 -7
  50. package/node/node_modules/corepack/shims/npx.ps1 +0 -28
  51. package/node/node_modules/corepack/shims/pnpm +0 -12
  52. package/node/node_modules/corepack/shims/pnpm.cmd +0 -7
  53. package/node/node_modules/corepack/shims/pnpm.ps1 +0 -28
  54. package/node/node_modules/corepack/shims/pnpx +0 -12
  55. package/node/node_modules/corepack/shims/pnpx.cmd +0 -7
  56. package/node/node_modules/corepack/shims/pnpx.ps1 +0 -28
  57. package/node/node_modules/corepack/shims/yarn +0 -12
  58. package/node/node_modules/corepack/shims/yarn.cmd +0 -7
  59. package/node/node_modules/corepack/shims/yarn.ps1 +0 -28
  60. package/node/node_modules/corepack/shims/yarnpkg +0 -12
  61. package/node/node_modules/corepack/shims/yarnpkg.cmd +0 -7
  62. package/node/node_modules/corepack/shims/yarnpkg.ps1 +0 -28
  63. package/node/node_modules/npm/LICENSE +0 -235
  64. package/node/node_modules/npm/README.md +0 -55
  65. package/node/node_modules/npm/bin/node-gyp-bin/node-gyp +0 -6
  66. package/node/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +0 -5
  67. package/node/node_modules/npm/bin/npm +0 -65
  68. package/node/node_modules/npm/bin/npm-cli.js +0 -2
  69. package/node/node_modules/npm/bin/npm-prefix.js +0 -30
  70. package/node/node_modules/npm/bin/npm.cmd +0 -20
  71. package/node/node_modules/npm/bin/npm.ps1 +0 -50
  72. package/node/node_modules/npm/bin/npx +0 -65
  73. package/node/node_modules/npm/bin/npx-cli.js +0 -130
  74. package/node/node_modules/npm/bin/npx.cmd +0 -20
  75. package/node/node_modules/npm/bin/npx.ps1 +0 -50
  76. package/node/node_modules/npm/docs/content/commands/npm-access.md +0 -123
  77. package/node/node_modules/npm/docs/content/commands/npm-adduser.md +0 -88
  78. package/node/node_modules/npm/docs/content/commands/npm-audit.md +0 -478
  79. package/node/node_modules/npm/docs/content/commands/npm-bugs.md +0 -109
  80. package/node/node_modules/npm/docs/content/commands/npm-cache.md +0 -92
  81. package/node/node_modules/npm/docs/content/commands/npm-ci.md +0 -318
  82. package/node/node_modules/npm/docs/content/commands/npm-completion.md +0 -41
  83. package/node/node_modules/npm/docs/content/commands/npm-config.md +0 -182
  84. package/node/node_modules/npm/docs/content/commands/npm-dedupe.md +0 -320
  85. package/node/node_modules/npm/docs/content/commands/npm-deprecate.md +0 -88
  86. package/node/node_modules/npm/docs/content/commands/npm-diff.md +0 -319
  87. package/node/node_modules/npm/docs/content/commands/npm-dist-tag.md +0 -154
  88. package/node/node_modules/npm/docs/content/commands/npm-docs.md +0 -108
  89. package/node/node_modules/npm/docs/content/commands/npm-doctor.md +0 -123
  90. package/node/node_modules/npm/docs/content/commands/npm-edit.md +0 -46
  91. package/node/node_modules/npm/docs/content/commands/npm-exec.md +0 -366
  92. package/node/node_modules/npm/docs/content/commands/npm-explain.md +0 -105
  93. package/node/node_modules/npm/docs/content/commands/npm-explore.md +0 -49
  94. package/node/node_modules/npm/docs/content/commands/npm-find-dupes.md +0 -246
  95. package/node/node_modules/npm/docs/content/commands/npm-fund.md +0 -145
  96. package/node/node_modules/npm/docs/content/commands/npm-help-search.md +0 -40
  97. package/node/node_modules/npm/docs/content/commands/npm-help.md +0 -46
  98. package/node/node_modules/npm/docs/content/commands/npm-init.md +0 -373
  99. package/node/node_modules/npm/docs/content/commands/npm-install-ci-test.md +0 -265
  100. package/node/node_modules/npm/docs/content/commands/npm-install-test.md +0 -389
  101. package/node/node_modules/npm/docs/content/commands/npm-install.md +0 -823
  102. package/node/node_modules/npm/docs/content/commands/npm-link.md +0 -396
  103. package/node/node_modules/npm/docs/content/commands/npm-login.md +0 -95
  104. package/node/node_modules/npm/docs/content/commands/npm-logout.md +0 -75
  105. package/node/node_modules/npm/docs/content/commands/npm-ls.md +0 -266
  106. package/node/node_modules/npm/docs/content/commands/npm-org.md +0 -114
  107. package/node/node_modules/npm/docs/content/commands/npm-outdated.md +0 -196
  108. package/node/node_modules/npm/docs/content/commands/npm-owner.md +0 -106
  109. package/node/node_modules/npm/docs/content/commands/npm-pack.md +0 -140
  110. package/node/node_modules/npm/docs/content/commands/npm-ping.md +0 -46
  111. package/node/node_modules/npm/docs/content/commands/npm-pkg.md +0 -272
  112. package/node/node_modules/npm/docs/content/commands/npm-prefix.md +0 -59
  113. package/node/node_modules/npm/docs/content/commands/npm-profile.md +0 -120
  114. package/node/node_modules/npm/docs/content/commands/npm-prune.md +0 -197
  115. package/node/node_modules/npm/docs/content/commands/npm-publish.md +0 -241
  116. package/node/node_modules/npm/docs/content/commands/npm-query.md +0 -272
  117. package/node/node_modules/npm/docs/content/commands/npm-rebuild.md +0 -169
  118. package/node/node_modules/npm/docs/content/commands/npm-repo.md +0 -102
  119. package/node/node_modules/npm/docs/content/commands/npm-restart.md +0 -70
  120. package/node/node_modules/npm/docs/content/commands/npm-root.md +0 -51
  121. package/node/node_modules/npm/docs/content/commands/npm-run.md +0 -254
  122. package/node/node_modules/npm/docs/content/commands/npm-sbom.md +0 -318
  123. package/node/node_modules/npm/docs/content/commands/npm-search.md +0 -160
  124. package/node/node_modules/npm/docs/content/commands/npm-shrinkwrap.md +0 -32
  125. package/node/node_modules/npm/docs/content/commands/npm-star.md +0 -78
  126. package/node/node_modules/npm/docs/content/commands/npm-stars.md +0 -40
  127. package/node/node_modules/npm/docs/content/commands/npm-start.md +0 -80
  128. package/node/node_modules/npm/docs/content/commands/npm-stop.md +0 -73
  129. package/node/node_modules/npm/docs/content/commands/npm-team.md +0 -155
  130. package/node/node_modules/npm/docs/content/commands/npm-test.md +0 -70
  131. package/node/node_modules/npm/docs/content/commands/npm-token.md +0 -112
  132. package/node/node_modules/npm/docs/content/commands/npm-undeprecate.md +0 -63
  133. package/node/node_modules/npm/docs/content/commands/npm-uninstall.md +0 -159
  134. package/node/node_modules/npm/docs/content/commands/npm-unpublish.md +0 -136
  135. package/node/node_modules/npm/docs/content/commands/npm-unstar.md +0 -74
  136. package/node/node_modules/npm/docs/content/commands/npm-update.md +0 -463
  137. package/node/node_modules/npm/docs/content/commands/npm-version.md +0 -235
  138. package/node/node_modules/npm/docs/content/commands/npm-view.md +0 -200
  139. package/node/node_modules/npm/docs/content/commands/npm-whoami.md +0 -41
  140. package/node/node_modules/npm/docs/content/commands/npm.md +0 -175
  141. package/node/node_modules/npm/docs/content/commands/npx.md +0 -168
  142. package/node/node_modules/npm/docs/content/configuring-npm/folders.md +0 -210
  143. package/node/node_modules/npm/docs/content/configuring-npm/install.md +0 -71
  144. package/node/node_modules/npm/docs/content/configuring-npm/npm-shrinkwrap-json.md +0 -34
  145. package/node/node_modules/npm/docs/content/configuring-npm/npmrc.md +0 -144
  146. package/node/node_modules/npm/docs/content/configuring-npm/package-json.md +0 -1250
  147. package/node/node_modules/npm/docs/content/configuring-npm/package-lock-json.md +0 -237
  148. package/node/node_modules/npm/docs/content/using-npm/config.md +0 -2053
  149. package/node/node_modules/npm/docs/content/using-npm/dependency-selectors.md +0 -223
  150. package/node/node_modules/npm/docs/content/using-npm/developers.md +0 -247
  151. package/node/node_modules/npm/docs/content/using-npm/logging.md +0 -96
  152. package/node/node_modules/npm/docs/content/using-npm/orgs.md +0 -93
  153. package/node/node_modules/npm/docs/content/using-npm/package-spec.md +0 -105
  154. package/node/node_modules/npm/docs/content/using-npm/registry.md +0 -83
  155. package/node/node_modules/npm/docs/content/using-npm/removal.md +0 -60
  156. package/node/node_modules/npm/docs/content/using-npm/scope.md +0 -143
  157. package/node/node_modules/npm/docs/content/using-npm/scripts.md +0 -373
  158. package/node/node_modules/npm/docs/content/using-npm/workspaces.md +0 -226
  159. package/node/node_modules/npm/docs/lib/index.js +0 -189
  160. package/node/node_modules/npm/docs/output/commands/npm-access.html +0 -270
  161. package/node/node_modules/npm/docs/output/commands/npm-adduser.html +0 -227
  162. package/node/node_modules/npm/docs/output/commands/npm-audit.html +0 -517
  163. package/node/node_modules/npm/docs/output/commands/npm-bugs.html +0 -251
  164. package/node/node_modules/npm/docs/output/commands/npm-cache.html +0 -246
  165. package/node/node_modules/npm/docs/output/commands/npm-ci.html +0 -406
  166. package/node/node_modules/npm/docs/output/commands/npm-completion.html +0 -194
  167. package/node/node_modules/npm/docs/output/commands/npm-config.html +0 -291
  168. package/node/node_modules/npm/docs/output/commands/npm-dedupe.html +0 -403
  169. package/node/node_modules/npm/docs/output/commands/npm-deprecate.html +0 -225
  170. package/node/node_modules/npm/docs/output/commands/npm-diff.html +0 -407
  171. package/node/node_modules/npm/docs/output/commands/npm-dist-tag.html +0 -289
  172. package/node/node_modules/npm/docs/output/commands/npm-docs.html +0 -250
  173. package/node/node_modules/npm/docs/output/commands/npm-doctor.html +0 -262
  174. package/node/node_modules/npm/docs/output/commands/npm-edit.html +0 -198
  175. package/node/node_modules/npm/docs/output/commands/npm-exec.html +0 -443
  176. package/node/node_modules/npm/docs/output/commands/npm-explain.html +0 -250
  177. package/node/node_modules/npm/docs/output/commands/npm-explore.html +0 -198
  178. package/node/node_modules/npm/docs/output/commands/npm-find-dupes.html +0 -349
  179. package/node/node_modules/npm/docs/output/commands/npm-fund.html +0 -275
  180. package/node/node_modules/npm/docs/output/commands/npm-help-search.html +0 -192
  181. package/node/node_modules/npm/docs/output/commands/npm-help.html +0 -198
  182. package/node/node_modules/npm/docs/output/commands/npm-init.html +0 -446
  183. package/node/node_modules/npm/docs/output/commands/npm-install-ci-test.html +0 -364
  184. package/node/node_modules/npm/docs/output/commands/npm-install-test.html +0 -454
  185. package/node/node_modules/npm/docs/output/commands/npm-install.html +0 -816
  186. package/node/node_modules/npm/docs/output/commands/npm-link.html +0 -458
  187. package/node/node_modules/npm/docs/output/commands/npm-login.html +0 -231
  188. package/node/node_modules/npm/docs/output/commands/npm-logout.html +0 -217
  189. package/node/node_modules/npm/docs/output/commands/npm-ls.html +0 -365
  190. package/node/node_modules/npm/docs/output/commands/npm-org.html +0 -239
  191. package/node/node_modules/npm/docs/output/commands/npm-outdated.html +0 -327
  192. package/node/node_modules/npm/docs/output/commands/npm-owner.html +0 -251
  193. package/node/node_modules/npm/docs/output/commands/npm-pack.html +0 -274
  194. package/node/node_modules/npm/docs/output/commands/npm-ping.html +0 -197
  195. package/node/node_modules/npm/docs/output/commands/npm-pkg.html +0 -372
  196. package/node/node_modules/npm/docs/output/commands/npm-prefix.html +0 -208
  197. package/node/node_modules/npm/docs/output/commands/npm-profile.html +0 -269
  198. package/node/node_modules/npm/docs/output/commands/npm-prune.html +0 -313
  199. package/node/node_modules/npm/docs/output/commands/npm-publish.html +0 -361
  200. package/node/node_modules/npm/docs/output/commands/npm-query.html +0 -394
  201. package/node/node_modules/npm/docs/output/commands/npm-rebuild.html +0 -297
  202. package/node/node_modules/npm/docs/output/commands/npm-repo.html +0 -244
  203. package/node/node_modules/npm/docs/output/commands/npm-restart.html +0 -219
  204. package/node/node_modules/npm/docs/output/commands/npm-root.html +0 -203
  205. package/node/node_modules/npm/docs/output/commands/npm-run.html +0 -354
  206. package/node/node_modules/npm/docs/output/commands/npm-sbom.html +0 -447
  207. package/node/node_modules/npm/docs/output/commands/npm-search.html +0 -281
  208. package/node/node_modules/npm/docs/output/commands/npm-shrinkwrap.html +0 -190
  209. package/node/node_modules/npm/docs/output/commands/npm-star.html +0 -217
  210. package/node/node_modules/npm/docs/output/commands/npm-stars.html +0 -193
  211. package/node/node_modules/npm/docs/output/commands/npm-start.html +0 -222
  212. package/node/node_modules/npm/docs/output/commands/npm-stop.html +0 -217
  213. package/node/node_modules/npm/docs/output/commands/npm-team.html +0 -280
  214. package/node/node_modules/npm/docs/output/commands/npm-test.html +0 -215
  215. package/node/node_modules/npm/docs/output/commands/npm-token.html +0 -256
  216. package/node/node_modules/npm/docs/output/commands/npm-undeprecate.html +0 -209
  217. package/node/node_modules/npm/docs/output/commands/npm-uninstall.html +0 -286
  218. package/node/node_modules/npm/docs/output/commands/npm-unpublish.html +0 -275
  219. package/node/node_modules/npm/docs/output/commands/npm-unstar.html +0 -214
  220. package/node/node_modules/npm/docs/output/commands/npm-update.html +0 -507
  221. package/node/node_modules/npm/docs/output/commands/npm-version.html +0 -349
  222. package/node/node_modules/npm/docs/output/commands/npm-view.html +0 -305
  223. package/node/node_modules/npm/docs/output/commands/npm-whoami.html +0 -193
  224. package/node/node_modules/npm/docs/output/commands/npm.html +0 -304
  225. package/node/node_modules/npm/docs/output/commands/npx.html +0 -293
  226. package/node/node_modules/npm/docs/output/configuring-npm/folders.html +0 -324
  227. package/node/node_modules/npm/docs/output/configuring-npm/install.html +0 -222
  228. package/node/node_modules/npm/docs/output/configuring-npm/npm-global.html +0 -324
  229. package/node/node_modules/npm/docs/output/configuring-npm/npm-json.html +0 -1121
  230. package/node/node_modules/npm/docs/output/configuring-npm/npm-shrinkwrap-json.html +0 -192
  231. package/node/node_modules/npm/docs/output/configuring-npm/npmrc.html +0 -276
  232. package/node/node_modules/npm/docs/output/configuring-npm/package-json.html +0 -1121
  233. package/node/node_modules/npm/docs/output/configuring-npm/package-lock-json.html +0 -399
  234. package/node/node_modules/npm/docs/output/using-npm/config.html +0 -1645
  235. package/node/node_modules/npm/docs/output/using-npm/dependency-selectors.html +0 -356
  236. package/node/node_modules/npm/docs/output/using-npm/developers.html +0 -361
  237. package/node/node_modules/npm/docs/output/using-npm/logging.html +0 -236
  238. package/node/node_modules/npm/docs/output/using-npm/orgs.html +0 -244
  239. package/node/node_modules/npm/docs/output/using-npm/package-spec.html +0 -263
  240. package/node/node_modules/npm/docs/output/using-npm/registry.html +0 -232
  241. package/node/node_modules/npm/docs/output/using-npm/removal.html +0 -205
  242. package/node/node_modules/npm/docs/output/using-npm/scope.html +0 -265
  243. package/node/node_modules/npm/docs/output/using-npm/scripts.html +0 -493
  244. package/node/node_modules/npm/docs/output/using-npm/workspaces.html +0 -321
  245. package/node/node_modules/npm/index.js +0 -5
  246. package/node/node_modules/npm/lib/arborist-cmd.js +0 -53
  247. package/node/node_modules/npm/lib/base-cmd.js +0 -214
  248. package/node/node_modules/npm/lib/cli/entry.js +0 -72
  249. package/node/node_modules/npm/lib/cli/exit-handler.js +0 -174
  250. package/node/node_modules/npm/lib/cli/update-notifier.js +0 -121
  251. package/node/node_modules/npm/lib/cli/validate-engines.js +0 -47
  252. package/node/node_modules/npm/lib/cli.js +0 -12
  253. package/node/node_modules/npm/lib/commands/access.js +0 -226
  254. package/node/node_modules/npm/lib/commands/adduser.js +0 -50
  255. package/node/node_modules/npm/lib/commands/audit.js +0 -121
  256. package/node/node_modules/npm/lib/commands/bugs.js +0 -34
  257. package/node/node_modules/npm/lib/commands/cache.js +0 -370
  258. package/node/node_modules/npm/lib/commands/ci.js +0 -129
  259. package/node/node_modules/npm/lib/commands/completion.js +0 -283
  260. package/node/node_modules/npm/lib/commands/config.js +0 -401
  261. package/node/node_modules/npm/lib/commands/dedupe.js +0 -51
  262. package/node/node_modules/npm/lib/commands/deprecate.js +0 -86
  263. package/node/node_modules/npm/lib/commands/diff.js +0 -291
  264. package/node/node_modules/npm/lib/commands/dist-tag.js +0 -209
  265. package/node/node_modules/npm/lib/commands/docs.js +0 -21
  266. package/node/node_modules/npm/lib/commands/doctor.js +0 -346
  267. package/node/node_modules/npm/lib/commands/edit.js +0 -64
  268. package/node/node_modules/npm/lib/commands/exec.js +0 -110
  269. package/node/node_modules/npm/lib/commands/explain.js +0 -130
  270. package/node/node_modules/npm/lib/commands/explore.js +0 -74
  271. package/node/node_modules/npm/lib/commands/find-dupes.js +0 -28
  272. package/node/node_modules/npm/lib/commands/fund.js +0 -221
  273. package/node/node_modules/npm/lib/commands/get.js +0 -23
  274. package/node/node_modules/npm/lib/commands/help-search.js +0 -195
  275. package/node/node_modules/npm/lib/commands/help.js +0 -117
  276. package/node/node_modules/npm/lib/commands/init.js +0 -247
  277. package/node/node_modules/npm/lib/commands/install-ci-test.js +0 -15
  278. package/node/node_modules/npm/lib/commands/install-test.js +0 -15
  279. package/node/node_modules/npm/lib/commands/install.js +0 -176
  280. package/node/node_modules/npm/lib/commands/link.js +0 -189
  281. package/node/node_modules/npm/lib/commands/ll.js +0 -13
  282. package/node/node_modules/npm/lib/commands/login.js +0 -50
  283. package/node/node_modules/npm/lib/commands/logout.js +0 -50
  284. package/node/node_modules/npm/lib/commands/ls.js +0 -579
  285. package/node/node_modules/npm/lib/commands/org.js +0 -150
  286. package/node/node_modules/npm/lib/commands/outdated.js +0 -289
  287. package/node/node_modules/npm/lib/commands/owner.js +0 -233
  288. package/node/node_modules/npm/lib/commands/pack.js +0 -87
  289. package/node/node_modules/npm/lib/commands/ping.js +0 -30
  290. package/node/node_modules/npm/lib/commands/pkg.js +0 -129
  291. package/node/node_modules/npm/lib/commands/prefix.js +0 -14
  292. package/node/node_modules/npm/lib/commands/profile.js +0 -383
  293. package/node/node_modules/npm/lib/commands/prune.js +0 -34
  294. package/node/node_modules/npm/lib/commands/publish.js +0 -284
  295. package/node/node_modules/npm/lib/commands/query.js +0 -126
  296. package/node/node_modules/npm/lib/commands/rebuild.js +0 -84
  297. package/node/node_modules/npm/lib/commands/repo.js +0 -55
  298. package/node/node_modules/npm/lib/commands/restart.js +0 -13
  299. package/node/node_modules/npm/lib/commands/root.js +0 -14
  300. package/node/node_modules/npm/lib/commands/run.js +0 -222
  301. package/node/node_modules/npm/lib/commands/sbom.js +0 -132
  302. package/node/node_modules/npm/lib/commands/search.js +0 -70
  303. package/node/node_modules/npm/lib/commands/set.js +0 -26
  304. package/node/node_modules/npm/lib/commands/shrinkwrap.js +0 -73
  305. package/node/node_modules/npm/lib/commands/star.js +0 -72
  306. package/node/node_modules/npm/lib/commands/stars.js +0 -39
  307. package/node/node_modules/npm/lib/commands/start.js +0 -13
  308. package/node/node_modules/npm/lib/commands/stop.js +0 -13
  309. package/node/node_modules/npm/lib/commands/team.js +0 -155
  310. package/node/node_modules/npm/lib/commands/test.js +0 -13
  311. package/node/node_modules/npm/lib/commands/token.js +0 -195
  312. package/node/node_modules/npm/lib/commands/undeprecate.js +0 -13
  313. package/node/node_modules/npm/lib/commands/uninstall.js +0 -56
  314. package/node/node_modules/npm/lib/commands/unpublish.js +0 -179
  315. package/node/node_modules/npm/lib/commands/unstar.js +0 -8
  316. package/node/node_modules/npm/lib/commands/update.js +0 -69
  317. package/node/node_modules/npm/lib/commands/version.js +0 -150
  318. package/node/node_modules/npm/lib/commands/view.js +0 -490
  319. package/node/node_modules/npm/lib/commands/whoami.js +0 -20
  320. package/node/node_modules/npm/lib/lifecycle-cmd.js +0 -20
  321. package/node/node_modules/npm/lib/npm.js +0 -476
  322. package/node/node_modules/npm/lib/package-url-cmd.js +0 -64
  323. package/node/node_modules/npm/lib/utils/audit-error.js +0 -40
  324. package/node/node_modules/npm/lib/utils/auth.js +0 -109
  325. package/node/node_modules/npm/lib/utils/cmd-list.js +0 -178
  326. package/node/node_modules/npm/lib/utils/completion.fish +0 -40
  327. package/node/node_modules/npm/lib/utils/completion.sh +0 -70
  328. package/node/node_modules/npm/lib/utils/did-you-mean.js +0 -33
  329. package/node/node_modules/npm/lib/utils/display.js +0 -539
  330. package/node/node_modules/npm/lib/utils/error-message.js +0 -451
  331. package/node/node_modules/npm/lib/utils/explain-dep.js +0 -103
  332. package/node/node_modules/npm/lib/utils/explain-eresolve.js +0 -71
  333. package/node/node_modules/npm/lib/utils/format-bytes.js +0 -30
  334. package/node/node_modules/npm/lib/utils/format-search-stream.js +0 -173
  335. package/node/node_modules/npm/lib/utils/format.js +0 -53
  336. package/node/node_modules/npm/lib/utils/get-identity.js +0 -26
  337. package/node/node_modules/npm/lib/utils/get-workspaces.js +0 -54
  338. package/node/node_modules/npm/lib/utils/installed-deep.js +0 -45
  339. package/node/node_modules/npm/lib/utils/installed-shallow.js +0 -19
  340. package/node/node_modules/npm/lib/utils/is-windows.js +0 -4
  341. package/node/node_modules/npm/lib/utils/log-file.js +0 -261
  342. package/node/node_modules/npm/lib/utils/npm-usage.js +0 -74
  343. package/node/node_modules/npm/lib/utils/oidc.js +0 -176
  344. package/node/node_modules/npm/lib/utils/open-url.js +0 -98
  345. package/node/node_modules/npm/lib/utils/output-error.js +0 -29
  346. package/node/node_modules/npm/lib/utils/ping.js +0 -7
  347. package/node/node_modules/npm/lib/utils/queryable.js +0 -310
  348. package/node/node_modules/npm/lib/utils/read-user-info.js +0 -67
  349. package/node/node_modules/npm/lib/utils/reify-finish.js +0 -33
  350. package/node/node_modules/npm/lib/utils/reify-output.js +0 -225
  351. package/node/node_modules/npm/lib/utils/sbom-cyclonedx.js +0 -196
  352. package/node/node_modules/npm/lib/utils/sbom-spdx.js +0 -192
  353. package/node/node_modules/npm/lib/utils/tar.js +0 -109
  354. package/node/node_modules/npm/lib/utils/timers.js +0 -89
  355. package/node/node_modules/npm/lib/utils/update-workspaces.js +0 -40
  356. package/node/node_modules/npm/lib/utils/validate-lockfile.js +0 -29
  357. package/node/node_modules/npm/lib/utils/verify-signatures.js +0 -377
  358. package/node/node_modules/npm/man/man1/npm-access.1 +0 -115
  359. package/node/node_modules/npm/man/man1/npm-adduser.1 +0 -93
  360. package/node/node_modules/npm/man/man1/npm-audit.1 +0 -448
  361. package/node/node_modules/npm/man/man1/npm-bugs.1 +0 -115
  362. package/node/node_modules/npm/man/man1/npm-cache.1 +0 -96
  363. package/node/node_modules/npm/man/man1/npm-ci.1 +0 -289
  364. package/node/node_modules/npm/man/man1/npm-completion.1 +0 -35
  365. package/node/node_modules/npm/man/man1/npm-config.1 +0 -187
  366. package/node/node_modules/npm/man/man1/npm-dedupe.1 +0 -290
  367. package/node/node_modules/npm/man/man1/npm-deprecate.1 +0 -85
  368. package/node/node_modules/npm/man/man1/npm-diff.1 +0 -310
  369. package/node/node_modules/npm/man/man1/npm-dist-tag.1 +0 -144
  370. package/node/node_modules/npm/man/man1/npm-docs.1 +0 -113
  371. package/node/node_modules/npm/man/man1/npm-doctor.1 +0 -82
  372. package/node/node_modules/npm/man/man1/npm-edit.1 +0 -43
  373. package/node/node_modules/npm/man/man1/npm-exec.1 +0 -350
  374. package/node/node_modules/npm/man/man1/npm-explain.1 +0 -118
  375. package/node/node_modules/npm/man/man1/npm-explore.1 +0 -49
  376. package/node/node_modules/npm/man/man1/npm-find-dupes.1 +0 -225
  377. package/node/node_modules/npm/man/man1/npm-fund.1 +0 -142
  378. package/node/node_modules/npm/man/man1/npm-help-search.1 +0 -37
  379. package/node/node_modules/npm/man/man1/npm-help.1 +0 -47
  380. package/node/node_modules/npm/man/man1/npm-init.1 +0 -394
  381. package/node/node_modules/npm/man/man1/npm-install-ci-test.1 +0 -239
  382. package/node/node_modules/npm/man/man1/npm-install-test.1 +0 -358
  383. package/node/node_modules/npm/man/man1/npm-install.1 +0 -774
  384. package/node/node_modules/npm/man/man1/npm-link.1 +0 -355
  385. package/node/node_modules/npm/man/man1/npm-login.1 +0 -97
  386. package/node/node_modules/npm/man/man1/npm-logout.1 +0 -75
  387. package/node/node_modules/npm/man/man1/npm-ls.1 +0 -271
  388. package/node/node_modules/npm/man/man1/npm-org.1 +0 -125
  389. package/node/node_modules/npm/man/man1/npm-outdated.1 +0 -196
  390. package/node/node_modules/npm/man/man1/npm-owner.1 +0 -110
  391. package/node/node_modules/npm/man/man1/npm-pack.1 +0 -142
  392. package/node/node_modules/npm/man/man1/npm-ping.1 +0 -52
  393. package/node/node_modules/npm/man/man1/npm-pkg.1 +0 -286
  394. package/node/node_modules/npm/man/man1/npm-prefix.1 +0 -63
  395. package/node/node_modules/npm/man/man1/npm-profile.1 +0 -126
  396. package/node/node_modules/npm/man/man1/npm-prune.1 +0 -184
  397. package/node/node_modules/npm/man/man1/npm-publish.1 +0 -226
  398. package/node/node_modules/npm/man/man1/npm-query.1 +0 -281
  399. package/node/node_modules/npm/man/man1/npm-rebuild.1 +0 -178
  400. package/node/node_modules/npm/man/man1/npm-repo.1 +0 -103
  401. package/node/node_modules/npm/man/man1/npm-restart.1 +0 -85
  402. package/node/node_modules/npm/man/man1/npm-root.1 +0 -56
  403. package/node/node_modules/npm/man/man1/npm-run.1 +0 -234
  404. package/node/node_modules/npm/man/man1/npm-sbom.1 +0 -314
  405. package/node/node_modules/npm/man/man1/npm-search.1 +0 -156
  406. package/node/node_modules/npm/man/man1/npm-shrinkwrap.1 +0 -32
  407. package/node/node_modules/npm/man/man1/npm-star.1 +0 -76
  408. package/node/node_modules/npm/man/man1/npm-stars.1 +0 -41
  409. package/node/node_modules/npm/man/man1/npm-start.1 +0 -79
  410. package/node/node_modules/npm/man/man1/npm-stop.1 +0 -75
  411. package/node/node_modules/npm/man/man1/npm-team.1 +0 -148
  412. package/node/node_modules/npm/man/man1/npm-test.1 +0 -73
  413. package/node/node_modules/npm/man/man1/npm-token.1 +0 -112
  414. package/node/node_modules/npm/man/man1/npm-undeprecate.1 +0 -57
  415. package/node/node_modules/npm/man/man1/npm-uninstall.1 +0 -159
  416. package/node/node_modules/npm/man/man1/npm-unpublish.1 +0 -137
  417. package/node/node_modules/npm/man/man1/npm-unstar.1 +0 -70
  418. package/node/node_modules/npm/man/man1/npm-update.1 +0 -418
  419. package/node/node_modules/npm/man/man1/npm-version.1 +0 -229
  420. package/node/node_modules/npm/man/man1/npm-view.1 +0 -213
  421. package/node/node_modules/npm/man/man1/npm-whoami.1 +0 -39
  422. package/node/node_modules/npm/man/man1/npm.1 +0 -131
  423. package/node/node_modules/npm/man/man1/npx.1 +0 -156
  424. package/node/node_modules/npm/man/man5/folders.5 +0 -147
  425. package/node/node_modules/npm/man/man5/install.5 +0 -54
  426. package/node/node_modules/npm/man/man5/npm-global.5 +0 -147
  427. package/node/node_modules/npm/man/man5/npm-json.5 +0 -1160
  428. package/node/node_modules/npm/man/man5/npm-shrinkwrap-json.5 +0 -23
  429. package/node/node_modules/npm/man/man5/npmrc.5 +0 -135
  430. package/node/node_modules/npm/man/man5/package-json.5 +0 -1160
  431. package/node/node_modules/npm/man/man5/package-lock-json.5 +0 -158
  432. package/node/node_modules/npm/man/man7/config.7 +0 -2081
  433. package/node/node_modules/npm/man/man7/dependency-selectors.7 +0 -331
  434. package/node/node_modules/npm/man/man7/developers.7 +0 -234
  435. package/node/node_modules/npm/man/man7/logging.7 +0 -108
  436. package/node/node_modules/npm/man/man7/orgs.7 +0 -145
  437. package/node/node_modules/npm/man/man7/package-spec.7 +0 -126
  438. package/node/node_modules/npm/man/man7/registry.7 +0 -49
  439. package/node/node_modules/npm/man/man7/removal.7 +0 -54
  440. package/node/node_modules/npm/man/man7/scope.7 +0 -113
  441. package/node/node_modules/npm/man/man7/scripts.7 +0 -423
  442. package/node/node_modules/npm/man/man7/workspaces.7 +0 -214
  443. package/node/node_modules/npm/node_modules/@isaacs/balanced-match/LICENSE.md +0 -23
  444. package/node/node_modules/npm/node_modules/@isaacs/balanced-match/dist/commonjs/index.js +0 -59
  445. package/node/node_modules/npm/node_modules/@isaacs/balanced-match/dist/commonjs/package.json +0 -3
  446. package/node/node_modules/npm/node_modules/@isaacs/balanced-match/dist/esm/index.js +0 -54
  447. package/node/node_modules/npm/node_modules/@isaacs/balanced-match/dist/esm/package.json +0 -3
  448. package/node/node_modules/npm/node_modules/@isaacs/balanced-match/package.json +0 -79
  449. package/node/node_modules/npm/node_modules/@isaacs/brace-expansion/LICENSE +0 -23
  450. package/node/node_modules/npm/node_modules/@isaacs/brace-expansion/dist/commonjs/index.js +0 -196
  451. package/node/node_modules/npm/node_modules/@isaacs/brace-expansion/dist/commonjs/package.json +0 -3
  452. package/node/node_modules/npm/node_modules/@isaacs/brace-expansion/dist/esm/index.js +0 -193
  453. package/node/node_modules/npm/node_modules/@isaacs/brace-expansion/dist/esm/package.json +0 -3
  454. package/node/node_modules/npm/node_modules/@isaacs/brace-expansion/package.json +0 -71
  455. package/node/node_modules/npm/node_modules/@isaacs/cliui/LICENSE.txt +0 -14
  456. package/node/node_modules/npm/node_modules/@isaacs/cliui/build/index.cjs +0 -317
  457. package/node/node_modules/npm/node_modules/@isaacs/cliui/build/index.d.cts +0 -43
  458. package/node/node_modules/npm/node_modules/@isaacs/cliui/build/lib/index.js +0 -302
  459. package/node/node_modules/npm/node_modules/@isaacs/cliui/index.mjs +0 -14
  460. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js +0 -14
  461. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/license +0 -9
  462. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/package.json +0 -61
  463. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  464. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/RGI_Emoji.js +0 -6
  465. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/RGI_Emoji.js +0 -6
  466. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/index.js +0 -6
  467. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/text.js +0 -6
  468. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/index.js +0 -6
  469. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/package.json +0 -52
  470. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/text.js +0 -6
  471. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/index.js +0 -54
  472. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/license +0 -9
  473. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/package.json +0 -59
  474. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js +0 -14
  475. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/license +0 -9
  476. package/node/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +0 -59
  477. package/node/node_modules/npm/node_modules/@isaacs/cliui/package.json +0 -86
  478. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/LICENSE +0 -15
  479. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +0 -430
  480. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +0 -3
  481. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/esm/index.js +0 -420
  482. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/esm/package.json +0 -3
  483. package/node/node_modules/npm/node_modules/@isaacs/fs-minipass/package.json +0 -72
  484. package/node/node_modules/npm/node_modules/@isaacs/string-locale-compare/LICENSE +0 -15
  485. package/node/node_modules/npm/node_modules/@isaacs/string-locale-compare/index.js +0 -42
  486. package/node/node_modules/npm/node_modules/@isaacs/string-locale-compare/package.json +0 -28
  487. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/agents.js +0 -206
  488. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/dns.js +0 -53
  489. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/errors.js +0 -61
  490. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/index.js +0 -56
  491. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/options.js +0 -86
  492. package/node/node_modules/npm/node_modules/@npmcli/agent/lib/proxy.js +0 -88
  493. package/node/node_modules/npm/node_modules/@npmcli/agent/package.json +0 -60
  494. package/node/node_modules/npm/node_modules/@npmcli/arborist/LICENSE.md +0 -20
  495. package/node/node_modules/npm/node_modules/@npmcli/arborist/README.md +0 -315
  496. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/actual.js +0 -19
  497. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/audit.js +0 -51
  498. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/funding.js +0 -38
  499. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/ideal.js +0 -14
  500. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/index.js +0 -112
  501. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/logging.js +0 -77
  502. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/options.js +0 -123
  503. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/print-tree.js +0 -4
  504. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/timers.js +0 -33
  505. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/license.js +0 -48
  506. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/prune.js +0 -48
  507. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/reify.js +0 -48
  508. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/shrinkwrap.js +0 -7
  509. package/node/node_modules/npm/node_modules/@npmcli/arborist/bin/virtual.js +0 -14
  510. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/add-rm-pkg-deps.js +0 -143
  511. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js +0 -1594
  512. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/index.js +0 -280
  513. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/isolated-reifier.js +0 -453
  514. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/load-actual.js +0 -442
  515. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/load-virtual.js +0 -306
  516. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js +0 -403
  517. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js +0 -1551
  518. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js +0 -328
  519. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js +0 -145
  520. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/can-place-dep.js +0 -436
  521. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/case-insensitive-map.js +0 -50
  522. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/consistent-resolve.js +0 -44
  523. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/debug.js +0 -32
  524. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/deepest-nesting-target.js +0 -18
  525. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/dep-valid.js +0 -150
  526. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/diff.js +0 -328
  527. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/edge.js +0 -358
  528. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/from-path.js +0 -30
  529. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/gather-dep-set.js +0 -43
  530. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/index.js +0 -6
  531. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/inventory.js +0 -138
  532. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/link.js +0 -126
  533. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/node.js +0 -1618
  534. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/optional-set.js +0 -38
  535. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/override-resolves.js +0 -11
  536. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/override-set.js +0 -209
  537. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/packument-cache.js +0 -77
  538. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/peer-entry-sets.js +0 -77
  539. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/place-dep.js +0 -569
  540. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/printable.js +0 -198
  541. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/query-selector-all.js +0 -945
  542. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/realpath.js +0 -95
  543. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/relpath.js +0 -3
  544. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/reset-dep-flags.js +0 -15
  545. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/retire-path.js +0 -19
  546. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/shrinkwrap.js +0 -1196
  547. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/signal-handling.js +0 -74
  548. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/signals.js +0 -58
  549. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/spec-from-lock.js +0 -34
  550. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/tracker.js +0 -86
  551. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/tree-check.js +0 -155
  552. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/version-from-tgz.js +0 -47
  553. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/vuln.js +0 -214
  554. package/node/node_modules/npm/node_modules/@npmcli/arborist/lib/yarn-lock.js +0 -377
  555. package/node/node_modules/npm/node_modules/@npmcli/arborist/package.json +0 -98
  556. package/node/node_modules/npm/node_modules/@npmcli/config/LICENSE +0 -15
  557. package/node/node_modules/npm/node_modules/@npmcli/config/README.md +0 -257
  558. package/node/node_modules/npm/node_modules/@npmcli/config/lib/definitions/definition.js +0 -253
  559. package/node/node_modules/npm/node_modules/@npmcli/config/lib/definitions/definitions.js +0 -2312
  560. package/node/node_modules/npm/node_modules/@npmcli/config/lib/definitions/index.js +0 -80
  561. package/node/node_modules/npm/node_modules/@npmcli/config/lib/env-replace.js +0 -16
  562. package/node/node_modules/npm/node_modules/@npmcli/config/lib/errors.js +0 -23
  563. package/node/node_modules/npm/node_modules/@npmcli/config/lib/index.js +0 -977
  564. package/node/node_modules/npm/node_modules/@npmcli/config/lib/nerf-dart.js +0 -18
  565. package/node/node_modules/npm/node_modules/@npmcli/config/lib/parse-field.js +0 -86
  566. package/node/node_modules/npm/node_modules/@npmcli/config/lib/set-envs.js +0 -113
  567. package/node/node_modules/npm/node_modules/@npmcli/config/lib/type-defs.js +0 -61
  568. package/node/node_modules/npm/node_modules/@npmcli/config/lib/type-description.js +0 -21
  569. package/node/node_modules/npm/node_modules/@npmcli/config/lib/umask.js +0 -35
  570. package/node/node_modules/npm/node_modules/@npmcli/config/package.json +0 -57
  571. package/node/node_modules/npm/node_modules/@npmcli/fs/LICENSE.md +0 -20
  572. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/common/get-options.js +0 -20
  573. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/common/node.js +0 -9
  574. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/cp/LICENSE +0 -15
  575. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/cp/errors.js +0 -129
  576. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/cp/index.js +0 -22
  577. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/cp/polyfill.js +0 -428
  578. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/index.js +0 -13
  579. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/move-file.js +0 -78
  580. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/readdir-scoped.js +0 -20
  581. package/node/node_modules/npm/node_modules/@npmcli/fs/lib/with-temp-dir.js +0 -39
  582. package/node/node_modules/npm/node_modules/@npmcli/fs/package.json +0 -54
  583. package/node/node_modules/npm/node_modules/@npmcli/git/LICENSE +0 -15
  584. package/node/node_modules/npm/node_modules/@npmcli/git/lib/clone.js +0 -172
  585. package/node/node_modules/npm/node_modules/@npmcli/git/lib/errors.js +0 -36
  586. package/node/node_modules/npm/node_modules/@npmcli/git/lib/find.js +0 -15
  587. package/node/node_modules/npm/node_modules/@npmcli/git/lib/index.js +0 -9
  588. package/node/node_modules/npm/node_modules/@npmcli/git/lib/is-clean.js +0 -6
  589. package/node/node_modules/npm/node_modules/@npmcli/git/lib/is.js +0 -4
  590. package/node/node_modules/npm/node_modules/@npmcli/git/lib/lines-to-revs.js +0 -147
  591. package/node/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js +0 -33
  592. package/node/node_modules/npm/node_modules/@npmcli/git/lib/opts.js +0 -57
  593. package/node/node_modules/npm/node_modules/@npmcli/git/lib/revs.js +0 -22
  594. package/node/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js +0 -44
  595. package/node/node_modules/npm/node_modules/@npmcli/git/lib/utils.js +0 -3
  596. package/node/node_modules/npm/node_modules/@npmcli/git/lib/which.js +0 -18
  597. package/node/node_modules/npm/node_modules/@npmcli/git/package.json +0 -58
  598. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/LICENSE +0 -15
  599. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/README.md +0 -109
  600. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/bin/index.js +0 -44
  601. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/lib/index.js +0 -181
  602. package/node/node_modules/npm/node_modules/@npmcli/installed-package-contents/package.json +0 -52
  603. package/node/node_modules/npm/node_modules/@npmcli/map-workspaces/LICENSE.md +0 -20
  604. package/node/node_modules/npm/node_modules/@npmcli/map-workspaces/lib/index.js +0 -226
  605. package/node/node_modules/npm/node_modules/@npmcli/map-workspaces/package.json +0 -61
  606. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/LICENSE +0 -15
  607. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/advisory.js +0 -435
  608. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/get-dep-spec.js +0 -15
  609. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/hash.js +0 -5
  610. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/index.js +0 -128
  611. package/node/node_modules/npm/node_modules/@npmcli/metavuln-calculator/package.json +0 -62
  612. package/node/node_modules/npm/node_modules/@npmcli/name-from-folder/LICENSE +0 -15
  613. package/node/node_modules/npm/node_modules/@npmcli/name-from-folder/lib/index.js +0 -7
  614. package/node/node_modules/npm/node_modules/@npmcli/name-from-folder/package.json +0 -45
  615. package/node/node_modules/npm/node_modules/@npmcli/node-gyp/LICENSE +0 -7
  616. package/node/node_modules/npm/node_modules/@npmcli/node-gyp/lib/index.js +0 -14
  617. package/node/node_modules/npm/node_modules/@npmcli/node-gyp/package.json +0 -50
  618. package/node/node_modules/npm/node_modules/@npmcli/package-json/LICENSE +0 -18
  619. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/index.js +0 -296
  620. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/normalize-data.js +0 -254
  621. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/normalize.js +0 -614
  622. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/read-package.js +0 -39
  623. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/sort.js +0 -101
  624. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/update-dependencies.js +0 -75
  625. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/update-scripts.js +0 -29
  626. package/node/node_modules/npm/node_modules/@npmcli/package-json/lib/update-workspaces.js +0 -26
  627. package/node/node_modules/npm/node_modules/@npmcli/package-json/package.json +0 -59
  628. package/node/node_modules/npm/node_modules/@npmcli/promise-spawn/LICENSE +0 -15
  629. package/node/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/escape.js +0 -68
  630. package/node/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js +0 -218
  631. package/node/node_modules/npm/node_modules/@npmcli/promise-spawn/package.json +0 -51
  632. package/node/node_modules/npm/node_modules/@npmcli/query/LICENSE +0 -20
  633. package/node/node_modules/npm/node_modules/@npmcli/query/lib/index.js +0 -255
  634. package/node/node_modules/npm/node_modules/@npmcli/query/package.json +0 -64
  635. package/node/node_modules/npm/node_modules/@npmcli/redact/LICENSE +0 -21
  636. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/deep-map.js +0 -71
  637. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/error.js +0 -28
  638. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/index.js +0 -44
  639. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/matchers.js +0 -88
  640. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/server.js +0 -59
  641. package/node/node_modules/npm/node_modules/@npmcli/redact/lib/utils.js +0 -202
  642. package/node/node_modules/npm/node_modules/@npmcli/redact/package.json +0 -52
  643. package/node/node_modules/npm/node_modules/@npmcli/run-script/LICENSE +0 -15
  644. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/is-server-package.js +0 -11
  645. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/make-spawn-args.js +0 -53
  646. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp +0 -2
  647. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp.cmd +0 -1
  648. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/package-envs.js +0 -29
  649. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js +0 -114
  650. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js +0 -15
  651. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/set-path.js +0 -45
  652. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/signal-manager.js +0 -50
  653. package/node/node_modules/npm/node_modules/@npmcli/run-script/lib/validate-options.js +0 -39
  654. package/node/node_modules/npm/node_modules/@npmcli/run-script/package.json +0 -54
  655. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/LICENSE +0 -201
  656. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/is-default-value.js +0 -25
  657. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +0 -35
  658. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/negate.js +0 -43
  659. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +0 -31
  660. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +0 -41
  661. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +0 -26
  662. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/index.js +0 -396
  663. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/internal/errors.js +0 -47
  664. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/internal/primordials.js +0 -393
  665. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/internal/util.js +0 -14
  666. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/internal/validators.js +0 -89
  667. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/package.json +0 -36
  668. package/node/node_modules/npm/node_modules/@pkgjs/parseargs/utils.js +0 -198
  669. package/node/node_modules/npm/node_modules/@sigstore/bundle/LICENSE +0 -202
  670. package/node/node_modules/npm/node_modules/@sigstore/bundle/dist/build.js +0 -100
  671. package/node/node_modules/npm/node_modules/@sigstore/bundle/dist/bundle.js +0 -24
  672. package/node/node_modules/npm/node_modules/@sigstore/bundle/dist/error.js +0 -25
  673. package/node/node_modules/npm/node_modules/@sigstore/bundle/dist/index.js +0 -43
  674. package/node/node_modules/npm/node_modules/@sigstore/bundle/dist/serialized.js +0 -49
  675. package/node/node_modules/npm/node_modules/@sigstore/bundle/dist/utility.js +0 -2
  676. package/node/node_modules/npm/node_modules/@sigstore/bundle/dist/validate.js +0 -199
  677. package/node/node_modules/npm/node_modules/@sigstore/bundle/package.json +0 -35
  678. package/node/node_modules/npm/node_modules/@sigstore/core/LICENSE +0 -202
  679. package/node/node_modules/npm/node_modules/@sigstore/core/dist/asn1/error.js +0 -24
  680. package/node/node_modules/npm/node_modules/@sigstore/core/dist/asn1/index.js +0 -20
  681. package/node/node_modules/npm/node_modules/@sigstore/core/dist/asn1/length.js +0 -62
  682. package/node/node_modules/npm/node_modules/@sigstore/core/dist/asn1/obj.js +0 -152
  683. package/node/node_modules/npm/node_modules/@sigstore/core/dist/asn1/parse.js +0 -124
  684. package/node/node_modules/npm/node_modules/@sigstore/core/dist/asn1/tag.js +0 -86
  685. package/node/node_modules/npm/node_modules/@sigstore/core/dist/crypto.js +0 -60
  686. package/node/node_modules/npm/node_modules/@sigstore/core/dist/dsse.js +0 -30
  687. package/node/node_modules/npm/node_modules/@sigstore/core/dist/encoding.js +0 -27
  688. package/node/node_modules/npm/node_modules/@sigstore/core/dist/index.js +0 -66
  689. package/node/node_modules/npm/node_modules/@sigstore/core/dist/json.js +0 -60
  690. package/node/node_modules/npm/node_modules/@sigstore/core/dist/oid.js +0 -14
  691. package/node/node_modules/npm/node_modules/@sigstore/core/dist/pem.js +0 -43
  692. package/node/node_modules/npm/node_modules/@sigstore/core/dist/rfc3161/error.js +0 -21
  693. package/node/node_modules/npm/node_modules/@sigstore/core/dist/rfc3161/index.js +0 -20
  694. package/node/node_modules/npm/node_modules/@sigstore/core/dist/rfc3161/timestamp.js +0 -211
  695. package/node/node_modules/npm/node_modules/@sigstore/core/dist/rfc3161/tstinfo.js +0 -71
  696. package/node/node_modules/npm/node_modules/@sigstore/core/dist/stream.js +0 -115
  697. package/node/node_modules/npm/node_modules/@sigstore/core/dist/x509/cert.js +0 -241
  698. package/node/node_modules/npm/node_modules/@sigstore/core/dist/x509/ext.js +0 -145
  699. package/node/node_modules/npm/node_modules/@sigstore/core/dist/x509/index.js +0 -23
  700. package/node/node_modules/npm/node_modules/@sigstore/core/dist/x509/sct.js +0 -151
  701. package/node/node_modules/npm/node_modules/@sigstore/core/package.json +0 -31
  702. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/LICENSE +0 -202
  703. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/envelope.js +0 -59
  704. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/events.js +0 -174
  705. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/api/field_behavior.js +0 -141
  706. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/any.js +0 -35
  707. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/descriptor.js +0 -2042
  708. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/timestamp.js +0 -29
  709. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/dsse.js +0 -55
  710. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/entry.js +0 -81
  711. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/hashedrekord.js +0 -56
  712. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/verifier.js +0 -74
  713. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_bundle.js +0 -103
  714. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_common.js +0 -596
  715. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_rekor.js +0 -137
  716. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_trustroot.js +0 -284
  717. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_verification.js +0 -281
  718. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/index.js +0 -37
  719. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/rekor/v2/index.js +0 -35
  720. package/node/node_modules/npm/node_modules/@sigstore/protobuf-specs/package.json +0 -35
  721. package/node/node_modules/npm/node_modules/@sigstore/sign/LICENSE +0 -202
  722. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/base.js +0 -50
  723. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/bundle.js +0 -81
  724. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/dsse.js +0 -46
  725. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/index.js +0 -7
  726. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/message.js +0 -30
  727. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/error.js +0 -39
  728. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/external/error.js +0 -26
  729. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/external/fetch.js +0 -98
  730. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/external/fulcio.js +0 -41
  731. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/external/rekor.js +0 -80
  732. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/external/tsa.js +0 -38
  733. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/identity/ci.js +0 -73
  734. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/identity/index.js +0 -20
  735. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/identity/provider.js +0 -2
  736. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/index.js +0 -17
  737. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/signer/fulcio/ca.js +0 -59
  738. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/signer/fulcio/ephemeral.js +0 -45
  739. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/signer/fulcio/index.js +0 -87
  740. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/signer/index.js +0 -22
  741. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/signer/signer.js +0 -17
  742. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/types/fetch.js +0 -2
  743. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/util/index.js +0 -59
  744. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/util/oidc.js +0 -30
  745. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/util/ua.js +0 -32
  746. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/witness/index.js +0 -24
  747. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tlog/client.js +0 -61
  748. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tlog/entry.js +0 -140
  749. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tlog/index.js +0 -82
  750. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tsa/client.js +0 -46
  751. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tsa/index.js +0 -44
  752. package/node/node_modules/npm/node_modules/@sigstore/sign/dist/witness/witness.js +0 -2
  753. package/node/node_modules/npm/node_modules/@sigstore/sign/package.json +0 -46
  754. package/node/node_modules/npm/node_modules/@sigstore/tuf/LICENSE +0 -202
  755. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/appdata.js +0 -43
  756. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/client.js +0 -113
  757. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/error.js +0 -12
  758. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/index.js +0 -56
  759. package/node/node_modules/npm/node_modules/@sigstore/tuf/dist/target.js +0 -79
  760. package/node/node_modules/npm/node_modules/@sigstore/tuf/package.json +0 -41
  761. package/node/node_modules/npm/node_modules/@sigstore/tuf/seeds.json +0 -1
  762. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/bundle/dsse.js +0 -43
  763. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/bundle/index.js +0 -57
  764. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/bundle/message.js +0 -36
  765. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/error.js +0 -32
  766. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/index.js +0 -28
  767. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/key/certificate.js +0 -212
  768. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/key/index.js +0 -67
  769. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/key/sct.js +0 -78
  770. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/policy.js +0 -24
  771. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/shared.types.js +0 -2
  772. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/checkpoint.js +0 -157
  773. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/index.js +0 -46
  774. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/merkle.js +0 -104
  775. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/set.js +0 -60
  776. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/tsa.js +0 -63
  777. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/tlog/dsse.js +0 -57
  778. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/tlog/hashedrekord.js +0 -51
  779. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/tlog/index.js +0 -47
  780. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/tlog/intoto.js +0 -62
  781. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/trust/filter.js +0 -23
  782. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/trust/index.js +0 -86
  783. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/trust/trust.types.js +0 -2
  784. package/node/node_modules/npm/node_modules/@sigstore/verify/dist/verifier.js +0 -143
  785. package/node/node_modules/npm/node_modules/@sigstore/verify/package.json +0 -36
  786. package/node/node_modules/npm/node_modules/@tufjs/canonical-json/LICENSE +0 -21
  787. package/node/node_modules/npm/node_modules/@tufjs/canonical-json/lib/index.js +0 -64
  788. package/node/node_modules/npm/node_modules/@tufjs/canonical-json/package.json +0 -35
  789. package/node/node_modules/npm/node_modules/@tufjs/models/LICENSE +0 -21
  790. package/node/node_modules/npm/node_modules/@tufjs/models/dist/base.js +0 -96
  791. package/node/node_modules/npm/node_modules/@tufjs/models/dist/delegations.js +0 -119
  792. package/node/node_modules/npm/node_modules/@tufjs/models/dist/error.js +0 -27
  793. package/node/node_modules/npm/node_modules/@tufjs/models/dist/file.js +0 -191
  794. package/node/node_modules/npm/node_modules/@tufjs/models/dist/index.js +0 -24
  795. package/node/node_modules/npm/node_modules/@tufjs/models/dist/key.js +0 -90
  796. package/node/node_modules/npm/node_modules/@tufjs/models/dist/metadata.js +0 -165
  797. package/node/node_modules/npm/node_modules/@tufjs/models/dist/role.js +0 -310
  798. package/node/node_modules/npm/node_modules/@tufjs/models/dist/root.js +0 -119
  799. package/node/node_modules/npm/node_modules/@tufjs/models/dist/signature.js +0 -40
  800. package/node/node_modules/npm/node_modules/@tufjs/models/dist/snapshot.js +0 -72
  801. package/node/node_modules/npm/node_modules/@tufjs/models/dist/targets.js +0 -94
  802. package/node/node_modules/npm/node_modules/@tufjs/models/dist/timestamp.js +0 -59
  803. package/node/node_modules/npm/node_modules/@tufjs/models/dist/utils/guard.js +0 -32
  804. package/node/node_modules/npm/node_modules/@tufjs/models/dist/utils/index.js +0 -38
  805. package/node/node_modules/npm/node_modules/@tufjs/models/dist/utils/key.js +0 -142
  806. package/node/node_modules/npm/node_modules/@tufjs/models/dist/utils/oid.js +0 -26
  807. package/node/node_modules/npm/node_modules/@tufjs/models/dist/utils/types.js +0 -2
  808. package/node/node_modules/npm/node_modules/@tufjs/models/dist/utils/verify.js +0 -13
  809. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/LICENSE +0 -15
  810. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
  811. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/ast.js +0 -592
  812. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -152
  813. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/escape.js +0 -22
  814. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/index.js +0 -1017
  815. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/package.json +0 -3
  816. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/unescape.js +0 -24
  817. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
  818. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/ast.js +0 -588
  819. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/brace-expressions.js +0 -148
  820. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/escape.js +0 -18
  821. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/index.js +0 -1001
  822. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/package.json +0 -3
  823. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/unescape.js +0 -20
  824. package/node/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/package.json +0 -82
  825. package/node/node_modules/npm/node_modules/@tufjs/models/package.json +0 -37
  826. package/node/node_modules/npm/node_modules/abbrev/LICENSE +0 -46
  827. package/node/node_modules/npm/node_modules/abbrev/lib/index.js +0 -53
  828. package/node/node_modules/npm/node_modules/abbrev/package.json +0 -45
  829. package/node/node_modules/npm/node_modules/agent-base/LICENSE +0 -22
  830. package/node/node_modules/npm/node_modules/agent-base/dist/helpers.js +0 -66
  831. package/node/node_modules/npm/node_modules/agent-base/dist/index.js +0 -178
  832. package/node/node_modules/npm/node_modules/agent-base/package.json +0 -46
  833. package/node/node_modules/npm/node_modules/ansi-regex/index.js +0 -10
  834. package/node/node_modules/npm/node_modules/ansi-regex/license +0 -9
  835. package/node/node_modules/npm/node_modules/ansi-regex/package.json +0 -55
  836. package/node/node_modules/npm/node_modules/ansi-styles/index.js +0 -223
  837. package/node/node_modules/npm/node_modules/ansi-styles/license +0 -9
  838. package/node/node_modules/npm/node_modules/ansi-styles/package.json +0 -54
  839. package/node/node_modules/npm/node_modules/aproba/LICENSE +0 -14
  840. package/node/node_modules/npm/node_modules/aproba/index.js +0 -105
  841. package/node/node_modules/npm/node_modules/aproba/package.json +0 -35
  842. package/node/node_modules/npm/node_modules/archy/LICENSE +0 -18
  843. package/node/node_modules/npm/node_modules/archy/examples/beep.js +0 -24
  844. package/node/node_modules/npm/node_modules/archy/examples/multi_line.js +0 -25
  845. package/node/node_modules/npm/node_modules/archy/index.js +0 -35
  846. package/node/node_modules/npm/node_modules/archy/package.json +0 -40
  847. package/node/node_modules/npm/node_modules/balanced-match/LICENSE.md +0 -21
  848. package/node/node_modules/npm/node_modules/balanced-match/index.js +0 -62
  849. package/node/node_modules/npm/node_modules/balanced-match/package.json +0 -48
  850. package/node/node_modules/npm/node_modules/bin-links/LICENSE +0 -15
  851. package/node/node_modules/npm/node_modules/bin-links/lib/bin-target.js +0 -9
  852. package/node/node_modules/npm/node_modules/bin-links/lib/check-bin.js +0 -74
  853. package/node/node_modules/npm/node_modules/bin-links/lib/check-bins.js +0 -18
  854. package/node/node_modules/npm/node_modules/bin-links/lib/fix-bin.js +0 -42
  855. package/node/node_modules/npm/node_modules/bin-links/lib/get-node-modules.js +0 -19
  856. package/node/node_modules/npm/node_modules/bin-links/lib/get-paths.js +0 -42
  857. package/node/node_modules/npm/node_modules/bin-links/lib/get-prefix.js +0 -3
  858. package/node/node_modules/npm/node_modules/bin-links/lib/index.js +0 -44
  859. package/node/node_modules/npm/node_modules/bin-links/lib/is-windows.js +0 -2
  860. package/node/node_modules/npm/node_modules/bin-links/lib/link-bin.js +0 -9
  861. package/node/node_modules/npm/node_modules/bin-links/lib/link-bins.js +0 -23
  862. package/node/node_modules/npm/node_modules/bin-links/lib/link-gently.js +0 -96
  863. package/node/node_modules/npm/node_modules/bin-links/lib/link-mans.js +0 -53
  864. package/node/node_modules/npm/node_modules/bin-links/lib/man-target.js +0 -6
  865. package/node/node_modules/npm/node_modules/bin-links/lib/shim-bin.js +0 -86
  866. package/node/node_modules/npm/node_modules/bin-links/package.json +0 -61
  867. package/node/node_modules/npm/node_modules/binary-extensions/binary-extensions.json +0 -264
  868. package/node/node_modules/npm/node_modules/binary-extensions/index.js +0 -3
  869. package/node/node_modules/npm/node_modules/binary-extensions/license +0 -10
  870. package/node/node_modules/npm/node_modules/binary-extensions/package.json +0 -45
  871. package/node/node_modules/npm/node_modules/brace-expansion/LICENSE +0 -21
  872. package/node/node_modules/npm/node_modules/brace-expansion/index.js +0 -203
  873. package/node/node_modules/npm/node_modules/brace-expansion/package.json +0 -49
  874. package/node/node_modules/npm/node_modules/cacache/LICENSE.md +0 -16
  875. package/node/node_modules/npm/node_modules/cacache/lib/content/path.js +0 -29
  876. package/node/node_modules/npm/node_modules/cacache/lib/content/read.js +0 -165
  877. package/node/node_modules/npm/node_modules/cacache/lib/content/rm.js +0 -18
  878. package/node/node_modules/npm/node_modules/cacache/lib/content/write.js +0 -206
  879. package/node/node_modules/npm/node_modules/cacache/lib/entry-index.js +0 -336
  880. package/node/node_modules/npm/node_modules/cacache/lib/get.js +0 -170
  881. package/node/node_modules/npm/node_modules/cacache/lib/index.js +0 -42
  882. package/node/node_modules/npm/node_modules/cacache/lib/memoization.js +0 -72
  883. package/node/node_modules/npm/node_modules/cacache/lib/put.js +0 -80
  884. package/node/node_modules/npm/node_modules/cacache/lib/rm.js +0 -31
  885. package/node/node_modules/npm/node_modules/cacache/lib/util/glob.js +0 -7
  886. package/node/node_modules/npm/node_modules/cacache/lib/util/hash-to-segments.js +0 -7
  887. package/node/node_modules/npm/node_modules/cacache/lib/util/tmp.js +0 -26
  888. package/node/node_modules/npm/node_modules/cacache/lib/verify.js +0 -258
  889. package/node/node_modules/npm/node_modules/cacache/package.json +0 -82
  890. package/node/node_modules/npm/node_modules/chalk/license +0 -9
  891. package/node/node_modules/npm/node_modules/chalk/package.json +0 -83
  892. package/node/node_modules/npm/node_modules/chalk/source/index.js +0 -225
  893. package/node/node_modules/npm/node_modules/chalk/source/utilities.js +0 -33
  894. package/node/node_modules/npm/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  895. package/node/node_modules/npm/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  896. package/node/node_modules/npm/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  897. package/node/node_modules/npm/node_modules/chownr/LICENSE.md +0 -63
  898. package/node/node_modules/npm/node_modules/chownr/dist/commonjs/index.js +0 -93
  899. package/node/node_modules/npm/node_modules/chownr/dist/commonjs/package.json +0 -3
  900. package/node/node_modules/npm/node_modules/chownr/dist/esm/index.js +0 -85
  901. package/node/node_modules/npm/node_modules/chownr/dist/esm/package.json +0 -3
  902. package/node/node_modules/npm/node_modules/chownr/package.json +0 -69
  903. package/node/node_modules/npm/node_modules/ci-info/LICENSE +0 -21
  904. package/node/node_modules/npm/node_modules/ci-info/index.js +0 -102
  905. package/node/node_modules/npm/node_modules/ci-info/package.json +0 -54
  906. package/node/node_modules/npm/node_modules/ci-info/vendors.json +0 -358
  907. package/node/node_modules/npm/node_modules/cidr-regex/LICENSE +0 -22
  908. package/node/node_modules/npm/node_modules/cidr-regex/dist/index.js +0 -15
  909. package/node/node_modules/npm/node_modules/cidr-regex/package.json +0 -38
  910. package/node/node_modules/npm/node_modules/cli-columns/color.js +0 -16
  911. package/node/node_modules/npm/node_modules/cli-columns/index.js +0 -82
  912. package/node/node_modules/npm/node_modules/cli-columns/license +0 -20
  913. package/node/node_modules/npm/node_modules/cli-columns/package.json +0 -54
  914. package/node/node_modules/npm/node_modules/cli-columns/test.js +0 -101
  915. package/node/node_modules/npm/node_modules/cmd-shim/LICENSE +0 -15
  916. package/node/node_modules/npm/node_modules/cmd-shim/lib/index.js +0 -247
  917. package/node/node_modules/npm/node_modules/cmd-shim/lib/to-batch-syntax.js +0 -49
  918. package/node/node_modules/npm/node_modules/cmd-shim/package.json +0 -48
  919. package/node/node_modules/npm/node_modules/color-convert/LICENSE +0 -21
  920. package/node/node_modules/npm/node_modules/color-convert/conversions.js +0 -839
  921. package/node/node_modules/npm/node_modules/color-convert/index.js +0 -81
  922. package/node/node_modules/npm/node_modules/color-convert/package.json +0 -48
  923. package/node/node_modules/npm/node_modules/color-convert/route.js +0 -97
  924. package/node/node_modules/npm/node_modules/color-name/LICENSE +0 -8
  925. package/node/node_modules/npm/node_modules/color-name/index.js +0 -152
  926. package/node/node_modules/npm/node_modules/color-name/package.json +0 -28
  927. package/node/node_modules/npm/node_modules/common-ancestor-path/LICENSE +0 -15
  928. package/node/node_modules/npm/node_modules/common-ancestor-path/index.js +0 -17
  929. package/node/node_modules/npm/node_modules/common-ancestor-path/package.json +0 -28
  930. package/node/node_modules/npm/node_modules/cross-spawn/LICENSE +0 -21
  931. package/node/node_modules/npm/node_modules/cross-spawn/index.js +0 -39
  932. package/node/node_modules/npm/node_modules/cross-spawn/lib/enoent.js +0 -59
  933. package/node/node_modules/npm/node_modules/cross-spawn/lib/parse.js +0 -91
  934. package/node/node_modules/npm/node_modules/cross-spawn/lib/util/escape.js +0 -47
  935. package/node/node_modules/npm/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
  936. package/node/node_modules/npm/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
  937. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/LICENSE +0 -15
  938. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/index.js +0 -57
  939. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/mode.js +0 -41
  940. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/package.json +0 -31
  941. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/windows.js +0 -42
  942. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/LICENSE +0 -15
  943. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/README.md +0 -54
  944. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/bin/node-which +0 -52
  945. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/package.json +0 -43
  946. package/node/node_modules/npm/node_modules/cross-spawn/node_modules/which/which.js +0 -125
  947. package/node/node_modules/npm/node_modules/cross-spawn/package.json +0 -73
  948. package/node/node_modules/npm/node_modules/cssesc/LICENSE-MIT.txt +0 -20
  949. package/node/node_modules/npm/node_modules/cssesc/README.md +0 -201
  950. package/node/node_modules/npm/node_modules/cssesc/bin/cssesc +0 -116
  951. package/node/node_modules/npm/node_modules/cssesc/cssesc.js +0 -110
  952. package/node/node_modules/npm/node_modules/cssesc/man/cssesc.1 +0 -70
  953. package/node/node_modules/npm/node_modules/cssesc/package.json +0 -51
  954. package/node/node_modules/npm/node_modules/debug/LICENSE +0 -20
  955. package/node/node_modules/npm/node_modules/debug/package.json +0 -64
  956. package/node/node_modules/npm/node_modules/debug/src/browser.js +0 -272
  957. package/node/node_modules/npm/node_modules/debug/src/common.js +0 -292
  958. package/node/node_modules/npm/node_modules/debug/src/index.js +0 -10
  959. package/node/node_modules/npm/node_modules/debug/src/node.js +0 -263
  960. package/node/node_modules/npm/node_modules/diff/CONTRIBUTING.md +0 -28
  961. package/node/node_modules/npm/node_modules/diff/LICENSE +0 -29
  962. package/node/node_modules/npm/node_modules/diff/dist/diff.js +0 -1674
  963. package/node/node_modules/npm/node_modules/diff/dist/diff.min.js +0 -1
  964. package/node/node_modules/npm/node_modules/diff/eslint.config.mjs +0 -182
  965. package/node/node_modules/npm/node_modules/diff/libcjs/convert/dmp.js +0 -24
  966. package/node/node_modules/npm/node_modules/diff/libcjs/convert/xml.js +0 -34
  967. package/node/node_modules/npm/node_modules/diff/libcjs/diff/array.js +0 -40
  968. package/node/node_modules/npm/node_modules/diff/libcjs/diff/base.js +0 -265
  969. package/node/node_modules/npm/node_modules/diff/libcjs/diff/character.js +0 -31
  970. package/node/node_modules/npm/node_modules/diff/libcjs/diff/css.js +0 -34
  971. package/node/node_modules/npm/node_modules/diff/libcjs/diff/json.js +0 -105
  972. package/node/node_modules/npm/node_modules/diff/libcjs/diff/line.js +0 -89
  973. package/node/node_modules/npm/node_modules/diff/libcjs/diff/sentence.js +0 -67
  974. package/node/node_modules/npm/node_modules/diff/libcjs/diff/word.js +0 -307
  975. package/node/node_modules/npm/node_modules/diff/libcjs/index.js +0 -61
  976. package/node/node_modules/npm/node_modules/diff/libcjs/package.json +0 -1
  977. package/node/node_modules/npm/node_modules/diff/libcjs/patch/apply.js +0 -267
  978. package/node/node_modules/npm/node_modules/diff/libcjs/patch/create.js +0 -223
  979. package/node/node_modules/npm/node_modules/diff/libcjs/patch/line-endings.js +0 -61
  980. package/node/node_modules/npm/node_modules/diff/libcjs/patch/parse.js +0 -133
  981. package/node/node_modules/npm/node_modules/diff/libcjs/patch/reverse.js +0 -37
  982. package/node/node_modules/npm/node_modules/diff/libcjs/types.js +0 -2
  983. package/node/node_modules/npm/node_modules/diff/libcjs/util/array.js +0 -21
  984. package/node/node_modules/npm/node_modules/diff/libcjs/util/distance-iterator.js +0 -40
  985. package/node/node_modules/npm/node_modules/diff/libcjs/util/params.js +0 -17
  986. package/node/node_modules/npm/node_modules/diff/libcjs/util/string.js +0 -141
  987. package/node/node_modules/npm/node_modules/diff/libesm/convert/dmp.js +0 -21
  988. package/node/node_modules/npm/node_modules/diff/libesm/convert/xml.js +0 -31
  989. package/node/node_modules/npm/node_modules/diff/libesm/diff/array.js +0 -16
  990. package/node/node_modules/npm/node_modules/diff/libesm/diff/base.js +0 -253
  991. package/node/node_modules/npm/node_modules/diff/libesm/diff/character.js +0 -7
  992. package/node/node_modules/npm/node_modules/diff/libesm/diff/css.js +0 -10
  993. package/node/node_modules/npm/node_modules/diff/libesm/diff/json.js +0 -78
  994. package/node/node_modules/npm/node_modules/diff/libesm/diff/line.js +0 -65
  995. package/node/node_modules/npm/node_modules/diff/libesm/diff/sentence.js +0 -43
  996. package/node/node_modules/npm/node_modules/diff/libesm/diff/word.js +0 -276
  997. package/node/node_modules/npm/node_modules/diff/libesm/index.js +0 -30
  998. package/node/node_modules/npm/node_modules/diff/libesm/package.json +0 -1
  999. package/node/node_modules/npm/node_modules/diff/libesm/patch/apply.js +0 -257
  1000. package/node/node_modules/npm/node_modules/diff/libesm/patch/create.js +0 -201
  1001. package/node/node_modules/npm/node_modules/diff/libesm/patch/line-endings.js +0 -44
  1002. package/node/node_modules/npm/node_modules/diff/libesm/patch/parse.js +0 -130
  1003. package/node/node_modules/npm/node_modules/diff/libesm/patch/reverse.js +0 -23
  1004. package/node/node_modules/npm/node_modules/diff/libesm/types.js +0 -1
  1005. package/node/node_modules/npm/node_modules/diff/libesm/util/array.js +0 -17
  1006. package/node/node_modules/npm/node_modules/diff/libesm/util/distance-iterator.js +0 -37
  1007. package/node/node_modules/npm/node_modules/diff/libesm/util/params.js +0 -14
  1008. package/node/node_modules/npm/node_modules/diff/libesm/util/string.js +0 -128
  1009. package/node/node_modules/npm/node_modules/diff/package.json +0 -131
  1010. package/node/node_modules/npm/node_modules/diff/release-notes.md +0 -397
  1011. package/node/node_modules/npm/node_modules/eastasianwidth/eastasianwidth.js +0 -311
  1012. package/node/node_modules/npm/node_modules/eastasianwidth/package.json +0 -18
  1013. package/node/node_modules/npm/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  1014. package/node/node_modules/npm/node_modules/emoji-regex/es2015/index.js +0 -6
  1015. package/node/node_modules/npm/node_modules/emoji-regex/es2015/text.js +0 -6
  1016. package/node/node_modules/npm/node_modules/emoji-regex/index.js +0 -6
  1017. package/node/node_modules/npm/node_modules/emoji-regex/package.json +0 -50
  1018. package/node/node_modules/npm/node_modules/emoji-regex/text.js +0 -6
  1019. package/node/node_modules/npm/node_modules/encoding/LICENSE +0 -16
  1020. package/node/node_modules/npm/node_modules/encoding/lib/encoding.js +0 -83
  1021. package/node/node_modules/npm/node_modules/encoding/package.json +0 -18
  1022. package/node/node_modules/npm/node_modules/env-paths/index.js +0 -74
  1023. package/node/node_modules/npm/node_modules/env-paths/license +0 -9
  1024. package/node/node_modules/npm/node_modules/env-paths/package.json +0 -45
  1025. package/node/node_modules/npm/node_modules/err-code/bower.json +0 -30
  1026. package/node/node_modules/npm/node_modules/err-code/index.js +0 -47
  1027. package/node/node_modules/npm/node_modules/err-code/index.umd.js +0 -51
  1028. package/node/node_modules/npm/node_modules/err-code/package.json +0 -34
  1029. package/node/node_modules/npm/node_modules/exponential-backoff/LICENSE +0 -202
  1030. package/node/node_modules/npm/node_modules/exponential-backoff/dist/backoff.js +0 -124
  1031. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/always/always.delay.js +0 -25
  1032. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.base.js +0 -45
  1033. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.factory.js +0 -17
  1034. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.interface.js +0 -3
  1035. package/node/node_modules/npm/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +0 -82
  1036. package/node/node_modules/npm/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +0 -8
  1037. package/node/node_modules/npm/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +0 -15
  1038. package/node/node_modules/npm/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +0 -7
  1039. package/node/node_modules/npm/node_modules/exponential-backoff/dist/options.js +0 -31
  1040. package/node/node_modules/npm/node_modules/exponential-backoff/package.json +0 -62
  1041. package/node/node_modules/npm/node_modules/fastest-levenshtein/LICENSE.md +0 -21
  1042. package/node/node_modules/npm/node_modules/fastest-levenshtein/bench.js +0 -96
  1043. package/node/node_modules/npm/node_modules/fastest-levenshtein/esm/mod.js +0 -138
  1044. package/node/node_modules/npm/node_modules/fastest-levenshtein/mod.js +0 -142
  1045. package/node/node_modules/npm/node_modules/fastest-levenshtein/package.json +0 -72
  1046. package/node/node_modules/npm/node_modules/fastest-levenshtein/test.js +0 -55
  1047. package/node/node_modules/npm/node_modules/foreground-child/LICENSE +0 -15
  1048. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/all-signals.js +0 -58
  1049. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/index.js +0 -123
  1050. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/package.json +0 -3
  1051. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/proxy-signals.js +0 -38
  1052. package/node/node_modules/npm/node_modules/foreground-child/dist/commonjs/watchdog.js +0 -50
  1053. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/all-signals.js +0 -52
  1054. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/index.js +0 -115
  1055. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/package.json +0 -3
  1056. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/proxy-signals.js +0 -34
  1057. package/node/node_modules/npm/node_modules/foreground-child/dist/esm/watchdog.js +0 -46
  1058. package/node/node_modules/npm/node_modules/foreground-child/package.json +0 -106
  1059. package/node/node_modules/npm/node_modules/fs-minipass/LICENSE +0 -15
  1060. package/node/node_modules/npm/node_modules/fs-minipass/lib/index.js +0 -443
  1061. package/node/node_modules/npm/node_modules/fs-minipass/package.json +0 -54
  1062. package/node/node_modules/npm/node_modules/glob/LICENSE +0 -15
  1063. package/node/node_modules/npm/node_modules/glob/README.md +0 -1265
  1064. package/node/node_modules/npm/node_modules/glob/dist/commonjs/glob.d.ts +0 -388
  1065. package/node/node_modules/npm/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  1066. package/node/node_modules/npm/node_modules/glob/dist/commonjs/glob.js +0 -247
  1067. package/node/node_modules/npm/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  1068. package/node/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  1069. package/node/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  1070. package/node/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.js +0 -27
  1071. package/node/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  1072. package/node/node_modules/npm/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
  1073. package/node/node_modules/npm/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  1074. package/node/node_modules/npm/node_modules/glob/dist/commonjs/ignore.js +0 -119
  1075. package/node/node_modules/npm/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  1076. package/node/node_modules/npm/node_modules/glob/dist/commonjs/index.d.ts +0 -97
  1077. package/node/node_modules/npm/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  1078. package/node/node_modules/npm/node_modules/glob/dist/commonjs/index.js +0 -68
  1079. package/node/node_modules/npm/node_modules/glob/dist/commonjs/index.js.map +0 -1
  1080. package/node/node_modules/npm/node_modules/glob/dist/commonjs/package.json +0 -3
  1081. package/node/node_modules/npm/node_modules/glob/dist/commonjs/pattern.d.ts +0 -76
  1082. package/node/node_modules/npm/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  1083. package/node/node_modules/npm/node_modules/glob/dist/commonjs/pattern.js +0 -219
  1084. package/node/node_modules/npm/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  1085. package/node/node_modules/npm/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  1086. package/node/node_modules/npm/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  1087. package/node/node_modules/npm/node_modules/glob/dist/commonjs/processor.js +0 -301
  1088. package/node/node_modules/npm/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  1089. package/node/node_modules/npm/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
  1090. package/node/node_modules/npm/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  1091. package/node/node_modules/npm/node_modules/glob/dist/commonjs/walker.js +0 -387
  1092. package/node/node_modules/npm/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  1093. package/node/node_modules/npm/node_modules/glob/dist/esm/bin.d.mts +0 -3
  1094. package/node/node_modules/npm/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
  1095. package/node/node_modules/npm/node_modules/glob/dist/esm/bin.mjs +0 -276
  1096. package/node/node_modules/npm/node_modules/glob/dist/esm/bin.mjs.map +0 -1
  1097. package/node/node_modules/npm/node_modules/glob/dist/esm/glob.d.ts +0 -388
  1098. package/node/node_modules/npm/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  1099. package/node/node_modules/npm/node_modules/glob/dist/esm/glob.js +0 -243
  1100. package/node/node_modules/npm/node_modules/glob/dist/esm/glob.js.map +0 -1
  1101. package/node/node_modules/npm/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  1102. package/node/node_modules/npm/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  1103. package/node/node_modules/npm/node_modules/glob/dist/esm/has-magic.js +0 -23
  1104. package/node/node_modules/npm/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  1105. package/node/node_modules/npm/node_modules/glob/dist/esm/ignore.d.ts +0 -24
  1106. package/node/node_modules/npm/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  1107. package/node/node_modules/npm/node_modules/glob/dist/esm/ignore.js +0 -115
  1108. package/node/node_modules/npm/node_modules/glob/dist/esm/ignore.js.map +0 -1
  1109. package/node/node_modules/npm/node_modules/glob/dist/esm/index.d.ts +0 -97
  1110. package/node/node_modules/npm/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  1111. package/node/node_modules/npm/node_modules/glob/dist/esm/index.js +0 -55
  1112. package/node/node_modules/npm/node_modules/glob/dist/esm/index.js.map +0 -1
  1113. package/node/node_modules/npm/node_modules/glob/dist/esm/package.json +0 -3
  1114. package/node/node_modules/npm/node_modules/glob/dist/esm/pattern.d.ts +0 -76
  1115. package/node/node_modules/npm/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  1116. package/node/node_modules/npm/node_modules/glob/dist/esm/pattern.js +0 -215
  1117. package/node/node_modules/npm/node_modules/glob/dist/esm/pattern.js.map +0 -1
  1118. package/node/node_modules/npm/node_modules/glob/dist/esm/processor.d.ts +0 -59
  1119. package/node/node_modules/npm/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  1120. package/node/node_modules/npm/node_modules/glob/dist/esm/processor.js +0 -294
  1121. package/node/node_modules/npm/node_modules/glob/dist/esm/processor.js.map +0 -1
  1122. package/node/node_modules/npm/node_modules/glob/dist/esm/walker.d.ts +0 -97
  1123. package/node/node_modules/npm/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  1124. package/node/node_modules/npm/node_modules/glob/dist/esm/walker.js +0 -381
  1125. package/node/node_modules/npm/node_modules/glob/dist/esm/walker.js.map +0 -1
  1126. package/node/node_modules/npm/node_modules/glob/package.json +0 -97
  1127. package/node/node_modules/npm/node_modules/graceful-fs/LICENSE +0 -15
  1128. package/node/node_modules/npm/node_modules/graceful-fs/clone.js +0 -23
  1129. package/node/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +0 -448
  1130. package/node/node_modules/npm/node_modules/graceful-fs/legacy-streams.js +0 -118
  1131. package/node/node_modules/npm/node_modules/graceful-fs/package.json +0 -53
  1132. package/node/node_modules/npm/node_modules/graceful-fs/polyfills.js +0 -355
  1133. package/node/node_modules/npm/node_modules/hosted-git-info/LICENSE +0 -13
  1134. package/node/node_modules/npm/node_modules/hosted-git-info/lib/from-url.js +0 -122
  1135. package/node/node_modules/npm/node_modules/hosted-git-info/lib/hosts.js +0 -231
  1136. package/node/node_modules/npm/node_modules/hosted-git-info/lib/index.js +0 -227
  1137. package/node/node_modules/npm/node_modules/hosted-git-info/lib/parse-url.js +0 -78
  1138. package/node/node_modules/npm/node_modules/hosted-git-info/package.json +0 -61
  1139. package/node/node_modules/npm/node_modules/http-cache-semantics/LICENSE +0 -9
  1140. package/node/node_modules/npm/node_modules/http-cache-semantics/index.js +0 -928
  1141. package/node/node_modules/npm/node_modules/http-cache-semantics/package.json +0 -22
  1142. package/node/node_modules/npm/node_modules/http-proxy-agent/LICENSE +0 -22
  1143. package/node/node_modules/npm/node_modules/http-proxy-agent/dist/index.js +0 -148
  1144. package/node/node_modules/npm/node_modules/http-proxy-agent/package.json +0 -47
  1145. package/node/node_modules/npm/node_modules/https-proxy-agent/LICENSE +0 -22
  1146. package/node/node_modules/npm/node_modules/https-proxy-agent/dist/index.js +0 -180
  1147. package/node/node_modules/npm/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -101
  1148. package/node/node_modules/npm/node_modules/https-proxy-agent/package.json +0 -50
  1149. package/node/node_modules/npm/node_modules/iconv-lite/LICENSE +0 -21
  1150. package/node/node_modules/npm/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -597
  1151. package/node/node_modules/npm/node_modules/iconv-lite/encodings/dbcs-data.js +0 -188
  1152. package/node/node_modules/npm/node_modules/iconv-lite/encodings/index.js +0 -23
  1153. package/node/node_modules/npm/node_modules/iconv-lite/encodings/internal.js +0 -198
  1154. package/node/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  1155. package/node/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1156. package/node/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-data.js +0 -179
  1157. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1158. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1159. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1160. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1161. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1162. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1163. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  1164. package/node/node_modules/npm/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1165. package/node/node_modules/npm/node_modules/iconv-lite/encodings/utf16.js +0 -197
  1166. package/node/node_modules/npm/node_modules/iconv-lite/encodings/utf32.js +0 -319
  1167. package/node/node_modules/npm/node_modules/iconv-lite/encodings/utf7.js +0 -290
  1168. package/node/node_modules/npm/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  1169. package/node/node_modules/npm/node_modules/iconv-lite/lib/index.js +0 -180
  1170. package/node/node_modules/npm/node_modules/iconv-lite/lib/streams.js +0 -109
  1171. package/node/node_modules/npm/node_modules/iconv-lite/package.json +0 -44
  1172. package/node/node_modules/npm/node_modules/ignore-walk/LICENSE +0 -15
  1173. package/node/node_modules/npm/node_modules/ignore-walk/lib/index.js +0 -310
  1174. package/node/node_modules/npm/node_modules/ignore-walk/package.json +0 -64
  1175. package/node/node_modules/npm/node_modules/imurmurhash/imurmurhash.js +0 -138
  1176. package/node/node_modules/npm/node_modules/imurmurhash/imurmurhash.min.js +0 -12
  1177. package/node/node_modules/npm/node_modules/imurmurhash/package.json +0 -40
  1178. package/node/node_modules/npm/node_modules/ini/LICENSE +0 -15
  1179. package/node/node_modules/npm/node_modules/ini/lib/ini.js +0 -280
  1180. package/node/node_modules/npm/node_modules/ini/package.json +0 -45
  1181. package/node/node_modules/npm/node_modules/init-package-json/LICENSE.md +0 -18
  1182. package/node/node_modules/npm/node_modules/init-package-json/lib/default-input.js +0 -288
  1183. package/node/node_modules/npm/node_modules/init-package-json/lib/init-package-json.js +0 -147
  1184. package/node/node_modules/npm/node_modules/init-package-json/package.json +0 -67
  1185. package/node/node_modules/npm/node_modules/ip-address/LICENSE +0 -19
  1186. package/node/node_modules/npm/node_modules/ip-address/dist/address-error.js +0 -12
  1187. package/node/node_modules/npm/node_modules/ip-address/dist/common.js +0 -46
  1188. package/node/node_modules/npm/node_modules/ip-address/dist/ip-address.js +0 -35
  1189. package/node/node_modules/npm/node_modules/ip-address/dist/ipv4.js +0 -327
  1190. package/node/node_modules/npm/node_modules/ip-address/dist/ipv6.js +0 -1003
  1191. package/node/node_modules/npm/node_modules/ip-address/dist/v4/constants.js +0 -8
  1192. package/node/node_modules/npm/node_modules/ip-address/dist/v6/constants.js +0 -76
  1193. package/node/node_modules/npm/node_modules/ip-address/dist/v6/helpers.js +0 -45
  1194. package/node/node_modules/npm/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
  1195. package/node/node_modules/npm/node_modules/ip-address/package.json +0 -78
  1196. package/node/node_modules/npm/node_modules/ip-regex/index.js +0 -36
  1197. package/node/node_modules/npm/node_modules/ip-regex/license +0 -9
  1198. package/node/node_modules/npm/node_modules/ip-regex/package.json +0 -47
  1199. package/node/node_modules/npm/node_modules/is-cidr/LICENSE +0 -22
  1200. package/node/node_modules/npm/node_modules/is-cidr/dist/index.js +0 -11
  1201. package/node/node_modules/npm/node_modules/is-cidr/package.json +0 -38
  1202. package/node/node_modules/npm/node_modules/is-fullwidth-code-point/index.js +0 -50
  1203. package/node/node_modules/npm/node_modules/is-fullwidth-code-point/license +0 -9
  1204. package/node/node_modules/npm/node_modules/is-fullwidth-code-point/package.json +0 -42
  1205. package/node/node_modules/npm/node_modules/isexe/dist/cjs/index.js +0 -46
  1206. package/node/node_modules/npm/node_modules/isexe/dist/cjs/options.js +0 -3
  1207. package/node/node_modules/npm/node_modules/isexe/dist/cjs/package.json +0 -3
  1208. package/node/node_modules/npm/node_modules/isexe/dist/cjs/posix.js +0 -67
  1209. package/node/node_modules/npm/node_modules/isexe/dist/cjs/win32.js +0 -62
  1210. package/node/node_modules/npm/node_modules/isexe/dist/mjs/index.js +0 -16
  1211. package/node/node_modules/npm/node_modules/isexe/dist/mjs/options.js +0 -2
  1212. package/node/node_modules/npm/node_modules/isexe/dist/mjs/package.json +0 -3
  1213. package/node/node_modules/npm/node_modules/isexe/dist/mjs/posix.js +0 -62
  1214. package/node/node_modules/npm/node_modules/isexe/dist/mjs/win32.js +0 -57
  1215. package/node/node_modules/npm/node_modules/isexe/package.json +0 -96
  1216. package/node/node_modules/npm/node_modules/jackspeak/LICENSE.md +0 -55
  1217. package/node/node_modules/npm/node_modules/jackspeak/dist/commonjs/index.js +0 -947
  1218. package/node/node_modules/npm/node_modules/jackspeak/dist/commonjs/package.json +0 -3
  1219. package/node/node_modules/npm/node_modules/jackspeak/dist/esm/index.js +0 -936
  1220. package/node/node_modules/npm/node_modules/jackspeak/dist/esm/package.json +0 -3
  1221. package/node/node_modules/npm/node_modules/jackspeak/package.json +0 -94
  1222. package/node/node_modules/npm/node_modules/json-parse-even-better-errors/LICENSE.md +0 -25
  1223. package/node/node_modules/npm/node_modules/json-parse-even-better-errors/lib/index.js +0 -137
  1224. package/node/node_modules/npm/node_modules/json-parse-even-better-errors/package.json +0 -50
  1225. package/node/node_modules/npm/node_modules/json-stringify-nice/LICENSE +0 -15
  1226. package/node/node_modules/npm/node_modules/json-stringify-nice/index.js +0 -38
  1227. package/node/node_modules/npm/node_modules/json-stringify-nice/package.json +0 -40
  1228. package/node/node_modules/npm/node_modules/jsonparse/LICENSE +0 -24
  1229. package/node/node_modules/npm/node_modules/jsonparse/bench.js +0 -26
  1230. package/node/node_modules/npm/node_modules/jsonparse/examples/twitterfeed.js +0 -30
  1231. package/node/node_modules/npm/node_modules/jsonparse/jsonparse.js +0 -413
  1232. package/node/node_modules/npm/node_modules/jsonparse/package.json +0 -22
  1233. package/node/node_modules/npm/node_modules/jsonparse/samplejson/basic.json +0 -167
  1234. package/node/node_modules/npm/node_modules/jsonparse/samplejson/basic2.json +0 -180
  1235. package/node/node_modules/npm/node_modules/just-diff/LICENSE +0 -21
  1236. package/node/node_modules/npm/node_modules/just-diff/index.cjs +0 -230
  1237. package/node/node_modules/npm/node_modules/just-diff/index.mjs +0 -227
  1238. package/node/node_modules/npm/node_modules/just-diff/package.json +0 -33
  1239. package/node/node_modules/npm/node_modules/just-diff/rollup.config.js +0 -3
  1240. package/node/node_modules/npm/node_modules/just-diff-apply/LICENSE +0 -21
  1241. package/node/node_modules/npm/node_modules/just-diff-apply/index.cjs +0 -161
  1242. package/node/node_modules/npm/node_modules/just-diff-apply/index.mjs +0 -158
  1243. package/node/node_modules/npm/node_modules/just-diff-apply/package.json +0 -34
  1244. package/node/node_modules/npm/node_modules/just-diff-apply/rollup.config.js +0 -3
  1245. package/node/node_modules/npm/node_modules/libnpmaccess/LICENSE +0 -13
  1246. package/node/node_modules/npm/node_modules/libnpmaccess/README.md +0 -93
  1247. package/node/node_modules/npm/node_modules/libnpmaccess/lib/index.js +0 -140
  1248. package/node/node_modules/npm/node_modules/libnpmaccess/package.json +0 -53
  1249. package/node/node_modules/npm/node_modules/libnpmdiff/LICENSE +0 -15
  1250. package/node/node_modules/npm/node_modules/libnpmdiff/README.md +0 -95
  1251. package/node/node_modules/npm/node_modules/libnpmdiff/lib/format-diff.js +0 -118
  1252. package/node/node_modules/npm/node_modules/libnpmdiff/lib/index.js +0 -62
  1253. package/node/node_modules/npm/node_modules/libnpmdiff/lib/should-print-patch.js +0 -22
  1254. package/node/node_modules/npm/node_modules/libnpmdiff/lib/tarball.js +0 -38
  1255. package/node/node_modules/npm/node_modules/libnpmdiff/lib/untar.js +0 -96
  1256. package/node/node_modules/npm/node_modules/libnpmdiff/package.json +0 -70
  1257. package/node/node_modules/npm/node_modules/libnpmexec/LICENSE +0 -15
  1258. package/node/node_modules/npm/node_modules/libnpmexec/README.md +0 -47
  1259. package/node/node_modules/npm/node_modules/libnpmexec/lib/file-exists.js +0 -33
  1260. package/node/node_modules/npm/node_modules/libnpmexec/lib/get-bin-from-manifest.js +0 -22
  1261. package/node/node_modules/npm/node_modules/libnpmexec/lib/index.js +0 -310
  1262. package/node/node_modules/npm/node_modules/libnpmexec/lib/is-windows.js +0 -1
  1263. package/node/node_modules/npm/node_modules/libnpmexec/lib/no-tty.js +0 -1
  1264. package/node/node_modules/npm/node_modules/libnpmexec/lib/run-script.js +0 -73
  1265. package/node/node_modules/npm/node_modules/libnpmexec/lib/with-lock.js +0 -175
  1266. package/node/node_modules/npm/node_modules/libnpmexec/package.json +0 -81
  1267. package/node/node_modules/npm/node_modules/libnpmfund/LICENSE +0 -15
  1268. package/node/node_modules/npm/node_modules/libnpmfund/README.md +0 -131
  1269. package/node/node_modules/npm/node_modules/libnpmfund/lib/index.js +0 -210
  1270. package/node/node_modules/npm/node_modules/libnpmfund/package.json +0 -65
  1271. package/node/node_modules/npm/node_modules/libnpmorg/LICENSE +0 -13
  1272. package/node/node_modules/npm/node_modules/libnpmorg/README.md +0 -148
  1273. package/node/node_modules/npm/node_modules/libnpmorg/lib/index.js +0 -64
  1274. package/node/node_modules/npm/node_modules/libnpmorg/package.json +0 -62
  1275. package/node/node_modules/npm/node_modules/libnpmpack/LICENSE +0 -13
  1276. package/node/node_modules/npm/node_modules/libnpmpack/README.md +0 -55
  1277. package/node/node_modules/npm/node_modules/libnpmpack/lib/index.js +0 -62
  1278. package/node/node_modules/npm/node_modules/libnpmpack/package.json +0 -59
  1279. package/node/node_modules/npm/node_modules/libnpmpublish/LICENSE +0 -13
  1280. package/node/node_modules/npm/node_modules/libnpmpublish/README.md +0 -120
  1281. package/node/node_modules/npm/node_modules/libnpmpublish/lib/index.js +0 -4
  1282. package/node/node_modules/npm/node_modules/libnpmpublish/lib/provenance.js +0 -245
  1283. package/node/node_modules/npm/node_modules/libnpmpublish/lib/publish.js +0 -226
  1284. package/node/node_modules/npm/node_modules/libnpmpublish/lib/unpublish.js +0 -119
  1285. package/node/node_modules/npm/node_modules/libnpmpublish/package.json +0 -64
  1286. package/node/node_modules/npm/node_modules/libnpmsearch/LICENSE +0 -13
  1287. package/node/node_modules/npm/node_modules/libnpmsearch/README.md +0 -173
  1288. package/node/node_modules/npm/node_modules/libnpmsearch/lib/index.js +0 -71
  1289. package/node/node_modules/npm/node_modules/libnpmsearch/package.json +0 -58
  1290. package/node/node_modules/npm/node_modules/libnpmteam/LICENSE +0 -13
  1291. package/node/node_modules/npm/node_modules/libnpmteam/README.md +0 -172
  1292. package/node/node_modules/npm/node_modules/libnpmteam/lib/index.js +0 -92
  1293. package/node/node_modules/npm/node_modules/libnpmteam/package.json +0 -52
  1294. package/node/node_modules/npm/node_modules/libnpmversion/LICENSE +0 -15
  1295. package/node/node_modules/npm/node_modules/libnpmversion/README.md +0 -163
  1296. package/node/node_modules/npm/node_modules/libnpmversion/lib/commit.js +0 -17
  1297. package/node/node_modules/npm/node_modules/libnpmversion/lib/enforce-clean.js +0 -32
  1298. package/node/node_modules/npm/node_modules/libnpmversion/lib/index.js +0 -38
  1299. package/node/node_modules/npm/node_modules/libnpmversion/lib/read-json.js +0 -6
  1300. package/node/node_modules/npm/node_modules/libnpmversion/lib/retrieve-tag.js +0 -13
  1301. package/node/node_modules/npm/node_modules/libnpmversion/lib/tag.js +0 -30
  1302. package/node/node_modules/npm/node_modules/libnpmversion/lib/version.js +0 -136
  1303. package/node/node_modules/npm/node_modules/libnpmversion/lib/write-json.js +0 -15
  1304. package/node/node_modules/npm/node_modules/libnpmversion/package.json +0 -55
  1305. package/node/node_modules/npm/node_modules/lru-cache/LICENSE +0 -15
  1306. package/node/node_modules/npm/node_modules/lru-cache/dist/commonjs/index.js +0 -1564
  1307. package/node/node_modules/npm/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
  1308. package/node/node_modules/npm/node_modules/lru-cache/dist/commonjs/package.json +0 -3
  1309. package/node/node_modules/npm/node_modules/lru-cache/dist/esm/index.js +0 -1560
  1310. package/node/node_modules/npm/node_modules/lru-cache/dist/esm/index.min.js +0 -2
  1311. package/node/node_modules/npm/node_modules/lru-cache/dist/esm/package.json +0 -3
  1312. package/node/node_modules/npm/node_modules/lru-cache/package.json +0 -113
  1313. package/node/node_modules/npm/node_modules/make-fetch-happen/LICENSE +0 -16
  1314. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/entry.js +0 -471
  1315. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/errors.js +0 -11
  1316. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/index.js +0 -49
  1317. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/key.js +0 -17
  1318. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/cache/policy.js +0 -161
  1319. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/fetch.js +0 -118
  1320. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/index.js +0 -41
  1321. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/options.js +0 -59
  1322. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/pipeline.js +0 -41
  1323. package/node/node_modules/npm/node_modules/make-fetch-happen/lib/remote.js +0 -132
  1324. package/node/node_modules/npm/node_modules/make-fetch-happen/package.json +0 -74
  1325. package/node/node_modules/npm/node_modules/minimatch/LICENSE +0 -15
  1326. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
  1327. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/ast.js +0 -592
  1328. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -152
  1329. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/escape.js +0 -22
  1330. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/index.js +0 -1014
  1331. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/package.json +0 -3
  1332. package/node/node_modules/npm/node_modules/minimatch/dist/commonjs/unescape.js +0 -24
  1333. package/node/node_modules/npm/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
  1334. package/node/node_modules/npm/node_modules/minimatch/dist/esm/ast.js +0 -588
  1335. package/node/node_modules/npm/node_modules/minimatch/dist/esm/brace-expressions.js +0 -148
  1336. package/node/node_modules/npm/node_modules/minimatch/dist/esm/escape.js +0 -18
  1337. package/node/node_modules/npm/node_modules/minimatch/dist/esm/index.js +0 -1001
  1338. package/node/node_modules/npm/node_modules/minimatch/dist/esm/package.json +0 -3
  1339. package/node/node_modules/npm/node_modules/minimatch/dist/esm/unescape.js +0 -20
  1340. package/node/node_modules/npm/node_modules/minimatch/package.json +0 -79
  1341. package/node/node_modules/npm/node_modules/minipass/LICENSE +0 -15
  1342. package/node/node_modules/npm/node_modules/minipass/dist/commonjs/index.js +0 -1028
  1343. package/node/node_modules/npm/node_modules/minipass/dist/commonjs/package.json +0 -3
  1344. package/node/node_modules/npm/node_modules/minipass/dist/esm/index.js +0 -1018
  1345. package/node/node_modules/npm/node_modules/minipass/dist/esm/package.json +0 -3
  1346. package/node/node_modules/npm/node_modules/minipass/package.json +0 -82
  1347. package/node/node_modules/npm/node_modules/minipass-collect/LICENSE +0 -15
  1348. package/node/node_modules/npm/node_modules/minipass-collect/index.js +0 -71
  1349. package/node/node_modules/npm/node_modules/minipass-collect/package.json +0 -30
  1350. package/node/node_modules/npm/node_modules/minipass-fetch/LICENSE +0 -28
  1351. package/node/node_modules/npm/node_modules/minipass-fetch/lib/abort-error.js +0 -17
  1352. package/node/node_modules/npm/node_modules/minipass-fetch/lib/blob.js +0 -97
  1353. package/node/node_modules/npm/node_modules/minipass-fetch/lib/body.js +0 -350
  1354. package/node/node_modules/npm/node_modules/minipass-fetch/lib/fetch-error.js +0 -32
  1355. package/node/node_modules/npm/node_modules/minipass-fetch/lib/headers.js +0 -267
  1356. package/node/node_modules/npm/node_modules/minipass-fetch/lib/index.js +0 -376
  1357. package/node/node_modules/npm/node_modules/minipass-fetch/lib/request.js +0 -282
  1358. package/node/node_modules/npm/node_modules/minipass-fetch/lib/response.js +0 -90
  1359. package/node/node_modules/npm/node_modules/minipass-fetch/package.json +0 -70
  1360. package/node/node_modules/npm/node_modules/minipass-flush/LICENSE +0 -15
  1361. package/node/node_modules/npm/node_modules/minipass-flush/index.js +0 -39
  1362. package/node/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/LICENSE +0 -15
  1363. package/node/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/index.js +0 -649
  1364. package/node/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/package.json +0 -56
  1365. package/node/node_modules/npm/node_modules/minipass-flush/package.json +0 -39
  1366. package/node/node_modules/npm/node_modules/minipass-pipeline/LICENSE +0 -15
  1367. package/node/node_modules/npm/node_modules/minipass-pipeline/index.js +0 -128
  1368. package/node/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/LICENSE +0 -15
  1369. package/node/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/index.js +0 -649
  1370. package/node/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/package.json +0 -56
  1371. package/node/node_modules/npm/node_modules/minipass-pipeline/package.json +0 -29
  1372. package/node/node_modules/npm/node_modules/minipass-sized/LICENSE +0 -15
  1373. package/node/node_modules/npm/node_modules/minipass-sized/index.js +0 -67
  1374. package/node/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/LICENSE +0 -15
  1375. package/node/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/index.js +0 -649
  1376. package/node/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/package.json +0 -56
  1377. package/node/node_modules/npm/node_modules/minipass-sized/package.json +0 -39
  1378. package/node/node_modules/npm/node_modules/minizlib/LICENSE +0 -26
  1379. package/node/node_modules/npm/node_modules/minizlib/dist/commonjs/constants.js +0 -123
  1380. package/node/node_modules/npm/node_modules/minizlib/dist/commonjs/index.js +0 -416
  1381. package/node/node_modules/npm/node_modules/minizlib/dist/commonjs/package.json +0 -3
  1382. package/node/node_modules/npm/node_modules/minizlib/dist/esm/constants.js +0 -117
  1383. package/node/node_modules/npm/node_modules/minizlib/dist/esm/index.js +0 -363
  1384. package/node/node_modules/npm/node_modules/minizlib/dist/esm/package.json +0 -3
  1385. package/node/node_modules/npm/node_modules/minizlib/package.json +0 -80
  1386. package/node/node_modules/npm/node_modules/ms/index.js +0 -162
  1387. package/node/node_modules/npm/node_modules/ms/license.md +0 -21
  1388. package/node/node_modules/npm/node_modules/ms/package.json +0 -38
  1389. package/node/node_modules/npm/node_modules/mute-stream/LICENSE +0 -15
  1390. package/node/node_modules/npm/node_modules/mute-stream/lib/index.js +0 -142
  1391. package/node/node_modules/npm/node_modules/mute-stream/package.json +0 -54
  1392. package/node/node_modules/npm/node_modules/negotiator/HISTORY.md +0 -114
  1393. package/node/node_modules/npm/node_modules/negotiator/LICENSE +0 -24
  1394. package/node/node_modules/npm/node_modules/negotiator/index.js +0 -83
  1395. package/node/node_modules/npm/node_modules/negotiator/lib/charset.js +0 -169
  1396. package/node/node_modules/npm/node_modules/negotiator/lib/encoding.js +0 -205
  1397. package/node/node_modules/npm/node_modules/negotiator/lib/language.js +0 -179
  1398. package/node/node_modules/npm/node_modules/negotiator/lib/mediaType.js +0 -294
  1399. package/node/node_modules/npm/node_modules/negotiator/package.json +0 -43
  1400. package/node/node_modules/npm/node_modules/node-gyp/.release-please-manifest.json +0 -3
  1401. package/node/node_modules/npm/node_modules/node-gyp/CHANGELOG.md +0 -1111
  1402. package/node/node_modules/npm/node_modules/node-gyp/CODE_OF_CONDUCT.md +0 -4
  1403. package/node/node_modules/npm/node_modules/node-gyp/CONTRIBUTING.md +0 -34
  1404. package/node/node_modules/npm/node_modules/node-gyp/LICENSE +0 -24
  1405. package/node/node_modules/npm/node_modules/node-gyp/README.md +0 -292
  1406. package/node/node_modules/npm/node_modules/node-gyp/SECURITY.md +0 -2
  1407. package/node/node_modules/npm/node_modules/node-gyp/addon.gypi +0 -204
  1408. package/node/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +0 -138
  1409. package/node/node_modules/npm/node_modules/node-gyp/eslint.config.js +0 -3
  1410. package/node/node_modules/npm/node_modules/node-gyp/gyp/.release-please-manifest.json +0 -3
  1411. package/node/node_modules/npm/node_modules/node-gyp/gyp/LICENSE +0 -28
  1412. package/node/node_modules/npm/node_modules/node-gyp/gyp/data/ninja/build.ninja +0 -4
  1413. package/node/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  1414. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/GypVsCMake.md +0 -116
  1415. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/Hacking.md +0 -46
  1416. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/InputFormatReference.md +0 -1083
  1417. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/LanguageSpecification.md +0 -430
  1418. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/README.md +0 -27
  1419. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/Testing.md +0 -450
  1420. package/node/node_modules/npm/node_modules/node-gyp/gyp/docs/UserDocumentation.md +0 -965
  1421. package/node/node_modules/npm/node_modules/node-gyp/gyp/gyp +0 -8
  1422. package/node/node_modules/npm/node_modules/node-gyp/gyp/gyp.bat +0 -5
  1423. package/node/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  1424. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  1425. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  1426. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1283
  1427. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1545
  1428. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  1429. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  1430. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  1431. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -574
  1432. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -707
  1433. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -725
  1434. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -186
  1435. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -170
  1436. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  1437. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  1438. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  1439. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  1440. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1169
  1441. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1316
  1442. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  1443. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  1444. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -461
  1445. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -88
  1446. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -55
  1447. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2755
  1448. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3970
  1449. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  1450. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2957
  1451. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -67
  1452. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1389
  1453. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  1454. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3097
  1455. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  1456. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -765
  1457. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1255
  1458. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  1459. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  1460. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -371
  1461. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1934
  1462. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  1463. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -301
  1464. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3180
  1465. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -64
  1466. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +0 -3
  1467. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +0 -177
  1468. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +0 -23
  1469. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  1470. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -107
  1471. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  1472. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  1473. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  1474. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  1475. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  1476. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -251
  1477. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -824
  1478. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  1479. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  1480. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  1481. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -553
  1482. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  1483. package/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  1484. package/node/node_modules/npm/node_modules/node-gyp/gyp/pyproject.toml +0 -114
  1485. package/node/node_modules/npm/node_modules/node-gyp/gyp/release-please-config.json +0 -11
  1486. package/node/node_modules/npm/node_modules/node-gyp/gyp/test_gyp.py +0 -260
  1487. package/node/node_modules/npm/node_modules/node-gyp/lib/Find-VisualStudio.cs +0 -250
  1488. package/node/node_modules/npm/node_modules/node-gyp/lib/build.js +0 -230
  1489. package/node/node_modules/npm/node_modules/node-gyp/lib/clean.js +0 -15
  1490. package/node/node_modules/npm/node_modules/node-gyp/lib/configure.js +0 -328
  1491. package/node/node_modules/npm/node_modules/node-gyp/lib/create-config-gypi.js +0 -153
  1492. package/node/node_modules/npm/node_modules/node-gyp/lib/download.js +0 -39
  1493. package/node/node_modules/npm/node_modules/node-gyp/lib/find-node-directory.js +0 -63
  1494. package/node/node_modules/npm/node_modules/node-gyp/lib/find-python.js +0 -310
  1495. package/node/node_modules/npm/node_modules/node-gyp/lib/find-visualstudio.js +0 -600
  1496. package/node/node_modules/npm/node_modules/node-gyp/lib/install.js +0 -411
  1497. package/node/node_modules/npm/node_modules/node-gyp/lib/list.js +0 -26
  1498. package/node/node_modules/npm/node_modules/node-gyp/lib/log.js +0 -168
  1499. package/node/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js +0 -199
  1500. package/node/node_modules/npm/node_modules/node-gyp/lib/process-release.js +0 -146
  1501. package/node/node_modules/npm/node_modules/node-gyp/lib/rebuild.js +0 -12
  1502. package/node/node_modules/npm/node_modules/node-gyp/lib/remove.js +0 -43
  1503. package/node/node_modules/npm/node_modules/node-gyp/lib/util.js +0 -81
  1504. package/node/node_modules/npm/node_modules/node-gyp/macOS_Catalina_acid_test.sh +0 -21
  1505. package/node/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/agents.js +0 -206
  1506. package/node/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/dns.js +0 -53
  1507. package/node/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/errors.js +0 -61
  1508. package/node/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/index.js +0 -56
  1509. package/node/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/options.js +0 -86
  1510. package/node/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/proxy.js +0 -88
  1511. package/node/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/package.json +0 -60
  1512. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/LICENSE.md +0 -16
  1513. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/content/path.js +0 -29
  1514. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/content/read.js +0 -165
  1515. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/content/rm.js +0 -18
  1516. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/content/write.js +0 -206
  1517. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/entry-index.js +0 -336
  1518. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/get.js +0 -170
  1519. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/index.js +0 -42
  1520. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/memoization.js +0 -72
  1521. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/put.js +0 -80
  1522. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/rm.js +0 -31
  1523. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/util/glob.js +0 -7
  1524. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/util/hash-to-segments.js +0 -7
  1525. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/util/tmp.js +0 -26
  1526. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/verify.js +0 -258
  1527. package/node/node_modules/npm/node_modules/node-gyp/node_modules/cacache/package.json +0 -83
  1528. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/LICENSE +0 -15
  1529. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/README.md +0 -1265
  1530. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.d.ts +0 -388
  1531. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  1532. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.js +0 -247
  1533. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  1534. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  1535. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  1536. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.js +0 -27
  1537. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  1538. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
  1539. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  1540. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.js +0 -119
  1541. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  1542. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.d.ts +0 -97
  1543. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  1544. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.js +0 -68
  1545. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.js.map +0 -1
  1546. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/package.json +0 -3
  1547. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/pattern.d.ts +0 -76
  1548. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  1549. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/pattern.js +0 -219
  1550. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  1551. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  1552. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  1553. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/processor.js +0 -301
  1554. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  1555. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
  1556. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  1557. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/walker.js +0 -387
  1558. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  1559. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/bin.d.mts +0 -3
  1560. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
  1561. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/bin.mjs +0 -270
  1562. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/bin.mjs.map +0 -1
  1563. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/glob.d.ts +0 -388
  1564. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  1565. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/glob.js +0 -243
  1566. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/glob.js.map +0 -1
  1567. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  1568. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  1569. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/has-magic.js +0 -23
  1570. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  1571. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/ignore.d.ts +0 -24
  1572. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  1573. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/ignore.js +0 -115
  1574. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/ignore.js.map +0 -1
  1575. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/index.d.ts +0 -97
  1576. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  1577. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/index.js +0 -55
  1578. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/index.js.map +0 -1
  1579. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/package.json +0 -3
  1580. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/pattern.d.ts +0 -76
  1581. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  1582. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/pattern.js +0 -215
  1583. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/pattern.js.map +0 -1
  1584. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/processor.d.ts +0 -59
  1585. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  1586. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/processor.js +0 -294
  1587. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/processor.js.map +0 -1
  1588. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/walker.d.ts +0 -97
  1589. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  1590. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/walker.js +0 -381
  1591. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/walker.js.map +0 -1
  1592. package/node/node_modules/npm/node_modules/node-gyp/node_modules/glob/package.json +0 -99
  1593. package/node/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/LICENSE.md +0 -55
  1594. package/node/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/commonjs/index.js +0 -1010
  1595. package/node/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/commonjs/package.json +0 -3
  1596. package/node/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/commonjs/parse-args.js +0 -50
  1597. package/node/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/esm/index.js +0 -1000
  1598. package/node/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/esm/package.json +0 -3
  1599. package/node/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/esm/parse-args.js +0 -26
  1600. package/node/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/package.json +0 -95
  1601. package/node/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/LICENSE +0 -15
  1602. package/node/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/commonjs/index.js +0 -1546
  1603. package/node/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
  1604. package/node/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/commonjs/package.json +0 -3
  1605. package/node/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/esm/index.js +0 -1542
  1606. package/node/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/esm/index.min.js +0 -2
  1607. package/node/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/esm/package.json +0 -3
  1608. package/node/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/package.json +0 -116
  1609. package/node/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/LICENSE +0 -16
  1610. package/node/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/entry.js +0 -471
  1611. package/node/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/errors.js +0 -11
  1612. package/node/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/index.js +0 -49
  1613. package/node/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/key.js +0 -17
  1614. package/node/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/policy.js +0 -161
  1615. package/node/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/fetch.js +0 -118
  1616. package/node/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/index.js +0 -41
  1617. package/node/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/options.js +0 -59
  1618. package/node/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/pipeline.js +0 -41
  1619. package/node/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/remote.js +0 -132
  1620. package/node/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/package.json +0 -74
  1621. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/LICENSE +0 -15
  1622. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
  1623. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/ast.js +0 -592
  1624. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -152
  1625. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/escape.js +0 -22
  1626. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/index.js +0 -1017
  1627. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/package.json +0 -3
  1628. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/unescape.js +0 -24
  1629. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
  1630. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/ast.js +0 -588
  1631. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/brace-expressions.js +0 -148
  1632. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/escape.js +0 -18
  1633. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/index.js +0 -1001
  1634. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/package.json +0 -3
  1635. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/unescape.js +0 -20
  1636. package/node/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/package.json +0 -82
  1637. package/node/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/LICENSE.md +0 -55
  1638. package/node/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/dist/commonjs/index.js +0 -2014
  1639. package/node/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/dist/commonjs/package.json +0 -3
  1640. package/node/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/dist/esm/index.js +0 -1979
  1641. package/node/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/dist/esm/package.json +0 -3
  1642. package/node/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/package.json +0 -89
  1643. package/node/node_modules/npm/node_modules/node-gyp/package.json +0 -52
  1644. package/node/node_modules/npm/node_modules/node-gyp/release-please-config.json +0 -40
  1645. package/node/node_modules/npm/node_modules/node-gyp/src/win_delay_load_hook.cc +0 -41
  1646. package/node/node_modules/npm/node_modules/nopt/LICENSE +0 -15
  1647. package/node/node_modules/npm/node_modules/nopt/README.md +0 -214
  1648. package/node/node_modules/npm/node_modules/nopt/bin/nopt.js +0 -29
  1649. package/node/node_modules/npm/node_modules/nopt/lib/debug.js +0 -5
  1650. package/node/node_modules/npm/node_modules/nopt/lib/nopt-lib.js +0 -514
  1651. package/node/node_modules/npm/node_modules/nopt/lib/nopt.js +0 -34
  1652. package/node/node_modules/npm/node_modules/nopt/lib/type-defs.js +0 -91
  1653. package/node/node_modules/npm/node_modules/nopt/package.json +0 -52
  1654. package/node/node_modules/npm/node_modules/normalize-package-data/LICENSE +0 -15
  1655. package/node/node_modules/npm/node_modules/normalize-package-data/lib/extract_description.js +0 -24
  1656. package/node/node_modules/npm/node_modules/normalize-package-data/lib/fixer.js +0 -472
  1657. package/node/node_modules/npm/node_modules/normalize-package-data/lib/make_warning.js +0 -22
  1658. package/node/node_modules/npm/node_modules/normalize-package-data/lib/normalize.js +0 -48
  1659. package/node/node_modules/npm/node_modules/normalize-package-data/lib/safe_format.js +0 -11
  1660. package/node/node_modules/npm/node_modules/normalize-package-data/lib/typos.json +0 -25
  1661. package/node/node_modules/npm/node_modules/normalize-package-data/lib/warning_messages.json +0 -30
  1662. package/node/node_modules/npm/node_modules/normalize-package-data/package.json +0 -56
  1663. package/node/node_modules/npm/node_modules/npm-audit-report/LICENSE +0 -16
  1664. package/node/node_modules/npm/node_modules/npm-audit-report/lib/colors.js +0 -22
  1665. package/node/node_modules/npm/node_modules/npm-audit-report/lib/exit-code.js +0 -14
  1666. package/node/node_modules/npm/node_modules/npm-audit-report/lib/index.js +0 -41
  1667. package/node/node_modules/npm/node_modules/npm-audit-report/lib/reporters/detail.js +0 -86
  1668. package/node/node_modules/npm/node_modules/npm-audit-report/lib/reporters/install.js +0 -75
  1669. package/node/node_modules/npm/node_modules/npm-audit-report/lib/reporters/json.js +0 -1
  1670. package/node/node_modules/npm/node_modules/npm-audit-report/lib/reporters/quiet.js +0 -1
  1671. package/node/node_modules/npm/node_modules/npm-audit-report/package.json +0 -62
  1672. package/node/node_modules/npm/node_modules/npm-bundled/LICENSE +0 -15
  1673. package/node/node_modules/npm/node_modules/npm-bundled/lib/index.js +0 -254
  1674. package/node/node_modules/npm/node_modules/npm-bundled/package.json +0 -49
  1675. package/node/node_modules/npm/node_modules/npm-install-checks/LICENSE +0 -27
  1676. package/node/node_modules/npm/node_modules/npm-install-checks/lib/current-env.js +0 -91
  1677. package/node/node_modules/npm/node_modules/npm-install-checks/lib/dev-engines.js +0 -145
  1678. package/node/node_modules/npm/node_modules/npm-install-checks/lib/index.js +0 -90
  1679. package/node/node_modules/npm/node_modules/npm-install-checks/package.json +0 -52
  1680. package/node/node_modules/npm/node_modules/npm-normalize-package-bin/LICENSE +0 -15
  1681. package/node/node_modules/npm/node_modules/npm-normalize-package-bin/lib/index.js +0 -64
  1682. package/node/node_modules/npm/node_modules/npm-normalize-package-bin/package.json +0 -45
  1683. package/node/node_modules/npm/node_modules/npm-package-arg/LICENSE +0 -15
  1684. package/node/node_modules/npm/node_modules/npm-package-arg/lib/npa.js +0 -481
  1685. package/node/node_modules/npm/node_modules/npm-package-arg/package.json +0 -61
  1686. package/node/node_modules/npm/node_modules/npm-packlist/LICENSE +0 -15
  1687. package/node/node_modules/npm/node_modules/npm-packlist/lib/index.js +0 -457
  1688. package/node/node_modules/npm/node_modules/npm-packlist/package.json +0 -61
  1689. package/node/node_modules/npm/node_modules/npm-pick-manifest/LICENSE.md +0 -16
  1690. package/node/node_modules/npm/node_modules/npm-pick-manifest/lib/index.js +0 -219
  1691. package/node/node_modules/npm/node_modules/npm-pick-manifest/package.json +0 -58
  1692. package/node/node_modules/npm/node_modules/npm-profile/LICENSE.md +0 -20
  1693. package/node/node_modules/npm/node_modules/npm-profile/lib/index.js +0 -278
  1694. package/node/node_modules/npm/node_modules/npm-profile/package.json +0 -52
  1695. package/node/node_modules/npm/node_modules/npm-registry-fetch/LICENSE.md +0 -20
  1696. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/auth.js +0 -181
  1697. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js +0 -108
  1698. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/default-opts.js +0 -19
  1699. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/errors.js +0 -80
  1700. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/index.js +0 -247
  1701. package/node/node_modules/npm/node_modules/npm-registry-fetch/lib/json-stream.js +0 -223
  1702. package/node/node_modules/npm/node_modules/npm-registry-fetch/package.json +0 -68
  1703. package/node/node_modules/npm/node_modules/npm-user-validate/LICENSE +0 -27
  1704. package/node/node_modules/npm/node_modules/npm-user-validate/lib/index.js +0 -61
  1705. package/node/node_modules/npm/node_modules/npm-user-validate/package.json +0 -50
  1706. package/node/node_modules/npm/node_modules/p-map/index.js +0 -281
  1707. package/node/node_modules/npm/node_modules/p-map/license +0 -9
  1708. package/node/node_modules/npm/node_modules/p-map/package.json +0 -57
  1709. package/node/node_modules/npm/node_modules/package-json-from-dist/LICENSE.md +0 -63
  1710. package/node/node_modules/npm/node_modules/package-json-from-dist/dist/commonjs/index.js +0 -134
  1711. package/node/node_modules/npm/node_modules/package-json-from-dist/dist/commonjs/package.json +0 -3
  1712. package/node/node_modules/npm/node_modules/package-json-from-dist/dist/esm/index.js +0 -129
  1713. package/node/node_modules/npm/node_modules/package-json-from-dist/dist/esm/package.json +0 -3
  1714. package/node/node_modules/npm/node_modules/package-json-from-dist/package.json +0 -68
  1715. package/node/node_modules/npm/node_modules/pacote/LICENSE +0 -15
  1716. package/node/node_modules/npm/node_modules/pacote/README.md +0 -283
  1717. package/node/node_modules/npm/node_modules/pacote/bin/index.js +0 -158
  1718. package/node/node_modules/npm/node_modules/pacote/lib/dir.js +0 -105
  1719. package/node/node_modules/npm/node_modules/pacote/lib/fetcher.js +0 -497
  1720. package/node/node_modules/npm/node_modules/pacote/lib/file.js +0 -94
  1721. package/node/node_modules/npm/node_modules/pacote/lib/git.js +0 -317
  1722. package/node/node_modules/npm/node_modules/pacote/lib/index.js +0 -23
  1723. package/node/node_modules/npm/node_modules/pacote/lib/registry.js +0 -369
  1724. package/node/node_modules/npm/node_modules/pacote/lib/remote.js +0 -89
  1725. package/node/node_modules/npm/node_modules/pacote/lib/util/add-git-sha.js +0 -15
  1726. package/node/node_modules/npm/node_modules/pacote/lib/util/cache-dir.js +0 -15
  1727. package/node/node_modules/npm/node_modules/pacote/lib/util/is-package-bin.js +0 -25
  1728. package/node/node_modules/npm/node_modules/pacote/lib/util/npm.js +0 -14
  1729. package/node/node_modules/npm/node_modules/pacote/lib/util/protected.js +0 -5
  1730. package/node/node_modules/npm/node_modules/pacote/lib/util/tar-create-options.js +0 -31
  1731. package/node/node_modules/npm/node_modules/pacote/lib/util/trailing-slashes.js +0 -10
  1732. package/node/node_modules/npm/node_modules/pacote/package.json +0 -80
  1733. package/node/node_modules/npm/node_modules/parse-conflict-json/LICENSE.md +0 -20
  1734. package/node/node_modules/npm/node_modules/parse-conflict-json/lib/index.js +0 -104
  1735. package/node/node_modules/npm/node_modules/parse-conflict-json/package.json +0 -51
  1736. package/node/node_modules/npm/node_modules/path-key/index.js +0 -16
  1737. package/node/node_modules/npm/node_modules/path-key/license +0 -9
  1738. package/node/node_modules/npm/node_modules/path-key/package.json +0 -39
  1739. package/node/node_modules/npm/node_modules/path-scurry/LICENSE.md +0 -55
  1740. package/node/node_modules/npm/node_modules/path-scurry/dist/commonjs/index.js +0 -2016
  1741. package/node/node_modules/npm/node_modules/path-scurry/dist/commonjs/package.json +0 -3
  1742. package/node/node_modules/npm/node_modules/path-scurry/dist/esm/index.js +0 -1981
  1743. package/node/node_modules/npm/node_modules/path-scurry/dist/esm/package.json +0 -3
  1744. package/node/node_modules/npm/node_modules/path-scurry/package.json +0 -88
  1745. package/node/node_modules/npm/node_modules/postcss-selector-parser/API.md +0 -874
  1746. package/node/node_modules/npm/node_modules/postcss-selector-parser/LICENSE-MIT +0 -22
  1747. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/index.js +0 -17
  1748. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/parser.js +0 -1015
  1749. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/processor.js +0 -170
  1750. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/attribute.js +0 -448
  1751. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/className.js +0 -50
  1752. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/combinator.js +0 -21
  1753. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/comment.js +0 -21
  1754. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/constructors.js +0 -65
  1755. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/container.js +0 -321
  1756. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/guards.js +0 -58
  1757. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/id.js +0 -25
  1758. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/index.js +0 -21
  1759. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/namespace.js +0 -80
  1760. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/nesting.js +0 -22
  1761. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/node.js +0 -192
  1762. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/pseudo.js +0 -26
  1763. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/root.js +0 -44
  1764. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/selector.js +0 -21
  1765. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/string.js +0 -21
  1766. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/tag.js +0 -21
  1767. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/types.js +0 -28
  1768. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/universal.js +0 -22
  1769. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/sortAscending.js +0 -11
  1770. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/tokenTypes.js +0 -70
  1771. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/tokenize.js +0 -239
  1772. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/ensureObject.js +0 -17
  1773. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/getProp.js +0 -18
  1774. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/index.js +0 -13
  1775. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/stripComments.js +0 -21
  1776. package/node/node_modules/npm/node_modules/postcss-selector-parser/dist/util/unesc.js +0 -76
  1777. package/node/node_modules/npm/node_modules/postcss-selector-parser/package.json +0 -80
  1778. package/node/node_modules/npm/node_modules/proc-log/LICENSE +0 -15
  1779. package/node/node_modules/npm/node_modules/proc-log/lib/index.js +0 -153
  1780. package/node/node_modules/npm/node_modules/proc-log/package.json +0 -46
  1781. package/node/node_modules/npm/node_modules/proggy/LICENSE +0 -15
  1782. package/node/node_modules/npm/node_modules/proggy/lib/client.js +0 -114
  1783. package/node/node_modules/npm/node_modules/proggy/lib/index.js +0 -15
  1784. package/node/node_modules/npm/node_modules/proggy/lib/tracker.js +0 -68
  1785. package/node/node_modules/npm/node_modules/proggy/package.json +0 -50
  1786. package/node/node_modules/npm/node_modules/promise-all-reject-late/LICENSE +0 -15
  1787. package/node/node_modules/npm/node_modules/promise-all-reject-late/index.js +0 -27
  1788. package/node/node_modules/npm/node_modules/promise-all-reject-late/package.json +0 -22
  1789. package/node/node_modules/npm/node_modules/promise-call-limit/LICENSE +0 -15
  1790. package/node/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js +0 -87
  1791. package/node/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/package.json +0 -3
  1792. package/node/node_modules/npm/node_modules/promise-call-limit/dist/esm/index.js +0 -60
  1793. package/node/node_modules/npm/node_modules/promise-call-limit/dist/esm/package.json +0 -3
  1794. package/node/node_modules/npm/node_modules/promise-call-limit/package.json +0 -68
  1795. package/node/node_modules/npm/node_modules/promise-retry/LICENSE +0 -19
  1796. package/node/node_modules/npm/node_modules/promise-retry/index.js +0 -52
  1797. package/node/node_modules/npm/node_modules/promise-retry/package.json +0 -37
  1798. package/node/node_modules/npm/node_modules/promzard/LICENSE +0 -15
  1799. package/node/node_modules/npm/node_modules/promzard/lib/index.js +0 -176
  1800. package/node/node_modules/npm/node_modules/promzard/package.json +0 -50
  1801. package/node/node_modules/npm/node_modules/qrcode-terminal/.travis.yml +0 -3
  1802. package/node/node_modules/npm/node_modules/qrcode-terminal/LICENSE +0 -222
  1803. package/node/node_modules/npm/node_modules/qrcode-terminal/README.md +0 -82
  1804. package/node/node_modules/npm/node_modules/qrcode-terminal/bin/qrcode-terminal.js +0 -101
  1805. package/node/node_modules/npm/node_modules/qrcode-terminal/example/basic.js +0 -2
  1806. package/node/node_modules/npm/node_modules/qrcode-terminal/example/basic.png +0 -0
  1807. package/node/node_modules/npm/node_modules/qrcode-terminal/example/callback.js +0 -4
  1808. package/node/node_modules/npm/node_modules/qrcode-terminal/example/small-qrcode.js +0 -6
  1809. package/node/node_modules/npm/node_modules/qrcode-terminal/lib/main.js +0 -100
  1810. package/node/node_modules/npm/node_modules/qrcode-terminal/package.json +0 -37
  1811. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QR8bitByte.js +0 -22
  1812. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRBitBuffer.js +0 -38
  1813. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel.js +0 -7
  1814. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMaskPattern.js +0 -10
  1815. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMath.js +0 -44
  1816. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMode.js +0 -6
  1817. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRPolynomial.js +0 -66
  1818. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRRSBlock.js +0 -298
  1819. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRUtil.js +0 -272
  1820. package/node/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/index.js +0 -462
  1821. package/node/node_modules/npm/node_modules/read/LICENSE +0 -15
  1822. package/node/node_modules/npm/node_modules/read/dist/commonjs/package.json +0 -3
  1823. package/node/node_modules/npm/node_modules/read/dist/commonjs/read.js +0 -94
  1824. package/node/node_modules/npm/node_modules/read/dist/esm/package.json +0 -3
  1825. package/node/node_modules/npm/node_modules/read/dist/esm/read.js +0 -88
  1826. package/node/node_modules/npm/node_modules/read/package.json +0 -88
  1827. package/node/node_modules/npm/node_modules/read-cmd-shim/LICENSE +0 -14
  1828. package/node/node_modules/npm/node_modules/read-cmd-shim/lib/index.js +0 -75
  1829. package/node/node_modules/npm/node_modules/read-cmd-shim/package.json +0 -48
  1830. package/node/node_modules/npm/node_modules/retry/License +0 -21
  1831. package/node/node_modules/npm/node_modules/retry/Makefile +0 -18
  1832. package/node/node_modules/npm/node_modules/retry/equation.gif +0 -0
  1833. package/node/node_modules/npm/node_modules/retry/example/dns.js +0 -31
  1834. package/node/node_modules/npm/node_modules/retry/example/stop.js +0 -40
  1835. package/node/node_modules/npm/node_modules/retry/index.js +0 -1
  1836. package/node/node_modules/npm/node_modules/retry/lib/retry.js +0 -100
  1837. package/node/node_modules/npm/node_modules/retry/lib/retry_operation.js +0 -158
  1838. package/node/node_modules/npm/node_modules/retry/package.json +0 -32
  1839. package/node/node_modules/npm/node_modules/safer-buffer/LICENSE +0 -21
  1840. package/node/node_modules/npm/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  1841. package/node/node_modules/npm/node_modules/safer-buffer/dangerous.js +0 -58
  1842. package/node/node_modules/npm/node_modules/safer-buffer/package.json +0 -34
  1843. package/node/node_modules/npm/node_modules/safer-buffer/safer.js +0 -77
  1844. package/node/node_modules/npm/node_modules/safer-buffer/tests.js +0 -406
  1845. package/node/node_modules/npm/node_modules/semver/LICENSE +0 -15
  1846. package/node/node_modules/npm/node_modules/semver/README.md +0 -663
  1847. package/node/node_modules/npm/node_modules/semver/bin/semver.js +0 -191
  1848. package/node/node_modules/npm/node_modules/semver/classes/comparator.js +0 -143
  1849. package/node/node_modules/npm/node_modules/semver/classes/index.js +0 -7
  1850. package/node/node_modules/npm/node_modules/semver/classes/range.js +0 -556
  1851. package/node/node_modules/npm/node_modules/semver/classes/semver.js +0 -319
  1852. package/node/node_modules/npm/node_modules/semver/functions/clean.js +0 -8
  1853. package/node/node_modules/npm/node_modules/semver/functions/cmp.js +0 -54
  1854. package/node/node_modules/npm/node_modules/semver/functions/coerce.js +0 -62
  1855. package/node/node_modules/npm/node_modules/semver/functions/compare-build.js +0 -9
  1856. package/node/node_modules/npm/node_modules/semver/functions/compare-loose.js +0 -5
  1857. package/node/node_modules/npm/node_modules/semver/functions/compare.js +0 -7
  1858. package/node/node_modules/npm/node_modules/semver/functions/diff.js +0 -60
  1859. package/node/node_modules/npm/node_modules/semver/functions/eq.js +0 -5
  1860. package/node/node_modules/npm/node_modules/semver/functions/gt.js +0 -5
  1861. package/node/node_modules/npm/node_modules/semver/functions/gte.js +0 -5
  1862. package/node/node_modules/npm/node_modules/semver/functions/inc.js +0 -21
  1863. package/node/node_modules/npm/node_modules/semver/functions/lt.js +0 -5
  1864. package/node/node_modules/npm/node_modules/semver/functions/lte.js +0 -5
  1865. package/node/node_modules/npm/node_modules/semver/functions/major.js +0 -5
  1866. package/node/node_modules/npm/node_modules/semver/functions/minor.js +0 -5
  1867. package/node/node_modules/npm/node_modules/semver/functions/neq.js +0 -5
  1868. package/node/node_modules/npm/node_modules/semver/functions/parse.js +0 -18
  1869. package/node/node_modules/npm/node_modules/semver/functions/patch.js +0 -5
  1870. package/node/node_modules/npm/node_modules/semver/functions/prerelease.js +0 -8
  1871. package/node/node_modules/npm/node_modules/semver/functions/rcompare.js +0 -5
  1872. package/node/node_modules/npm/node_modules/semver/functions/rsort.js +0 -5
  1873. package/node/node_modules/npm/node_modules/semver/functions/satisfies.js +0 -12
  1874. package/node/node_modules/npm/node_modules/semver/functions/sort.js +0 -5
  1875. package/node/node_modules/npm/node_modules/semver/functions/valid.js +0 -8
  1876. package/node/node_modules/npm/node_modules/semver/index.js +0 -91
  1877. package/node/node_modules/npm/node_modules/semver/internal/constants.js +0 -37
  1878. package/node/node_modules/npm/node_modules/semver/internal/debug.js +0 -11
  1879. package/node/node_modules/npm/node_modules/semver/internal/identifiers.js +0 -25
  1880. package/node/node_modules/npm/node_modules/semver/internal/lrucache.js +0 -42
  1881. package/node/node_modules/npm/node_modules/semver/internal/parse-options.js +0 -17
  1882. package/node/node_modules/npm/node_modules/semver/internal/re.js +0 -223
  1883. package/node/node_modules/npm/node_modules/semver/package.json +0 -78
  1884. package/node/node_modules/npm/node_modules/semver/preload.js +0 -4
  1885. package/node/node_modules/npm/node_modules/semver/range.bnf +0 -16
  1886. package/node/node_modules/npm/node_modules/semver/ranges/gtr.js +0 -6
  1887. package/node/node_modules/npm/node_modules/semver/ranges/intersects.js +0 -9
  1888. package/node/node_modules/npm/node_modules/semver/ranges/ltr.js +0 -6
  1889. package/node/node_modules/npm/node_modules/semver/ranges/max-satisfying.js +0 -27
  1890. package/node/node_modules/npm/node_modules/semver/ranges/min-satisfying.js +0 -26
  1891. package/node/node_modules/npm/node_modules/semver/ranges/min-version.js +0 -63
  1892. package/node/node_modules/npm/node_modules/semver/ranges/outside.js +0 -82
  1893. package/node/node_modules/npm/node_modules/semver/ranges/simplify.js +0 -49
  1894. package/node/node_modules/npm/node_modules/semver/ranges/subset.js +0 -249
  1895. package/node/node_modules/npm/node_modules/semver/ranges/to-comparators.js +0 -10
  1896. package/node/node_modules/npm/node_modules/semver/ranges/valid.js +0 -13
  1897. package/node/node_modules/npm/node_modules/shebang-command/index.js +0 -19
  1898. package/node/node_modules/npm/node_modules/shebang-command/license +0 -9
  1899. package/node/node_modules/npm/node_modules/shebang-command/package.json +0 -34
  1900. package/node/node_modules/npm/node_modules/shebang-regex/index.js +0 -2
  1901. package/node/node_modules/npm/node_modules/shebang-regex/license +0 -9
  1902. package/node/node_modules/npm/node_modules/shebang-regex/package.json +0 -35
  1903. package/node/node_modules/npm/node_modules/signal-exit/LICENSE.txt +0 -16
  1904. package/node/node_modules/npm/node_modules/signal-exit/dist/cjs/browser.js +0 -10
  1905. package/node/node_modules/npm/node_modules/signal-exit/dist/cjs/index.js +0 -279
  1906. package/node/node_modules/npm/node_modules/signal-exit/dist/cjs/package.json +0 -3
  1907. package/node/node_modules/npm/node_modules/signal-exit/dist/cjs/signals.js +0 -42
  1908. package/node/node_modules/npm/node_modules/signal-exit/dist/mjs/browser.js +0 -4
  1909. package/node/node_modules/npm/node_modules/signal-exit/dist/mjs/index.js +0 -275
  1910. package/node/node_modules/npm/node_modules/signal-exit/dist/mjs/package.json +0 -3
  1911. package/node/node_modules/npm/node_modules/signal-exit/dist/mjs/signals.js +0 -39
  1912. package/node/node_modules/npm/node_modules/signal-exit/package.json +0 -106
  1913. package/node/node_modules/npm/node_modules/sigstore/LICENSE +0 -202
  1914. package/node/node_modules/npm/node_modules/sigstore/dist/config.js +0 -120
  1915. package/node/node_modules/npm/node_modules/sigstore/dist/index.js +0 -34
  1916. package/node/node_modules/npm/node_modules/sigstore/dist/sigstore.js +0 -112
  1917. package/node/node_modules/npm/node_modules/sigstore/package.json +0 -47
  1918. package/node/node_modules/npm/node_modules/smart-buffer/LICENSE +0 -20
  1919. package/node/node_modules/npm/node_modules/smart-buffer/build/smartbuffer.js +0 -1233
  1920. package/node/node_modules/npm/node_modules/smart-buffer/build/utils.js +0 -108
  1921. package/node/node_modules/npm/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
  1922. package/node/node_modules/npm/node_modules/smart-buffer/package.json +0 -79
  1923. package/node/node_modules/npm/node_modules/socks/LICENSE +0 -20
  1924. package/node/node_modules/npm/node_modules/socks/build/client/socksclient.js +0 -793
  1925. package/node/node_modules/npm/node_modules/socks/build/common/constants.js +0 -108
  1926. package/node/node_modules/npm/node_modules/socks/build/common/helpers.js +0 -167
  1927. package/node/node_modules/npm/node_modules/socks/build/common/receivebuffer.js +0 -43
  1928. package/node/node_modules/npm/node_modules/socks/build/common/util.js +0 -25
  1929. package/node/node_modules/npm/node_modules/socks/build/index.js +0 -18
  1930. package/node/node_modules/npm/node_modules/socks/docs/examples/index.md +0 -17
  1931. package/node/node_modules/npm/node_modules/socks/docs/examples/javascript/associateExample.md +0 -90
  1932. package/node/node_modules/npm/node_modules/socks/docs/examples/javascript/bindExample.md +0 -83
  1933. package/node/node_modules/npm/node_modules/socks/docs/examples/javascript/connectExample.md +0 -258
  1934. package/node/node_modules/npm/node_modules/socks/docs/examples/typescript/associateExample.md +0 -93
  1935. package/node/node_modules/npm/node_modules/socks/docs/examples/typescript/bindExample.md +0 -86
  1936. package/node/node_modules/npm/node_modules/socks/docs/examples/typescript/connectExample.md +0 -265
  1937. package/node/node_modules/npm/node_modules/socks/docs/index.md +0 -5
  1938. package/node/node_modules/npm/node_modules/socks/docs/migratingFromV1.md +0 -86
  1939. package/node/node_modules/npm/node_modules/socks/package.json +0 -58
  1940. package/node/node_modules/npm/node_modules/socks-proxy-agent/LICENSE +0 -22
  1941. package/node/node_modules/npm/node_modules/socks-proxy-agent/dist/index.js +0 -195
  1942. package/node/node_modules/npm/node_modules/socks-proxy-agent/package.json +0 -142
  1943. package/node/node_modules/npm/node_modules/spdx-correct/LICENSE +0 -202
  1944. package/node/node_modules/npm/node_modules/spdx-correct/index.js +0 -386
  1945. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/AUTHORS +0 -4
  1946. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/LICENSE +0 -22
  1947. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/index.js +0 -8
  1948. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/package.json +0 -39
  1949. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/parse.js +0 -138
  1950. package/node/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/scan.js +0 -131
  1951. package/node/node_modules/npm/node_modules/spdx-correct/package.json +0 -32
  1952. package/node/node_modules/npm/node_modules/spdx-exceptions/deprecated.json +0 -3
  1953. package/node/node_modules/npm/node_modules/spdx-exceptions/index.json +0 -68
  1954. package/node/node_modules/npm/node_modules/spdx-exceptions/package.json +0 -19
  1955. package/node/node_modules/npm/node_modules/spdx-expression-parse/AUTHORS +0 -4
  1956. package/node/node_modules/npm/node_modules/spdx-expression-parse/LICENSE +0 -22
  1957. package/node/node_modules/npm/node_modules/spdx-expression-parse/index.js +0 -8
  1958. package/node/node_modules/npm/node_modules/spdx-expression-parse/package.json +0 -39
  1959. package/node/node_modules/npm/node_modules/spdx-expression-parse/parse.js +0 -138
  1960. package/node/node_modules/npm/node_modules/spdx-expression-parse/scan.js +0 -131
  1961. package/node/node_modules/npm/node_modules/spdx-license-ids/deprecated.json +0 -28
  1962. package/node/node_modules/npm/node_modules/spdx-license-ids/index.json +0 -669
  1963. package/node/node_modules/npm/node_modules/spdx-license-ids/package.json +0 -29
  1964. package/node/node_modules/npm/node_modules/ssri/LICENSE.md +0 -16
  1965. package/node/node_modules/npm/node_modules/ssri/lib/index.js +0 -580
  1966. package/node/node_modules/npm/node_modules/ssri/package.json +0 -66
  1967. package/node/node_modules/npm/node_modules/string-width/index.js +0 -47
  1968. package/node/node_modules/npm/node_modules/string-width/license +0 -9
  1969. package/node/node_modules/npm/node_modules/string-width/package.json +0 -56
  1970. package/node/node_modules/npm/node_modules/string-width-cjs/index.js +0 -47
  1971. package/node/node_modules/npm/node_modules/string-width-cjs/license +0 -9
  1972. package/node/node_modules/npm/node_modules/string-width-cjs/package.json +0 -56
  1973. package/node/node_modules/npm/node_modules/strip-ansi/index.js +0 -4
  1974. package/node/node_modules/npm/node_modules/strip-ansi/license +0 -9
  1975. package/node/node_modules/npm/node_modules/strip-ansi/package.json +0 -54
  1976. package/node/node_modules/npm/node_modules/strip-ansi-cjs/index.js +0 -4
  1977. package/node/node_modules/npm/node_modules/strip-ansi-cjs/license +0 -9
  1978. package/node/node_modules/npm/node_modules/strip-ansi-cjs/package.json +0 -54
  1979. package/node/node_modules/npm/node_modules/supports-color/browser.js +0 -35
  1980. package/node/node_modules/npm/node_modules/supports-color/index.js +0 -202
  1981. package/node/node_modules/npm/node_modules/supports-color/license +0 -9
  1982. package/node/node_modules/npm/node_modules/supports-color/package.json +0 -64
  1983. package/node/node_modules/npm/node_modules/tar/LICENSE +0 -15
  1984. package/node/node_modules/npm/node_modules/tar/dist/commonjs/create.js +0 -83
  1985. package/node/node_modules/npm/node_modules/tar/dist/commonjs/cwd-error.js +0 -18
  1986. package/node/node_modules/npm/node_modules/tar/dist/commonjs/extract.js +0 -78
  1987. package/node/node_modules/npm/node_modules/tar/dist/commonjs/get-write-flag.js +0 -29
  1988. package/node/node_modules/npm/node_modules/tar/dist/commonjs/header.js +0 -306
  1989. package/node/node_modules/npm/node_modules/tar/dist/commonjs/index.js +0 -54
  1990. package/node/node_modules/npm/node_modules/tar/dist/commonjs/large-numbers.js +0 -99
  1991. package/node/node_modules/npm/node_modules/tar/dist/commonjs/list.js +0 -138
  1992. package/node/node_modules/npm/node_modules/tar/dist/commonjs/make-command.js +0 -61
  1993. package/node/node_modules/npm/node_modules/tar/dist/commonjs/mkdir.js +0 -188
  1994. package/node/node_modules/npm/node_modules/tar/dist/commonjs/mode-fix.js +0 -29
  1995. package/node/node_modules/npm/node_modules/tar/dist/commonjs/normalize-unicode.js +0 -34
  1996. package/node/node_modules/npm/node_modules/tar/dist/commonjs/normalize-windows-path.js +0 -12
  1997. package/node/node_modules/npm/node_modules/tar/dist/commonjs/options.js +0 -66
  1998. package/node/node_modules/npm/node_modules/tar/dist/commonjs/pack.js +0 -491
  1999. package/node/node_modules/npm/node_modules/tar/dist/commonjs/package.json +0 -3
  2000. package/node/node_modules/npm/node_modules/tar/dist/commonjs/parse.js +0 -622
  2001. package/node/node_modules/npm/node_modules/tar/dist/commonjs/path-reservations.js +0 -170
  2002. package/node/node_modules/npm/node_modules/tar/dist/commonjs/pax.js +0 -158
  2003. package/node/node_modules/npm/node_modules/tar/dist/commonjs/read-entry.js +0 -140
  2004. package/node/node_modules/npm/node_modules/tar/dist/commonjs/replace.js +0 -232
  2005. package/node/node_modules/npm/node_modules/tar/dist/commonjs/strip-absolute-path.js +0 -29
  2006. package/node/node_modules/npm/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +0 -18
  2007. package/node/node_modules/npm/node_modules/tar/dist/commonjs/symlink-error.js +0 -19
  2008. package/node/node_modules/npm/node_modules/tar/dist/commonjs/types.js +0 -50
  2009. package/node/node_modules/npm/node_modules/tar/dist/commonjs/unpack.js +0 -871
  2010. package/node/node_modules/npm/node_modules/tar/dist/commonjs/update.js +0 -33
  2011. package/node/node_modules/npm/node_modules/tar/dist/commonjs/warn-method.js +0 -31
  2012. package/node/node_modules/npm/node_modules/tar/dist/commonjs/winchars.js +0 -14
  2013. package/node/node_modules/npm/node_modules/tar/dist/commonjs/write-entry.js +0 -689
  2014. package/node/node_modules/npm/node_modules/tar/dist/esm/create.js +0 -77
  2015. package/node/node_modules/npm/node_modules/tar/dist/esm/cwd-error.js +0 -14
  2016. package/node/node_modules/npm/node_modules/tar/dist/esm/extract.js +0 -49
  2017. package/node/node_modules/npm/node_modules/tar/dist/esm/get-write-flag.js +0 -23
  2018. package/node/node_modules/npm/node_modules/tar/dist/esm/header.js +0 -279
  2019. package/node/node_modules/npm/node_modules/tar/dist/esm/index.js +0 -20
  2020. package/node/node_modules/npm/node_modules/tar/dist/esm/large-numbers.js +0 -94
  2021. package/node/node_modules/npm/node_modules/tar/dist/esm/list.js +0 -108
  2022. package/node/node_modules/npm/node_modules/tar/dist/esm/make-command.js +0 -57
  2023. package/node/node_modules/npm/node_modules/tar/dist/esm/mkdir.js +0 -180
  2024. package/node/node_modules/npm/node_modules/tar/dist/esm/mode-fix.js +0 -25
  2025. package/node/node_modules/npm/node_modules/tar/dist/esm/normalize-unicode.js +0 -30
  2026. package/node/node_modules/npm/node_modules/tar/dist/esm/normalize-windows-path.js +0 -9
  2027. package/node/node_modules/npm/node_modules/tar/dist/esm/options.js +0 -54
  2028. package/node/node_modules/npm/node_modules/tar/dist/esm/pack.js +0 -459
  2029. package/node/node_modules/npm/node_modules/tar/dist/esm/package.json +0 -3
  2030. package/node/node_modules/npm/node_modules/tar/dist/esm/parse.js +0 -618
  2031. package/node/node_modules/npm/node_modules/tar/dist/esm/path-reservations.js +0 -166
  2032. package/node/node_modules/npm/node_modules/tar/dist/esm/pax.js +0 -154
  2033. package/node/node_modules/npm/node_modules/tar/dist/esm/read-entry.js +0 -136
  2034. package/node/node_modules/npm/node_modules/tar/dist/esm/replace.js +0 -226
  2035. package/node/node_modules/npm/node_modules/tar/dist/esm/strip-absolute-path.js +0 -25
  2036. package/node/node_modules/npm/node_modules/tar/dist/esm/strip-trailing-slashes.js +0 -14
  2037. package/node/node_modules/npm/node_modules/tar/dist/esm/symlink-error.js +0 -15
  2038. package/node/node_modules/npm/node_modules/tar/dist/esm/types.js +0 -45
  2039. package/node/node_modules/npm/node_modules/tar/dist/esm/unpack.js +0 -840
  2040. package/node/node_modules/npm/node_modules/tar/dist/esm/update.js +0 -30
  2041. package/node/node_modules/npm/node_modules/tar/dist/esm/warn-method.js +0 -27
  2042. package/node/node_modules/npm/node_modules/tar/dist/esm/winchars.js +0 -9
  2043. package/node/node_modules/npm/node_modules/tar/dist/esm/write-entry.js +0 -657
  2044. package/node/node_modules/npm/node_modules/tar/node_modules/yallist/LICENSE.md +0 -63
  2045. package/node/node_modules/npm/node_modules/tar/node_modules/yallist/dist/commonjs/index.js +0 -384
  2046. package/node/node_modules/npm/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +0 -3
  2047. package/node/node_modules/npm/node_modules/tar/node_modules/yallist/dist/esm/index.js +0 -379
  2048. package/node/node_modules/npm/node_modules/tar/node_modules/yallist/dist/esm/package.json +0 -3
  2049. package/node/node_modules/npm/node_modules/tar/node_modules/yallist/package.json +0 -68
  2050. package/node/node_modules/npm/node_modules/tar/package.json +0 -326
  2051. package/node/node_modules/npm/node_modules/text-table/LICENSE +0 -18
  2052. package/node/node_modules/npm/node_modules/text-table/example/align.js +0 -8
  2053. package/node/node_modules/npm/node_modules/text-table/example/center.js +0 -8
  2054. package/node/node_modules/npm/node_modules/text-table/example/dotalign.js +0 -9
  2055. package/node/node_modules/npm/node_modules/text-table/example/doubledot.js +0 -11
  2056. package/node/node_modules/npm/node_modules/text-table/example/table.js +0 -6
  2057. package/node/node_modules/npm/node_modules/text-table/index.js +0 -86
  2058. package/node/node_modules/npm/node_modules/text-table/package.json +0 -44
  2059. package/node/node_modules/npm/node_modules/tiny-relative-date/LICENSE.md +0 -21
  2060. package/node/node_modules/npm/node_modules/tiny-relative-date/lib/factory.js +0 -100
  2061. package/node/node_modules/npm/node_modules/tiny-relative-date/lib/index.js +0 -18
  2062. package/node/node_modules/npm/node_modules/tiny-relative-date/package.json +0 -39
  2063. package/node/node_modules/npm/node_modules/tiny-relative-date/src/factory.js +0 -112
  2064. package/node/node_modules/npm/node_modules/tiny-relative-date/src/index.js +0 -4
  2065. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/da.js +0 -31
  2066. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/de.js +0 -31
  2067. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/en-short.js +0 -31
  2068. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/en.js +0 -31
  2069. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/es.js +0 -31
  2070. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/fa.js +0 -31
  2071. package/node/node_modules/npm/node_modules/tiny-relative-date/translations/ne.js +0 -31
  2072. package/node/node_modules/npm/node_modules/tinyglobby/LICENSE +0 -21
  2073. package/node/node_modules/npm/node_modules/tinyglobby/dist/index.cjs +0 -350
  2074. package/node/node_modules/npm/node_modules/tinyglobby/dist/index.d.cts +0 -147
  2075. package/node/node_modules/npm/node_modules/tinyglobby/dist/index.d.mts +0 -147
  2076. package/node/node_modules/npm/node_modules/tinyglobby/dist/index.mjs +0 -318
  2077. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/LICENSE +0 -7
  2078. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.cjs +0 -588
  2079. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.d.cts +0 -155
  2080. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.d.mts +0 -155
  2081. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.mjs +0 -570
  2082. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/package.json +0 -103
  2083. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/LICENSE +0 -21
  2084. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/index.js +0 -17
  2085. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/constants.js +0 -180
  2086. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/parse.js +0 -1085
  2087. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/picomatch.js +0 -341
  2088. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/scan.js +0 -391
  2089. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/utils.js +0 -72
  2090. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/package.json +0 -83
  2091. package/node/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/posix.js +0 -3
  2092. package/node/node_modules/npm/node_modules/tinyglobby/package.json +0 -73
  2093. package/node/node_modules/npm/node_modules/treeverse/LICENSE +0 -15
  2094. package/node/node_modules/npm/node_modules/treeverse/lib/breadth.js +0 -67
  2095. package/node/node_modules/npm/node_modules/treeverse/lib/depth-descent.js +0 -88
  2096. package/node/node_modules/npm/node_modules/treeverse/lib/depth.js +0 -76
  2097. package/node/node_modules/npm/node_modules/treeverse/lib/index.js +0 -4
  2098. package/node/node_modules/npm/node_modules/treeverse/package.json +0 -51
  2099. package/node/node_modules/npm/node_modules/tuf-js/LICENSE +0 -21
  2100. package/node/node_modules/npm/node_modules/tuf-js/dist/config.js +0 -15
  2101. package/node/node_modules/npm/node_modules/tuf-js/dist/error.js +0 -49
  2102. package/node/node_modules/npm/node_modules/tuf-js/dist/fetcher.js +0 -86
  2103. package/node/node_modules/npm/node_modules/tuf-js/dist/index.js +0 -9
  2104. package/node/node_modules/npm/node_modules/tuf-js/dist/store.js +0 -219
  2105. package/node/node_modules/npm/node_modules/tuf-js/dist/updater.js +0 -368
  2106. package/node/node_modules/npm/node_modules/tuf-js/dist/utils/tmpfile.js +0 -25
  2107. package/node/node_modules/npm/node_modules/tuf-js/dist/utils/url.js +0 -13
  2108. package/node/node_modules/npm/node_modules/tuf-js/package.json +0 -43
  2109. package/node/node_modules/npm/node_modules/unique-filename/LICENSE +0 -5
  2110. package/node/node_modules/npm/node_modules/unique-filename/lib/index.js +0 -7
  2111. package/node/node_modules/npm/node_modules/unique-filename/package.json +0 -53
  2112. package/node/node_modules/npm/node_modules/unique-slug/LICENSE +0 -15
  2113. package/node/node_modules/npm/node_modules/unique-slug/lib/index.js +0 -11
  2114. package/node/node_modules/npm/node_modules/unique-slug/package.json +0 -49
  2115. package/node/node_modules/npm/node_modules/util-deprecate/History.md +0 -16
  2116. package/node/node_modules/npm/node_modules/util-deprecate/LICENSE +0 -24
  2117. package/node/node_modules/npm/node_modules/util-deprecate/browser.js +0 -67
  2118. package/node/node_modules/npm/node_modules/util-deprecate/node.js +0 -6
  2119. package/node/node_modules/npm/node_modules/util-deprecate/package.json +0 -27
  2120. package/node/node_modules/npm/node_modules/validate-npm-package-license/LICENSE +0 -202
  2121. package/node/node_modules/npm/node_modules/validate-npm-package-license/index.js +0 -86
  2122. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/AUTHORS +0 -4
  2123. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/LICENSE +0 -22
  2124. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/index.js +0 -8
  2125. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/package.json +0 -39
  2126. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/parse.js +0 -138
  2127. package/node/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/scan.js +0 -131
  2128. package/node/node_modules/npm/node_modules/validate-npm-package-license/package.json +0 -28
  2129. package/node/node_modules/npm/node_modules/validate-npm-package-name/LICENSE +0 -6
  2130. package/node/node_modules/npm/node_modules/validate-npm-package-name/lib/index.js +0 -110
  2131. package/node/node_modules/npm/node_modules/validate-npm-package-name/package.json +0 -61
  2132. package/node/node_modules/npm/node_modules/walk-up-path/LICENSE +0 -15
  2133. package/node/node_modules/npm/node_modules/walk-up-path/dist/commonjs/index.js +0 -18
  2134. package/node/node_modules/npm/node_modules/walk-up-path/dist/commonjs/package.json +0 -3
  2135. package/node/node_modules/npm/node_modules/walk-up-path/dist/esm/index.js +0 -14
  2136. package/node/node_modules/npm/node_modules/walk-up-path/dist/esm/package.json +0 -3
  2137. package/node/node_modules/npm/node_modules/walk-up-path/package.json +0 -71
  2138. package/node/node_modules/npm/node_modules/which/LICENSE +0 -15
  2139. package/node/node_modules/npm/node_modules/which/README.md +0 -51
  2140. package/node/node_modules/npm/node_modules/which/bin/which.js +0 -52
  2141. package/node/node_modules/npm/node_modules/which/lib/index.js +0 -111
  2142. package/node/node_modules/npm/node_modules/which/package.json +0 -52
  2143. package/node/node_modules/npm/node_modules/wrap-ansi/index.js +0 -214
  2144. package/node/node_modules/npm/node_modules/wrap-ansi/license +0 -9
  2145. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +0 -14
  2146. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/license +0 -9
  2147. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +0 -61
  2148. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  2149. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/RGI_Emoji.js +0 -6
  2150. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/RGI_Emoji.js +0 -6
  2151. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/index.js +0 -6
  2152. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/text.js +0 -6
  2153. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/index.js +0 -6
  2154. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/package.json +0 -52
  2155. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/text.js +0 -6
  2156. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/index.js +0 -54
  2157. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/license +0 -9
  2158. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/package.json +0 -59
  2159. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +0 -14
  2160. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/license +0 -9
  2161. package/node/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +0 -59
  2162. package/node/node_modules/npm/node_modules/wrap-ansi/package.json +0 -69
  2163. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/index.js +0 -216
  2164. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/license +0 -9
  2165. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/index.js +0 -163
  2166. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/license +0 -9
  2167. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/package.json +0 -56
  2168. package/node/node_modules/npm/node_modules/wrap-ansi-cjs/package.json +0 -62
  2169. package/node/node_modules/npm/node_modules/write-file-atomic/LICENSE.md +0 -5
  2170. package/node/node_modules/npm/node_modules/write-file-atomic/lib/index.js +0 -267
  2171. package/node/node_modules/npm/node_modules/write-file-atomic/package.json +0 -58
  2172. package/node/node_modules/npm/node_modules/yallist/LICENSE +0 -15
  2173. package/node/node_modules/npm/node_modules/yallist/iterator.js +0 -8
  2174. package/node/node_modules/npm/node_modules/yallist/package.json +0 -29
  2175. package/node/node_modules/npm/node_modules/yallist/yallist.js +0 -426
  2176. package/node/node_modules/npm/package.json +0 -260
  2177. package/node/npm +0 -65
  2178. package/node/npm.cmd +0 -20
  2179. package/node/npx +0 -65
  2180. package/node/npx.cmd +0 -20
  2181. package/pom.xml +0 -130
  2182. package/src/main/java/org/patternfly/chart/BaseChart.java +0 -67
  2183. package/src/main/java/org/patternfly/chart/Chart.java +0 -21
  2184. package/src/main/java/org/patternfly/chart/ChartType.java +0 -30
  2185. package/src/main/java/org/patternfly/chart/Ouia.java +0 -59
  2186. package/src/main/java/org/patternfly/chart/donut/Donut.java +0 -45
  2187. package/target/classes/META-INF/externs/charts.externs.js +0 -56
  2188. package/target/classes/META-INF/gwt/mainModule +0 -1
  2189. package/target/classes/org/patternfly/Components.gwt.xml +0 -7
  2190. package/target/classes/org/patternfly/chart/BaseChart.class +0 -0
  2191. package/target/classes/org/patternfly/chart/Chart.class +0 -0
  2192. package/target/classes/org/patternfly/chart/ChartType.class +0 -0
  2193. package/target/classes/org/patternfly/chart/Ouia.class +0 -0
  2194. package/target/classes/org/patternfly/chart/donut/Donut.class +0 -0
  2195. package/target/impsort-maven-cache.properties +0 -5
  2196. package/target/maven-archiver/pom.properties +0 -3
  2197. package/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +0 -5
  2198. package/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +0 -5
  2199. package/target/patternfly-java-charts-0.3.2-SNAPSHOT-sources.jar +0 -0
  2200. package/target/patternfly-java-charts-0.3.2-SNAPSHOT.jar +0 -0
  2201. package/target/site/license-plugin-report.xml +0 -19
  2202. /package/src/{js/charts.js → charts.js} +0 -0
  2203. /package/src/{js/components → components}/pf-chart-bullet.js +0 -0
  2204. /package/src/{js/components → components}/pf-chart-donut-utilization.js +0 -0
  2205. /package/src/{js/components → components}/pf-chart-donut.js +0 -0
  2206. /package/src/{js/react-wrapper.js → react-wrapper.js} +0 -0
@@ -1,3970 +0,0 @@
1
- # Copyright (c) 2012 Google Inc. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
-
6
- import ntpath
7
- import os
8
- import posixpath
9
- import re
10
- import subprocess
11
- import sys
12
- from collections import OrderedDict
13
-
14
- import gyp.common
15
- import gyp.generator.ninja as ninja_generator
16
- from gyp import (
17
- MSVSNew,
18
- MSVSProject,
19
- MSVSSettings,
20
- MSVSToolFile,
21
- MSVSUserFile,
22
- MSVSUtil,
23
- MSVSVersion,
24
- easy_xml,
25
- )
26
- from gyp.common import GypError, OrderedSet
27
-
28
- # Regular expression for validating Visual Studio GUIDs. If the GUID
29
- # contains lowercase hex letters, MSVS will be fine. However,
30
- # IncrediBuild BuildConsole will parse the solution file, but then
31
- # silently skip building the target causing hard to track down errors.
32
- # Note that this only happens with the BuildConsole, and does not occur
33
- # if IncrediBuild is executed from inside Visual Studio. This regex
34
- # validates that the string looks like a GUID with all uppercase hex
35
- # letters.
36
- VALID_MSVS_GUID_CHARS = re.compile(r"^[A-F0-9\-]+$")
37
-
38
- generator_supports_multiple_toolsets = gyp.common.CrossCompileRequested()
39
-
40
- generator_default_variables = {
41
- "DRIVER_PREFIX": "",
42
- "DRIVER_SUFFIX": ".sys",
43
- "EXECUTABLE_PREFIX": "",
44
- "EXECUTABLE_SUFFIX": ".exe",
45
- "STATIC_LIB_PREFIX": "",
46
- "SHARED_LIB_PREFIX": "",
47
- "STATIC_LIB_SUFFIX": ".lib",
48
- "SHARED_LIB_SUFFIX": ".dll",
49
- "INTERMEDIATE_DIR": "$(IntDir)",
50
- "SHARED_INTERMEDIATE_DIR": "$(OutDir)/obj/global_intermediate",
51
- "OS": "win",
52
- "PRODUCT_DIR": "$(OutDir)",
53
- "LIB_DIR": "$(OutDir)lib",
54
- "RULE_INPUT_ROOT": "$(InputName)",
55
- "RULE_INPUT_DIRNAME": "$(InputDir)",
56
- "RULE_INPUT_EXT": "$(InputExt)",
57
- "RULE_INPUT_NAME": "$(InputFileName)",
58
- "RULE_INPUT_PATH": "$(InputPath)",
59
- "CONFIGURATION_NAME": "$(ConfigurationName)",
60
- }
61
-
62
-
63
- # The msvs specific sections that hold paths
64
- generator_additional_path_sections = [
65
- "msvs_cygwin_dirs",
66
- "msvs_props",
67
- ]
68
-
69
-
70
- generator_additional_non_configuration_keys = [
71
- "msvs_cygwin_dirs",
72
- "msvs_cygwin_shell",
73
- "msvs_large_pdb",
74
- "msvs_shard",
75
- "msvs_external_builder",
76
- "msvs_external_builder_out_dir",
77
- "msvs_external_builder_build_cmd",
78
- "msvs_external_builder_clean_cmd",
79
- "msvs_external_builder_clcompile_cmd",
80
- "msvs_enable_winrt",
81
- "msvs_requires_importlibrary",
82
- "msvs_enable_winphone",
83
- "msvs_application_type_revision",
84
- "msvs_target_platform_version",
85
- "msvs_target_platform_minversion",
86
- ]
87
-
88
- generator_filelist_paths = None
89
-
90
- # List of precompiled header related keys.
91
- precomp_keys = [
92
- "msvs_precompiled_header",
93
- "msvs_precompiled_source",
94
- ]
95
-
96
-
97
- cached_username = None
98
-
99
-
100
- cached_domain = None
101
-
102
-
103
- # TODO(gspencer): Switch the os.environ calls to be
104
- # win32api.GetDomainName() and win32api.GetUserName() once the
105
- # python version in depot_tools has been updated to work on Vista
106
- # 64-bit.
107
- def _GetDomainAndUserName():
108
- if sys.platform not in ("win32", "cygwin"):
109
- return ("DOMAIN", "USERNAME")
110
- global cached_username
111
- global cached_domain
112
- if not cached_domain or not cached_username:
113
- domain = os.environ.get("USERDOMAIN")
114
- username = os.environ.get("USERNAME")
115
- if not domain or not username:
116
- call = subprocess.Popen(
117
- ["net", "config", "Workstation"], stdout=subprocess.PIPE
118
- )
119
- config = call.communicate()[0].decode("utf-8")
120
- username_re = re.compile(r"^User name\s+(\S+)", re.MULTILINE)
121
- username_match = username_re.search(config)
122
- if username_match:
123
- username = username_match.group(1)
124
- domain_re = re.compile(r"^Logon domain\s+(\S+)", re.MULTILINE)
125
- domain_match = domain_re.search(config)
126
- if domain_match:
127
- domain = domain_match.group(1)
128
- cached_domain = domain
129
- cached_username = username
130
- return (cached_domain, cached_username)
131
-
132
-
133
- fixpath_prefix = None
134
-
135
-
136
- def _NormalizedSource(source):
137
- """Normalize the path.
138
-
139
- But not if that gets rid of a variable, as this may expand to something
140
- larger than one directory.
141
-
142
- Arguments:
143
- source: The path to be normalize.d
144
-
145
- Returns:
146
- The normalized path.
147
- """
148
- normalized = os.path.normpath(source)
149
- if source.count("$") == normalized.count("$"):
150
- source = normalized
151
- return source
152
-
153
-
154
- def _FixPath(path, separator="\\"):
155
- """Convert paths to a form that will make sense in a vcproj file.
156
-
157
- Arguments:
158
- path: The path to convert, may contain / etc.
159
- Returns:
160
- The path with all slashes made into backslashes.
161
- """
162
- if (
163
- fixpath_prefix
164
- and path
165
- and not os.path.isabs(path)
166
- and path[0] != "$"
167
- and not _IsWindowsAbsPath(path)
168
- ):
169
- path = os.path.join(fixpath_prefix, path)
170
- if separator == "\\":
171
- path = path.replace("/", "\\")
172
- path = _NormalizedSource(path)
173
- if separator == "/":
174
- path = path.replace("\\", "/")
175
- if path and path[-1] == separator:
176
- path = path[:-1]
177
- return path
178
-
179
-
180
- def _IsWindowsAbsPath(path):
181
- """
182
- On Cygwin systems Python needs a little help determining if a path
183
- is an absolute Windows path or not, so that
184
- it does not treat those as relative, which results in bad paths like:
185
- '..\\C:\\<some path>\\some_source_code_file.cc'
186
- """
187
- return path.startswith(("c:", "C:"))
188
-
189
-
190
- def _FixPaths(paths, separator="\\"):
191
- """Fix each of the paths of the list."""
192
- return [_FixPath(i, separator) for i in paths]
193
-
194
-
195
- def _ConvertSourcesToFilterHierarchy(
196
- sources, prefix=None, excluded=None, list_excluded=True, msvs_version=None
197
- ):
198
- """Converts a list split source file paths into a vcproj folder hierarchy.
199
-
200
- Arguments:
201
- sources: A list of source file paths split.
202
- prefix: A list of source file path layers meant to apply to each of sources.
203
- excluded: A set of excluded files.
204
- msvs_version: A MSVSVersion object.
205
-
206
- Returns:
207
- A hierarchy of filenames and MSVSProject.Filter objects that matches the
208
- layout of the source tree.
209
- For example:
210
- _ConvertSourcesToFilterHierarchy([['a', 'bob1.c'], ['b', 'bob2.c']],
211
- prefix=['joe'])
212
- -->
213
- [MSVSProject.Filter('a', contents=['joe\\a\\bob1.c']),
214
- MSVSProject.Filter('b', contents=['joe\\b\\bob2.c'])]
215
- """
216
- if not prefix:
217
- prefix = []
218
- result = []
219
- excluded_result = []
220
- folders = OrderedDict()
221
- # Gather files into the final result, excluded, or folders.
222
- for s in sources:
223
- if len(s) == 1:
224
- filename = _NormalizedSource("\\".join(prefix + s))
225
- if filename in excluded:
226
- excluded_result.append(filename)
227
- else:
228
- result.append(filename)
229
- elif msvs_version and not msvs_version.UsesVcxproj():
230
- # For MSVS 2008 and earlier, we need to process all files before walking
231
- # the sub folders.
232
- if not folders.get(s[0]):
233
- folders[s[0]] = []
234
- folders[s[0]].append(s[1:])
235
- else:
236
- contents = _ConvertSourcesToFilterHierarchy(
237
- [s[1:]],
238
- prefix + [s[0]],
239
- excluded=excluded,
240
- list_excluded=list_excluded,
241
- msvs_version=msvs_version,
242
- )
243
- contents = MSVSProject.Filter(s[0], contents=contents)
244
- result.append(contents)
245
- # Add a folder for excluded files.
246
- if excluded_result and list_excluded:
247
- excluded_folder = MSVSProject.Filter(
248
- "_excluded_files", contents=excluded_result
249
- )
250
- result.append(excluded_folder)
251
-
252
- if msvs_version and msvs_version.UsesVcxproj():
253
- return result
254
-
255
- # Populate all the folders.
256
- for f in folders:
257
- contents = _ConvertSourcesToFilterHierarchy(
258
- folders[f],
259
- prefix=prefix + [f],
260
- excluded=excluded,
261
- list_excluded=list_excluded,
262
- msvs_version=msvs_version,
263
- )
264
- contents = MSVSProject.Filter(f, contents=contents)
265
- result.append(contents)
266
- return result
267
-
268
-
269
- def _ToolAppend(tools, tool_name, setting, value, only_if_unset=False):
270
- if not value:
271
- return
272
- _ToolSetOrAppend(tools, tool_name, setting, value, only_if_unset)
273
-
274
-
275
- def _ToolSetOrAppend(tools, tool_name, setting, value, only_if_unset=False):
276
- # TODO(bradnelson): ugly hack, fix this more generally!!!
277
- if "Directories" in setting or "Dependencies" in setting:
278
- if isinstance(value, str):
279
- value = value.replace("/", "\\")
280
- else:
281
- value = [i.replace("/", "\\") for i in value]
282
- if not tools.get(tool_name):
283
- tools[tool_name] = {}
284
- tool = tools[tool_name]
285
- if setting == "CompileAsWinRT":
286
- return
287
- if tool.get(setting):
288
- if only_if_unset:
289
- return
290
- if isinstance(tool[setting], list) and isinstance(value, list):
291
- tool[setting] += value
292
- else:
293
- raise TypeError(
294
- 'Appending "%s" to a non-list setting "%s" for tool "%s" is '
295
- "not allowed, previous value: %s"
296
- % (value, setting, tool_name, str(tool[setting]))
297
- )
298
- else:
299
- tool[setting] = value
300
-
301
-
302
- def _ConfigTargetVersion(config_data):
303
- return config_data.get("msvs_target_version", "Windows7")
304
-
305
-
306
- def _ConfigPlatform(config_data):
307
- return config_data.get("msvs_configuration_platform", "Win32")
308
-
309
-
310
- def _ConfigBaseName(config_name, platform_name):
311
- if config_name.endswith("_" + platform_name):
312
- return config_name[0 : -len(platform_name) - 1]
313
- else:
314
- return config_name
315
-
316
-
317
- def _ConfigFullName(config_name, config_data):
318
- platform_name = _ConfigPlatform(config_data)
319
- return f"{_ConfigBaseName(config_name, platform_name)}|{platform_name}"
320
-
321
-
322
- def _ConfigWindowsTargetPlatformVersion(config_data, version):
323
- target_ver = config_data.get("msvs_windows_target_platform_version")
324
- if target_ver and re.match(r"^\d+", target_ver):
325
- return target_ver
326
- config_ver = config_data.get("msvs_windows_sdk_version")
327
- vers = [config_ver] if config_ver else version.compatible_sdks
328
- for ver in vers:
329
- for key in [
330
- r"HKLM\Software\Microsoft\Microsoft SDKs\Windows\%s",
331
- r"HKLM\Software\Wow6432Node\Microsoft\Microsoft SDKs\Windows\%s",
332
- ]:
333
- sdk_dir = MSVSVersion._RegistryGetValue(key % ver, "InstallationFolder")
334
- if not sdk_dir:
335
- continue
336
- version = MSVSVersion._RegistryGetValue(key % ver, "ProductVersion") or ""
337
- # Find a matching entry in sdk_dir\include.
338
- expected_sdk_dir = r"%s\include" % sdk_dir
339
- names = sorted(
340
- (
341
- x
342
- for x in (
343
- os.listdir(expected_sdk_dir)
344
- if os.path.isdir(expected_sdk_dir)
345
- else []
346
- )
347
- if x.startswith(version)
348
- ),
349
- reverse=True,
350
- )
351
- if names:
352
- return names[0]
353
- else:
354
- print(
355
- "Warning: No include files found for detected "
356
- "Windows SDK version %s" % (version),
357
- file=sys.stdout,
358
- )
359
-
360
-
361
- def _BuildCommandLineForRuleRaw(
362
- spec, cmd, cygwin_shell, has_input_path, quote_cmd, do_setup_env
363
- ):
364
- if [x for x in cmd if "$(InputDir)" in x]:
365
- input_dir_preamble = (
366
- "set INPUTDIR=$(InputDir)\n"
367
- "if NOT DEFINED INPUTDIR set INPUTDIR=.\\\n"
368
- "set INPUTDIR=%INPUTDIR:~0,-1%\n"
369
- )
370
- else:
371
- input_dir_preamble = ""
372
-
373
- if cygwin_shell:
374
- # Find path to cygwin.
375
- cygwin_dir = _FixPath(spec.get("msvs_cygwin_dirs", ["."])[0])
376
- # Prepare command.
377
- direct_cmd = cmd
378
- direct_cmd = [
379
- i.replace("$(IntDir)", '`cygpath -m "${INTDIR}"`') for i in direct_cmd
380
- ]
381
- direct_cmd = [
382
- i.replace("$(OutDir)", '`cygpath -m "${OUTDIR}"`') for i in direct_cmd
383
- ]
384
- direct_cmd = [
385
- i.replace("$(InputDir)", '`cygpath -m "${INPUTDIR}"`') for i in direct_cmd
386
- ]
387
- if has_input_path:
388
- direct_cmd = [
389
- i.replace("$(InputPath)", '`cygpath -m "${INPUTPATH}"`')
390
- for i in direct_cmd
391
- ]
392
- direct_cmd = ['\\"%s\\"' % i.replace('"', '\\\\\\"') for i in direct_cmd]
393
- # direct_cmd = gyp.common.EncodePOSIXShellList(direct_cmd)
394
- direct_cmd = " ".join(direct_cmd)
395
- # TODO(quote): regularize quoting path names throughout the module
396
- cmd = ""
397
- if do_setup_env:
398
- cmd += 'call "$(ProjectDir)%(cygwin_dir)s\\setup_env.bat" && '
399
- cmd += "set CYGWIN=nontsec&& "
400
- if direct_cmd.find("NUMBER_OF_PROCESSORS") >= 0:
401
- cmd += "set /a NUMBER_OF_PROCESSORS_PLUS_1=%%NUMBER_OF_PROCESSORS%%+1&& "
402
- if direct_cmd.find("INTDIR") >= 0:
403
- cmd += "set INTDIR=$(IntDir)&& "
404
- if direct_cmd.find("OUTDIR") >= 0:
405
- cmd += "set OUTDIR=$(OutDir)&& "
406
- if has_input_path and direct_cmd.find("INPUTPATH") >= 0:
407
- cmd += "set INPUTPATH=$(InputPath) && "
408
- cmd += 'bash -c "%(cmd)s"'
409
- cmd = cmd % {"cygwin_dir": cygwin_dir, "cmd": direct_cmd}
410
- return input_dir_preamble + cmd
411
- else:
412
- # Convert cat --> type to mimic unix.
413
- command = ["type"] if cmd[0] == "cat" else [cmd[0].replace("/", "\\")]
414
- # Add call before command to ensure that commands can be tied together one
415
- # after the other without aborting in Incredibuild, since IB makes a bat
416
- # file out of the raw command string, and some commands (like python) are
417
- # actually batch files themselves.
418
- command.insert(0, "call")
419
- # Fix the paths
420
- # TODO(quote): This is a really ugly heuristic, and will miss path fixing
421
- # for arguments like "--arg=path", arg=path, or "/opt:path".
422
- # If the argument starts with a slash or dash, or contains an equal sign,
423
- # it's probably a command line switch.
424
- # Return the path with forward slashes because the command using it might
425
- # not support backslashes.
426
- arguments = [
427
- i if (i[:1] in "/-" or "=" in i) else _FixPath(i, "/") for i in cmd[1:]
428
- ]
429
- arguments = [i.replace("$(InputDir)", "%INPUTDIR%") for i in arguments]
430
- arguments = [MSVSSettings.FixVCMacroSlashes(i) for i in arguments]
431
- if quote_cmd:
432
- # Support a mode for using cmd directly.
433
- # Convert any paths to native form (first element is used directly).
434
- # TODO(quote): regularize quoting path names throughout the module
435
- command[1] = '"%s"' % command[1]
436
- arguments = ['"%s"' % i for i in arguments]
437
- # Collapse into a single command.
438
- return input_dir_preamble + " ".join(command + arguments)
439
-
440
-
441
- def _BuildCommandLineForRule(spec, rule, has_input_path, do_setup_env):
442
- # Currently this weird argument munging is used to duplicate the way a
443
- # python script would need to be run as part of the chrome tree.
444
- # Eventually we should add some sort of rule_default option to set this
445
- # per project. For now the behavior chrome needs is the default.
446
- mcs = rule.get("msvs_cygwin_shell")
447
- if mcs is None:
448
- mcs = int(spec.get("msvs_cygwin_shell", 1))
449
- elif isinstance(mcs, str):
450
- mcs = int(mcs)
451
- quote_cmd = int(rule.get("msvs_quote_cmd", 1))
452
- return _BuildCommandLineForRuleRaw(
453
- spec, rule["action"], mcs, has_input_path, quote_cmd, do_setup_env=do_setup_env
454
- )
455
-
456
-
457
- def _AddActionStep(actions_dict, inputs, outputs, description, command):
458
- """Merge action into an existing list of actions.
459
-
460
- Care must be taken so that actions which have overlapping inputs either don't
461
- get assigned to the same input, or get collapsed into one.
462
-
463
- Arguments:
464
- actions_dict: dictionary keyed on input name, which maps to a list of
465
- dicts describing the actions attached to that input file.
466
- inputs: list of inputs
467
- outputs: list of outputs
468
- description: description of the action
469
- command: command line to execute
470
- """
471
- # Require there to be at least one input (call sites will ensure this).
472
- assert inputs
473
-
474
- action = {
475
- "inputs": inputs,
476
- "outputs": outputs,
477
- "description": description,
478
- "command": command,
479
- }
480
-
481
- # Pick where to stick this action.
482
- # While less than optimal in terms of build time, attach them to the first
483
- # input for now.
484
- chosen_input = inputs[0]
485
-
486
- # Add it there.
487
- if chosen_input not in actions_dict:
488
- actions_dict[chosen_input] = []
489
- actions_dict[chosen_input].append(action)
490
-
491
-
492
- def _AddCustomBuildToolForMSVS(
493
- p, spec, primary_input, inputs, outputs, description, cmd
494
- ):
495
- """Add a custom build tool to execute something.
496
-
497
- Arguments:
498
- p: the target project
499
- spec: the target project dict
500
- primary_input: input file to attach the build tool to
501
- inputs: list of inputs
502
- outputs: list of outputs
503
- description: description of the action
504
- cmd: command line to execute
505
- """
506
- inputs = _FixPaths(inputs)
507
- outputs = _FixPaths(outputs)
508
- tool = MSVSProject.Tool(
509
- "VCCustomBuildTool",
510
- {
511
- "Description": description,
512
- "AdditionalDependencies": ";".join(inputs),
513
- "Outputs": ";".join(outputs),
514
- "CommandLine": cmd,
515
- },
516
- )
517
- # Add to the properties of primary input for each config.
518
- for config_name, c_data in spec["configurations"].items():
519
- p.AddFileConfig(
520
- _FixPath(primary_input), _ConfigFullName(config_name, c_data), tools=[tool]
521
- )
522
-
523
-
524
- def _AddAccumulatedActionsToMSVS(p, spec, actions_dict):
525
- """Add actions accumulated into an actions_dict, merging as needed.
526
-
527
- Arguments:
528
- p: the target project
529
- spec: the target project dict
530
- actions_dict: dictionary keyed on input name, which maps to a list of
531
- dicts describing the actions attached to that input file.
532
- """
533
- for primary_input in actions_dict:
534
- inputs = OrderedSet()
535
- outputs = OrderedSet()
536
- descriptions = []
537
- commands = []
538
- for action in actions_dict[primary_input]:
539
- inputs.update(OrderedSet(action["inputs"]))
540
- outputs.update(OrderedSet(action["outputs"]))
541
- descriptions.append(action["description"])
542
- commands.append(action["command"])
543
- # Add the custom build step for one input file.
544
- description = ", and also ".join(descriptions)
545
- command = "\r\n".join(commands)
546
- _AddCustomBuildToolForMSVS(
547
- p,
548
- spec,
549
- primary_input=primary_input,
550
- inputs=inputs,
551
- outputs=outputs,
552
- description=description,
553
- cmd=command,
554
- )
555
-
556
-
557
- def _RuleExpandPath(path, input_file):
558
- """Given the input file to which a rule applied, string substitute a path.
559
-
560
- Arguments:
561
- path: a path to string expand
562
- input_file: the file to which the rule applied.
563
- Returns:
564
- The string substituted path.
565
- """
566
- path = path.replace(
567
- "$(InputName)", os.path.splitext(os.path.split(input_file)[1])[0]
568
- )
569
- path = path.replace("$(InputDir)", os.path.dirname(input_file))
570
- path = path.replace(
571
- "$(InputExt)", os.path.splitext(os.path.split(input_file)[1])[1]
572
- )
573
- path = path.replace("$(InputFileName)", os.path.split(input_file)[1])
574
- path = path.replace("$(InputPath)", input_file)
575
- return path
576
-
577
-
578
- def _FindRuleTriggerFiles(rule, sources):
579
- """Find the list of files which a particular rule applies to.
580
-
581
- Arguments:
582
- rule: the rule in question
583
- sources: the set of all known source files for this project
584
- Returns:
585
- The list of sources that trigger a particular rule.
586
- """
587
- return rule.get("rule_sources", [])
588
-
589
-
590
- def _RuleInputsAndOutputs(rule, trigger_file):
591
- """Find the inputs and outputs generated by a rule.
592
-
593
- Arguments:
594
- rule: the rule in question.
595
- trigger_file: the main trigger for this rule.
596
- Returns:
597
- The pair of (inputs, outputs) involved in this rule.
598
- """
599
- raw_inputs = _FixPaths(rule.get("inputs", []))
600
- raw_outputs = _FixPaths(rule.get("outputs", []))
601
- inputs = OrderedSet()
602
- outputs = OrderedSet()
603
- inputs.add(trigger_file)
604
- for i in raw_inputs:
605
- inputs.add(_RuleExpandPath(i, trigger_file))
606
- for o in raw_outputs:
607
- outputs.add(_RuleExpandPath(o, trigger_file))
608
- return (inputs, outputs)
609
-
610
-
611
- def _GenerateNativeRulesForMSVS(p, rules, output_dir, spec, options):
612
- """Generate a native rules file.
613
-
614
- Arguments:
615
- p: the target project
616
- rules: the set of rules to include
617
- output_dir: the directory in which the project/gyp resides
618
- spec: the project dict
619
- options: global generator options
620
- """
621
- rules_filename = "{}{}.rules".format(spec["target_name"], options.suffix)
622
- rules_file = MSVSToolFile.Writer(
623
- os.path.join(output_dir, rules_filename), spec["target_name"]
624
- )
625
- # Add each rule.
626
- for r in rules:
627
- rule_name = r["rule_name"]
628
- rule_ext = r["extension"]
629
- inputs = _FixPaths(r.get("inputs", []))
630
- outputs = _FixPaths(r.get("outputs", []))
631
- # Skip a rule with no action and no inputs.
632
- if "action" not in r and not r.get("rule_sources", []):
633
- continue
634
- cmd = _BuildCommandLineForRule(spec, r, has_input_path=True, do_setup_env=True)
635
- rules_file.AddCustomBuildRule(
636
- name=rule_name,
637
- description=r.get("message", rule_name),
638
- extensions=[rule_ext],
639
- additional_dependencies=inputs,
640
- outputs=outputs,
641
- cmd=cmd,
642
- )
643
- # Write out rules file.
644
- rules_file.WriteIfChanged()
645
-
646
- # Add rules file to project.
647
- p.AddToolFile(rules_filename)
648
-
649
-
650
- def _Cygwinify(path):
651
- path = path.replace("$(OutDir)", "$(OutDirCygwin)")
652
- path = path.replace("$(IntDir)", "$(IntDirCygwin)")
653
- return path
654
-
655
-
656
- def _GenerateExternalRules(rules, output_dir, spec, sources, options, actions_to_add):
657
- """Generate an external makefile to do a set of rules.
658
-
659
- Arguments:
660
- rules: the list of rules to include
661
- output_dir: path containing project and gyp files
662
- spec: project specification data
663
- sources: set of sources known
664
- options: global generator options
665
- actions_to_add: The list of actions we will add to.
666
- """
667
- filename = "{}_rules{}.mk".format(spec["target_name"], options.suffix)
668
- mk_file = gyp.common.WriteOnDiff(os.path.join(output_dir, filename))
669
- # Find cygwin style versions of some paths.
670
- mk_file.write('OutDirCygwin:=$(shell cygpath -u "$(OutDir)")\n')
671
- mk_file.write('IntDirCygwin:=$(shell cygpath -u "$(IntDir)")\n')
672
- # Gather stuff needed to emit all: target.
673
- all_inputs = OrderedSet()
674
- all_outputs = OrderedSet()
675
- all_output_dirs = OrderedSet()
676
- first_outputs = []
677
- for rule in rules:
678
- trigger_files = _FindRuleTriggerFiles(rule, sources)
679
- for tf in trigger_files:
680
- inputs, outputs = _RuleInputsAndOutputs(rule, tf)
681
- all_inputs.update(OrderedSet(inputs))
682
- all_outputs.update(OrderedSet(outputs))
683
- # Only use one target from each rule as the dependency for
684
- # 'all' so we don't try to build each rule multiple times.
685
- first_outputs.append(next(iter(outputs)))
686
- # Get the unique output directories for this rule.
687
- output_dirs = [os.path.split(i)[0] for i in outputs]
688
- for od in output_dirs:
689
- all_output_dirs.add(od)
690
- first_outputs_cyg = [_Cygwinify(i) for i in first_outputs]
691
- # Write out all: target, including mkdir for each output directory.
692
- mk_file.write("all: %s\n" % " ".join(first_outputs_cyg))
693
- for od in all_output_dirs:
694
- if od:
695
- mk_file.write('\tmkdir -p `cygpath -u "%s"`\n' % od)
696
- mk_file.write("\n")
697
- # Define how each output is generated.
698
- for rule in rules:
699
- trigger_files = _FindRuleTriggerFiles(rule, sources)
700
- for tf in trigger_files:
701
- # Get all the inputs and outputs for this rule for this trigger file.
702
- inputs, outputs = _RuleInputsAndOutputs(rule, tf)
703
- inputs = [_Cygwinify(i) for i in inputs]
704
- outputs = [_Cygwinify(i) for i in outputs]
705
- # Prepare the command line for this rule.
706
- cmd = [_RuleExpandPath(c, tf) for c in rule["action"]]
707
- cmd = ['"%s"' % i for i in cmd]
708
- cmd = " ".join(cmd)
709
- # Add it to the makefile.
710
- mk_file.write("{}: {}\n".format(" ".join(outputs), " ".join(inputs)))
711
- mk_file.write("\t%s\n\n" % cmd)
712
- # Close up the file.
713
- mk_file.close()
714
-
715
- # Add makefile to list of sources.
716
- sources.add(filename)
717
- # Add a build action to call makefile.
718
- cmd = [
719
- "make",
720
- "OutDir=$(OutDir)",
721
- "IntDir=$(IntDir)",
722
- "-j",
723
- "${NUMBER_OF_PROCESSORS_PLUS_1}",
724
- "-f",
725
- filename,
726
- ]
727
- cmd = _BuildCommandLineForRuleRaw(spec, cmd, True, False, True, True)
728
- # Insert makefile as 0'th input, so it gets the action attached there,
729
- # as this is easier to understand from in the IDE.
730
- all_inputs = list(all_inputs)
731
- all_inputs.insert(0, filename)
732
- _AddActionStep(
733
- actions_to_add,
734
- inputs=_FixPaths(all_inputs),
735
- outputs=_FixPaths(all_outputs),
736
- description="Running external rules for %s" % spec["target_name"],
737
- command=cmd,
738
- )
739
-
740
-
741
- def _EscapeEnvironmentVariableExpansion(s):
742
- """Escapes % characters.
743
-
744
- Escapes any % characters so that Windows-style environment variable
745
- expansions will leave them alone.
746
- See http://connect.microsoft.com/VisualStudio/feedback/details/106127/cl-d-name-text-containing-percentage-characters-doesnt-compile
747
- to understand why we have to do this.
748
-
749
- Args:
750
- s: The string to be escaped.
751
-
752
- Returns:
753
- The escaped string.
754
- """
755
- s = s.replace("%", "%%")
756
- return s
757
-
758
-
759
- quote_replacer_regex = re.compile(r'(\\*)"')
760
-
761
-
762
- def _EscapeCommandLineArgumentForMSVS(s):
763
- """Escapes a Windows command-line argument.
764
-
765
- So that the Win32 CommandLineToArgv function will turn the escaped result back
766
- into the original string.
767
- See http://msdn.microsoft.com/en-us/library/17w5ykft.aspx
768
- ("Parsing C++ Command-Line Arguments") to understand why we have to do
769
- this.
770
-
771
- Args:
772
- s: the string to be escaped.
773
- Returns:
774
- the escaped string.
775
- """
776
-
777
- def _Replace(match):
778
- # For a literal quote, CommandLineToArgv requires an odd number of
779
- # backslashes preceding it, and it produces half as many literal backslashes
780
- # (rounded down). So we need to produce 2n+1 backslashes.
781
- return 2 * match.group(1) + '\\"'
782
-
783
- # Escape all quotes so that they are interpreted literally.
784
- s = quote_replacer_regex.sub(_Replace, s)
785
- # Now add unescaped quotes so that any whitespace is interpreted literally.
786
- s = '"' + s + '"'
787
- return s
788
-
789
-
790
- delimiters_replacer_regex = re.compile(r"(\\*)([,;]+)")
791
-
792
-
793
- def _EscapeVCProjCommandLineArgListItem(s):
794
- """Escapes command line arguments for MSVS.
795
-
796
- The VCProj format stores string lists in a single string using commas and
797
- semi-colons as separators, which must be quoted if they are to be
798
- interpreted literally. However, command-line arguments may already have
799
- quotes, and the VCProj parser is ignorant of the backslash escaping
800
- convention used by CommandLineToArgv, so the command-line quotes and the
801
- VCProj quotes may not be the same quotes. So to store a general
802
- command-line argument in a VCProj list, we need to parse the existing
803
- quoting according to VCProj's convention and quote any delimiters that are
804
- not already quoted by that convention. The quotes that we add will also be
805
- seen by CommandLineToArgv, so if backslashes precede them then we also have
806
- to escape those backslashes according to the CommandLineToArgv
807
- convention.
808
-
809
- Args:
810
- s: the string to be escaped.
811
- Returns:
812
- the escaped string.
813
- """
814
-
815
- def _Replace(match):
816
- # For a non-literal quote, CommandLineToArgv requires an even number of
817
- # backslashes preceding it, and it produces half as many literal
818
- # backslashes. So we need to produce 2n backslashes.
819
- return 2 * match.group(1) + '"' + match.group(2) + '"'
820
-
821
- segments = s.split('"')
822
- # The unquoted segments are at the even-numbered indices.
823
- for i in range(0, len(segments), 2):
824
- segments[i] = delimiters_replacer_regex.sub(_Replace, segments[i])
825
- # Concatenate back into a single string
826
- s = '"'.join(segments)
827
- if len(segments) % 2 == 0:
828
- # String ends while still quoted according to VCProj's convention. This
829
- # means the delimiter and the next list item that follow this one in the
830
- # .vcproj file will be misinterpreted as part of this item. There is nothing
831
- # we can do about this. Adding an extra quote would correct the problem in
832
- # the VCProj but cause the same problem on the final command-line. Moving
833
- # the item to the end of the list does works, but that's only possible if
834
- # there's only one such item. Let's just warn the user.
835
- print(
836
- "Warning: MSVS may misinterpret the odd number of " + "quotes in " + s,
837
- file=sys.stderr,
838
- )
839
- return s
840
-
841
-
842
- def _EscapeCppDefineForMSVS(s):
843
- """Escapes a CPP define so that it will reach the compiler unaltered."""
844
- s = _EscapeEnvironmentVariableExpansion(s)
845
- s = _EscapeCommandLineArgumentForMSVS(s)
846
- s = _EscapeVCProjCommandLineArgListItem(s)
847
- # cl.exe replaces literal # characters with = in preprocessor definitions for
848
- # some reason. Octal-encode to work around that.
849
- s = s.replace("#", "\\%03o" % ord("#"))
850
- return s
851
-
852
-
853
- quote_replacer_regex2 = re.compile(r'(\\+)"')
854
-
855
-
856
- def _EscapeCommandLineArgumentForMSBuild(s):
857
- """Escapes a Windows command-line argument for use by MSBuild."""
858
-
859
- def _Replace(match):
860
- return (len(match.group(1)) / 2 * 4) * "\\" + '\\"'
861
-
862
- # Escape all quotes so that they are interpreted literally.
863
- s = quote_replacer_regex2.sub(_Replace, s)
864
- return s
865
-
866
-
867
- def _EscapeMSBuildSpecialCharacters(s):
868
- escape_dictionary = {
869
- "%": "%25",
870
- "$": "%24",
871
- "@": "%40",
872
- "'": "%27",
873
- ";": "%3B",
874
- "?": "%3F",
875
- "*": "%2A",
876
- }
877
- result = "".join([escape_dictionary.get(c, c) for c in s])
878
- return result
879
-
880
-
881
- def _EscapeCppDefineForMSBuild(s):
882
- """Escapes a CPP define so that it will reach the compiler unaltered."""
883
- s = _EscapeEnvironmentVariableExpansion(s)
884
- s = _EscapeCommandLineArgumentForMSBuild(s)
885
- s = _EscapeMSBuildSpecialCharacters(s)
886
- # cl.exe replaces literal # characters with = in preprocessor definitions for
887
- # some reason. Octal-encode to work around that.
888
- s = s.replace("#", "\\%03o" % ord("#"))
889
- return s
890
-
891
-
892
- def _GenerateRulesForMSVS(
893
- p, output_dir, options, spec, sources, excluded_sources, actions_to_add
894
- ):
895
- """Generate all the rules for a particular project.
896
-
897
- Arguments:
898
- p: the project
899
- output_dir: directory to emit rules to
900
- options: global options passed to the generator
901
- spec: the specification for this project
902
- sources: the set of all known source files in this project
903
- excluded_sources: the set of sources excluded from normal processing
904
- actions_to_add: deferred list of actions to add in
905
- """
906
- rules = spec.get("rules", [])
907
- rules_native = [r for r in rules if not int(r.get("msvs_external_rule", 0))]
908
- rules_external = [r for r in rules if int(r.get("msvs_external_rule", 0))]
909
-
910
- # Handle rules that use a native rules file.
911
- if rules_native:
912
- _GenerateNativeRulesForMSVS(p, rules_native, output_dir, spec, options)
913
-
914
- # Handle external rules (non-native rules).
915
- if rules_external:
916
- _GenerateExternalRules(
917
- rules_external, output_dir, spec, sources, options, actions_to_add
918
- )
919
- _AdjustSourcesForRules(rules, sources, excluded_sources, False)
920
-
921
-
922
- def _AdjustSourcesForRules(rules, sources, excluded_sources, is_msbuild):
923
- # Add outputs generated by each rule (if applicable).
924
- for rule in rules:
925
- # Add in the outputs from this rule.
926
- trigger_files = _FindRuleTriggerFiles(rule, sources)
927
- for trigger_file in trigger_files:
928
- # Remove trigger_file from excluded_sources to let the rule be triggered
929
- # (e.g. rule trigger ax_enums.idl is added to excluded_sources
930
- # because it's also in an action's inputs in the same project)
931
- excluded_sources.discard(_FixPath(trigger_file))
932
- # Done if not processing outputs as sources.
933
- if int(rule.get("process_outputs_as_sources", False)):
934
- inputs, outputs = _RuleInputsAndOutputs(rule, trigger_file)
935
- inputs = OrderedSet(_FixPaths(inputs))
936
- outputs = OrderedSet(_FixPaths(outputs))
937
- inputs.remove(_FixPath(trigger_file))
938
- sources.update(inputs)
939
- if not is_msbuild:
940
- excluded_sources.update(inputs)
941
- sources.update(outputs)
942
-
943
-
944
- def _FilterActionsFromExcluded(excluded_sources, actions_to_add):
945
- """Take inputs with actions attached out of the list of exclusions.
946
-
947
- Arguments:
948
- excluded_sources: list of source files not to be built.
949
- actions_to_add: dict of actions keyed on source file they're attached to.
950
- Returns:
951
- excluded_sources with files that have actions attached removed.
952
- """
953
- must_keep = OrderedSet(_FixPaths(actions_to_add.keys()))
954
- return [s for s in excluded_sources if s not in must_keep]
955
-
956
-
957
- def _GetDefaultConfiguration(spec):
958
- return spec["configurations"][spec["default_configuration"]]
959
-
960
-
961
- def _GetGuidOfProject(proj_path, spec):
962
- """Get the guid for the project.
963
-
964
- Arguments:
965
- proj_path: Path of the vcproj or vcxproj file to generate.
966
- spec: The target dictionary containing the properties of the target.
967
- Returns:
968
- the guid.
969
- Raises:
970
- ValueError: if the specified GUID is invalid.
971
- """
972
- # Pluck out the default configuration.
973
- default_config = _GetDefaultConfiguration(spec)
974
- # Decide the guid of the project.
975
- guid = default_config.get("msvs_guid")
976
- if guid:
977
- if VALID_MSVS_GUID_CHARS.match(guid) is None:
978
- raise ValueError(
979
- 'Invalid MSVS guid: "%s". Must match regex: "%s".'
980
- % (guid, VALID_MSVS_GUID_CHARS.pattern)
981
- )
982
- guid = "{%s}" % guid
983
- guid = guid or MSVSNew.MakeGuid(proj_path)
984
- return guid
985
-
986
-
987
- def _GetMsbuildToolsetOfProject(proj_path, spec, version):
988
- """Get the platform toolset for the project.
989
-
990
- Arguments:
991
- proj_path: Path of the vcproj or vcxproj file to generate.
992
- spec: The target dictionary containing the properties of the target.
993
- version: The MSVSVersion object.
994
- Returns:
995
- the platform toolset string or None.
996
- """
997
- # Pluck out the default configuration.
998
- default_config = _GetDefaultConfiguration(spec)
999
- toolset = default_config.get("msbuild_toolset")
1000
- if not toolset and version.DefaultToolset():
1001
- toolset = version.DefaultToolset()
1002
- if spec["type"] == "windows_driver":
1003
- toolset = "WindowsKernelModeDriver10.0"
1004
- return toolset
1005
-
1006
-
1007
- def _GenerateProject(project, options, version, generator_flags, spec):
1008
- """Generates a vcproj file.
1009
-
1010
- Arguments:
1011
- project: the MSVSProject object.
1012
- options: global generator options.
1013
- version: the MSVSVersion object.
1014
- generator_flags: dict of generator-specific flags.
1015
- Returns:
1016
- A list of source files that cannot be found on disk.
1017
- """
1018
- default_config = _GetDefaultConfiguration(project.spec)
1019
-
1020
- # Skip emitting anything if told to with msvs_existing_vcproj option.
1021
- if default_config.get("msvs_existing_vcproj"):
1022
- return []
1023
-
1024
- if version.UsesVcxproj():
1025
- return _GenerateMSBuildProject(project, options, version, generator_flags, spec)
1026
- else:
1027
- return _GenerateMSVSProject(project, options, version, generator_flags)
1028
-
1029
-
1030
- def _GenerateMSVSProject(project, options, version, generator_flags):
1031
- """Generates a .vcproj file. It may create .rules and .user files too.
1032
-
1033
- Arguments:
1034
- project: The project object we will generate the file for.
1035
- options: Global options passed to the generator.
1036
- version: The VisualStudioVersion object.
1037
- generator_flags: dict of generator-specific flags.
1038
- """
1039
- spec = project.spec
1040
- gyp.common.EnsureDirExists(project.path)
1041
-
1042
- platforms = _GetUniquePlatforms(spec)
1043
- p = MSVSProject.Writer(
1044
- project.path, version, spec["target_name"], project.guid, platforms
1045
- )
1046
-
1047
- # Get directory project file is in.
1048
- project_dir = os.path.split(project.path)[0]
1049
- gyp_path = _NormalizedSource(project.build_file)
1050
- relative_path_of_gyp_file = gyp.common.RelativePath(gyp_path, project_dir)
1051
-
1052
- config_type = _GetMSVSConfigurationType(spec, project.build_file)
1053
- for config_name, config in spec["configurations"].items():
1054
- _AddConfigurationToMSVSProject(p, spec, config_type, config_name, config)
1055
-
1056
- # Prepare list of sources and excluded sources.
1057
- gyp_file = os.path.split(project.build_file)[1]
1058
- sources, excluded_sources = _PrepareListOfSources(spec, generator_flags, gyp_file)
1059
-
1060
- # Add rules.
1061
- actions_to_add = {}
1062
- _GenerateRulesForMSVS(
1063
- p, project_dir, options, spec, sources, excluded_sources, actions_to_add
1064
- )
1065
- list_excluded = generator_flags.get("msvs_list_excluded_files", True)
1066
- sources, excluded_sources, excluded_idl = _AdjustSourcesAndConvertToFilterHierarchy(
1067
- spec, options, project_dir, sources, excluded_sources, list_excluded, version
1068
- )
1069
-
1070
- # Add in files.
1071
- missing_sources = _VerifySourcesExist(sources, project_dir)
1072
- p.AddFiles(sources)
1073
-
1074
- _AddToolFilesToMSVS(p, spec)
1075
- _HandlePreCompiledHeaders(p, sources, spec)
1076
- _AddActions(actions_to_add, spec, relative_path_of_gyp_file)
1077
- _AddCopies(actions_to_add, spec)
1078
- _WriteMSVSUserFile(project.path, version, spec)
1079
-
1080
- # NOTE: this stanza must appear after all actions have been decided.
1081
- # Don't excluded sources with actions attached, or they won't run.
1082
- excluded_sources = _FilterActionsFromExcluded(excluded_sources, actions_to_add)
1083
- _ExcludeFilesFromBeingBuilt(p, spec, excluded_sources, excluded_idl, list_excluded)
1084
- _AddAccumulatedActionsToMSVS(p, spec, actions_to_add)
1085
-
1086
- # Write it out.
1087
- p.WriteIfChanged()
1088
-
1089
- return missing_sources
1090
-
1091
-
1092
- def _GetUniquePlatforms(spec):
1093
- """Returns the list of unique platforms for this spec, e.g ['win32', ...].
1094
-
1095
- Arguments:
1096
- spec: The target dictionary containing the properties of the target.
1097
- Returns:
1098
- The MSVSUserFile object created.
1099
- """
1100
- # Gather list of unique platforms.
1101
- platforms = OrderedSet()
1102
- for configuration in spec["configurations"]:
1103
- platforms.add(_ConfigPlatform(spec["configurations"][configuration]))
1104
- platforms = list(platforms)
1105
- return platforms
1106
-
1107
-
1108
- def _CreateMSVSUserFile(proj_path, version, spec):
1109
- """Generates a .user file for the user running this Gyp program.
1110
-
1111
- Arguments:
1112
- proj_path: The path of the project file being created. The .user file
1113
- shares the same path (with an appropriate suffix).
1114
- version: The VisualStudioVersion object.
1115
- spec: The target dictionary containing the properties of the target.
1116
- Returns:
1117
- The MSVSUserFile object created.
1118
- """
1119
- (domain, username) = _GetDomainAndUserName()
1120
- vcuser_filename = ".".join([proj_path, domain, username, "user"])
1121
- user_file = MSVSUserFile.Writer(vcuser_filename, version, spec["target_name"])
1122
- return user_file
1123
-
1124
-
1125
- def _GetMSVSConfigurationType(spec, build_file):
1126
- """Returns the configuration type for this project.
1127
-
1128
- It's a number defined by Microsoft. May raise an exception.
1129
-
1130
- Args:
1131
- spec: The target dictionary containing the properties of the target.
1132
- build_file: The path of the gyp file.
1133
- Returns:
1134
- An integer, the configuration type.
1135
- """
1136
- try:
1137
- config_type = {
1138
- "executable": "1", # .exe
1139
- "shared_library": "2", # .dll
1140
- "loadable_module": "2", # .dll
1141
- "static_library": "4", # .lib
1142
- "windows_driver": "5", # .sys
1143
- "none": "10", # Utility type
1144
- }[spec["type"]]
1145
- except KeyError:
1146
- if spec.get("type"):
1147
- raise GypError(
1148
- "Target type %s is not a valid target type for "
1149
- "target %s in %s." % (spec["type"], spec["target_name"], build_file)
1150
- )
1151
- else:
1152
- raise GypError(
1153
- "Missing type field for target %s in %s."
1154
- % (spec["target_name"], build_file)
1155
- )
1156
- return config_type
1157
-
1158
-
1159
- def _AddConfigurationToMSVSProject(p, spec, config_type, config_name, config):
1160
- """Adds a configuration to the MSVS project.
1161
-
1162
- Many settings in a vcproj file are specific to a configuration. This
1163
- function the main part of the vcproj file that's configuration specific.
1164
-
1165
- Arguments:
1166
- p: The target project being generated.
1167
- spec: The target dictionary containing the properties of the target.
1168
- config_type: The configuration type, a number as defined by Microsoft.
1169
- config_name: The name of the configuration.
1170
- config: The dictionary that defines the special processing to be done
1171
- for this configuration.
1172
- """
1173
- # Get the information for this configuration
1174
- include_dirs, midl_include_dirs, resource_include_dirs = _GetIncludeDirs(config)
1175
- libraries = _GetLibraries(spec)
1176
- library_dirs = _GetLibraryDirs(config)
1177
- out_file, vc_tool, _ = _GetOutputFilePathAndTool(spec, msbuild=False)
1178
- defines = _GetDefines(config)
1179
- defines = [_EscapeCppDefineForMSVS(d) for d in defines]
1180
- disabled_warnings = _GetDisabledWarnings(config)
1181
- prebuild = config.get("msvs_prebuild")
1182
- postbuild = config.get("msvs_postbuild")
1183
- def_file = _GetModuleDefinition(spec)
1184
- precompiled_header = config.get("msvs_precompiled_header")
1185
-
1186
- # Prepare the list of tools as a dictionary.
1187
- tools = {}
1188
- # Add in user specified msvs_settings.
1189
- msvs_settings = config.get("msvs_settings", {})
1190
- MSVSSettings.ValidateMSVSSettings(msvs_settings)
1191
-
1192
- # Prevent default library inheritance from the environment.
1193
- _ToolAppend(tools, "VCLinkerTool", "AdditionalDependencies", ["$(NOINHERIT)"])
1194
-
1195
- for tool in msvs_settings:
1196
- settings = config["msvs_settings"][tool]
1197
- for setting in settings:
1198
- _ToolAppend(tools, tool, setting, settings[setting])
1199
- # Add the information to the appropriate tool
1200
- _ToolAppend(tools, "VCCLCompilerTool", "AdditionalIncludeDirectories", include_dirs)
1201
- _ToolAppend(tools, "VCMIDLTool", "AdditionalIncludeDirectories", midl_include_dirs)
1202
- _ToolAppend(
1203
- tools,
1204
- "VCResourceCompilerTool",
1205
- "AdditionalIncludeDirectories",
1206
- resource_include_dirs,
1207
- )
1208
- # Add in libraries.
1209
- _ToolAppend(tools, "VCLinkerTool", "AdditionalDependencies", libraries)
1210
- _ToolAppend(tools, "VCLinkerTool", "AdditionalLibraryDirectories", library_dirs)
1211
- if out_file:
1212
- _ToolAppend(tools, vc_tool, "OutputFile", out_file, only_if_unset=True)
1213
- # Add defines.
1214
- _ToolAppend(tools, "VCCLCompilerTool", "PreprocessorDefinitions", defines)
1215
- _ToolAppend(tools, "VCResourceCompilerTool", "PreprocessorDefinitions", defines)
1216
- # Change program database directory to prevent collisions.
1217
- _ToolAppend(
1218
- tools,
1219
- "VCCLCompilerTool",
1220
- "ProgramDataBaseFileName",
1221
- "$(IntDir)$(ProjectName)\\vc80.pdb",
1222
- only_if_unset=True,
1223
- )
1224
- # Add disabled warnings.
1225
- _ToolAppend(tools, "VCCLCompilerTool", "DisableSpecificWarnings", disabled_warnings)
1226
- # Add Pre-build.
1227
- _ToolAppend(tools, "VCPreBuildEventTool", "CommandLine", prebuild)
1228
- # Add Post-build.
1229
- _ToolAppend(tools, "VCPostBuildEventTool", "CommandLine", postbuild)
1230
- # Turn on precompiled headers if appropriate.
1231
- if precompiled_header:
1232
- precompiled_header = os.path.split(precompiled_header)[1]
1233
- _ToolAppend(tools, "VCCLCompilerTool", "UsePrecompiledHeader", "2")
1234
- _ToolAppend(
1235
- tools, "VCCLCompilerTool", "PrecompiledHeaderThrough", precompiled_header
1236
- )
1237
- _ToolAppend(tools, "VCCLCompilerTool", "ForcedIncludeFiles", precompiled_header)
1238
- # Loadable modules don't generate import libraries;
1239
- # tell dependent projects to not expect one.
1240
- if spec["type"] == "loadable_module":
1241
- _ToolAppend(tools, "VCLinkerTool", "IgnoreImportLibrary", "true")
1242
- # Set the module definition file if any.
1243
- if def_file:
1244
- _ToolAppend(tools, "VCLinkerTool", "ModuleDefinitionFile", def_file)
1245
-
1246
- _AddConfigurationToMSVS(p, spec, tools, config, config_type, config_name)
1247
-
1248
-
1249
- def _GetIncludeDirs(config):
1250
- """Returns the list of directories to be used for #include directives.
1251
-
1252
- Arguments:
1253
- config: The dictionary that defines the special processing to be done
1254
- for this configuration.
1255
- Returns:
1256
- The list of directory paths.
1257
- """
1258
- # TODO(bradnelson): include_dirs should really be flexible enough not to
1259
- # require this sort of thing.
1260
- include_dirs = config.get("include_dirs", []) + config.get(
1261
- "msvs_system_include_dirs", []
1262
- )
1263
- midl_include_dirs = config.get("midl_include_dirs", []) + config.get(
1264
- "msvs_system_include_dirs", []
1265
- )
1266
- resource_include_dirs = config.get("resource_include_dirs", include_dirs)
1267
- include_dirs = _FixPaths(include_dirs)
1268
- midl_include_dirs = _FixPaths(midl_include_dirs)
1269
- resource_include_dirs = _FixPaths(resource_include_dirs)
1270
- return include_dirs, midl_include_dirs, resource_include_dirs
1271
-
1272
-
1273
- def _GetLibraryDirs(config):
1274
- """Returns the list of directories to be used for library search paths.
1275
-
1276
- Arguments:
1277
- config: The dictionary that defines the special processing to be done
1278
- for this configuration.
1279
- Returns:
1280
- The list of directory paths.
1281
- """
1282
-
1283
- library_dirs = config.get("library_dirs", [])
1284
- library_dirs = _FixPaths(library_dirs)
1285
- return library_dirs
1286
-
1287
-
1288
- def _GetLibraries(spec):
1289
- """Returns the list of libraries for this configuration.
1290
-
1291
- Arguments:
1292
- spec: The target dictionary containing the properties of the target.
1293
- Returns:
1294
- The list of directory paths.
1295
- """
1296
- libraries = spec.get("libraries", [])
1297
- # Strip out -l, as it is not used on windows (but is needed so we can pass
1298
- # in libraries that are assumed to be in the default library path).
1299
- # Also remove duplicate entries, leaving only the last duplicate, while
1300
- # preserving order.
1301
- found = OrderedSet()
1302
- unique_libraries_list = []
1303
- for entry in reversed(libraries):
1304
- library = re.sub(r"^\-l", "", entry)
1305
- if not os.path.splitext(library)[1]:
1306
- library += ".lib"
1307
- if library not in found:
1308
- found.add(library)
1309
- unique_libraries_list.append(library)
1310
- unique_libraries_list.reverse()
1311
- return unique_libraries_list
1312
-
1313
-
1314
- def _GetOutputFilePathAndTool(spec, msbuild):
1315
- """Returns the path and tool to use for this target.
1316
-
1317
- Figures out the path of the file this spec will create and the name of
1318
- the VC tool that will create it.
1319
-
1320
- Arguments:
1321
- spec: The target dictionary containing the properties of the target.
1322
- Returns:
1323
- A triple of (file path, name of the vc tool, name of the msbuild tool)
1324
- """
1325
- # Select a name for the output file.
1326
- out_file = ""
1327
- vc_tool = ""
1328
- msbuild_tool = ""
1329
- output_file_map = {
1330
- "executable": ("VCLinkerTool", "Link", "$(OutDir)", ".exe"),
1331
- "shared_library": ("VCLinkerTool", "Link", "$(OutDir)", ".dll"),
1332
- "loadable_module": ("VCLinkerTool", "Link", "$(OutDir)", ".dll"),
1333
- "windows_driver": ("VCLinkerTool", "Link", "$(OutDir)", ".sys"),
1334
- "static_library": ("VCLibrarianTool", "Lib", "$(OutDir)lib\\", ".lib"),
1335
- }
1336
- output_file_props = output_file_map.get(spec["type"])
1337
- if output_file_props and int(spec.get("msvs_auto_output_file", 1)):
1338
- vc_tool, msbuild_tool, out_dir, suffix = output_file_props
1339
- if spec.get("standalone_static_library", 0):
1340
- out_dir = "$(OutDir)"
1341
- out_dir = spec.get("product_dir", out_dir)
1342
- product_extension = spec.get("product_extension")
1343
- if product_extension:
1344
- suffix = "." + product_extension
1345
- elif msbuild:
1346
- suffix = "$(TargetExt)"
1347
- prefix = spec.get("product_prefix", "")
1348
- product_name = spec.get("product_name", "$(ProjectName)")
1349
- out_file = ntpath.join(out_dir, prefix + product_name + suffix)
1350
- return out_file, vc_tool, msbuild_tool
1351
-
1352
-
1353
- def _GetOutputTargetExt(spec):
1354
- """Returns the extension for this target, including the dot
1355
-
1356
- If product_extension is specified, set target_extension to this to avoid
1357
- MSB8012, returns None otherwise. Ignores any target_extension settings in
1358
- the input files.
1359
-
1360
- Arguments:
1361
- spec: The target dictionary containing the properties of the target.
1362
- Returns:
1363
- A string with the extension, or None
1364
- """
1365
- if target_extension := spec.get("product_extension"):
1366
- return "." + target_extension
1367
- return None
1368
-
1369
-
1370
- def _GetDefines(config):
1371
- """Returns the list of preprocessor definitions for this configuration.
1372
-
1373
- Arguments:
1374
- config: The dictionary that defines the special processing to be done
1375
- for this configuration.
1376
- Returns:
1377
- The list of preprocessor definitions.
1378
- """
1379
- defines = []
1380
- for d in config.get("defines", []):
1381
- fd = "=".join([str(dpart) for dpart in d]) if isinstance(d, list) else str(d)
1382
- defines.append(fd)
1383
- return defines
1384
-
1385
-
1386
- def _GetDisabledWarnings(config):
1387
- return [str(i) for i in config.get("msvs_disabled_warnings", [])]
1388
-
1389
-
1390
- def _GetModuleDefinition(spec):
1391
- def_file = ""
1392
- if spec["type"] in [
1393
- "shared_library",
1394
- "loadable_module",
1395
- "executable",
1396
- "windows_driver",
1397
- ]:
1398
- def_files = [s for s in spec.get("sources", []) if s.endswith(".def")]
1399
- if len(def_files) == 1:
1400
- def_file = _FixPath(def_files[0])
1401
- elif def_files:
1402
- raise ValueError(
1403
- "Multiple module definition files in one target, target %s lists "
1404
- "multiple .def files: %s" % (spec["target_name"], " ".join(def_files))
1405
- )
1406
- return def_file
1407
-
1408
-
1409
- def _ConvertToolsToExpectedForm(tools):
1410
- """Convert tools to a form expected by Visual Studio.
1411
-
1412
- Arguments:
1413
- tools: A dictionary of settings; the tool name is the key.
1414
- Returns:
1415
- A list of Tool objects.
1416
- """
1417
- tool_list = []
1418
- for tool, settings in tools.items():
1419
- # Collapse settings with lists.
1420
- settings_fixed = {}
1421
- for setting, value in settings.items():
1422
- if isinstance(value, list):
1423
- if (
1424
- tool == "VCLinkerTool" and setting == "AdditionalDependencies"
1425
- ) or setting == "AdditionalOptions":
1426
- settings_fixed[setting] = " ".join(value)
1427
- else:
1428
- settings_fixed[setting] = ";".join(value)
1429
- else:
1430
- settings_fixed[setting] = value
1431
- # Add in this tool.
1432
- tool_list.append(MSVSProject.Tool(tool, settings_fixed))
1433
- return tool_list
1434
-
1435
-
1436
- def _AddConfigurationToMSVS(p, spec, tools, config, config_type, config_name):
1437
- """Add to the project file the configuration specified by config.
1438
-
1439
- Arguments:
1440
- p: The target project being generated.
1441
- spec: the target project dict.
1442
- tools: A dictionary of settings; the tool name is the key.
1443
- config: The dictionary that defines the special processing to be done
1444
- for this configuration.
1445
- config_type: The configuration type, a number as defined by Microsoft.
1446
- config_name: The name of the configuration.
1447
- """
1448
- attributes = _GetMSVSAttributes(spec, config, config_type)
1449
- # Add in this configuration.
1450
- tool_list = _ConvertToolsToExpectedForm(tools)
1451
- p.AddConfig(_ConfigFullName(config_name, config), attrs=attributes, tools=tool_list)
1452
-
1453
-
1454
- def _GetMSVSAttributes(spec, config, config_type):
1455
- # Prepare configuration attributes.
1456
- prepared_attrs = {}
1457
- source_attrs = config.get("msvs_configuration_attributes", {})
1458
- for a in source_attrs:
1459
- prepared_attrs[a] = source_attrs[a]
1460
- # Add props files.
1461
- vsprops_dirs = config.get("msvs_props", [])
1462
- vsprops_dirs = _FixPaths(vsprops_dirs)
1463
- if vsprops_dirs:
1464
- prepared_attrs["InheritedPropertySheets"] = ";".join(vsprops_dirs)
1465
- # Set configuration type.
1466
- prepared_attrs["ConfigurationType"] = config_type
1467
- output_dir = prepared_attrs.get(
1468
- "OutputDirectory", "$(SolutionDir)$(ConfigurationName)"
1469
- )
1470
- prepared_attrs["OutputDirectory"] = _FixPath(output_dir) + "\\"
1471
- if "IntermediateDirectory" not in prepared_attrs:
1472
- intermediate = "$(ConfigurationName)\\obj\\$(ProjectName)"
1473
- prepared_attrs["IntermediateDirectory"] = _FixPath(intermediate) + "\\"
1474
- else:
1475
- intermediate = _FixPath(prepared_attrs["IntermediateDirectory"]) + "\\"
1476
- intermediate = MSVSSettings.FixVCMacroSlashes(intermediate)
1477
- prepared_attrs["IntermediateDirectory"] = intermediate
1478
- return prepared_attrs
1479
-
1480
-
1481
- def _AddNormalizedSources(sources_set, sources_array):
1482
- sources_set.update(_NormalizedSource(s) for s in sources_array)
1483
-
1484
-
1485
- def _PrepareListOfSources(spec, generator_flags, gyp_file):
1486
- """Prepare list of sources and excluded sources.
1487
-
1488
- Besides the sources specified directly in the spec, adds the gyp file so
1489
- that a change to it will cause a re-compile. Also adds appropriate sources
1490
- for actions and copies. Assumes later stage will un-exclude files which
1491
- have custom build steps attached.
1492
-
1493
- Arguments:
1494
- spec: The target dictionary containing the properties of the target.
1495
- gyp_file: The name of the gyp file.
1496
- Returns:
1497
- A pair of (list of sources, list of excluded sources).
1498
- The sources will be relative to the gyp file.
1499
- """
1500
- sources = OrderedSet()
1501
- _AddNormalizedSources(sources, spec.get("sources", []))
1502
- excluded_sources = OrderedSet()
1503
- # Add in the gyp file.
1504
- if not generator_flags.get("standalone"):
1505
- sources.add(gyp_file)
1506
-
1507
- # Add in 'action' inputs and outputs.
1508
- for a in spec.get("actions", []):
1509
- inputs = a["inputs"]
1510
- inputs = [_NormalizedSource(i) for i in inputs]
1511
- # Add all inputs to sources and excluded sources.
1512
- inputs = OrderedSet(inputs)
1513
- sources.update(inputs)
1514
- if not spec.get("msvs_external_builder"):
1515
- excluded_sources.update(inputs)
1516
- if int(a.get("process_outputs_as_sources", False)):
1517
- _AddNormalizedSources(sources, a.get("outputs", []))
1518
- # Add in 'copies' inputs and outputs.
1519
- for cpy in spec.get("copies", []):
1520
- _AddNormalizedSources(sources, cpy.get("files", []))
1521
- return (sources, excluded_sources)
1522
-
1523
-
1524
- def _AdjustSourcesAndConvertToFilterHierarchy(
1525
- spec, options, gyp_dir, sources, excluded_sources, list_excluded, version
1526
- ):
1527
- """Adjusts the list of sources and excluded sources.
1528
-
1529
- Also converts the sets to lists.
1530
-
1531
- Arguments:
1532
- spec: The target dictionary containing the properties of the target.
1533
- options: Global generator options.
1534
- gyp_dir: The path to the gyp file being processed.
1535
- sources: A set of sources to be included for this project.
1536
- excluded_sources: A set of sources to be excluded for this project.
1537
- version: A MSVSVersion object.
1538
- Returns:
1539
- A trio of (list of sources, list of excluded sources,
1540
- path of excluded IDL file)
1541
- """
1542
- # Exclude excluded sources coming into the generator.
1543
- excluded_sources.update(OrderedSet(spec.get("sources_excluded", [])))
1544
- # Add excluded sources into sources for good measure.
1545
- sources.update(excluded_sources)
1546
- # Convert to proper windows form.
1547
- # NOTE: sources goes from being a set to a list here.
1548
- # NOTE: excluded_sources goes from being a set to a list here.
1549
- sources = _FixPaths(sources)
1550
- # Convert to proper windows form.
1551
- excluded_sources = _FixPaths(excluded_sources)
1552
-
1553
- excluded_idl = _IdlFilesHandledNonNatively(spec, sources)
1554
-
1555
- precompiled_related = _GetPrecompileRelatedFiles(spec)
1556
- # Find the excluded ones, minus the precompiled header related ones.
1557
- fully_excluded = [i for i in excluded_sources if i not in precompiled_related]
1558
-
1559
- # Convert to folders and the right slashes.
1560
- sources = [i.split("\\") for i in sources]
1561
- sources = _ConvertSourcesToFilterHierarchy(
1562
- sources,
1563
- excluded=fully_excluded,
1564
- list_excluded=list_excluded,
1565
- msvs_version=version,
1566
- )
1567
-
1568
- # Prune filters with a single child to flatten ugly directory structures
1569
- # such as ../../src/modules/module1 etc.
1570
- if version.UsesVcxproj():
1571
- while (
1572
- all(isinstance(s, MSVSProject.Filter) for s in sources)
1573
- and len({s.name for s in sources}) == 1
1574
- ):
1575
- assert all(len(s.contents) == 1 for s in sources)
1576
- sources = [s.contents[0] for s in sources]
1577
- else:
1578
- while len(sources) == 1 and isinstance(sources[0], MSVSProject.Filter):
1579
- sources = sources[0].contents
1580
-
1581
- return sources, excluded_sources, excluded_idl
1582
-
1583
-
1584
- def _IdlFilesHandledNonNatively(spec, sources):
1585
- # If any non-native rules use 'idl' as an extension exclude idl files.
1586
- # Gather a list here to use later.
1587
- using_idl = False
1588
- for rule in spec.get("rules", []):
1589
- if rule["extension"] == "idl" and int(rule.get("msvs_external_rule", 0)):
1590
- using_idl = True
1591
- break
1592
- excluded_idl = [i for i in sources if i.endswith(".idl")] if using_idl else []
1593
- return excluded_idl
1594
-
1595
-
1596
- def _GetPrecompileRelatedFiles(spec):
1597
- # Gather a list of precompiled header related sources.
1598
- precompiled_related = []
1599
- for _, config in spec["configurations"].items():
1600
- for k in precomp_keys:
1601
- f = config.get(k)
1602
- if f:
1603
- precompiled_related.append(_FixPath(f))
1604
- return precompiled_related
1605
-
1606
-
1607
- def _ExcludeFilesFromBeingBuilt(p, spec, excluded_sources, excluded_idl, list_excluded):
1608
- exclusions = _GetExcludedFilesFromBuild(spec, excluded_sources, excluded_idl)
1609
- for file_name, excluded_configs in exclusions.items():
1610
- if not list_excluded and len(excluded_configs) == len(spec["configurations"]):
1611
- # If we're not listing excluded files, then they won't appear in the
1612
- # project, so don't try to configure them to be excluded.
1613
- pass
1614
- else:
1615
- for config_name, config in excluded_configs:
1616
- p.AddFileConfig(
1617
- file_name,
1618
- _ConfigFullName(config_name, config),
1619
- {"ExcludedFromBuild": "true"},
1620
- )
1621
-
1622
-
1623
- def _GetExcludedFilesFromBuild(spec, excluded_sources, excluded_idl):
1624
- exclusions = {}
1625
- # Exclude excluded sources from being built.
1626
- for f in excluded_sources:
1627
- excluded_configs = []
1628
- for config_name, config in spec["configurations"].items():
1629
- precomped = [_FixPath(config.get(i, "")) for i in precomp_keys]
1630
- # Don't do this for ones that are precompiled header related.
1631
- if f not in precomped:
1632
- excluded_configs.append((config_name, config))
1633
- exclusions[f] = excluded_configs
1634
- # If any non-native rules use 'idl' as an extension exclude idl files.
1635
- # Exclude them now.
1636
- for f in excluded_idl:
1637
- excluded_configs = []
1638
- for config_name, config in spec["configurations"].items():
1639
- excluded_configs.append((config_name, config))
1640
- exclusions[f] = excluded_configs
1641
- return exclusions
1642
-
1643
-
1644
- def _AddToolFilesToMSVS(p, spec):
1645
- # Add in tool files (rules).
1646
- tool_files = OrderedSet()
1647
- for _, config in spec["configurations"].items():
1648
- for f in config.get("msvs_tool_files", []):
1649
- tool_files.add(f)
1650
- for f in tool_files:
1651
- p.AddToolFile(f)
1652
-
1653
-
1654
- def _HandlePreCompiledHeaders(p, sources, spec):
1655
- # Pre-compiled header source stubs need a different compiler flag
1656
- # (generate precompiled header) and any source file not of the same
1657
- # kind (i.e. C vs. C++) as the precompiled header source stub needs
1658
- # to have use of precompiled headers disabled.
1659
- extensions_excluded_from_precompile = []
1660
- for config_name, config in spec["configurations"].items():
1661
- source = config.get("msvs_precompiled_source")
1662
- if source:
1663
- source = _FixPath(source)
1664
- # UsePrecompiledHeader=1 for if using precompiled headers.
1665
- tool = MSVSProject.Tool("VCCLCompilerTool", {"UsePrecompiledHeader": "1"})
1666
- p.AddFileConfig(
1667
- source, _ConfigFullName(config_name, config), {}, tools=[tool]
1668
- )
1669
- basename, extension = os.path.splitext(source)
1670
- if extension == ".c":
1671
- extensions_excluded_from_precompile = [".cc", ".cpp", ".cxx"]
1672
- else:
1673
- extensions_excluded_from_precompile = [".c"]
1674
-
1675
- def DisableForSourceTree(source_tree):
1676
- for source in source_tree:
1677
- if isinstance(source, MSVSProject.Filter):
1678
- DisableForSourceTree(source.contents)
1679
- else:
1680
- basename, extension = os.path.splitext(source)
1681
- if extension in extensions_excluded_from_precompile:
1682
- for config_name, config in spec["configurations"].items():
1683
- tool = MSVSProject.Tool(
1684
- "VCCLCompilerTool",
1685
- {
1686
- "UsePrecompiledHeader": "0",
1687
- "ForcedIncludeFiles": "$(NOINHERIT)",
1688
- },
1689
- )
1690
- p.AddFileConfig(
1691
- _FixPath(source),
1692
- _ConfigFullName(config_name, config),
1693
- {},
1694
- tools=[tool],
1695
- )
1696
-
1697
- # Do nothing if there was no precompiled source.
1698
- if extensions_excluded_from_precompile:
1699
- DisableForSourceTree(sources)
1700
-
1701
-
1702
- def _AddActions(actions_to_add, spec, relative_path_of_gyp_file):
1703
- # Add actions.
1704
- actions = spec.get("actions", [])
1705
- # Don't setup_env every time. When all the actions are run together in one
1706
- # batch file in VS, the PATH will grow too long.
1707
- # Membership in this set means that the cygwin environment has been set up,
1708
- # and does not need to be set up again.
1709
- have_setup_env = set()
1710
- for a in actions:
1711
- # Attach actions to the gyp file if nothing else is there.
1712
- inputs = a.get("inputs") or [relative_path_of_gyp_file]
1713
- attached_to = inputs[0]
1714
- need_setup_env = attached_to not in have_setup_env
1715
- cmd = _BuildCommandLineForRule(
1716
- spec, a, has_input_path=False, do_setup_env=need_setup_env
1717
- )
1718
- have_setup_env.add(attached_to)
1719
- # Add the action.
1720
- _AddActionStep(
1721
- actions_to_add,
1722
- inputs=inputs,
1723
- outputs=a.get("outputs", []),
1724
- description=a.get("message", a["action_name"]),
1725
- command=cmd,
1726
- )
1727
-
1728
-
1729
- def _WriteMSVSUserFile(project_path, version, spec):
1730
- # Add run_as and test targets.
1731
- if "run_as" in spec:
1732
- run_as = spec["run_as"]
1733
- action = run_as.get("action", [])
1734
- environment = run_as.get("environment", [])
1735
- working_directory = run_as.get("working_directory", ".")
1736
- elif int(spec.get("test", 0)):
1737
- action = ["$(TargetPath)", "--gtest_print_time"]
1738
- environment = []
1739
- working_directory = "."
1740
- else:
1741
- return # Nothing to add
1742
- # Write out the user file.
1743
- user_file = _CreateMSVSUserFile(project_path, version, spec)
1744
- for config_name, c_data in spec["configurations"].items():
1745
- user_file.AddDebugSettings(
1746
- _ConfigFullName(config_name, c_data), action, environment, working_directory
1747
- )
1748
- user_file.WriteIfChanged()
1749
-
1750
-
1751
- def _AddCopies(actions_to_add, spec):
1752
- copies = _GetCopies(spec)
1753
- for inputs, outputs, cmd, description in copies:
1754
- _AddActionStep(
1755
- actions_to_add,
1756
- inputs=inputs,
1757
- outputs=outputs,
1758
- description=description,
1759
- command=cmd,
1760
- )
1761
-
1762
-
1763
- def _GetCopies(spec):
1764
- copies = []
1765
- # Add copies.
1766
- for cpy in spec.get("copies", []):
1767
- for src in cpy.get("files", []):
1768
- dst = os.path.join(cpy["destination"], os.path.basename(src))
1769
- # _AddCustomBuildToolForMSVS() will call _FixPath() on the inputs and
1770
- # outputs, so do the same for our generated command line.
1771
- if src.endswith("/"):
1772
- src_bare = src[:-1]
1773
- base_dir = posixpath.split(src_bare)[0]
1774
- outer_dir = posixpath.split(src_bare)[1]
1775
- fixed_dst = _FixPath(dst)
1776
- full_dst = f'"{fixed_dst}\\{outer_dir}\\"'
1777
- cmd = (
1778
- f'mkdir {full_dst} 2>nul & cd "{_FixPath(base_dir)}" '
1779
- f'&& xcopy /e /f /y "{outer_dir}" {full_dst}'
1780
- )
1781
- copies.append(
1782
- (
1783
- [src],
1784
- ["dummy_copies", dst],
1785
- cmd,
1786
- f"Copying {src} to {fixed_dst}",
1787
- )
1788
- )
1789
- else:
1790
- fix_dst = _FixPath(cpy["destination"])
1791
- cmd = (
1792
- f'mkdir "{fix_dst}" 2>nul & set ERRORLEVEL=0 & '
1793
- f'copy /Y "{_FixPath(src)}" "{_FixPath(dst)}"'
1794
- )
1795
- copies.append(([src], [dst], cmd, f"Copying {src} to {fix_dst}"))
1796
- return copies
1797
-
1798
-
1799
- def _GetPathDict(root, path):
1800
- # |path| will eventually be empty (in the recursive calls) if it was initially
1801
- # relative; otherwise it will eventually end up as '\', 'D:\', etc.
1802
- if not path or path.endswith(os.sep):
1803
- return root
1804
- parent, folder = os.path.split(path)
1805
- parent_dict = _GetPathDict(root, parent)
1806
- if folder not in parent_dict:
1807
- parent_dict[folder] = {}
1808
- return parent_dict[folder]
1809
-
1810
-
1811
- def _DictsToFolders(base_path, bucket, flat):
1812
- # Convert to folders recursively.
1813
- children = []
1814
- for folder, contents in bucket.items():
1815
- if isinstance(contents, dict):
1816
- folder_children = _DictsToFolders(
1817
- os.path.join(base_path, folder), contents, flat
1818
- )
1819
- if flat:
1820
- children += folder_children
1821
- else:
1822
- folder_children = MSVSNew.MSVSFolder(
1823
- os.path.join(base_path, folder),
1824
- name="(" + folder + ")",
1825
- entries=folder_children,
1826
- )
1827
- children.append(folder_children)
1828
- else:
1829
- children.append(contents)
1830
- return children
1831
-
1832
-
1833
- def _CollapseSingles(parent, node):
1834
- # Recursively explorer the tree of dicts looking for projects which are
1835
- # the sole item in a folder which has the same name as the project. Bring
1836
- # such projects up one level.
1837
- if (
1838
- isinstance(node, dict)
1839
- and len(node) == 1
1840
- and next(iter(node)) == parent + ".vcproj"
1841
- ):
1842
- return node[next(iter(node))]
1843
- if not isinstance(node, dict):
1844
- return node
1845
- for child in node:
1846
- node[child] = _CollapseSingles(child, node[child])
1847
- return node
1848
-
1849
-
1850
- def _GatherSolutionFolders(sln_projects, project_objects, flat):
1851
- root = {}
1852
- # Convert into a tree of dicts on path.
1853
- for p in sln_projects:
1854
- gyp_file, target = gyp.common.ParseQualifiedTarget(p)[0:2]
1855
- if p.endswith("#host"):
1856
- target += "_host"
1857
- gyp_dir = os.path.dirname(gyp_file)
1858
- path_dict = _GetPathDict(root, gyp_dir)
1859
- path_dict[target + ".vcproj"] = project_objects[p]
1860
- # Walk down from the top until we hit a folder that has more than one entry.
1861
- # In practice, this strips the top-level "src/" dir from the hierarchy in
1862
- # the solution.
1863
- while len(root) == 1 and isinstance(root[next(iter(root))], dict):
1864
- root = root[next(iter(root))]
1865
- # Collapse singles.
1866
- root = _CollapseSingles("", root)
1867
- # Merge buckets until everything is a root entry.
1868
- return _DictsToFolders("", root, flat)
1869
-
1870
-
1871
- def _GetPathOfProject(qualified_target, spec, options, msvs_version):
1872
- default_config = _GetDefaultConfiguration(spec)
1873
- proj_filename = default_config.get("msvs_existing_vcproj")
1874
- if not proj_filename:
1875
- proj_filename = spec["target_name"]
1876
- if spec["toolset"] == "host":
1877
- proj_filename += "_host"
1878
- proj_filename = proj_filename + options.suffix + msvs_version.ProjectExtension()
1879
-
1880
- build_file = gyp.common.BuildFile(qualified_target)
1881
- proj_path = os.path.join(os.path.dirname(build_file), proj_filename)
1882
- fix_prefix = None
1883
- if options.generator_output:
1884
- project_dir_path = os.path.dirname(os.path.abspath(proj_path))
1885
- proj_path = os.path.join(options.generator_output, proj_path)
1886
- fix_prefix = gyp.common.RelativePath(
1887
- project_dir_path, os.path.dirname(proj_path)
1888
- )
1889
- return proj_path, fix_prefix
1890
-
1891
-
1892
- def _GetPlatformOverridesOfProject(spec):
1893
- # Prepare a dict indicating which project configurations are used for which
1894
- # solution configurations for this target.
1895
- config_platform_overrides = {}
1896
- for config_name, c in spec["configurations"].items():
1897
- config_fullname = _ConfigFullName(config_name, c)
1898
- platform = c.get("msvs_target_platform", _ConfigPlatform(c))
1899
- base_name = _ConfigBaseName(config_name, _ConfigPlatform(c))
1900
- fixed_config_fullname = f"{base_name}|{platform}"
1901
- if spec["toolset"] == "host" and generator_supports_multiple_toolsets:
1902
- fixed_config_fullname = f"{config_name}|x64"
1903
- config_platform_overrides[config_fullname] = fixed_config_fullname
1904
- return config_platform_overrides
1905
-
1906
-
1907
- def _CreateProjectObjects(target_list, target_dicts, options, msvs_version):
1908
- """Create a MSVSProject object for the targets found in target list.
1909
-
1910
- Arguments:
1911
- target_list: the list of targets to generate project objects for.
1912
- target_dicts: the dictionary of specifications.
1913
- options: global generator options.
1914
- msvs_version: the MSVSVersion object.
1915
- Returns:
1916
- A set of created projects, keyed by target.
1917
- """
1918
- global fixpath_prefix
1919
- # Generate each project.
1920
- projects = {}
1921
- for qualified_target in target_list:
1922
- spec = target_dicts[qualified_target]
1923
- proj_path, fixpath_prefix = _GetPathOfProject(
1924
- qualified_target, spec, options, msvs_version
1925
- )
1926
- guid = _GetGuidOfProject(proj_path, spec)
1927
- overrides = _GetPlatformOverridesOfProject(spec)
1928
- build_file = gyp.common.BuildFile(qualified_target)
1929
- # Create object for this project.
1930
- target_name = spec["target_name"]
1931
- if spec["toolset"] == "host":
1932
- target_name += "_host"
1933
- obj = MSVSNew.MSVSProject(
1934
- proj_path,
1935
- name=target_name,
1936
- guid=guid,
1937
- spec=spec,
1938
- build_file=build_file,
1939
- config_platform_overrides=overrides,
1940
- fixpath_prefix=fixpath_prefix,
1941
- )
1942
- # Set project toolset if any (MS build only)
1943
- if msvs_version.UsesVcxproj():
1944
- obj.set_msbuild_toolset(
1945
- _GetMsbuildToolsetOfProject(proj_path, spec, msvs_version)
1946
- )
1947
- projects[qualified_target] = obj
1948
- # Set all the dependencies, but not if we are using an external builder like
1949
- # ninja
1950
- for project in projects.values():
1951
- if not project.spec.get("msvs_external_builder"):
1952
- deps = project.spec.get("dependencies", [])
1953
- deps = [projects[d] for d in deps]
1954
- project.set_dependencies(deps)
1955
- return projects
1956
-
1957
-
1958
- def _InitNinjaFlavor(params, target_list, target_dicts):
1959
- """Initialize targets for the ninja flavor.
1960
-
1961
- This sets up the necessary variables in the targets to generate msvs projects
1962
- that use ninja as an external builder. The variables in the spec are only set
1963
- if they have not been set. This allows individual specs to override the
1964
- default values initialized here.
1965
- Arguments:
1966
- params: Params provided to the generator.
1967
- target_list: List of target pairs: 'base/base.gyp:base'.
1968
- target_dicts: Dict of target properties keyed on target pair.
1969
- """
1970
- for qualified_target in target_list:
1971
- spec = target_dicts[qualified_target]
1972
- if spec.get("msvs_external_builder"):
1973
- # The spec explicitly defined an external builder, so don't change it.
1974
- continue
1975
-
1976
- path_to_ninja = spec.get("msvs_path_to_ninja", "ninja.exe")
1977
-
1978
- spec["msvs_external_builder"] = "ninja"
1979
- if not spec.get("msvs_external_builder_out_dir"):
1980
- gyp_file, _, _ = gyp.common.ParseQualifiedTarget(qualified_target)
1981
- gyp_dir = os.path.dirname(gyp_file)
1982
- configuration = "$(Configuration)"
1983
- if params.get("target_arch") == "x64":
1984
- configuration += "_x64"
1985
- if params.get("target_arch") == "arm64":
1986
- configuration += "_arm64"
1987
- spec["msvs_external_builder_out_dir"] = os.path.join(
1988
- gyp.common.RelativePath(params["options"].toplevel_dir, gyp_dir),
1989
- ninja_generator.ComputeOutputDir(params),
1990
- configuration,
1991
- )
1992
- if not spec.get("msvs_external_builder_build_cmd"):
1993
- spec["msvs_external_builder_build_cmd"] = [
1994
- path_to_ninja,
1995
- "-C",
1996
- "$(OutDir)",
1997
- "$(ProjectName)",
1998
- ]
1999
- if not spec.get("msvs_external_builder_clean_cmd"):
2000
- spec["msvs_external_builder_clean_cmd"] = [
2001
- path_to_ninja,
2002
- "-C",
2003
- "$(OutDir)",
2004
- "-tclean",
2005
- "$(ProjectName)",
2006
- ]
2007
-
2008
-
2009
- def CalculateVariables(default_variables, params):
2010
- """Generated variables that require params to be known."""
2011
-
2012
- generator_flags = params.get("generator_flags", {})
2013
-
2014
- # Select project file format version (if unset, default to auto detecting).
2015
- msvs_version = MSVSVersion.SelectVisualStudioVersion(
2016
- generator_flags.get("msvs_version", "auto")
2017
- )
2018
- # Stash msvs_version for later (so we don't have to probe the system twice).
2019
- params["msvs_version"] = msvs_version
2020
-
2021
- # Set a variable so conditions can be based on msvs_version.
2022
- default_variables["MSVS_VERSION"] = msvs_version.ShortName()
2023
-
2024
- # To determine processor word size on Windows, in addition to checking
2025
- # PROCESSOR_ARCHITECTURE (which reflects the word size of the current
2026
- # process), it is also necessary to check PROCESSOR_ARCITEW6432 (which
2027
- # contains the actual word size of the system when running thru WOW64).
2028
- if (
2029
- os.environ.get("PROCESSOR_ARCHITECTURE", "").find("64") >= 0
2030
- or os.environ.get("PROCESSOR_ARCHITEW6432", "").find("64") >= 0
2031
- ):
2032
- default_variables["MSVS_OS_BITS"] = 64
2033
- else:
2034
- default_variables["MSVS_OS_BITS"] = 32
2035
-
2036
- if gyp.common.GetFlavor(params) == "ninja":
2037
- default_variables["SHARED_INTERMEDIATE_DIR"] = "$(OutDir)gen"
2038
-
2039
-
2040
- def PerformBuild(data, configurations, params):
2041
- options = params["options"]
2042
- msvs_version = params["msvs_version"]
2043
- devenv = os.path.join(msvs_version.path, "Common7", "IDE", "devenv.com")
2044
-
2045
- for build_file, build_file_dict in data.items():
2046
- (build_file_root, build_file_ext) = os.path.splitext(build_file)
2047
- if build_file_ext != ".gyp":
2048
- continue
2049
- sln_path = build_file_root + options.suffix + ".sln"
2050
- if options.generator_output:
2051
- sln_path = os.path.join(options.generator_output, sln_path)
2052
-
2053
- for config in configurations:
2054
- arguments = [devenv, sln_path, "/Build", config]
2055
- print(f"Building [{config}]: {arguments}")
2056
- subprocess.check_call(arguments)
2057
-
2058
-
2059
- def CalculateGeneratorInputInfo(params):
2060
- if params.get("flavor") == "ninja":
2061
- toplevel = params["options"].toplevel_dir
2062
- qualified_out_dir = os.path.normpath(
2063
- os.path.join(
2064
- toplevel,
2065
- ninja_generator.ComputeOutputDir(params),
2066
- "gypfiles-msvs-ninja",
2067
- )
2068
- )
2069
-
2070
- global generator_filelist_paths
2071
- generator_filelist_paths = {
2072
- "toplevel": toplevel,
2073
- "qualified_out_dir": qualified_out_dir,
2074
- }
2075
-
2076
-
2077
- def GenerateOutput(target_list, target_dicts, data, params):
2078
- """Generate .sln and .vcproj files.
2079
-
2080
- This is the entry point for this generator.
2081
- Arguments:
2082
- target_list: List of target pairs: 'base/base.gyp:base'.
2083
- target_dicts: Dict of target properties keyed on target pair.
2084
- data: Dictionary containing per .gyp data.
2085
- """
2086
- global fixpath_prefix
2087
-
2088
- options = params["options"]
2089
-
2090
- # Get the project file format version back out of where we stashed it in
2091
- # GeneratorCalculatedVariables.
2092
- msvs_version = params["msvs_version"]
2093
-
2094
- generator_flags = params.get("generator_flags", {})
2095
-
2096
- # Optionally shard targets marked with 'msvs_shard': SHARD_COUNT.
2097
- (target_list, target_dicts) = MSVSUtil.ShardTargets(target_list, target_dicts)
2098
-
2099
- # Optionally use the large PDB workaround for targets marked with
2100
- # 'msvs_large_pdb': 1.
2101
- (target_list, target_dicts) = MSVSUtil.InsertLargePdbShims(
2102
- target_list, target_dicts, generator_default_variables
2103
- )
2104
-
2105
- # Optionally configure each spec to use ninja as the external builder.
2106
- if params.get("flavor") == "ninja":
2107
- _InitNinjaFlavor(params, target_list, target_dicts)
2108
-
2109
- # Prepare the set of configurations.
2110
- configs = set()
2111
- for qualified_target in target_list:
2112
- spec = target_dicts[qualified_target]
2113
- for config_name, config in spec["configurations"].items():
2114
- config_name = _ConfigFullName(config_name, config)
2115
- configs.add(config_name)
2116
- if config_name == "Release|arm64":
2117
- configs.add("Release|x64")
2118
- configs = list(configs)
2119
-
2120
- # Figure out all the projects that will be generated and their guids
2121
- project_objects = _CreateProjectObjects(
2122
- target_list, target_dicts, options, msvs_version
2123
- )
2124
-
2125
- # Generate each project.
2126
- missing_sources = []
2127
- for project in project_objects.values():
2128
- fixpath_prefix = project.fixpath_prefix
2129
- missing_sources.extend(
2130
- _GenerateProject(project, options, msvs_version, generator_flags, spec)
2131
- )
2132
- fixpath_prefix = None
2133
-
2134
- for build_file in data:
2135
- # Validate build_file extension
2136
- target_only_configs = configs
2137
- if generator_supports_multiple_toolsets:
2138
- target_only_configs = [i for i in configs if i.endswith("arm64")]
2139
- if not build_file.endswith(".gyp"):
2140
- continue
2141
- sln_path = os.path.splitext(build_file)[0] + options.suffix + ".sln"
2142
- if options.generator_output:
2143
- sln_path = os.path.join(options.generator_output, sln_path)
2144
- # Get projects in the solution, and their dependents.
2145
- sln_projects = gyp.common.BuildFileTargets(target_list, build_file)
2146
- sln_projects += gyp.common.DeepDependencyTargets(target_dicts, sln_projects)
2147
- # Create folder hierarchy.
2148
- root_entries = _GatherSolutionFolders(
2149
- sln_projects, project_objects, flat=msvs_version.FlatSolution()
2150
- )
2151
- # Create solution.
2152
- sln = MSVSNew.MSVSSolution(
2153
- sln_path,
2154
- entries=root_entries,
2155
- variants=target_only_configs,
2156
- websiteProperties=False,
2157
- version=msvs_version,
2158
- )
2159
- sln.Write()
2160
-
2161
- if missing_sources:
2162
- error_message = "Missing input files:\n" + "\n".join(set(missing_sources))
2163
- if generator_flags.get("msvs_error_on_missing_sources", False):
2164
- raise GypError(error_message)
2165
- else:
2166
- print("Warning: " + error_message, file=sys.stdout)
2167
-
2168
-
2169
- def _GenerateMSBuildFiltersFile(
2170
- filters_path,
2171
- source_files,
2172
- rule_dependencies,
2173
- extension_to_rule_name,
2174
- platforms,
2175
- toolset,
2176
- ):
2177
- """Generate the filters file.
2178
-
2179
- This file is used by Visual Studio to organize the presentation of source
2180
- files into folders.
2181
-
2182
- Arguments:
2183
- filters_path: The path of the file to be created.
2184
- source_files: The hierarchical structure of all the sources.
2185
- extension_to_rule_name: A dictionary mapping file extensions to rules.
2186
- """
2187
- filter_group = []
2188
- source_group = []
2189
- _AppendFiltersForMSBuild(
2190
- "",
2191
- source_files,
2192
- rule_dependencies,
2193
- extension_to_rule_name,
2194
- platforms,
2195
- toolset,
2196
- filter_group,
2197
- source_group,
2198
- )
2199
- if filter_group:
2200
- content = [
2201
- "Project",
2202
- {
2203
- "ToolsVersion": "4.0",
2204
- "xmlns": "http://schemas.microsoft.com/developer/msbuild/2003",
2205
- },
2206
- ["ItemGroup"] + filter_group,
2207
- ["ItemGroup"] + source_group,
2208
- ]
2209
- easy_xml.WriteXmlIfChanged(content, filters_path, pretty=True, win32=True)
2210
- elif os.path.exists(filters_path):
2211
- # We don't need this filter anymore. Delete the old filter file.
2212
- os.unlink(filters_path)
2213
-
2214
-
2215
- def _AppendFiltersForMSBuild(
2216
- parent_filter_name,
2217
- sources,
2218
- rule_dependencies,
2219
- extension_to_rule_name,
2220
- platforms,
2221
- toolset,
2222
- filter_group,
2223
- source_group,
2224
- ):
2225
- """Creates the list of filters and sources to be added in the filter file.
2226
-
2227
- Args:
2228
- parent_filter_name: The name of the filter under which the sources are
2229
- found.
2230
- sources: The hierarchy of filters and sources to process.
2231
- extension_to_rule_name: A dictionary mapping file extensions to rules.
2232
- filter_group: The list to which filter entries will be appended.
2233
- source_group: The list to which source entries will be appended.
2234
- """
2235
- for source in sources:
2236
- if isinstance(source, MSVSProject.Filter):
2237
- # We have a sub-filter. Create the name of that sub-filter.
2238
- if not parent_filter_name:
2239
- filter_name = source.name
2240
- else:
2241
- filter_name = f"{parent_filter_name}\\{source.name}"
2242
- # Add the filter to the group.
2243
- filter_group.append(
2244
- [
2245
- "Filter",
2246
- {"Include": filter_name},
2247
- ["UniqueIdentifier", MSVSNew.MakeGuid(source.name)],
2248
- ]
2249
- )
2250
- # Recurse and add its dependents.
2251
- _AppendFiltersForMSBuild(
2252
- filter_name,
2253
- source.contents,
2254
- rule_dependencies,
2255
- extension_to_rule_name,
2256
- platforms,
2257
- toolset,
2258
- filter_group,
2259
- source_group,
2260
- )
2261
- else:
2262
- # It's a source. Create a source entry.
2263
- _, element = _MapFileToMsBuildSourceType(
2264
- source, rule_dependencies, extension_to_rule_name, platforms, toolset
2265
- )
2266
- source_entry = [element, {"Include": source}]
2267
- # Specify the filter it is part of, if any.
2268
- if parent_filter_name:
2269
- source_entry.append(["Filter", parent_filter_name])
2270
- source_group.append(source_entry)
2271
-
2272
-
2273
- def _MapFileToMsBuildSourceType(
2274
- source, rule_dependencies, extension_to_rule_name, platforms, toolset
2275
- ):
2276
- """Returns the group and element type of the source file.
2277
-
2278
- Arguments:
2279
- source: The source file name.
2280
- extension_to_rule_name: A dictionary mapping file extensions to rules.
2281
-
2282
- Returns:
2283
- A pair of (group this file should be part of, the label of element)
2284
- """
2285
- _, ext = os.path.splitext(source)
2286
- ext = ext.lower()
2287
- if ext in extension_to_rule_name:
2288
- group = "rule"
2289
- element = extension_to_rule_name[ext]
2290
- elif ext in [".cc", ".cpp", ".c", ".cxx", ".mm"]:
2291
- group = "compile"
2292
- element = "ClCompile"
2293
- elif ext in [".h", ".hxx"]:
2294
- group = "include"
2295
- element = "ClInclude"
2296
- elif ext == ".rc":
2297
- group = "resource"
2298
- element = "ResourceCompile"
2299
- elif ext in [".s", ".asm"]:
2300
- group = "masm"
2301
- element = "MASM"
2302
- if "arm64" in platforms and toolset == "target":
2303
- element = "MARMASM"
2304
- elif ext == ".idl":
2305
- group = "midl"
2306
- element = "Midl"
2307
- elif source in rule_dependencies:
2308
- group = "rule_dependency"
2309
- element = "CustomBuild"
2310
- else:
2311
- group = "none"
2312
- element = "None"
2313
- return (group, element)
2314
-
2315
-
2316
- def _GenerateRulesForMSBuild(
2317
- output_dir,
2318
- options,
2319
- spec,
2320
- sources,
2321
- excluded_sources,
2322
- props_files_of_rules,
2323
- targets_files_of_rules,
2324
- actions_to_add,
2325
- rule_dependencies,
2326
- extension_to_rule_name,
2327
- ):
2328
- # MSBuild rules are implemented using three files: an XML file, a .targets
2329
- # file and a .props file.
2330
- # For more details see:
2331
- # https://devblogs.microsoft.com/cppblog/quick-help-on-vs2010-custom-build-rule/
2332
- rules = spec.get("rules", [])
2333
- rules_native = [r for r in rules if not int(r.get("msvs_external_rule", 0))]
2334
- rules_external = [r for r in rules if int(r.get("msvs_external_rule", 0))]
2335
-
2336
- msbuild_rules = []
2337
- for rule in rules_native:
2338
- # Skip a rule with no action and no inputs.
2339
- if "action" not in rule and not rule.get("rule_sources", []):
2340
- continue
2341
- msbuild_rule = MSBuildRule(rule, spec)
2342
- msbuild_rules.append(msbuild_rule)
2343
- rule_dependencies.update(msbuild_rule.additional_dependencies.split(";"))
2344
- extension_to_rule_name[msbuild_rule.extension] = msbuild_rule.rule_name
2345
- if msbuild_rules:
2346
- base = spec["target_name"] + options.suffix
2347
- props_name = base + ".props"
2348
- targets_name = base + ".targets"
2349
- xml_name = base + ".xml"
2350
-
2351
- props_files_of_rules.add(props_name)
2352
- targets_files_of_rules.add(targets_name)
2353
-
2354
- props_path = os.path.join(output_dir, props_name)
2355
- targets_path = os.path.join(output_dir, targets_name)
2356
- xml_path = os.path.join(output_dir, xml_name)
2357
-
2358
- _GenerateMSBuildRulePropsFile(props_path, msbuild_rules)
2359
- _GenerateMSBuildRuleTargetsFile(targets_path, msbuild_rules)
2360
- _GenerateMSBuildRuleXmlFile(xml_path, msbuild_rules)
2361
-
2362
- if rules_external:
2363
- _GenerateExternalRules(
2364
- rules_external, output_dir, spec, sources, options, actions_to_add
2365
- )
2366
- _AdjustSourcesForRules(rules, sources, excluded_sources, True)
2367
-
2368
-
2369
- class MSBuildRule:
2370
- """Used to store information used to generate an MSBuild rule.
2371
-
2372
- Attributes:
2373
- rule_name: The rule name, sanitized to use in XML.
2374
- target_name: The name of the target.
2375
- after_targets: The name of the AfterTargets element.
2376
- before_targets: The name of the BeforeTargets element.
2377
- depends_on: The name of the DependsOn element.
2378
- compute_output: The name of the ComputeOutput element.
2379
- dirs_to_make: The name of the DirsToMake element.
2380
- inputs: The name of the _inputs element.
2381
- tlog: The name of the _tlog element.
2382
- extension: The extension this rule applies to.
2383
- description: The message displayed when this rule is invoked.
2384
- additional_dependencies: A string listing additional dependencies.
2385
- outputs: The outputs of this rule.
2386
- command: The command used to run the rule.
2387
- """
2388
-
2389
- def __init__(self, rule, spec):
2390
- self.display_name = rule["rule_name"]
2391
- # Assure that the rule name is only characters and numbers
2392
- self.rule_name = re.sub(r"\W", "_", self.display_name)
2393
- # Create the various element names, following the example set by the
2394
- # Visual Studio 2008 to 2010 conversion. I don't know if VS2010
2395
- # is sensitive to the exact names.
2396
- self.target_name = "_" + self.rule_name
2397
- self.after_targets = self.rule_name + "AfterTargets"
2398
- self.before_targets = self.rule_name + "BeforeTargets"
2399
- self.depends_on = self.rule_name + "DependsOn"
2400
- self.compute_output = "Compute%sOutput" % self.rule_name
2401
- self.dirs_to_make = self.rule_name + "DirsToMake"
2402
- self.inputs = self.rule_name + "_inputs"
2403
- self.tlog = self.rule_name + "_tlog"
2404
- self.extension = rule["extension"]
2405
- if not self.extension.startswith("."):
2406
- self.extension = "." + self.extension
2407
-
2408
- self.description = MSVSSettings.ConvertVCMacrosToMSBuild(
2409
- rule.get("message", self.rule_name)
2410
- )
2411
- old_additional_dependencies = _FixPaths(rule.get("inputs", []))
2412
- self.additional_dependencies = ";".join(
2413
- [
2414
- MSVSSettings.ConvertVCMacrosToMSBuild(i)
2415
- for i in old_additional_dependencies
2416
- ]
2417
- )
2418
- old_outputs = _FixPaths(rule.get("outputs", []))
2419
- self.outputs = ";".join(
2420
- [MSVSSettings.ConvertVCMacrosToMSBuild(i) for i in old_outputs]
2421
- )
2422
- old_command = _BuildCommandLineForRule(
2423
- spec, rule, has_input_path=True, do_setup_env=True
2424
- )
2425
- self.command = MSVSSettings.ConvertVCMacrosToMSBuild(old_command)
2426
-
2427
-
2428
- def _GenerateMSBuildRulePropsFile(props_path, msbuild_rules):
2429
- """Generate the .props file."""
2430
- content = [
2431
- "Project",
2432
- {"xmlns": "http://schemas.microsoft.com/developer/msbuild/2003"},
2433
- ]
2434
- for rule in msbuild_rules:
2435
- content.extend(
2436
- [
2437
- [
2438
- "PropertyGroup",
2439
- {
2440
- "Condition": "'$(%s)' == '' and '$(%s)' == '' and "
2441
- "'$(ConfigurationType)' != 'Makefile'"
2442
- % (rule.before_targets, rule.after_targets)
2443
- },
2444
- [rule.before_targets, "Midl"],
2445
- [rule.after_targets, "CustomBuild"],
2446
- ],
2447
- [
2448
- "PropertyGroup",
2449
- [
2450
- rule.depends_on,
2451
- {"Condition": "'$(ConfigurationType)' != 'Makefile'"},
2452
- "_SelectedFiles;$(%s)" % rule.depends_on,
2453
- ],
2454
- ],
2455
- [
2456
- "ItemDefinitionGroup",
2457
- [
2458
- rule.rule_name,
2459
- ["CommandLineTemplate", rule.command],
2460
- ["Outputs", rule.outputs],
2461
- ["ExecutionDescription", rule.description],
2462
- ["AdditionalDependencies", rule.additional_dependencies],
2463
- ],
2464
- ],
2465
- ]
2466
- )
2467
- easy_xml.WriteXmlIfChanged(content, props_path, pretty=True, win32=True)
2468
-
2469
-
2470
- def _GenerateMSBuildRuleTargetsFile(targets_path, msbuild_rules):
2471
- """Generate the .targets file."""
2472
- content = [
2473
- "Project",
2474
- {"xmlns": "http://schemas.microsoft.com/developer/msbuild/2003"},
2475
- ]
2476
- item_group = [
2477
- "ItemGroup",
2478
- [
2479
- "PropertyPageSchema",
2480
- {"Include": "$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml"},
2481
- ],
2482
- ]
2483
- for rule in msbuild_rules:
2484
- item_group.append(
2485
- [
2486
- "AvailableItemName",
2487
- {"Include": rule.rule_name},
2488
- ["Targets", rule.target_name],
2489
- ]
2490
- )
2491
- content.append(item_group)
2492
-
2493
- for rule in msbuild_rules:
2494
- content.append(
2495
- [
2496
- "UsingTask",
2497
- {
2498
- "TaskName": rule.rule_name,
2499
- "TaskFactory": "XamlTaskFactory",
2500
- "AssemblyName": "Microsoft.Build.Tasks.v4.0",
2501
- },
2502
- ["Task", "$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml"],
2503
- ]
2504
- )
2505
- for rule in msbuild_rules:
2506
- rule_name = rule.rule_name
2507
- target_outputs = "%%(%s.Outputs)" % rule_name
2508
- target_inputs = (
2509
- "%%(%s.Identity);%%(%s.AdditionalDependencies);$(MSBuildProjectFile)"
2510
- ) % (rule_name, rule_name)
2511
- rule_inputs = "%%(%s.Identity)" % rule_name
2512
- extension_condition = (
2513
- "'%(Extension)'=='.obj' or "
2514
- "'%(Extension)'=='.res' or "
2515
- "'%(Extension)'=='.rsc' or "
2516
- "'%(Extension)'=='.lib'"
2517
- )
2518
- remove_section = [
2519
- "ItemGroup",
2520
- {"Condition": "'@(SelectedFiles)' != ''"},
2521
- [
2522
- rule_name,
2523
- {
2524
- "Remove": "@(%s)" % rule_name,
2525
- "Condition": "'%(Identity)' != '@(SelectedFiles)'",
2526
- },
2527
- ],
2528
- ]
2529
- inputs_section = [
2530
- "ItemGroup",
2531
- [rule.inputs, {"Include": "%%(%s.AdditionalDependencies)" % rule_name}],
2532
- ]
2533
- logging_section = [
2534
- "ItemGroup",
2535
- [
2536
- rule.tlog,
2537
- {
2538
- "Include": "%%(%s.Outputs)" % rule_name,
2539
- "Condition": (
2540
- "'%%(%s.Outputs)' != '' and "
2541
- "'%%(%s.ExcludedFromBuild)' != 'true'" % (rule_name, rule_name)
2542
- ),
2543
- },
2544
- ["Source", "@(%s, '|')" % rule_name],
2545
- ["Inputs", "@(%s -> '%%(Fullpath)', ';')" % rule.inputs],
2546
- ],
2547
- ]
2548
- message_section = [
2549
- "Message",
2550
- {"Importance": "High", "Text": "%%(%s.ExecutionDescription)" % rule_name},
2551
- ]
2552
- write_tlog_section = [
2553
- "WriteLinesToFile",
2554
- {
2555
- "Condition": "'@(%s)' != '' and '%%(%s.ExcludedFromBuild)' != "
2556
- "'true'" % (rule.tlog, rule.tlog),
2557
- "File": "$(IntDir)$(ProjectName).write.1.tlog",
2558
- "Lines": "^%%(%s.Source);@(%s->'%%(Fullpath)')"
2559
- % (rule.tlog, rule.tlog),
2560
- },
2561
- ]
2562
- read_tlog_section = [
2563
- "WriteLinesToFile",
2564
- {
2565
- "Condition": "'@(%s)' != '' and '%%(%s.ExcludedFromBuild)' != "
2566
- "'true'" % (rule.tlog, rule.tlog),
2567
- "File": "$(IntDir)$(ProjectName).read.1.tlog",
2568
- "Lines": f"^%({rule.tlog}.Source);%({rule.tlog}.Inputs)",
2569
- },
2570
- ]
2571
- command_and_input_section = [
2572
- rule_name,
2573
- {
2574
- "Condition": "'@(%s)' != '' and '%%(%s.ExcludedFromBuild)' != "
2575
- "'true'" % (rule_name, rule_name),
2576
- "EchoOff": "true",
2577
- "StandardOutputImportance": "High",
2578
- "StandardErrorImportance": "High",
2579
- "CommandLineTemplate": "%%(%s.CommandLineTemplate)" % rule_name,
2580
- "AdditionalOptions": "%%(%s.AdditionalOptions)" % rule_name,
2581
- "Inputs": rule_inputs,
2582
- },
2583
- ]
2584
- content.extend(
2585
- [
2586
- [
2587
- "Target",
2588
- {
2589
- "Name": rule.target_name,
2590
- "BeforeTargets": "$(%s)" % rule.before_targets,
2591
- "AfterTargets": "$(%s)" % rule.after_targets,
2592
- "Condition": "'@(%s)' != ''" % rule_name,
2593
- "DependsOnTargets": "$(%s);%s"
2594
- % (rule.depends_on, rule.compute_output),
2595
- "Outputs": target_outputs,
2596
- "Inputs": target_inputs,
2597
- },
2598
- remove_section,
2599
- inputs_section,
2600
- logging_section,
2601
- message_section,
2602
- write_tlog_section,
2603
- read_tlog_section,
2604
- command_and_input_section,
2605
- ],
2606
- [
2607
- "PropertyGroup",
2608
- [
2609
- "ComputeLinkInputsTargets",
2610
- "$(ComputeLinkInputsTargets);",
2611
- "%s;" % rule.compute_output,
2612
- ],
2613
- [
2614
- "ComputeLibInputsTargets",
2615
- "$(ComputeLibInputsTargets);",
2616
- "%s;" % rule.compute_output,
2617
- ],
2618
- ],
2619
- [
2620
- "Target",
2621
- {
2622
- "Name": rule.compute_output,
2623
- "Condition": "'@(%s)' != ''" % rule_name,
2624
- },
2625
- [
2626
- "ItemGroup",
2627
- [
2628
- rule.dirs_to_make,
2629
- {
2630
- "Condition": "'@(%s)' != '' and "
2631
- "'%%(%s.ExcludedFromBuild)' != 'true'"
2632
- % (rule_name, rule_name),
2633
- "Include": "%%(%s.Outputs)" % rule_name,
2634
- },
2635
- ],
2636
- [
2637
- "Link",
2638
- {
2639
- "Include": "%%(%s.Identity)" % rule.dirs_to_make,
2640
- "Condition": extension_condition,
2641
- },
2642
- ],
2643
- [
2644
- "Lib",
2645
- {
2646
- "Include": "%%(%s.Identity)" % rule.dirs_to_make,
2647
- "Condition": extension_condition,
2648
- },
2649
- ],
2650
- [
2651
- "ImpLib",
2652
- {
2653
- "Include": "%%(%s.Identity)" % rule.dirs_to_make,
2654
- "Condition": extension_condition,
2655
- },
2656
- ],
2657
- ],
2658
- [
2659
- "MakeDir",
2660
- {
2661
- "Directories": (
2662
- "@(%s->'%%(RootDir)%%(Directory)')" % rule.dirs_to_make
2663
- )
2664
- },
2665
- ],
2666
- ],
2667
- ]
2668
- )
2669
- easy_xml.WriteXmlIfChanged(content, targets_path, pretty=True, win32=True)
2670
-
2671
-
2672
- def _GenerateMSBuildRuleXmlFile(xml_path, msbuild_rules):
2673
- # Generate the .xml file
2674
- content = [
2675
- "ProjectSchemaDefinitions",
2676
- {
2677
- "xmlns": (
2678
- "clr-namespace:Microsoft.Build.Framework.XamlTypes;"
2679
- "assembly=Microsoft.Build.Framework"
2680
- ),
2681
- "xmlns:x": "http://schemas.microsoft.com/winfx/2006/xaml",
2682
- "xmlns:sys": "clr-namespace:System;assembly=mscorlib",
2683
- "xmlns:transformCallback": "Microsoft.Cpp.Dev10.ConvertPropertyCallback",
2684
- },
2685
- ]
2686
- for rule in msbuild_rules:
2687
- content.extend(
2688
- [
2689
- [
2690
- "Rule",
2691
- {
2692
- "Name": rule.rule_name,
2693
- "PageTemplate": "tool",
2694
- "DisplayName": rule.display_name,
2695
- "Order": "200",
2696
- },
2697
- [
2698
- "Rule.DataSource",
2699
- [
2700
- "DataSource",
2701
- {"Persistence": "ProjectFile", "ItemType": rule.rule_name},
2702
- ],
2703
- ],
2704
- [
2705
- "Rule.Categories",
2706
- [
2707
- "Category",
2708
- {"Name": "General"},
2709
- ["Category.DisplayName", ["sys:String", "General"]],
2710
- ],
2711
- [
2712
- "Category",
2713
- {"Name": "Command Line", "Subtype": "CommandLine"},
2714
- ["Category.DisplayName", ["sys:String", "Command Line"]],
2715
- ],
2716
- ],
2717
- [
2718
- "StringListProperty",
2719
- {
2720
- "Name": "Inputs",
2721
- "Category": "Command Line",
2722
- "IsRequired": "true",
2723
- "Switch": " ",
2724
- },
2725
- [
2726
- "StringListProperty.DataSource",
2727
- [
2728
- "DataSource",
2729
- {
2730
- "Persistence": "ProjectFile",
2731
- "ItemType": rule.rule_name,
2732
- "SourceType": "Item",
2733
- },
2734
- ],
2735
- ],
2736
- ],
2737
- [
2738
- "StringProperty",
2739
- {
2740
- "Name": "CommandLineTemplate",
2741
- "DisplayName": "Command Line",
2742
- "Visible": "False",
2743
- "IncludeInCommandLine": "False",
2744
- },
2745
- ],
2746
- [
2747
- "DynamicEnumProperty",
2748
- {
2749
- "Name": rule.before_targets,
2750
- "Category": "General",
2751
- "EnumProvider": "Targets",
2752
- "IncludeInCommandLine": "False",
2753
- },
2754
- [
2755
- "DynamicEnumProperty.DisplayName",
2756
- ["sys:String", "Execute Before"],
2757
- ],
2758
- [
2759
- "DynamicEnumProperty.Description",
2760
- [
2761
- "sys:String",
2762
- "Specifies the targets for the build customization"
2763
- " to run before.",
2764
- ],
2765
- ],
2766
- [
2767
- "DynamicEnumProperty.ProviderSettings",
2768
- [
2769
- "NameValuePair",
2770
- {
2771
- "Name": "Exclude",
2772
- "Value": "^%s|^Compute" % rule.before_targets,
2773
- },
2774
- ],
2775
- ],
2776
- [
2777
- "DynamicEnumProperty.DataSource",
2778
- [
2779
- "DataSource",
2780
- {
2781
- "Persistence": "ProjectFile",
2782
- "HasConfigurationCondition": "true",
2783
- },
2784
- ],
2785
- ],
2786
- ],
2787
- [
2788
- "DynamicEnumProperty",
2789
- {
2790
- "Name": rule.after_targets,
2791
- "Category": "General",
2792
- "EnumProvider": "Targets",
2793
- "IncludeInCommandLine": "False",
2794
- },
2795
- [
2796
- "DynamicEnumProperty.DisplayName",
2797
- ["sys:String", "Execute After"],
2798
- ],
2799
- [
2800
- "DynamicEnumProperty.Description",
2801
- [
2802
- "sys:String",
2803
- (
2804
- "Specifies the targets for the build customization"
2805
- " to run after."
2806
- ),
2807
- ],
2808
- ],
2809
- [
2810
- "DynamicEnumProperty.ProviderSettings",
2811
- [
2812
- "NameValuePair",
2813
- {
2814
- "Name": "Exclude",
2815
- "Value": "^%s|^Compute" % rule.after_targets,
2816
- },
2817
- ],
2818
- ],
2819
- [
2820
- "DynamicEnumProperty.DataSource",
2821
- [
2822
- "DataSource",
2823
- {
2824
- "Persistence": "ProjectFile",
2825
- "ItemType": "",
2826
- "HasConfigurationCondition": "true",
2827
- },
2828
- ],
2829
- ],
2830
- ],
2831
- [
2832
- "StringListProperty",
2833
- {
2834
- "Name": "Outputs",
2835
- "DisplayName": "Outputs",
2836
- "Visible": "False",
2837
- "IncludeInCommandLine": "False",
2838
- },
2839
- ],
2840
- [
2841
- "StringProperty",
2842
- {
2843
- "Name": "ExecutionDescription",
2844
- "DisplayName": "Execution Description",
2845
- "Visible": "False",
2846
- "IncludeInCommandLine": "False",
2847
- },
2848
- ],
2849
- [
2850
- "StringListProperty",
2851
- {
2852
- "Name": "AdditionalDependencies",
2853
- "DisplayName": "Additional Dependencies",
2854
- "IncludeInCommandLine": "False",
2855
- "Visible": "false",
2856
- },
2857
- ],
2858
- [
2859
- "StringProperty",
2860
- {
2861
- "Subtype": "AdditionalOptions",
2862
- "Name": "AdditionalOptions",
2863
- "Category": "Command Line",
2864
- },
2865
- [
2866
- "StringProperty.DisplayName",
2867
- ["sys:String", "Additional Options"],
2868
- ],
2869
- [
2870
- "StringProperty.Description",
2871
- ["sys:String", "Additional Options"],
2872
- ],
2873
- ],
2874
- ],
2875
- [
2876
- "ItemType",
2877
- {"Name": rule.rule_name, "DisplayName": rule.display_name},
2878
- ],
2879
- [
2880
- "FileExtension",
2881
- {"Name": "*" + rule.extension, "ContentType": rule.rule_name},
2882
- ],
2883
- [
2884
- "ContentType",
2885
- {
2886
- "Name": rule.rule_name,
2887
- "DisplayName": "",
2888
- "ItemType": rule.rule_name,
2889
- },
2890
- ],
2891
- ]
2892
- )
2893
- easy_xml.WriteXmlIfChanged(content, xml_path, pretty=True, win32=True)
2894
-
2895
-
2896
- def _GetConfigurationAndPlatform(name, settings, spec):
2897
- configuration = name.rsplit("_", 1)[0]
2898
- platform = settings.get("msvs_configuration_platform", "Win32")
2899
- if spec["toolset"] == "host" and platform == "arm64":
2900
- platform = "x64" # Host-only tools are always built for x64
2901
- return (configuration, platform)
2902
-
2903
-
2904
- def _GetConfigurationCondition(name, settings, spec):
2905
- return r"'$(Configuration)|$(Platform)'=='%s|%s'" % _GetConfigurationAndPlatform(
2906
- name, settings, spec
2907
- )
2908
-
2909
-
2910
- def _GetMSBuildProjectConfigurations(configurations, spec):
2911
- group = ["ItemGroup", {"Label": "ProjectConfigurations"}]
2912
- for name, settings in sorted(configurations.items()):
2913
- configuration, platform = _GetConfigurationAndPlatform(name, settings, spec)
2914
- designation = f"{configuration}|{platform}"
2915
- group.append(
2916
- [
2917
- "ProjectConfiguration",
2918
- {"Include": designation},
2919
- ["Configuration", configuration],
2920
- ["Platform", platform],
2921
- ]
2922
- )
2923
- return [group]
2924
-
2925
-
2926
- def _GetMSBuildGlobalProperties(spec, version, guid, gyp_file_name):
2927
- namespace = os.path.splitext(gyp_file_name)[0]
2928
- properties = [
2929
- [
2930
- "PropertyGroup",
2931
- {"Label": "Globals"},
2932
- ["ProjectGuid", guid],
2933
- ["Keyword", "Win32Proj"],
2934
- ["RootNamespace", namespace],
2935
- ["IgnoreWarnCompileDuplicatedFilename", "true"],
2936
- ]
2937
- ]
2938
-
2939
- if (
2940
- os.environ.get("PROCESSOR_ARCHITECTURE") == "AMD64"
2941
- or os.environ.get("PROCESSOR_ARCHITEW6432") == "AMD64"
2942
- ):
2943
- properties[0].append(["PreferredToolArchitecture", "x64"])
2944
-
2945
- if spec.get("msvs_target_platform_version"):
2946
- target_platform_version = spec.get("msvs_target_platform_version")
2947
- properties[0].append(["WindowsTargetPlatformVersion", target_platform_version])
2948
- if spec.get("msvs_target_platform_minversion"):
2949
- target_platform_minversion = spec.get("msvs_target_platform_minversion")
2950
- properties[0].append(
2951
- ["WindowsTargetPlatformMinVersion", target_platform_minversion]
2952
- )
2953
- else:
2954
- properties[0].append(
2955
- ["WindowsTargetPlatformMinVersion", target_platform_version]
2956
- )
2957
-
2958
- if spec.get("msvs_enable_winrt"):
2959
- properties[0].append(["DefaultLanguage", "en-US"])
2960
- properties[0].append(["AppContainerApplication", "true"])
2961
- if spec.get("msvs_application_type_revision"):
2962
- app_type_revision = spec.get("msvs_application_type_revision")
2963
- properties[0].append(["ApplicationTypeRevision", app_type_revision])
2964
- else:
2965
- properties[0].append(["ApplicationTypeRevision", "8.1"])
2966
- if spec.get("msvs_enable_winphone"):
2967
- properties[0].append(["ApplicationType", "Windows Phone"])
2968
- else:
2969
- properties[0].append(["ApplicationType", "Windows Store"])
2970
-
2971
- platform_name = None
2972
- msvs_windows_sdk_version = None
2973
- for configuration in spec["configurations"].values():
2974
- platform_name = platform_name or _ConfigPlatform(configuration)
2975
- msvs_windows_sdk_version = (
2976
- msvs_windows_sdk_version
2977
- or _ConfigWindowsTargetPlatformVersion(configuration, version)
2978
- )
2979
- if platform_name and msvs_windows_sdk_version:
2980
- break
2981
- if msvs_windows_sdk_version:
2982
- properties[0].append(
2983
- ["WindowsTargetPlatformVersion", str(msvs_windows_sdk_version)]
2984
- )
2985
- elif version.compatible_sdks:
2986
- raise GypError(
2987
- "%s requires any SDK of %s version, but none were found"
2988
- % (version.description, version.compatible_sdks)
2989
- )
2990
-
2991
- if platform_name == "ARM":
2992
- properties[0].append(["WindowsSDKDesktopARMSupport", "true"])
2993
-
2994
- return properties
2995
-
2996
-
2997
- def _GetMSBuildConfigurationDetails(spec, build_file):
2998
- properties = {}
2999
- for name, settings in spec["configurations"].items():
3000
- msbuild_attributes = _GetMSBuildAttributes(spec, settings, build_file)
3001
- condition = _GetConfigurationCondition(name, settings, spec)
3002
- character_set = msbuild_attributes.get("CharacterSet")
3003
- vctools_version = msbuild_attributes.get("VCToolsVersion")
3004
- config_type = msbuild_attributes.get("ConfigurationType")
3005
- _AddConditionalProperty(properties, condition, "ConfigurationType", config_type)
3006
- spectre_mitigation = msbuild_attributes.get("SpectreMitigation")
3007
- if spectre_mitigation:
3008
- _AddConditionalProperty(
3009
- properties, condition, "SpectreMitigation", spectre_mitigation
3010
- )
3011
- if config_type == "Driver":
3012
- _AddConditionalProperty(properties, condition, "DriverType", "WDM")
3013
- _AddConditionalProperty(
3014
- properties, condition, "TargetVersion", _ConfigTargetVersion(settings)
3015
- )
3016
- if character_set and "msvs_enable_winrt" not in spec:
3017
- _AddConditionalProperty(
3018
- properties, condition, "CharacterSet", character_set
3019
- )
3020
- if vctools_version and "msvs_enable_winrt" not in spec:
3021
- _AddConditionalProperty(
3022
- properties, condition, "VCToolsVersion", vctools_version
3023
- )
3024
- return _GetMSBuildPropertyGroup(spec, "Configuration", properties)
3025
-
3026
-
3027
- def _GetMSBuildLocalProperties(msbuild_toolset):
3028
- # Currently the only local property we support is PlatformToolset
3029
- properties = {}
3030
- if msbuild_toolset:
3031
- properties = [
3032
- [
3033
- "PropertyGroup",
3034
- {"Label": "Locals"},
3035
- ["PlatformToolset", msbuild_toolset],
3036
- ]
3037
- ]
3038
- return properties
3039
-
3040
-
3041
- def _GetMSBuildPropertySheets(configurations, spec):
3042
- user_props = r"$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
3043
- additional_props = {}
3044
- props_specified = False
3045
- for name, settings in sorted(configurations.items()):
3046
- configuration = _GetConfigurationCondition(name, settings, spec)
3047
- if "msbuild_props" in settings:
3048
- additional_props[configuration] = _FixPaths(settings["msbuild_props"])
3049
- props_specified = True
3050
- else:
3051
- additional_props[configuration] = ""
3052
-
3053
- if not props_specified:
3054
- return [
3055
- [
3056
- "ImportGroup",
3057
- {"Label": "PropertySheets"},
3058
- [
3059
- "Import",
3060
- {
3061
- "Project": user_props,
3062
- "Condition": "exists('%s')" % user_props,
3063
- "Label": "LocalAppDataPlatform",
3064
- },
3065
- ],
3066
- ]
3067
- ]
3068
- else:
3069
- sheets = []
3070
- for condition, props in additional_props.items():
3071
- import_group = [
3072
- "ImportGroup",
3073
- {"Label": "PropertySheets", "Condition": condition},
3074
- [
3075
- "Import",
3076
- {
3077
- "Project": user_props,
3078
- "Condition": "exists('%s')" % user_props,
3079
- "Label": "LocalAppDataPlatform",
3080
- },
3081
- ],
3082
- ]
3083
- for props_file in props:
3084
- import_group.append(["Import", {"Project": props_file}])
3085
- sheets.append(import_group)
3086
- return sheets
3087
-
3088
-
3089
- def _ConvertMSVSBuildAttributes(spec, config, build_file):
3090
- config_type = _GetMSVSConfigurationType(spec, build_file)
3091
- msvs_attributes = _GetMSVSAttributes(spec, config, config_type)
3092
- msbuild_attributes = {}
3093
- for a in msvs_attributes:
3094
- if a in ["IntermediateDirectory", "OutputDirectory"]:
3095
- directory = MSVSSettings.ConvertVCMacrosToMSBuild(msvs_attributes[a])
3096
- if not directory.endswith("\\"):
3097
- directory += "\\"
3098
- msbuild_attributes[a] = directory
3099
- elif a == "CharacterSet":
3100
- msbuild_attributes[a] = _ConvertMSVSCharacterSet(msvs_attributes[a])
3101
- elif a == "ConfigurationType":
3102
- msbuild_attributes[a] = _ConvertMSVSConfigurationType(msvs_attributes[a])
3103
- elif a == "SpectreMitigation" or a == "VCToolsVersion":
3104
- msbuild_attributes[a] = msvs_attributes[a]
3105
- else:
3106
- print("Warning: Do not know how to convert MSVS attribute " + a)
3107
- return msbuild_attributes
3108
-
3109
-
3110
- def _ConvertMSVSCharacterSet(char_set):
3111
- if char_set.isdigit():
3112
- char_set = {"0": "MultiByte", "1": "Unicode", "2": "MultiByte"}[char_set]
3113
- return char_set
3114
-
3115
-
3116
- def _ConvertMSVSConfigurationType(config_type):
3117
- if config_type.isdigit():
3118
- config_type = {
3119
- "1": "Application",
3120
- "2": "DynamicLibrary",
3121
- "4": "StaticLibrary",
3122
- "5": "Driver",
3123
- "10": "Utility",
3124
- }[config_type]
3125
- return config_type
3126
-
3127
-
3128
- def _GetMSBuildAttributes(spec, config, build_file):
3129
- if "msbuild_configuration_attributes" not in config:
3130
- msbuild_attributes = _ConvertMSVSBuildAttributes(spec, config, build_file)
3131
-
3132
- else:
3133
- config_type = _GetMSVSConfigurationType(spec, build_file)
3134
- config_type = _ConvertMSVSConfigurationType(config_type)
3135
- msbuild_attributes = config.get("msbuild_configuration_attributes", {})
3136
- msbuild_attributes.setdefault("ConfigurationType", config_type)
3137
- output_dir = msbuild_attributes.get(
3138
- "OutputDirectory", "$(SolutionDir)$(Configuration)"
3139
- )
3140
- msbuild_attributes["OutputDirectory"] = _FixPath(output_dir) + "\\"
3141
- if "IntermediateDirectory" not in msbuild_attributes:
3142
- intermediate = _FixPath("$(Configuration)") + "\\"
3143
- msbuild_attributes["IntermediateDirectory"] = intermediate
3144
- if "CharacterSet" in msbuild_attributes:
3145
- msbuild_attributes["CharacterSet"] = _ConvertMSVSCharacterSet(
3146
- msbuild_attributes["CharacterSet"]
3147
- )
3148
- if "TargetName" not in msbuild_attributes:
3149
- prefix = spec.get("product_prefix", "")
3150
- product_name = spec.get("product_name", "$(ProjectName)")
3151
- target_name = prefix + product_name
3152
- msbuild_attributes["TargetName"] = target_name
3153
- if "TargetExt" not in msbuild_attributes and "product_extension" in spec:
3154
- ext = spec.get("product_extension")
3155
- msbuild_attributes["TargetExt"] = "." + ext
3156
-
3157
- if spec.get("msvs_external_builder"):
3158
- external_out_dir = spec.get("msvs_external_builder_out_dir", ".")
3159
- msbuild_attributes["OutputDirectory"] = _FixPath(external_out_dir) + "\\"
3160
-
3161
- # Make sure that 'TargetPath' matches 'Lib.OutputFile' or 'Link.OutputFile'
3162
- # (depending on the tool used) to avoid MSB8012 warning.
3163
- msbuild_tool_map = {
3164
- "executable": "Link",
3165
- "shared_library": "Link",
3166
- "loadable_module": "Link",
3167
- "windows_driver": "Link",
3168
- "static_library": "Lib",
3169
- }
3170
- if msbuild_tool := msbuild_tool_map.get(spec["type"]):
3171
- msbuild_settings = config["finalized_msbuild_settings"]
3172
- out_file = msbuild_settings[msbuild_tool].get("OutputFile")
3173
- if out_file:
3174
- msbuild_attributes["TargetPath"] = _FixPath(out_file)
3175
- target_ext = msbuild_settings[msbuild_tool].get("TargetExt")
3176
- if target_ext:
3177
- msbuild_attributes["TargetExt"] = target_ext
3178
-
3179
- return msbuild_attributes
3180
-
3181
-
3182
- def _GetMSBuildConfigurationGlobalProperties(spec, configurations, build_file):
3183
- # TODO(jeanluc) We could optimize out the following and do it only if
3184
- # there are actions.
3185
- # TODO(jeanluc) Handle the equivalent of setting 'CYGWIN=nontsec'.
3186
- new_paths = []
3187
- if cygwin_dirs := spec.get("msvs_cygwin_dirs", ["."])[0]:
3188
- cyg_path = "$(MSBuildProjectDirectory)\\%s\\bin\\" % _FixPath(cygwin_dirs)
3189
- new_paths.append(cyg_path)
3190
- # TODO(jeanluc) Change the convention to have both a cygwin_dir and a
3191
- # python_dir.
3192
- python_path = cyg_path.replace("cygwin\\bin", "python_26")
3193
- new_paths.append(python_path)
3194
- if new_paths:
3195
- new_paths = "$(ExecutablePath);" + ";".join(new_paths)
3196
-
3197
- properties = {}
3198
- for name, configuration in sorted(configurations.items()):
3199
- condition = _GetConfigurationCondition(name, configuration, spec)
3200
- attributes = _GetMSBuildAttributes(spec, configuration, build_file)
3201
- msbuild_settings = configuration["finalized_msbuild_settings"]
3202
- _AddConditionalProperty(
3203
- properties, condition, "IntDir", attributes["IntermediateDirectory"]
3204
- )
3205
- _AddConditionalProperty(
3206
- properties, condition, "OutDir", attributes["OutputDirectory"]
3207
- )
3208
- _AddConditionalProperty(
3209
- properties, condition, "TargetName", attributes["TargetName"]
3210
- )
3211
- if "TargetExt" in attributes:
3212
- _AddConditionalProperty(
3213
- properties, condition, "TargetExt", attributes["TargetExt"]
3214
- )
3215
-
3216
- if attributes.get("TargetPath"):
3217
- _AddConditionalProperty(
3218
- properties, condition, "TargetPath", attributes["TargetPath"]
3219
- )
3220
- if attributes.get("TargetExt"):
3221
- _AddConditionalProperty(
3222
- properties, condition, "TargetExt", attributes["TargetExt"]
3223
- )
3224
-
3225
- if new_paths:
3226
- _AddConditionalProperty(properties, condition, "ExecutablePath", new_paths)
3227
- tool_settings = msbuild_settings.get("", {})
3228
- for name, value in sorted(tool_settings.items()):
3229
- formatted_value = _GetValueFormattedForMSBuild("", name, value)
3230
- _AddConditionalProperty(properties, condition, name, formatted_value)
3231
- return _GetMSBuildPropertyGroup(spec, None, properties)
3232
-
3233
-
3234
- def _AddConditionalProperty(properties, condition, name, value):
3235
- """Adds a property / conditional value pair to a dictionary.
3236
-
3237
- Arguments:
3238
- properties: The dictionary to be modified. The key is the name of the
3239
- property. The value is itself a dictionary; its key is the value and
3240
- the value a list of condition for which this value is true.
3241
- condition: The condition under which the named property has the value.
3242
- name: The name of the property.
3243
- value: The value of the property.
3244
- """
3245
- if name not in properties:
3246
- properties[name] = {}
3247
- values = properties[name]
3248
- if value not in values:
3249
- values[value] = []
3250
- conditions = values[value]
3251
- conditions.append(condition)
3252
-
3253
-
3254
- # Regex for msvs variable references ( i.e. $(FOO) ).
3255
- MSVS_VARIABLE_REFERENCE = re.compile(r"\$\(([a-zA-Z_][a-zA-Z0-9_]*)\)")
3256
-
3257
-
3258
- def _GetMSBuildPropertyGroup(spec, label, properties):
3259
- """Returns a PropertyGroup definition for the specified properties.
3260
-
3261
- Arguments:
3262
- spec: The target project dict.
3263
- label: An optional label for the PropertyGroup.
3264
- properties: The dictionary to be converted. The key is the name of the
3265
- property. The value is itself a dictionary; its key is the value and
3266
- the value a list of condition for which this value is true.
3267
- """
3268
- group = ["PropertyGroup"]
3269
- if label:
3270
- group.append({"Label": label})
3271
- num_configurations = len(spec["configurations"])
3272
-
3273
- def GetEdges(node):
3274
- # Use a definition of edges such that user_of_variable -> used_variable.
3275
- # This happens to be easier in this case, since a variable's
3276
- # definition contains all variables it references in a single string.
3277
- edges = set()
3278
- for value in sorted(properties[node].keys()):
3279
- # Add to edges all $(...) references to variables.
3280
- #
3281
- # Variable references that refer to names not in properties are excluded
3282
- # These can exist for instance to refer built in definitions like
3283
- # $(SolutionDir).
3284
- #
3285
- # Self references are ignored. Self reference is used in a few places to
3286
- # append to the default value. I.e. PATH=$(PATH);other_path
3287
- edges.update(
3288
- {
3289
- v
3290
- for v in MSVS_VARIABLE_REFERENCE.findall(value)
3291
- if v in properties and v != node
3292
- }
3293
- )
3294
- return edges
3295
-
3296
- properties_ordered = gyp.common.TopologicallySorted(properties.keys(), GetEdges)
3297
- # Walk properties in the reverse of a topological sort on
3298
- # user_of_variable -> used_variable as this ensures variables are
3299
- # defined before they are used.
3300
- # NOTE: reverse(topsort(DAG)) = topsort(reverse_edges(DAG))
3301
- for name in reversed(properties_ordered):
3302
- values = properties[name]
3303
- for value, conditions in sorted(values.items()):
3304
- if len(conditions) == num_configurations:
3305
- # If the value is the same all configurations,
3306
- # just add one unconditional entry.
3307
- group.append([name, value])
3308
- else:
3309
- for condition in conditions:
3310
- group.append([name, {"Condition": condition}, value])
3311
- return [group]
3312
-
3313
-
3314
- def _GetMSBuildToolSettingsSections(spec, configurations):
3315
- groups = []
3316
- for name, configuration in sorted(configurations.items()):
3317
- msbuild_settings = configuration["finalized_msbuild_settings"]
3318
- group = [
3319
- "ItemDefinitionGroup",
3320
- {"Condition": _GetConfigurationCondition(name, configuration, spec)},
3321
- ]
3322
- for tool_name, tool_settings in sorted(msbuild_settings.items()):
3323
- # Skip the tool named '' which is a holder of global settings handled
3324
- # by _GetMSBuildConfigurationGlobalProperties.
3325
- if tool_name and tool_settings:
3326
- tool = [tool_name]
3327
- for name, value in sorted(tool_settings.items()):
3328
- formatted_value = _GetValueFormattedForMSBuild(
3329
- tool_name, name, value
3330
- )
3331
- tool.append([name, formatted_value])
3332
- group.append(tool)
3333
- groups.append(group)
3334
- return groups
3335
-
3336
-
3337
- def _FinalizeMSBuildSettings(spec, configuration):
3338
- if "msbuild_settings" in configuration:
3339
- converted = False
3340
- msbuild_settings = configuration["msbuild_settings"]
3341
- MSVSSettings.ValidateMSBuildSettings(msbuild_settings)
3342
- else:
3343
- converted = True
3344
- msvs_settings = configuration.get("msvs_settings", {})
3345
- msbuild_settings = MSVSSettings.ConvertToMSBuildSettings(msvs_settings)
3346
- include_dirs, midl_include_dirs, resource_include_dirs = _GetIncludeDirs(
3347
- configuration
3348
- )
3349
- libraries = _GetLibraries(spec)
3350
- library_dirs = _GetLibraryDirs(configuration)
3351
- out_file, _, msbuild_tool = _GetOutputFilePathAndTool(spec, msbuild=True)
3352
- target_ext = _GetOutputTargetExt(spec)
3353
- defines = _GetDefines(configuration)
3354
- if converted:
3355
- # Visual Studio 2010 has TR1
3356
- defines = [d for d in defines if d != "_HAS_TR1=0"]
3357
- # Warn of ignored settings
3358
- ignored_settings = ["msvs_tool_files"]
3359
- for ignored_setting in ignored_settings:
3360
- value = configuration.get(ignored_setting)
3361
- if value:
3362
- print(
3363
- "Warning: The automatic conversion to MSBuild does not handle "
3364
- "%s. Ignoring setting of %s" % (ignored_setting, str(value))
3365
- )
3366
-
3367
- defines = [_EscapeCppDefineForMSBuild(d) for d in defines]
3368
- disabled_warnings = _GetDisabledWarnings(configuration)
3369
- prebuild = configuration.get("msvs_prebuild")
3370
- postbuild = configuration.get("msvs_postbuild")
3371
- def_file = _GetModuleDefinition(spec)
3372
-
3373
- # Add the information to the appropriate tool
3374
- # TODO(jeanluc) We could optimize and generate these settings only if
3375
- # the corresponding files are found, e.g. don't generate ResourceCompile
3376
- # if you don't have any resources.
3377
- _ToolAppend(
3378
- msbuild_settings, "ClCompile", "AdditionalIncludeDirectories", include_dirs
3379
- )
3380
- _ToolAppend(
3381
- msbuild_settings, "Midl", "AdditionalIncludeDirectories", midl_include_dirs
3382
- )
3383
- _ToolAppend(
3384
- msbuild_settings,
3385
- "ResourceCompile",
3386
- "AdditionalIncludeDirectories",
3387
- resource_include_dirs,
3388
- )
3389
- # Add in libraries, note that even for empty libraries, we want this
3390
- # set, to prevent inheriting default libraries from the environment.
3391
- _ToolSetOrAppend(msbuild_settings, "Link", "AdditionalDependencies", libraries)
3392
- _ToolAppend(msbuild_settings, "Link", "AdditionalLibraryDirectories", library_dirs)
3393
- if out_file:
3394
- _ToolAppend(
3395
- msbuild_settings, msbuild_tool, "OutputFile", out_file, only_if_unset=True
3396
- )
3397
- if target_ext:
3398
- _ToolAppend(
3399
- msbuild_settings, msbuild_tool, "TargetExt", target_ext, only_if_unset=True
3400
- )
3401
- # Add defines.
3402
- _ToolAppend(msbuild_settings, "ClCompile", "PreprocessorDefinitions", defines)
3403
- _ToolAppend(msbuild_settings, "ResourceCompile", "PreprocessorDefinitions", defines)
3404
- # Add disabled warnings.
3405
- _ToolAppend(
3406
- msbuild_settings, "ClCompile", "DisableSpecificWarnings", disabled_warnings
3407
- )
3408
- # Turn on precompiled headers if appropriate.
3409
- if precompiled_header := configuration.get("msvs_precompiled_header"):
3410
- # While MSVC works with just file name eg. "v8_pch.h", ClangCL requires
3411
- # the full path eg. "tools/msvs/pch/v8_pch.h" to find the file.
3412
- # P.S. Only ClangCL defines msbuild_toolset, for MSVC it is None.
3413
- if configuration.get("msbuild_toolset") != "ClangCL":
3414
- precompiled_header = os.path.split(precompiled_header)[1]
3415
- _ToolAppend(msbuild_settings, "ClCompile", "PrecompiledHeader", "Use")
3416
- _ToolAppend(
3417
- msbuild_settings, "ClCompile", "PrecompiledHeaderFile", precompiled_header
3418
- )
3419
- _ToolAppend(
3420
- msbuild_settings, "ClCompile", "ForcedIncludeFiles", [precompiled_header]
3421
- )
3422
- else:
3423
- _ToolAppend(msbuild_settings, "ClCompile", "PrecompiledHeader", "NotUsing")
3424
- # Turn off WinRT compilation
3425
- _ToolAppend(msbuild_settings, "ClCompile", "CompileAsWinRT", "false")
3426
- # Turn on import libraries if appropriate
3427
- if spec.get("msvs_requires_importlibrary"):
3428
- _ToolAppend(msbuild_settings, "", "IgnoreImportLibrary", "false")
3429
- # Loadable modules don't generate import libraries;
3430
- # tell dependent projects to not expect one.
3431
- if spec["type"] == "loadable_module":
3432
- _ToolAppend(msbuild_settings, "", "IgnoreImportLibrary", "true")
3433
- # Set the module definition file if any.
3434
- if def_file:
3435
- _ToolAppend(msbuild_settings, "Link", "ModuleDefinitionFile", def_file)
3436
- configuration["finalized_msbuild_settings"] = msbuild_settings
3437
- if prebuild:
3438
- _ToolAppend(msbuild_settings, "PreBuildEvent", "Command", prebuild)
3439
- if postbuild:
3440
- _ToolAppend(msbuild_settings, "PostBuildEvent", "Command", postbuild)
3441
-
3442
-
3443
- def _GetValueFormattedForMSBuild(tool_name, name, value):
3444
- if isinstance(value, list):
3445
- # For some settings, VS2010 does not automatically extends the settings
3446
- # TODO(jeanluc) Is this what we want?
3447
- if name in [
3448
- "AdditionalIncludeDirectories",
3449
- "AdditionalLibraryDirectories",
3450
- "AdditionalOptions",
3451
- "DelayLoadDLLs",
3452
- "DisableSpecificWarnings",
3453
- "PreprocessorDefinitions",
3454
- ]:
3455
- value.append("%%(%s)" % name)
3456
- # For most tools, entries in a list should be separated with ';' but some
3457
- # settings use a space. Check for those first.
3458
- exceptions = {
3459
- "ClCompile": ["AdditionalOptions"],
3460
- "Link": ["AdditionalOptions"],
3461
- "Lib": ["AdditionalOptions"],
3462
- }
3463
- char = " " if name in exceptions.get(tool_name, []) else ";"
3464
- formatted_value = char.join(
3465
- [MSVSSettings.ConvertVCMacrosToMSBuild(i) for i in value]
3466
- )
3467
- else:
3468
- formatted_value = MSVSSettings.ConvertVCMacrosToMSBuild(value)
3469
- return formatted_value
3470
-
3471
-
3472
- def _VerifySourcesExist(sources, root_dir):
3473
- """Verifies that all source files exist on disk.
3474
-
3475
- Checks that all regular source files, i.e. not created at run time,
3476
- exist on disk. Missing files cause needless recompilation but no otherwise
3477
- visible errors.
3478
-
3479
- Arguments:
3480
- sources: A recursive list of Filter/file names.
3481
- root_dir: The root directory for the relative path names.
3482
- Returns:
3483
- A list of source files that cannot be found on disk.
3484
- """
3485
- missing_sources = []
3486
- for source in sources:
3487
- if isinstance(source, MSVSProject.Filter):
3488
- missing_sources.extend(_VerifySourcesExist(source.contents, root_dir))
3489
- elif "$" not in source:
3490
- full_path = os.path.join(root_dir, source)
3491
- if not os.path.exists(full_path):
3492
- missing_sources.append(full_path)
3493
- return missing_sources
3494
-
3495
-
3496
- def _GetMSBuildSources(
3497
- spec,
3498
- sources,
3499
- exclusions,
3500
- rule_dependencies,
3501
- extension_to_rule_name,
3502
- actions_spec,
3503
- sources_handled_by_action,
3504
- list_excluded,
3505
- ):
3506
- groups = [
3507
- "none",
3508
- "masm",
3509
- "midl",
3510
- "include",
3511
- "compile",
3512
- "resource",
3513
- "rule",
3514
- "rule_dependency",
3515
- ]
3516
- grouped_sources = {}
3517
- for g in groups:
3518
- grouped_sources[g] = []
3519
-
3520
- _AddSources2(
3521
- spec,
3522
- sources,
3523
- exclusions,
3524
- grouped_sources,
3525
- rule_dependencies,
3526
- extension_to_rule_name,
3527
- sources_handled_by_action,
3528
- list_excluded,
3529
- )
3530
- sources = []
3531
- for g in groups:
3532
- if grouped_sources[g]:
3533
- sources.append(["ItemGroup"] + grouped_sources[g])
3534
- if actions_spec:
3535
- sources.append(["ItemGroup"] + actions_spec)
3536
- return sources
3537
-
3538
-
3539
- def _AddSources2(
3540
- spec,
3541
- sources,
3542
- exclusions,
3543
- grouped_sources,
3544
- rule_dependencies,
3545
- extension_to_rule_name,
3546
- sources_handled_by_action,
3547
- list_excluded,
3548
- ):
3549
- extensions_excluded_from_precompile = []
3550
- for source in sources:
3551
- if isinstance(source, MSVSProject.Filter):
3552
- _AddSources2(
3553
- spec,
3554
- source.contents,
3555
- exclusions,
3556
- grouped_sources,
3557
- rule_dependencies,
3558
- extension_to_rule_name,
3559
- sources_handled_by_action,
3560
- list_excluded,
3561
- )
3562
- elif source not in sources_handled_by_action:
3563
- detail = []
3564
- excluded_configurations = exclusions.get(source, [])
3565
- if len(excluded_configurations) == len(spec["configurations"]):
3566
- detail.append(["ExcludedFromBuild", "true"])
3567
- else:
3568
- for config_name, configuration in sorted(excluded_configurations):
3569
- condition = _GetConfigurationCondition(config_name, configuration)
3570
- detail.append(
3571
- ["ExcludedFromBuild", {"Condition": condition}, "true"]
3572
- )
3573
- # Add precompile if needed
3574
- for config_name, configuration in spec["configurations"].items():
3575
- precompiled_source = configuration.get("msvs_precompiled_source", "")
3576
- if precompiled_source != "":
3577
- precompiled_source = _FixPath(precompiled_source)
3578
- if not extensions_excluded_from_precompile:
3579
- # If the precompiled header is generated by a C source,
3580
- # we must not try to use it for C++ sources,
3581
- # and vice versa.
3582
- basename, extension = os.path.splitext(precompiled_source)
3583
- if extension == ".c":
3584
- extensions_excluded_from_precompile = [
3585
- ".cc",
3586
- ".cpp",
3587
- ".cxx",
3588
- ]
3589
- else:
3590
- extensions_excluded_from_precompile = [".c"]
3591
-
3592
- if precompiled_source == source:
3593
- condition = _GetConfigurationCondition(
3594
- config_name, configuration, spec
3595
- )
3596
- detail.append(
3597
- ["PrecompiledHeader", {"Condition": condition}, "Create"]
3598
- )
3599
- else:
3600
- # Turn off precompiled header usage for source files of a
3601
- # different type than the file that generated the
3602
- # precompiled header.
3603
- for extension in extensions_excluded_from_precompile:
3604
- if source.endswith(extension):
3605
- detail.append(["PrecompiledHeader", ""])
3606
- detail.append(["ForcedIncludeFiles", ""])
3607
-
3608
- group, element = _MapFileToMsBuildSourceType(
3609
- source,
3610
- rule_dependencies,
3611
- extension_to_rule_name,
3612
- _GetUniquePlatforms(spec),
3613
- spec["toolset"],
3614
- )
3615
- if group == "compile" and not os.path.isabs(source):
3616
- # Add an <ObjectFileName> value to support duplicate source
3617
- # file basenames, except for absolute paths to avoid paths
3618
- # with more than 260 characters.
3619
- file_name = os.path.splitext(source)[0] + ".obj"
3620
- if file_name.startswith("..\\"):
3621
- file_name = re.sub(r"^(\.\.\\)+", "", file_name)
3622
- elif file_name.startswith("$("):
3623
- file_name = re.sub(r"^\$\([^)]+\)\\", "", file_name)
3624
- detail.append(["ObjectFileName", "$(IntDir)\\" + file_name])
3625
- grouped_sources[group].append([element, {"Include": source}] + detail)
3626
-
3627
-
3628
- def _GetMSBuildProjectReferences(project):
3629
- references = []
3630
- if project.dependencies:
3631
- group = ["ItemGroup"]
3632
- added_dependency_set = set()
3633
- for dependency in project.dependencies:
3634
- dependency_spec = dependency.spec
3635
- should_skip_dep = False
3636
- if project.spec["toolset"] == "target":
3637
- if dependency_spec["toolset"] == "host":
3638
- if dependency_spec["type"] == "static_library":
3639
- should_skip_dep = True
3640
- if dependency.name.startswith("run_"):
3641
- should_skip_dep = False
3642
- if should_skip_dep:
3643
- continue
3644
-
3645
- canonical_name = dependency.name.replace("_host", "")
3646
- added_dependency_set.add(canonical_name)
3647
- guid = dependency.guid
3648
- project_dir = os.path.split(project.path)[0]
3649
- relative_path = gyp.common.RelativePath(dependency.path, project_dir)
3650
- project_ref = [
3651
- "ProjectReference",
3652
- {"Include": relative_path},
3653
- ["Project", guid],
3654
- ["ReferenceOutputAssembly", "false"],
3655
- ]
3656
- for config in dependency.spec.get("configurations", {}).values():
3657
- if config.get("msvs_use_library_dependency_inputs", 0):
3658
- project_ref.append(["UseLibraryDependencyInputs", "true"])
3659
- break
3660
- # If it's disabled in any config, turn it off in the reference.
3661
- if config.get("msvs_2010_disable_uldi_when_referenced", 0):
3662
- project_ref.append(["UseLibraryDependencyInputs", "false"])
3663
- break
3664
- group.append(project_ref)
3665
- references.append(group)
3666
- return references
3667
-
3668
-
3669
- def _GenerateMSBuildProject(project, options, version, generator_flags, spec):
3670
- spec = project.spec
3671
- configurations = spec["configurations"]
3672
- toolset = spec["toolset"]
3673
- project_dir, project_file_name = os.path.split(project.path)
3674
- gyp.common.EnsureDirExists(project.path)
3675
- # Prepare list of sources and excluded sources.
3676
-
3677
- gyp_file = os.path.split(project.build_file)[1]
3678
- sources, excluded_sources = _PrepareListOfSources(spec, generator_flags, gyp_file)
3679
- # Add rules.
3680
- actions_to_add = {}
3681
- props_files_of_rules = set()
3682
- targets_files_of_rules = set()
3683
- rule_dependencies = set()
3684
- extension_to_rule_name = {}
3685
- list_excluded = generator_flags.get("msvs_list_excluded_files", True)
3686
- platforms = _GetUniquePlatforms(spec)
3687
-
3688
- # Don't generate rules if we are using an external builder like ninja.
3689
- if not spec.get("msvs_external_builder"):
3690
- _GenerateRulesForMSBuild(
3691
- project_dir,
3692
- options,
3693
- spec,
3694
- sources,
3695
- excluded_sources,
3696
- props_files_of_rules,
3697
- targets_files_of_rules,
3698
- actions_to_add,
3699
- rule_dependencies,
3700
- extension_to_rule_name,
3701
- )
3702
- else:
3703
- rules = spec.get("rules", [])
3704
- _AdjustSourcesForRules(rules, sources, excluded_sources, True)
3705
-
3706
- sources, excluded_sources, excluded_idl = _AdjustSourcesAndConvertToFilterHierarchy(
3707
- spec, options, project_dir, sources, excluded_sources, list_excluded, version
3708
- )
3709
-
3710
- # Don't add actions if we are using an external builder like ninja.
3711
- if not spec.get("msvs_external_builder"):
3712
- _AddActions(actions_to_add, spec, project.build_file)
3713
- _AddCopies(actions_to_add, spec)
3714
-
3715
- # NOTE: this stanza must appear after all actions have been decided.
3716
- # Don't excluded sources with actions attached, or they won't run.
3717
- excluded_sources = _FilterActionsFromExcluded(excluded_sources, actions_to_add)
3718
-
3719
- exclusions = _GetExcludedFilesFromBuild(spec, excluded_sources, excluded_idl)
3720
- actions_spec, sources_handled_by_action = _GenerateActionsForMSBuild(
3721
- spec, actions_to_add
3722
- )
3723
-
3724
- _GenerateMSBuildFiltersFile(
3725
- project.path + ".filters",
3726
- sources,
3727
- rule_dependencies,
3728
- extension_to_rule_name,
3729
- platforms,
3730
- toolset,
3731
- )
3732
- missing_sources = _VerifySourcesExist(sources, project_dir)
3733
-
3734
- for configuration in configurations.values():
3735
- _FinalizeMSBuildSettings(spec, configuration)
3736
-
3737
- # Add attributes to root element
3738
-
3739
- import_default_section = [
3740
- ["Import", {"Project": r"$(VCTargetsPath)\Microsoft.Cpp.Default.props"}]
3741
- ]
3742
- import_cpp_props_section = [
3743
- ["Import", {"Project": r"$(VCTargetsPath)\Microsoft.Cpp.props"}]
3744
- ]
3745
- import_cpp_targets_section = [
3746
- ["Import", {"Project": r"$(VCTargetsPath)\Microsoft.Cpp.targets"}]
3747
- ]
3748
- import_masm_props_section = [
3749
- ["Import", {"Project": r"$(VCTargetsPath)\BuildCustomizations\masm.props"}]
3750
- ]
3751
- import_masm_targets_section = [
3752
- ["Import", {"Project": r"$(VCTargetsPath)\BuildCustomizations\masm.targets"}]
3753
- ]
3754
- import_marmasm_props_section = [
3755
- ["Import", {"Project": r"$(VCTargetsPath)\BuildCustomizations\marmasm.props"}]
3756
- ]
3757
- import_marmasm_targets_section = [
3758
- ["Import", {"Project": r"$(VCTargetsPath)\BuildCustomizations\marmasm.targets"}]
3759
- ]
3760
- macro_section = [["PropertyGroup", {"Label": "UserMacros"}]]
3761
-
3762
- content = [
3763
- "Project",
3764
- {
3765
- "xmlns": "http://schemas.microsoft.com/developer/msbuild/2003",
3766
- "ToolsVersion": version.ProjectVersion(),
3767
- "DefaultTargets": "Build",
3768
- },
3769
- ]
3770
-
3771
- content += _GetMSBuildProjectConfigurations(configurations, spec)
3772
- content += _GetMSBuildGlobalProperties(
3773
- spec, version, project.guid, project_file_name
3774
- )
3775
- content += import_default_section
3776
- content += _GetMSBuildConfigurationDetails(spec, project.build_file)
3777
- if spec.get("msvs_enable_winphone"):
3778
- content += _GetMSBuildLocalProperties("v120_wp81")
3779
- else:
3780
- content += _GetMSBuildLocalProperties(project.msbuild_toolset)
3781
- content += import_cpp_props_section
3782
- content += import_masm_props_section
3783
- if "arm64" in platforms and toolset == "target":
3784
- content += import_marmasm_props_section
3785
- content += _GetMSBuildExtensions(props_files_of_rules)
3786
- content += _GetMSBuildPropertySheets(configurations, spec)
3787
- content += macro_section
3788
- content += _GetMSBuildConfigurationGlobalProperties(
3789
- spec, configurations, project.build_file
3790
- )
3791
- content += _GetMSBuildToolSettingsSections(spec, configurations)
3792
- content += _GetMSBuildSources(
3793
- spec,
3794
- sources,
3795
- exclusions,
3796
- rule_dependencies,
3797
- extension_to_rule_name,
3798
- actions_spec,
3799
- sources_handled_by_action,
3800
- list_excluded,
3801
- )
3802
- content += _GetMSBuildProjectReferences(project)
3803
- content += import_cpp_targets_section
3804
- content += import_masm_targets_section
3805
- if "arm64" in platforms and toolset == "target":
3806
- content += import_marmasm_targets_section
3807
- content += _GetMSBuildExtensionTargets(targets_files_of_rules)
3808
-
3809
- if spec.get("msvs_external_builder"):
3810
- content += _GetMSBuildExternalBuilderTargets(spec)
3811
-
3812
- # TODO(jeanluc) File a bug to get rid of runas. We had in MSVS:
3813
- # has_run_as = _WriteMSVSUserFile(project.path, version, spec)
3814
-
3815
- easy_xml.WriteXmlIfChanged(content, project.path, pretty=True, win32=True)
3816
-
3817
- return missing_sources
3818
-
3819
-
3820
- def _GetMSBuildExternalBuilderTargets(spec):
3821
- """Return a list of MSBuild targets for external builders.
3822
-
3823
- The "Build" and "Clean" targets are always generated. If the spec contains
3824
- 'msvs_external_builder_clcompile_cmd', then the "ClCompile" target will also
3825
- be generated, to support building selected C/C++ files.
3826
-
3827
- Arguments:
3828
- spec: The gyp target spec.
3829
- Returns:
3830
- List of MSBuild 'Target' specs.
3831
- """
3832
- build_cmd = _BuildCommandLineForRuleRaw(
3833
- spec, spec["msvs_external_builder_build_cmd"], False, False, False, False
3834
- )
3835
- build_target = ["Target", {"Name": "Build"}]
3836
- build_target.append(["Exec", {"Command": build_cmd}])
3837
-
3838
- clean_cmd = _BuildCommandLineForRuleRaw(
3839
- spec, spec["msvs_external_builder_clean_cmd"], False, False, False, False
3840
- )
3841
- clean_target = ["Target", {"Name": "Clean"}]
3842
- clean_target.append(["Exec", {"Command": clean_cmd}])
3843
-
3844
- targets = [build_target, clean_target]
3845
-
3846
- if spec.get("msvs_external_builder_clcompile_cmd"):
3847
- clcompile_cmd = _BuildCommandLineForRuleRaw(
3848
- spec,
3849
- spec["msvs_external_builder_clcompile_cmd"],
3850
- False,
3851
- False,
3852
- False,
3853
- False,
3854
- )
3855
- clcompile_target = ["Target", {"Name": "ClCompile"}]
3856
- clcompile_target.append(["Exec", {"Command": clcompile_cmd}])
3857
- targets.append(clcompile_target)
3858
-
3859
- return targets
3860
-
3861
-
3862
- def _GetMSBuildExtensions(props_files_of_rules):
3863
- extensions = ["ImportGroup", {"Label": "ExtensionSettings"}]
3864
- for props_file in props_files_of_rules:
3865
- extensions.append(["Import", {"Project": props_file}])
3866
- return [extensions]
3867
-
3868
-
3869
- def _GetMSBuildExtensionTargets(targets_files_of_rules):
3870
- targets_node = ["ImportGroup", {"Label": "ExtensionTargets"}]
3871
- for targets_file in sorted(targets_files_of_rules):
3872
- targets_node.append(["Import", {"Project": targets_file}])
3873
- return [targets_node]
3874
-
3875
-
3876
- def _GenerateActionsForMSBuild(spec, actions_to_add):
3877
- """Add actions accumulated into an actions_to_add, merging as needed.
3878
-
3879
- Arguments:
3880
- spec: the target project dict
3881
- actions_to_add: dictionary keyed on input name, which maps to a list of
3882
- dicts describing the actions attached to that input file.
3883
-
3884
- Returns:
3885
- A pair of (action specification, the sources handled by this action).
3886
- """
3887
- sources_handled_by_action = OrderedSet()
3888
- actions_spec = []
3889
- for primary_input, actions in actions_to_add.items():
3890
- if generator_supports_multiple_toolsets:
3891
- primary_input = primary_input.replace(".exe", "_host.exe")
3892
- inputs = OrderedSet()
3893
- outputs = OrderedSet()
3894
- descriptions = []
3895
- commands = []
3896
- for action in actions:
3897
-
3898
- def fixup_host_exe(i):
3899
- if "$(OutDir)" in i:
3900
- i = i.replace(".exe", "_host.exe")
3901
- return i
3902
-
3903
- if generator_supports_multiple_toolsets:
3904
- action["inputs"] = [fixup_host_exe(i) for i in action["inputs"]]
3905
- inputs.update(OrderedSet(action["inputs"]))
3906
- outputs.update(OrderedSet(action["outputs"]))
3907
- descriptions.append(action["description"])
3908
- cmd = action["command"]
3909
- if generator_supports_multiple_toolsets:
3910
- cmd = cmd.replace(".exe", "_host.exe")
3911
- # For most actions, add 'call' so that actions that invoke batch files
3912
- # return and continue executing. msbuild_use_call provides a way to
3913
- # disable this but I have not seen any adverse effect from doing that
3914
- # for everything.
3915
- if action.get("msbuild_use_call", True):
3916
- cmd = "call " + cmd
3917
- commands.append(cmd)
3918
- # Add the custom build action for one input file.
3919
- description = ", and also ".join(descriptions)
3920
-
3921
- # We can't join the commands simply with && because the command line will
3922
- # get too long. See also _AddActions: cygwin's setup_env mustn't be called
3923
- # for every invocation or the command that sets the PATH will grow too
3924
- # long.
3925
- command = "\r\n".join(
3926
- [c + "\r\nif %errorlevel% neq 0 exit /b %errorlevel%" for c in commands]
3927
- )
3928
- _AddMSBuildAction(
3929
- spec,
3930
- primary_input,
3931
- inputs,
3932
- outputs,
3933
- command,
3934
- description,
3935
- sources_handled_by_action,
3936
- actions_spec,
3937
- )
3938
- return actions_spec, sources_handled_by_action
3939
-
3940
-
3941
- def _AddMSBuildAction(
3942
- spec,
3943
- primary_input,
3944
- inputs,
3945
- outputs,
3946
- cmd,
3947
- description,
3948
- sources_handled_by_action,
3949
- actions_spec,
3950
- ):
3951
- command = MSVSSettings.ConvertVCMacrosToMSBuild(cmd)
3952
- primary_input = _FixPath(primary_input)
3953
- inputs_array = _FixPaths(inputs)
3954
- outputs_array = _FixPaths(outputs)
3955
- additional_inputs = ";".join([i for i in inputs_array if i != primary_input])
3956
- outputs = ";".join(outputs_array)
3957
- sources_handled_by_action.add(primary_input)
3958
- action_spec = ["CustomBuild", {"Include": primary_input}]
3959
- action_spec.extend(
3960
- # TODO(jeanluc) 'Document' for all or just if as_sources?
3961
- [
3962
- ["FileType", "Document"],
3963
- ["Command", command],
3964
- ["Message", description],
3965
- ["Outputs", outputs],
3966
- ]
3967
- )
3968
- if additional_inputs:
3969
- action_spec.append(["AdditionalInputs", additional_inputs])
3970
- actions_spec.append(action_spec)