@smithery/api 0.11.0 → 0.13.0

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 (2215) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/client.d.mts +6 -1
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +6 -1
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/core/pagination.d.mts +23 -0
  11. package/core/pagination.d.mts.map +1 -1
  12. package/core/pagination.d.ts +23 -0
  13. package/core/pagination.d.ts.map +1 -1
  14. package/core/pagination.js +23 -1
  15. package/core/pagination.js.map +1 -1
  16. package/core/pagination.mjs +21 -0
  17. package/core/pagination.mjs.map +1 -1
  18. package/package.json +1 -1
  19. package/resources/beta/beta.d.mts +10 -0
  20. package/resources/beta/beta.d.mts.map +1 -0
  21. package/resources/beta/beta.d.ts +10 -0
  22. package/resources/beta/beta.d.ts.map +1 -0
  23. package/resources/beta/beta.js +17 -0
  24. package/resources/beta/beta.js.map +1 -0
  25. package/resources/beta/beta.mjs +12 -0
  26. package/resources/beta/beta.mjs.map +1 -0
  27. package/resources/beta/index.d.mts +3 -0
  28. package/resources/beta/index.d.mts.map +1 -0
  29. package/resources/beta/index.d.ts +3 -0
  30. package/resources/beta/index.d.ts.map +1 -0
  31. package/resources/beta/index.js +9 -0
  32. package/resources/beta/index.js.map +1 -0
  33. package/resources/beta/index.mjs +4 -0
  34. package/resources/beta/index.mjs.map +1 -0
  35. package/resources/beta/tools.d.mts +88 -0
  36. package/resources/beta/tools.d.mts.map +1 -0
  37. package/resources/beta/tools.d.ts +88 -0
  38. package/resources/beta/tools.d.ts.map +1 -0
  39. package/resources/beta/tools.js +17 -0
  40. package/resources/beta/tools.js.map +1 -0
  41. package/resources/beta/tools.mjs +13 -0
  42. package/resources/beta/tools.mjs.map +1 -0
  43. package/resources/beta.d.mts +2 -0
  44. package/resources/beta.d.mts.map +1 -0
  45. package/resources/beta.d.ts +2 -0
  46. package/resources/beta.d.ts.map +1 -0
  47. package/resources/beta.js +6 -0
  48. package/resources/beta.js.map +1 -0
  49. package/resources/beta.mjs +3 -0
  50. package/resources/beta.mjs.map +1 -0
  51. package/resources/index.d.mts +1 -0
  52. package/resources/index.d.mts.map +1 -1
  53. package/resources/index.d.ts +1 -0
  54. package/resources/index.d.ts.map +1 -1
  55. package/resources/index.js +3 -1
  56. package/resources/index.js.map +1 -1
  57. package/resources/index.mjs +1 -0
  58. package/resources/index.mjs.map +1 -1
  59. package/resources/servers/servers.d.mts +1 -8
  60. package/resources/servers/servers.d.mts.map +1 -1
  61. package/resources/servers/servers.d.ts +1 -8
  62. package/resources/servers/servers.d.ts.map +1 -1
  63. package/resources/servers/servers.js +1 -2
  64. package/resources/servers/servers.js.map +1 -1
  65. package/resources/servers/servers.mjs +1 -2
  66. package/resources/servers/servers.mjs.map +1 -1
  67. package/src/client.ts +10 -0
  68. package/src/core/pagination.ts +59 -0
  69. package/src/resources/beta/beta.ts +20 -0
  70. package/src/resources/beta/index.ts +4 -0
  71. package/src/resources/beta/tools.ts +140 -0
  72. package/src/resources/beta.ts +3 -0
  73. package/src/resources/index.ts +1 -0
  74. package/src/resources/servers/servers.ts +1 -7
  75. package/src/version.ts +1 -1
  76. package/version.d.mts +1 -1
  77. package/version.d.ts +1 -1
  78. package/version.js +1 -1
  79. package/version.mjs +1 -1
  80. package/oidc/node_modules/.package-lock.json +0 -2415
  81. package/oidc/node_modules/npm/LICENSE +0 -235
  82. package/oidc/node_modules/npm/README.md +0 -54
  83. package/oidc/node_modules/npm/bin/node-gyp-bin/node-gyp +0 -6
  84. package/oidc/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +0 -5
  85. package/oidc/node_modules/npm/bin/npm +0 -65
  86. package/oidc/node_modules/npm/bin/npm-cli.js +0 -2
  87. package/oidc/node_modules/npm/bin/npm-prefix.js +0 -30
  88. package/oidc/node_modules/npm/bin/npm.cmd +0 -20
  89. package/oidc/node_modules/npm/bin/npm.ps1 +0 -50
  90. package/oidc/node_modules/npm/bin/npx +0 -65
  91. package/oidc/node_modules/npm/bin/npx-cli.js +0 -130
  92. package/oidc/node_modules/npm/bin/npx.cmd +0 -20
  93. package/oidc/node_modules/npm/bin/npx.ps1 +0 -50
  94. package/oidc/node_modules/npm/docs/content/commands/npm-access.md +0 -96
  95. package/oidc/node_modules/npm/docs/content/commands/npm-adduser.md +0 -87
  96. package/oidc/node_modules/npm/docs/content/commands/npm-audit.md +0 -439
  97. package/oidc/node_modules/npm/docs/content/commands/npm-bugs.md +0 -108
  98. package/oidc/node_modules/npm/docs/content/commands/npm-cache.md +0 -100
  99. package/oidc/node_modules/npm/docs/content/commands/npm-ci.md +0 -321
  100. package/oidc/node_modules/npm/docs/content/commands/npm-completion.md +0 -36
  101. package/oidc/node_modules/npm/docs/content/commands/npm-config.md +0 -178
  102. package/oidc/node_modules/npm/docs/content/commands/npm-dedupe.md +0 -318
  103. package/oidc/node_modules/npm/docs/content/commands/npm-deprecate.md +0 -87
  104. package/oidc/node_modules/npm/docs/content/commands/npm-diff.md +0 -285
  105. package/oidc/node_modules/npm/docs/content/commands/npm-dist-tag.md +0 -140
  106. package/oidc/node_modules/npm/docs/content/commands/npm-docs.md +0 -108
  107. package/oidc/node_modules/npm/docs/content/commands/npm-doctor.md +0 -98
  108. package/oidc/node_modules/npm/docs/content/commands/npm-edit.md +0 -41
  109. package/oidc/node_modules/npm/docs/content/commands/npm-exec.md +0 -318
  110. package/oidc/node_modules/npm/docs/content/commands/npm-explain.md +0 -101
  111. package/oidc/node_modules/npm/docs/content/commands/npm-explore.md +0 -46
  112. package/oidc/node_modules/npm/docs/content/commands/npm-find-dupes.md +0 -254
  113. package/oidc/node_modules/npm/docs/content/commands/npm-fund.md +0 -138
  114. package/oidc/node_modules/npm/docs/content/commands/npm-help-search.md +0 -38
  115. package/oidc/node_modules/npm/docs/content/commands/npm-help.md +0 -45
  116. package/oidc/node_modules/npm/docs/content/commands/npm-init.md +0 -355
  117. package/oidc/node_modules/npm/docs/content/commands/npm-install-ci-test.md +0 -275
  118. package/oidc/node_modules/npm/docs/content/commands/npm-install-test.md +0 -404
  119. package/oidc/node_modules/npm/docs/content/commands/npm-install.md +0 -762
  120. package/oidc/node_modules/npm/docs/content/commands/npm-link.md +0 -387
  121. package/oidc/node_modules/npm/docs/content/commands/npm-login.md +0 -93
  122. package/oidc/node_modules/npm/docs/content/commands/npm-logout.md +0 -72
  123. package/oidc/node_modules/npm/docs/content/commands/npm-ls.md +0 -270
  124. package/oidc/node_modules/npm/docs/content/commands/npm-org.md +0 -114
  125. package/oidc/node_modules/npm/docs/content/commands/npm-outdated.md +0 -178
  126. package/oidc/node_modules/npm/docs/content/commands/npm-owner.md +0 -106
  127. package/oidc/node_modules/npm/docs/content/commands/npm-pack.md +0 -138
  128. package/oidc/node_modules/npm/docs/content/commands/npm-ping.md +0 -46
  129. package/oidc/node_modules/npm/docs/content/commands/npm-pkg.md +0 -247
  130. package/oidc/node_modules/npm/docs/content/commands/npm-prefix.md +0 -59
  131. package/oidc/node_modules/npm/docs/content/commands/npm-profile.md +0 -116
  132. package/oidc/node_modules/npm/docs/content/commands/npm-prune.md +0 -199
  133. package/oidc/node_modules/npm/docs/content/commands/npm-publish.md +0 -222
  134. package/oidc/node_modules/npm/docs/content/commands/npm-query.md +0 -272
  135. package/oidc/node_modules/npm/docs/content/commands/npm-rebuild.md +0 -174
  136. package/oidc/node_modules/npm/docs/content/commands/npm-repo.md +0 -101
  137. package/oidc/node_modules/npm/docs/content/commands/npm-restart.md +0 -68
  138. package/oidc/node_modules/npm/docs/content/commands/npm-root.md +0 -52
  139. package/oidc/node_modules/npm/docs/content/commands/npm-run.md +0 -234
  140. package/oidc/node_modules/npm/docs/content/commands/npm-sbom.md +0 -320
  141. package/oidc/node_modules/npm/docs/content/commands/npm-search.md +0 -156
  142. package/oidc/node_modules/npm/docs/content/commands/npm-shrinkwrap.md +0 -29
  143. package/oidc/node_modules/npm/docs/content/commands/npm-star.md +0 -81
  144. package/oidc/node_modules/npm/docs/content/commands/npm-stars.md +0 -38
  145. package/oidc/node_modules/npm/docs/content/commands/npm-start.md +0 -76
  146. package/oidc/node_modules/npm/docs/content/commands/npm-stop.md +0 -71
  147. package/oidc/node_modules/npm/docs/content/commands/npm-team.md +0 -145
  148. package/oidc/node_modules/npm/docs/content/commands/npm-test.md +0 -69
  149. package/oidc/node_modules/npm/docs/content/commands/npm-token.md +0 -106
  150. package/oidc/node_modules/npm/docs/content/commands/npm-undeprecate.md +0 -63
  151. package/oidc/node_modules/npm/docs/content/commands/npm-uninstall.md +0 -155
  152. package/oidc/node_modules/npm/docs/content/commands/npm-unpublish.md +0 -130
  153. package/oidc/node_modules/npm/docs/content/commands/npm-unstar.md +0 -75
  154. package/oidc/node_modules/npm/docs/content/commands/npm-update.md +0 -459
  155. package/oidc/node_modules/npm/docs/content/commands/npm-version.md +0 -225
  156. package/oidc/node_modules/npm/docs/content/commands/npm-view.md +0 -194
  157. package/oidc/node_modules/npm/docs/content/commands/npm-whoami.md +0 -38
  158. package/oidc/node_modules/npm/docs/content/commands/npm.md +0 -148
  159. package/oidc/node_modules/npm/docs/content/commands/npx.md +0 -137
  160. package/oidc/node_modules/npm/docs/content/configuring-npm/folders.md +0 -172
  161. package/oidc/node_modules/npm/docs/content/configuring-npm/install.md +0 -53
  162. package/oidc/node_modules/npm/docs/content/configuring-npm/npm-shrinkwrap-json.md +0 -25
  163. package/oidc/node_modules/npm/docs/content/configuring-npm/npmrc.md +0 -133
  164. package/oidc/node_modules/npm/docs/content/configuring-npm/package-json.md +0 -1105
  165. package/oidc/node_modules/npm/docs/content/configuring-npm/package-lock-json.md +0 -173
  166. package/oidc/node_modules/npm/docs/content/using-npm/config.md +0 -2094
  167. package/oidc/node_modules/npm/docs/content/using-npm/dependency-selectors.md +0 -247
  168. package/oidc/node_modules/npm/docs/content/using-npm/developers.md +0 -215
  169. package/oidc/node_modules/npm/docs/content/using-npm/logging.md +0 -99
  170. package/oidc/node_modules/npm/docs/content/using-npm/orgs.md +0 -98
  171. package/oidc/node_modules/npm/docs/content/using-npm/package-spec.md +0 -92
  172. package/oidc/node_modules/npm/docs/content/using-npm/registry.md +0 -61
  173. package/oidc/node_modules/npm/docs/content/using-npm/removal.md +0 -55
  174. package/oidc/node_modules/npm/docs/content/using-npm/scope.md +0 -123
  175. package/oidc/node_modules/npm/docs/content/using-npm/scripts.md +0 -350
  176. package/oidc/node_modules/npm/docs/content/using-npm/workspaces.md +0 -198
  177. package/oidc/node_modules/npm/docs/lib/index.js +0 -189
  178. package/oidc/node_modules/npm/docs/output/commands/npm-access.html +0 -235
  179. package/oidc/node_modules/npm/docs/output/commands/npm-adduser.html +0 -226
  180. package/oidc/node_modules/npm/docs/output/commands/npm-audit.html +0 -479
  181. package/oidc/node_modules/npm/docs/output/commands/npm-bugs.html +0 -250
  182. package/oidc/node_modules/npm/docs/output/commands/npm-cache.html +0 -255
  183. package/oidc/node_modules/npm/docs/output/commands/npm-ci.html +0 -409
  184. package/oidc/node_modules/npm/docs/output/commands/npm-completion.html +0 -189
  185. package/oidc/node_modules/npm/docs/output/commands/npm-config.html +0 -288
  186. package/oidc/node_modules/npm/docs/output/commands/npm-dedupe.html +0 -401
  187. package/oidc/node_modules/npm/docs/output/commands/npm-deprecate.html +0 -223
  188. package/oidc/node_modules/npm/docs/output/commands/npm-diff.html +0 -373
  189. package/oidc/node_modules/npm/docs/output/commands/npm-dist-tag.html +0 -275
  190. package/oidc/node_modules/npm/docs/output/commands/npm-docs.html +0 -250
  191. package/oidc/node_modules/npm/docs/output/commands/npm-doctor.html +0 -237
  192. package/oidc/node_modules/npm/docs/output/commands/npm-edit.html +0 -193
  193. package/oidc/node_modules/npm/docs/output/commands/npm-exec.html +0 -394
  194. package/oidc/node_modules/npm/docs/output/commands/npm-explain.html +0 -246
  195. package/oidc/node_modules/npm/docs/output/commands/npm-explore.html +0 -195
  196. package/oidc/node_modules/npm/docs/output/commands/npm-find-dupes.html +0 -357
  197. package/oidc/node_modules/npm/docs/output/commands/npm-fund.html +0 -268
  198. package/oidc/node_modules/npm/docs/output/commands/npm-help-search.html +0 -190
  199. package/oidc/node_modules/npm/docs/output/commands/npm-help.html +0 -197
  200. package/oidc/node_modules/npm/docs/output/commands/npm-init.html +0 -429
  201. package/oidc/node_modules/npm/docs/output/commands/npm-install-ci-test.html +0 -374
  202. package/oidc/node_modules/npm/docs/output/commands/npm-install-test.html +0 -469
  203. package/oidc/node_modules/npm/docs/output/commands/npm-install.html +0 -756
  204. package/oidc/node_modules/npm/docs/output/commands/npm-link.html +0 -449
  205. package/oidc/node_modules/npm/docs/output/commands/npm-login.html +0 -229
  206. package/oidc/node_modules/npm/docs/output/commands/npm-logout.html +0 -214
  207. package/oidc/node_modules/npm/docs/output/commands/npm-ls.html +0 -369
  208. package/oidc/node_modules/npm/docs/output/commands/npm-org.html +0 -238
  209. package/oidc/node_modules/npm/docs/output/commands/npm-outdated.html +0 -309
  210. package/oidc/node_modules/npm/docs/output/commands/npm-owner.html +0 -250
  211. package/oidc/node_modules/npm/docs/output/commands/npm-pack.html +0 -271
  212. package/oidc/node_modules/npm/docs/output/commands/npm-ping.html +0 -197
  213. package/oidc/node_modules/npm/docs/output/commands/npm-pkg.html +0 -347
  214. package/oidc/node_modules/npm/docs/output/commands/npm-prefix.html +0 -208
  215. package/oidc/node_modules/npm/docs/output/commands/npm-profile.html +0 -264
  216. package/oidc/node_modules/npm/docs/output/commands/npm-prune.html +0 -314
  217. package/oidc/node_modules/npm/docs/output/commands/npm-publish.html +0 -342
  218. package/oidc/node_modules/npm/docs/output/commands/npm-query.html +0 -393
  219. package/oidc/node_modules/npm/docs/output/commands/npm-rebuild.html +0 -301
  220. package/oidc/node_modules/npm/docs/output/commands/npm-repo.html +0 -243
  221. package/oidc/node_modules/npm/docs/output/commands/npm-restart.html +0 -218
  222. package/oidc/node_modules/npm/docs/output/commands/npm-root.html +0 -204
  223. package/oidc/node_modules/npm/docs/output/commands/npm-run.html +0 -334
  224. package/oidc/node_modules/npm/docs/output/commands/npm-sbom.html +0 -448
  225. package/oidc/node_modules/npm/docs/output/commands/npm-search.html +0 -277
  226. package/oidc/node_modules/npm/docs/output/commands/npm-shrinkwrap.html +0 -187
  227. package/oidc/node_modules/npm/docs/output/commands/npm-star.html +0 -219
  228. package/oidc/node_modules/npm/docs/output/commands/npm-stars.html +0 -191
  229. package/oidc/node_modules/npm/docs/output/commands/npm-start.html +0 -218
  230. package/oidc/node_modules/npm/docs/output/commands/npm-stop.html +0 -215
  231. package/oidc/node_modules/npm/docs/output/commands/npm-team.html +0 -269
  232. package/oidc/node_modules/npm/docs/output/commands/npm-test.html +0 -214
  233. package/oidc/node_modules/npm/docs/output/commands/npm-token.html +0 -249
  234. package/oidc/node_modules/npm/docs/output/commands/npm-undeprecate.html +0 -208
  235. package/oidc/node_modules/npm/docs/output/commands/npm-uninstall.html +0 -282
  236. package/oidc/node_modules/npm/docs/output/commands/npm-unpublish.html +0 -269
  237. package/oidc/node_modules/npm/docs/output/commands/npm-unstar.html +0 -214
  238. package/oidc/node_modules/npm/docs/output/commands/npm-update.html +0 -503
  239. package/oidc/node_modules/npm/docs/output/commands/npm-version.html +0 -340
  240. package/oidc/node_modules/npm/docs/output/commands/npm-view.html +0 -299
  241. package/oidc/node_modules/npm/docs/output/commands/npm-whoami.html +0 -190
  242. package/oidc/node_modules/npm/docs/output/commands/npm.html +0 -278
  243. package/oidc/node_modules/npm/docs/output/commands/npx.html +0 -262
  244. package/oidc/node_modules/npm/docs/output/configuring-npm/folders.html +0 -286
  245. package/oidc/node_modules/npm/docs/output/configuring-npm/install.html +0 -204
  246. package/oidc/node_modules/npm/docs/output/configuring-npm/npm-global.html +0 -286
  247. package/oidc/node_modules/npm/docs/output/configuring-npm/npm-json.html +0 -981
  248. package/oidc/node_modules/npm/docs/output/configuring-npm/npm-shrinkwrap-json.html +0 -184
  249. package/oidc/node_modules/npm/docs/output/configuring-npm/npmrc.html +0 -265
  250. package/oidc/node_modules/npm/docs/output/configuring-npm/package-json.html +0 -981
  251. package/oidc/node_modules/npm/docs/output/configuring-npm/package-lock-json.html +0 -335
  252. package/oidc/node_modules/npm/docs/output/using-npm/config.html +0 -1686
  253. package/oidc/node_modules/npm/docs/output/using-npm/dependency-selectors.html +0 -380
  254. package/oidc/node_modules/npm/docs/output/using-npm/developers.html +0 -330
  255. package/oidc/node_modules/npm/docs/output/using-npm/logging.html +0 -239
  256. package/oidc/node_modules/npm/docs/output/using-npm/orgs.html +0 -249
  257. package/oidc/node_modules/npm/docs/output/using-npm/package-spec.html +0 -250
  258. package/oidc/node_modules/npm/docs/output/using-npm/registry.html +0 -210
  259. package/oidc/node_modules/npm/docs/output/using-npm/removal.html +0 -200
  260. package/oidc/node_modules/npm/docs/output/using-npm/scope.html +0 -245
  261. package/oidc/node_modules/npm/docs/output/using-npm/scripts.html +0 -470
  262. package/oidc/node_modules/npm/docs/output/using-npm/workspaces.html +0 -293
  263. package/oidc/node_modules/npm/index.js +0 -5
  264. package/oidc/node_modules/npm/lib/arborist-cmd.js +0 -53
  265. package/oidc/node_modules/npm/lib/base-cmd.js +0 -214
  266. package/oidc/node_modules/npm/lib/cli/entry.js +0 -72
  267. package/oidc/node_modules/npm/lib/cli/exit-handler.js +0 -174
  268. package/oidc/node_modules/npm/lib/cli/update-notifier.js +0 -120
  269. package/oidc/node_modules/npm/lib/cli/validate-engines.js +0 -47
  270. package/oidc/node_modules/npm/lib/cli.js +0 -12
  271. package/oidc/node_modules/npm/lib/commands/access.js +0 -226
  272. package/oidc/node_modules/npm/lib/commands/adduser.js +0 -50
  273. package/oidc/node_modules/npm/lib/commands/audit.js +0 -121
  274. package/oidc/node_modules/npm/lib/commands/bugs.js +0 -34
  275. package/oidc/node_modules/npm/lib/commands/cache.js +0 -370
  276. package/oidc/node_modules/npm/lib/commands/ci.js +0 -129
  277. package/oidc/node_modules/npm/lib/commands/completion.js +0 -283
  278. package/oidc/node_modules/npm/lib/commands/config.js +0 -401
  279. package/oidc/node_modules/npm/lib/commands/dedupe.js +0 -51
  280. package/oidc/node_modules/npm/lib/commands/deprecate.js +0 -86
  281. package/oidc/node_modules/npm/lib/commands/diff.js +0 -291
  282. package/oidc/node_modules/npm/lib/commands/dist-tag.js +0 -209
  283. package/oidc/node_modules/npm/lib/commands/docs.js +0 -21
  284. package/oidc/node_modules/npm/lib/commands/doctor.js +0 -346
  285. package/oidc/node_modules/npm/lib/commands/edit.js +0 -64
  286. package/oidc/node_modules/npm/lib/commands/exec.js +0 -110
  287. package/oidc/node_modules/npm/lib/commands/explain.js +0 -130
  288. package/oidc/node_modules/npm/lib/commands/explore.js +0 -74
  289. package/oidc/node_modules/npm/lib/commands/find-dupes.js +0 -28
  290. package/oidc/node_modules/npm/lib/commands/fund.js +0 -221
  291. package/oidc/node_modules/npm/lib/commands/get.js +0 -23
  292. package/oidc/node_modules/npm/lib/commands/help-search.js +0 -195
  293. package/oidc/node_modules/npm/lib/commands/help.js +0 -117
  294. package/oidc/node_modules/npm/lib/commands/init.js +0 -247
  295. package/oidc/node_modules/npm/lib/commands/install-ci-test.js +0 -15
  296. package/oidc/node_modules/npm/lib/commands/install-test.js +0 -15
  297. package/oidc/node_modules/npm/lib/commands/install.js +0 -176
  298. package/oidc/node_modules/npm/lib/commands/link.js +0 -189
  299. package/oidc/node_modules/npm/lib/commands/ll.js +0 -13
  300. package/oidc/node_modules/npm/lib/commands/login.js +0 -50
  301. package/oidc/node_modules/npm/lib/commands/logout.js +0 -50
  302. package/oidc/node_modules/npm/lib/commands/ls.js +0 -579
  303. package/oidc/node_modules/npm/lib/commands/org.js +0 -150
  304. package/oidc/node_modules/npm/lib/commands/outdated.js +0 -289
  305. package/oidc/node_modules/npm/lib/commands/owner.js +0 -233
  306. package/oidc/node_modules/npm/lib/commands/pack.js +0 -87
  307. package/oidc/node_modules/npm/lib/commands/ping.js +0 -30
  308. package/oidc/node_modules/npm/lib/commands/pkg.js +0 -129
  309. package/oidc/node_modules/npm/lib/commands/prefix.js +0 -14
  310. package/oidc/node_modules/npm/lib/commands/profile.js +0 -383
  311. package/oidc/node_modules/npm/lib/commands/prune.js +0 -34
  312. package/oidc/node_modules/npm/lib/commands/publish.js +0 -284
  313. package/oidc/node_modules/npm/lib/commands/query.js +0 -126
  314. package/oidc/node_modules/npm/lib/commands/rebuild.js +0 -84
  315. package/oidc/node_modules/npm/lib/commands/repo.js +0 -55
  316. package/oidc/node_modules/npm/lib/commands/restart.js +0 -13
  317. package/oidc/node_modules/npm/lib/commands/root.js +0 -14
  318. package/oidc/node_modules/npm/lib/commands/run.js +0 -222
  319. package/oidc/node_modules/npm/lib/commands/sbom.js +0 -132
  320. package/oidc/node_modules/npm/lib/commands/search.js +0 -70
  321. package/oidc/node_modules/npm/lib/commands/set.js +0 -26
  322. package/oidc/node_modules/npm/lib/commands/shrinkwrap.js +0 -73
  323. package/oidc/node_modules/npm/lib/commands/star.js +0 -72
  324. package/oidc/node_modules/npm/lib/commands/stars.js +0 -39
  325. package/oidc/node_modules/npm/lib/commands/start.js +0 -13
  326. package/oidc/node_modules/npm/lib/commands/stop.js +0 -13
  327. package/oidc/node_modules/npm/lib/commands/team.js +0 -155
  328. package/oidc/node_modules/npm/lib/commands/test.js +0 -13
  329. package/oidc/node_modules/npm/lib/commands/token.js +0 -195
  330. package/oidc/node_modules/npm/lib/commands/undeprecate.js +0 -13
  331. package/oidc/node_modules/npm/lib/commands/uninstall.js +0 -56
  332. package/oidc/node_modules/npm/lib/commands/unpublish.js +0 -179
  333. package/oidc/node_modules/npm/lib/commands/unstar.js +0 -8
  334. package/oidc/node_modules/npm/lib/commands/update.js +0 -69
  335. package/oidc/node_modules/npm/lib/commands/version.js +0 -150
  336. package/oidc/node_modules/npm/lib/commands/view.js +0 -490
  337. package/oidc/node_modules/npm/lib/commands/whoami.js +0 -20
  338. package/oidc/node_modules/npm/lib/lifecycle-cmd.js +0 -20
  339. package/oidc/node_modules/npm/lib/npm.js +0 -476
  340. package/oidc/node_modules/npm/lib/package-url-cmd.js +0 -64
  341. package/oidc/node_modules/npm/lib/utils/audit-error.js +0 -40
  342. package/oidc/node_modules/npm/lib/utils/auth.js +0 -109
  343. package/oidc/node_modules/npm/lib/utils/cmd-list.js +0 -178
  344. package/oidc/node_modules/npm/lib/utils/completion.fish +0 -40
  345. package/oidc/node_modules/npm/lib/utils/completion.sh +0 -70
  346. package/oidc/node_modules/npm/lib/utils/did-you-mean.js +0 -33
  347. package/oidc/node_modules/npm/lib/utils/display.js +0 -525
  348. package/oidc/node_modules/npm/lib/utils/error-message.js +0 -451
  349. package/oidc/node_modules/npm/lib/utils/explain-dep.js +0 -103
  350. package/oidc/node_modules/npm/lib/utils/explain-eresolve.js +0 -71
  351. package/oidc/node_modules/npm/lib/utils/format-bytes.js +0 -30
  352. package/oidc/node_modules/npm/lib/utils/format-search-stream.js +0 -173
  353. package/oidc/node_modules/npm/lib/utils/format.js +0 -56
  354. package/oidc/node_modules/npm/lib/utils/get-identity.js +0 -26
  355. package/oidc/node_modules/npm/lib/utils/get-workspaces.js +0 -54
  356. package/oidc/node_modules/npm/lib/utils/installed-deep.js +0 -45
  357. package/oidc/node_modules/npm/lib/utils/installed-shallow.js +0 -19
  358. package/oidc/node_modules/npm/lib/utils/is-windows.js +0 -4
  359. package/oidc/node_modules/npm/lib/utils/log-file.js +0 -261
  360. package/oidc/node_modules/npm/lib/utils/npm-usage.js +0 -74
  361. package/oidc/node_modules/npm/lib/utils/oidc.js +0 -176
  362. package/oidc/node_modules/npm/lib/utils/open-url.js +0 -99
  363. package/oidc/node_modules/npm/lib/utils/output-error.js +0 -29
  364. package/oidc/node_modules/npm/lib/utils/ping.js +0 -7
  365. package/oidc/node_modules/npm/lib/utils/queryable.js +0 -310
  366. package/oidc/node_modules/npm/lib/utils/read-user-info.js +0 -67
  367. package/oidc/node_modules/npm/lib/utils/reify-finish.js +0 -33
  368. package/oidc/node_modules/npm/lib/utils/reify-output.js +0 -225
  369. package/oidc/node_modules/npm/lib/utils/sbom-cyclonedx.js +0 -198
  370. package/oidc/node_modules/npm/lib/utils/sbom-spdx.js +0 -194
  371. package/oidc/node_modules/npm/lib/utils/tar.js +0 -109
  372. package/oidc/node_modules/npm/lib/utils/timers.js +0 -89
  373. package/oidc/node_modules/npm/lib/utils/update-workspaces.js +0 -40
  374. package/oidc/node_modules/npm/lib/utils/validate-lockfile.js +0 -29
  375. package/oidc/node_modules/npm/lib/utils/verify-signatures.js +0 -377
  376. package/oidc/node_modules/npm/man/man1/npm-access.1 +0 -106
  377. package/oidc/node_modules/npm/man/man1/npm-adduser.1 +0 -93
  378. package/oidc/node_modules/npm/man/man1/npm-audit.1 +0 -447
  379. package/oidc/node_modules/npm/man/man1/npm-bugs.1 +0 -115
  380. package/oidc/node_modules/npm/man/man1/npm-cache.1 +0 -95
  381. package/oidc/node_modules/npm/man/man1/npm-ci.1 +0 -290
  382. package/oidc/node_modules/npm/man/man1/npm-completion.1 +0 -35
  383. package/oidc/node_modules/npm/man/man1/npm-config.1 +0 -186
  384. package/oidc/node_modules/npm/man/man1/npm-dedupe.1 +0 -291
  385. package/oidc/node_modules/npm/man/man1/npm-deprecate.1 +0 -86
  386. package/oidc/node_modules/npm/man/man1/npm-diff.1 +0 -310
  387. package/oidc/node_modules/npm/man/man1/npm-dist-tag.1 +0 -144
  388. package/oidc/node_modules/npm/man/man1/npm-docs.1 +0 -113
  389. package/oidc/node_modules/npm/man/man1/npm-doctor.1 +0 -82
  390. package/oidc/node_modules/npm/man/man1/npm-edit.1 +0 -43
  391. package/oidc/node_modules/npm/man/man1/npm-exec.1 +0 -350
  392. package/oidc/node_modules/npm/man/man1/npm-explain.1 +0 -118
  393. package/oidc/node_modules/npm/man/man1/npm-explore.1 +0 -49
  394. package/oidc/node_modules/npm/man/man1/npm-find-dupes.1 +0 -226
  395. package/oidc/node_modules/npm/man/man1/npm-fund.1 +0 -142
  396. package/oidc/node_modules/npm/man/man1/npm-help-search.1 +0 -37
  397. package/oidc/node_modules/npm/man/man1/npm-help.1 +0 -47
  398. package/oidc/node_modules/npm/man/man1/npm-init.1 +0 -393
  399. package/oidc/node_modules/npm/man/man1/npm-install-ci-test.1 +0 -240
  400. package/oidc/node_modules/npm/man/man1/npm-install-test.1 +0 -359
  401. package/oidc/node_modules/npm/man/man1/npm-install.1 +0 -774
  402. package/oidc/node_modules/npm/man/man1/npm-link.1 +0 -356
  403. package/oidc/node_modules/npm/man/man1/npm-login.1 +0 -97
  404. package/oidc/node_modules/npm/man/man1/npm-logout.1 +0 -75
  405. package/oidc/node_modules/npm/man/man1/npm-ls.1 +0 -271
  406. package/oidc/node_modules/npm/man/man1/npm-org.1 +0 -126
  407. package/oidc/node_modules/npm/man/man1/npm-outdated.1 +0 -196
  408. package/oidc/node_modules/npm/man/man1/npm-owner.1 +0 -111
  409. package/oidc/node_modules/npm/man/man1/npm-pack.1 +0 -143
  410. package/oidc/node_modules/npm/man/man1/npm-ping.1 +0 -52
  411. package/oidc/node_modules/npm/man/man1/npm-pkg.1 +0 -286
  412. package/oidc/node_modules/npm/man/man1/npm-prefix.1 +0 -63
  413. package/oidc/node_modules/npm/man/man1/npm-profile.1 +0 -127
  414. package/oidc/node_modules/npm/man/man1/npm-prune.1 +0 -185
  415. package/oidc/node_modules/npm/man/man1/npm-publish.1 +0 -226
  416. package/oidc/node_modules/npm/man/man1/npm-query.1 +0 -281
  417. package/oidc/node_modules/npm/man/man1/npm-rebuild.1 +0 -179
  418. package/oidc/node_modules/npm/man/man1/npm-repo.1 +0 -103
  419. package/oidc/node_modules/npm/man/man1/npm-restart.1 +0 -84
  420. package/oidc/node_modules/npm/man/man1/npm-root.1 +0 -56
  421. package/oidc/node_modules/npm/man/man1/npm-run.1 +0 -234
  422. package/oidc/node_modules/npm/man/man1/npm-sbom.1 +0 -314
  423. package/oidc/node_modules/npm/man/man1/npm-search.1 +0 -156
  424. package/oidc/node_modules/npm/man/man1/npm-shrinkwrap.1 +0 -32
  425. package/oidc/node_modules/npm/man/man1/npm-star.1 +0 -77
  426. package/oidc/node_modules/npm/man/man1/npm-stars.1 +0 -41
  427. package/oidc/node_modules/npm/man/man1/npm-start.1 +0 -79
  428. package/oidc/node_modules/npm/man/man1/npm-stop.1 +0 -75
  429. package/oidc/node_modules/npm/man/man1/npm-team.1 +0 -149
  430. package/oidc/node_modules/npm/man/man1/npm-test.1 +0 -73
  431. package/oidc/node_modules/npm/man/man1/npm-token.1 +0 -113
  432. package/oidc/node_modules/npm/man/man1/npm-undeprecate.1 +0 -58
  433. package/oidc/node_modules/npm/man/man1/npm-uninstall.1 +0 -159
  434. package/oidc/node_modules/npm/man/man1/npm-unpublish.1 +0 -137
  435. package/oidc/node_modules/npm/man/man1/npm-unstar.1 +0 -71
  436. package/oidc/node_modules/npm/man/man1/npm-update.1 +0 -419
  437. package/oidc/node_modules/npm/man/man1/npm-version.1 +0 -227
  438. package/oidc/node_modules/npm/man/man1/npm-view.1 +0 -213
  439. package/oidc/node_modules/npm/man/man1/npm-whoami.1 +0 -39
  440. package/oidc/node_modules/npm/man/man1/npm.1 +0 -131
  441. package/oidc/node_modules/npm/man/man1/npx.1 +0 -156
  442. package/oidc/node_modules/npm/man/man5/folders.5 +0 -147
  443. package/oidc/node_modules/npm/man/man5/install.5 +0 -54
  444. package/oidc/node_modules/npm/man/man5/npm-global.5 +0 -147
  445. package/oidc/node_modules/npm/man/man5/npm-json.5 +0 -1155
  446. package/oidc/node_modules/npm/man/man5/npm-shrinkwrap-json.5 +0 -23
  447. package/oidc/node_modules/npm/man/man5/npmrc.5 +0 -135
  448. package/oidc/node_modules/npm/man/man5/package-json.5 +0 -1155
  449. package/oidc/node_modules/npm/man/man5/package-lock-json.5 +0 -158
  450. package/oidc/node_modules/npm/man/man7/config.7 +0 -2080
  451. package/oidc/node_modules/npm/man/man7/dependency-selectors.7 +0 -331
  452. package/oidc/node_modules/npm/man/man7/developers.7 +0 -234
  453. package/oidc/node_modules/npm/man/man7/logging.7 +0 -108
  454. package/oidc/node_modules/npm/man/man7/orgs.7 +0 -145
  455. package/oidc/node_modules/npm/man/man7/package-spec.7 +0 -126
  456. package/oidc/node_modules/npm/man/man7/registry.7 +0 -49
  457. package/oidc/node_modules/npm/man/man7/removal.7 +0 -54
  458. package/oidc/node_modules/npm/man/man7/scope.7 +0 -113
  459. package/oidc/node_modules/npm/man/man7/scripts.7 +0 -422
  460. package/oidc/node_modules/npm/man/man7/workspaces.7 +0 -214
  461. package/oidc/node_modules/npm/node_modules/@isaacs/balanced-match/LICENSE.md +0 -23
  462. package/oidc/node_modules/npm/node_modules/@isaacs/balanced-match/dist/commonjs/index.js +0 -59
  463. package/oidc/node_modules/npm/node_modules/@isaacs/balanced-match/dist/commonjs/package.json +0 -3
  464. package/oidc/node_modules/npm/node_modules/@isaacs/balanced-match/dist/esm/index.js +0 -54
  465. package/oidc/node_modules/npm/node_modules/@isaacs/balanced-match/dist/esm/package.json +0 -3
  466. package/oidc/node_modules/npm/node_modules/@isaacs/balanced-match/package.json +0 -79
  467. package/oidc/node_modules/npm/node_modules/@isaacs/brace-expansion/LICENSE +0 -23
  468. package/oidc/node_modules/npm/node_modules/@isaacs/brace-expansion/dist/commonjs/index.js +0 -196
  469. package/oidc/node_modules/npm/node_modules/@isaacs/brace-expansion/dist/commonjs/package.json +0 -3
  470. package/oidc/node_modules/npm/node_modules/@isaacs/brace-expansion/dist/esm/index.js +0 -193
  471. package/oidc/node_modules/npm/node_modules/@isaacs/brace-expansion/dist/esm/package.json +0 -3
  472. package/oidc/node_modules/npm/node_modules/@isaacs/brace-expansion/package.json +0 -71
  473. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/LICENSE.txt +0 -14
  474. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/build/index.cjs +0 -317
  475. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/build/index.d.cts +0 -43
  476. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/build/lib/index.js +0 -302
  477. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/index.mjs +0 -14
  478. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js +0 -14
  479. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/license +0 -9
  480. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/package.json +0 -61
  481. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  482. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/RGI_Emoji.js +0 -6
  483. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/RGI_Emoji.js +0 -6
  484. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/index.js +0 -6
  485. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/text.js +0 -6
  486. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/index.js +0 -6
  487. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/package.json +0 -52
  488. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/text.js +0 -6
  489. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/index.js +0 -54
  490. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/license +0 -9
  491. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/package.json +0 -59
  492. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js +0 -14
  493. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/license +0 -9
  494. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +0 -59
  495. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/package.json +0 -86
  496. package/oidc/node_modules/npm/node_modules/@isaacs/fs-minipass/LICENSE +0 -15
  497. package/oidc/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +0 -430
  498. package/oidc/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +0 -3
  499. package/oidc/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/esm/index.js +0 -420
  500. package/oidc/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/esm/package.json +0 -3
  501. package/oidc/node_modules/npm/node_modules/@isaacs/fs-minipass/package.json +0 -72
  502. package/oidc/node_modules/npm/node_modules/@isaacs/string-locale-compare/LICENSE +0 -15
  503. package/oidc/node_modules/npm/node_modules/@isaacs/string-locale-compare/index.js +0 -42
  504. package/oidc/node_modules/npm/node_modules/@isaacs/string-locale-compare/package.json +0 -28
  505. package/oidc/node_modules/npm/node_modules/@npmcli/agent/lib/agents.js +0 -206
  506. package/oidc/node_modules/npm/node_modules/@npmcli/agent/lib/dns.js +0 -53
  507. package/oidc/node_modules/npm/node_modules/@npmcli/agent/lib/errors.js +0 -61
  508. package/oidc/node_modules/npm/node_modules/@npmcli/agent/lib/index.js +0 -56
  509. package/oidc/node_modules/npm/node_modules/@npmcli/agent/lib/options.js +0 -86
  510. package/oidc/node_modules/npm/node_modules/@npmcli/agent/lib/proxy.js +0 -88
  511. package/oidc/node_modules/npm/node_modules/@npmcli/agent/package.json +0 -60
  512. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/LICENSE.md +0 -20
  513. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/README.md +0 -315
  514. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/actual.js +0 -19
  515. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/audit.js +0 -51
  516. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/funding.js +0 -38
  517. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/ideal.js +0 -14
  518. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/index.js +0 -112
  519. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/logging.js +0 -77
  520. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/options.js +0 -123
  521. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/print-tree.js +0 -4
  522. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/timers.js +0 -33
  523. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/license.js +0 -48
  524. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/prune.js +0 -48
  525. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/reify.js +0 -48
  526. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/shrinkwrap.js +0 -7
  527. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/virtual.js +0 -14
  528. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/add-rm-pkg-deps.js +0 -143
  529. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js +0 -1607
  530. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/index.js +0 -280
  531. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/isolated-reifier.js +0 -453
  532. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/load-actual.js +0 -442
  533. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/load-virtual.js +0 -305
  534. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js +0 -403
  535. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js +0 -1516
  536. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js +0 -328
  537. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js +0 -145
  538. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/can-place-dep.js +0 -436
  539. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/case-insensitive-map.js +0 -50
  540. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/consistent-resolve.js +0 -44
  541. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/debug.js +0 -32
  542. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/deepest-nesting-target.js +0 -18
  543. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/dep-valid.js +0 -150
  544. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/diff.js +0 -324
  545. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/edge.js +0 -358
  546. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/from-path.js +0 -30
  547. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/gather-dep-set.js +0 -43
  548. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/index.js +0 -6
  549. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/inventory.js +0 -138
  550. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/link.js +0 -126
  551. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/node.js +0 -1618
  552. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/optional-set.js +0 -36
  553. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/override-resolves.js +0 -11
  554. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/override-set.js +0 -209
  555. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/packument-cache.js +0 -77
  556. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/peer-entry-sets.js +0 -77
  557. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/place-dep.js +0 -569
  558. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/printable.js +0 -198
  559. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/query-selector-all.js +0 -945
  560. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/realpath.js +0 -95
  561. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/relpath.js +0 -3
  562. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/reset-dep-flags.js +0 -15
  563. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/retire-path.js +0 -19
  564. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/shrinkwrap.js +0 -1181
  565. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/signal-handling.js +0 -74
  566. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/signals.js +0 -58
  567. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/spec-from-lock.js +0 -34
  568. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/tracker.js +0 -86
  569. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/tree-check.js +0 -155
  570. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/version-from-tgz.js +0 -47
  571. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/vuln.js +0 -214
  572. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/yarn-lock.js +0 -377
  573. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/package.json +0 -98
  574. package/oidc/node_modules/npm/node_modules/@npmcli/config/LICENSE +0 -15
  575. package/oidc/node_modules/npm/node_modules/@npmcli/config/README.md +0 -226
  576. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/definitions/definition.js +0 -253
  577. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/definitions/definitions.js +0 -2318
  578. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/definitions/index.js +0 -80
  579. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/env-replace.js +0 -16
  580. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/errors.js +0 -23
  581. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/index.js +0 -977
  582. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/nerf-dart.js +0 -18
  583. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/parse-field.js +0 -86
  584. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/set-envs.js +0 -113
  585. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/type-defs.js +0 -61
  586. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/type-description.js +0 -21
  587. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/umask.js +0 -35
  588. package/oidc/node_modules/npm/node_modules/@npmcli/config/package.json +0 -57
  589. package/oidc/node_modules/npm/node_modules/@npmcli/fs/LICENSE.md +0 -20
  590. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/common/get-options.js +0 -20
  591. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/common/node.js +0 -9
  592. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/cp/LICENSE +0 -15
  593. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/cp/errors.js +0 -129
  594. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/cp/index.js +0 -22
  595. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/cp/polyfill.js +0 -428
  596. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/index.js +0 -13
  597. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/move-file.js +0 -78
  598. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/readdir-scoped.js +0 -20
  599. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/with-temp-dir.js +0 -39
  600. package/oidc/node_modules/npm/node_modules/@npmcli/fs/package.json +0 -54
  601. package/oidc/node_modules/npm/node_modules/@npmcli/git/LICENSE +0 -15
  602. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/clone.js +0 -172
  603. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/errors.js +0 -36
  604. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/find.js +0 -15
  605. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/index.js +0 -9
  606. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/is-clean.js +0 -6
  607. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/is.js +0 -4
  608. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/lines-to-revs.js +0 -147
  609. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js +0 -33
  610. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/opts.js +0 -57
  611. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/revs.js +0 -22
  612. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js +0 -44
  613. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/utils.js +0 -3
  614. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/which.js +0 -18
  615. package/oidc/node_modules/npm/node_modules/@npmcli/git/package.json +0 -58
  616. package/oidc/node_modules/npm/node_modules/@npmcli/installed-package-contents/LICENSE +0 -15
  617. package/oidc/node_modules/npm/node_modules/@npmcli/installed-package-contents/README.md +0 -109
  618. package/oidc/node_modules/npm/node_modules/@npmcli/installed-package-contents/bin/index.js +0 -44
  619. package/oidc/node_modules/npm/node_modules/@npmcli/installed-package-contents/lib/index.js +0 -181
  620. package/oidc/node_modules/npm/node_modules/@npmcli/installed-package-contents/package.json +0 -52
  621. package/oidc/node_modules/npm/node_modules/@npmcli/map-workspaces/LICENSE.md +0 -20
  622. package/oidc/node_modules/npm/node_modules/@npmcli/map-workspaces/lib/index.js +0 -226
  623. package/oidc/node_modules/npm/node_modules/@npmcli/map-workspaces/package.json +0 -61
  624. package/oidc/node_modules/npm/node_modules/@npmcli/metavuln-calculator/LICENSE +0 -15
  625. package/oidc/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/advisory.js +0 -435
  626. package/oidc/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/get-dep-spec.js +0 -15
  627. package/oidc/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/hash.js +0 -5
  628. package/oidc/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/index.js +0 -128
  629. package/oidc/node_modules/npm/node_modules/@npmcli/metavuln-calculator/package.json +0 -62
  630. package/oidc/node_modules/npm/node_modules/@npmcli/name-from-folder/LICENSE +0 -15
  631. package/oidc/node_modules/npm/node_modules/@npmcli/name-from-folder/lib/index.js +0 -7
  632. package/oidc/node_modules/npm/node_modules/@npmcli/name-from-folder/package.json +0 -45
  633. package/oidc/node_modules/npm/node_modules/@npmcli/node-gyp/LICENSE +0 -7
  634. package/oidc/node_modules/npm/node_modules/@npmcli/node-gyp/lib/index.js +0 -14
  635. package/oidc/node_modules/npm/node_modules/@npmcli/node-gyp/package.json +0 -50
  636. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/LICENSE +0 -18
  637. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/index.js +0 -296
  638. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/normalize-data.js +0 -254
  639. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/normalize.js +0 -614
  640. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/read-package.js +0 -39
  641. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/sort.js +0 -101
  642. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/update-dependencies.js +0 -75
  643. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/update-scripts.js +0 -29
  644. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/update-workspaces.js +0 -26
  645. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/package.json +0 -59
  646. package/oidc/node_modules/npm/node_modules/@npmcli/promise-spawn/LICENSE +0 -15
  647. package/oidc/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/escape.js +0 -68
  648. package/oidc/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js +0 -218
  649. package/oidc/node_modules/npm/node_modules/@npmcli/promise-spawn/package.json +0 -51
  650. package/oidc/node_modules/npm/node_modules/@npmcli/query/LICENSE +0 -20
  651. package/oidc/node_modules/npm/node_modules/@npmcli/query/lib/index.js +0 -255
  652. package/oidc/node_modules/npm/node_modules/@npmcli/query/package.json +0 -64
  653. package/oidc/node_modules/npm/node_modules/@npmcli/redact/LICENSE +0 -21
  654. package/oidc/node_modules/npm/node_modules/@npmcli/redact/lib/deep-map.js +0 -71
  655. package/oidc/node_modules/npm/node_modules/@npmcli/redact/lib/error.js +0 -28
  656. package/oidc/node_modules/npm/node_modules/@npmcli/redact/lib/index.js +0 -44
  657. package/oidc/node_modules/npm/node_modules/@npmcli/redact/lib/matchers.js +0 -88
  658. package/oidc/node_modules/npm/node_modules/@npmcli/redact/lib/server.js +0 -59
  659. package/oidc/node_modules/npm/node_modules/@npmcli/redact/lib/utils.js +0 -202
  660. package/oidc/node_modules/npm/node_modules/@npmcli/redact/package.json +0 -52
  661. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/LICENSE +0 -15
  662. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/is-server-package.js +0 -11
  663. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/make-spawn-args.js +0 -53
  664. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp +0 -2
  665. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp.cmd +0 -1
  666. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/package-envs.js +0 -29
  667. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js +0 -114
  668. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js +0 -15
  669. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/set-path.js +0 -45
  670. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/signal-manager.js +0 -50
  671. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/validate-options.js +0 -39
  672. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/package.json +0 -54
  673. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/LICENSE +0 -201
  674. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/examples/is-default-value.js +0 -25
  675. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +0 -35
  676. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/examples/negate.js +0 -43
  677. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +0 -31
  678. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +0 -41
  679. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +0 -26
  680. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/index.js +0 -396
  681. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/internal/errors.js +0 -47
  682. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/internal/primordials.js +0 -393
  683. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/internal/util.js +0 -14
  684. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/internal/validators.js +0 -89
  685. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/package.json +0 -36
  686. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/utils.js +0 -198
  687. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/LICENSE +0 -202
  688. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/dist/build.js +0 -100
  689. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/dist/bundle.js +0 -24
  690. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/dist/error.js +0 -25
  691. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/dist/index.js +0 -43
  692. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/dist/serialized.js +0 -49
  693. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/dist/utility.js +0 -2
  694. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/dist/validate.js +0 -199
  695. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/package.json +0 -35
  696. package/oidc/node_modules/npm/node_modules/@sigstore/core/LICENSE +0 -202
  697. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/asn1/error.js +0 -24
  698. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/asn1/index.js +0 -20
  699. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/asn1/length.js +0 -62
  700. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/asn1/obj.js +0 -152
  701. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/asn1/parse.js +0 -124
  702. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/asn1/tag.js +0 -86
  703. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/crypto.js +0 -60
  704. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/dsse.js +0 -30
  705. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/encoding.js +0 -27
  706. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/index.js +0 -66
  707. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/json.js +0 -60
  708. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/oid.js +0 -14
  709. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/pem.js +0 -43
  710. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/rfc3161/error.js +0 -21
  711. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/rfc3161/index.js +0 -20
  712. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/rfc3161/timestamp.js +0 -211
  713. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/rfc3161/tstinfo.js +0 -71
  714. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/stream.js +0 -115
  715. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/x509/cert.js +0 -241
  716. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/x509/ext.js +0 -145
  717. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/x509/index.js +0 -23
  718. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/x509/sct.js +0 -151
  719. package/oidc/node_modules/npm/node_modules/@sigstore/core/package.json +0 -31
  720. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/LICENSE +0 -202
  721. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/envelope.js +0 -59
  722. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/events.js +0 -174
  723. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/api/field_behavior.js +0 -141
  724. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/any.js +0 -35
  725. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/descriptor.js +0 -2042
  726. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/timestamp.js +0 -29
  727. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/dsse.js +0 -55
  728. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/entry.js +0 -81
  729. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/hashedrekord.js +0 -56
  730. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/verifier.js +0 -74
  731. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_bundle.js +0 -103
  732. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_common.js +0 -596
  733. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_rekor.js +0 -137
  734. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_trustroot.js +0 -284
  735. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_verification.js +0 -281
  736. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/index.js +0 -37
  737. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/rekor/v2/index.js +0 -35
  738. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/package.json +0 -35
  739. package/oidc/node_modules/npm/node_modules/@sigstore/sign/LICENSE +0 -202
  740. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/base.js +0 -50
  741. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/bundle.js +0 -81
  742. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/dsse.js +0 -46
  743. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/index.js +0 -7
  744. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/message.js +0 -30
  745. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/error.js +0 -39
  746. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/external/error.js +0 -26
  747. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/external/fetch.js +0 -98
  748. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/external/fulcio.js +0 -41
  749. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/external/rekor.js +0 -80
  750. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/external/tsa.js +0 -38
  751. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/identity/ci.js +0 -73
  752. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/identity/index.js +0 -20
  753. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/identity/provider.js +0 -2
  754. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/index.js +0 -17
  755. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/signer/fulcio/ca.js +0 -59
  756. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/signer/fulcio/ephemeral.js +0 -45
  757. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/signer/fulcio/index.js +0 -87
  758. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/signer/index.js +0 -22
  759. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/signer/signer.js +0 -17
  760. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/types/fetch.js +0 -2
  761. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/util/index.js +0 -59
  762. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/util/oidc.js +0 -35
  763. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/util/ua.js +0 -32
  764. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/witness/index.js +0 -24
  765. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tlog/client.js +0 -61
  766. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tlog/entry.js +0 -140
  767. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tlog/index.js +0 -82
  768. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tsa/client.js +0 -46
  769. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tsa/index.js +0 -44
  770. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/witness/witness.js +0 -2
  771. package/oidc/node_modules/npm/node_modules/@sigstore/sign/package.json +0 -46
  772. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/LICENSE +0 -202
  773. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/dist/appdata.js +0 -43
  774. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/dist/client.js +0 -113
  775. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/dist/error.js +0 -12
  776. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/dist/index.js +0 -56
  777. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/dist/target.js +0 -79
  778. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/package.json +0 -41
  779. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/seeds.json +0 -1
  780. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/bundle/dsse.js +0 -43
  781. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/bundle/index.js +0 -57
  782. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/bundle/message.js +0 -36
  783. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/error.js +0 -32
  784. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/index.js +0 -28
  785. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/key/certificate.js +0 -212
  786. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/key/index.js +0 -67
  787. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/key/sct.js +0 -78
  788. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/policy.js +0 -24
  789. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/shared.types.js +0 -2
  790. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/checkpoint.js +0 -157
  791. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/index.js +0 -46
  792. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/merkle.js +0 -104
  793. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/set.js +0 -60
  794. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/tsa.js +0 -63
  795. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/tlog/dsse.js +0 -57
  796. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/tlog/hashedrekord.js +0 -51
  797. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/tlog/index.js +0 -47
  798. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/tlog/intoto.js +0 -62
  799. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/trust/filter.js +0 -23
  800. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/trust/index.js +0 -86
  801. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/trust/trust.types.js +0 -2
  802. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/verifier.js +0 -143
  803. package/oidc/node_modules/npm/node_modules/@sigstore/verify/package.json +0 -36
  804. package/oidc/node_modules/npm/node_modules/@tufjs/canonical-json/LICENSE +0 -21
  805. package/oidc/node_modules/npm/node_modules/@tufjs/canonical-json/lib/index.js +0 -64
  806. package/oidc/node_modules/npm/node_modules/@tufjs/canonical-json/package.json +0 -35
  807. package/oidc/node_modules/npm/node_modules/@tufjs/models/LICENSE +0 -21
  808. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/base.js +0 -96
  809. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/delegations.js +0 -119
  810. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/error.js +0 -27
  811. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/file.js +0 -191
  812. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/index.js +0 -24
  813. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/key.js +0 -90
  814. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/metadata.js +0 -165
  815. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/role.js +0 -310
  816. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/root.js +0 -119
  817. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/signature.js +0 -40
  818. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/snapshot.js +0 -72
  819. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/targets.js +0 -94
  820. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/timestamp.js +0 -59
  821. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/utils/guard.js +0 -32
  822. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/utils/index.js +0 -38
  823. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/utils/key.js +0 -142
  824. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/utils/oid.js +0 -26
  825. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/utils/types.js +0 -2
  826. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/utils/verify.js +0 -13
  827. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/LICENSE +0 -15
  828. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
  829. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/ast.js +0 -592
  830. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -152
  831. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/escape.js +0 -22
  832. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/index.js +0 -1017
  833. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/package.json +0 -3
  834. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/unescape.js +0 -24
  835. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
  836. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/ast.js +0 -588
  837. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/brace-expressions.js +0 -148
  838. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/escape.js +0 -18
  839. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/index.js +0 -1001
  840. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/package.json +0 -3
  841. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/unescape.js +0 -20
  842. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/package.json +0 -82
  843. package/oidc/node_modules/npm/node_modules/@tufjs/models/package.json +0 -37
  844. package/oidc/node_modules/npm/node_modules/abbrev/LICENSE +0 -46
  845. package/oidc/node_modules/npm/node_modules/abbrev/lib/index.js +0 -53
  846. package/oidc/node_modules/npm/node_modules/abbrev/package.json +0 -45
  847. package/oidc/node_modules/npm/node_modules/agent-base/LICENSE +0 -22
  848. package/oidc/node_modules/npm/node_modules/agent-base/dist/helpers.js +0 -66
  849. package/oidc/node_modules/npm/node_modules/agent-base/dist/index.js +0 -178
  850. package/oidc/node_modules/npm/node_modules/agent-base/package.json +0 -46
  851. package/oidc/node_modules/npm/node_modules/ansi-regex/index.js +0 -10
  852. package/oidc/node_modules/npm/node_modules/ansi-regex/license +0 -9
  853. package/oidc/node_modules/npm/node_modules/ansi-regex/package.json +0 -55
  854. package/oidc/node_modules/npm/node_modules/ansi-styles/index.js +0 -223
  855. package/oidc/node_modules/npm/node_modules/ansi-styles/license +0 -9
  856. package/oidc/node_modules/npm/node_modules/ansi-styles/package.json +0 -54
  857. package/oidc/node_modules/npm/node_modules/aproba/LICENSE +0 -14
  858. package/oidc/node_modules/npm/node_modules/aproba/index.js +0 -105
  859. package/oidc/node_modules/npm/node_modules/aproba/package.json +0 -35
  860. package/oidc/node_modules/npm/node_modules/archy/LICENSE +0 -18
  861. package/oidc/node_modules/npm/node_modules/archy/examples/beep.js +0 -24
  862. package/oidc/node_modules/npm/node_modules/archy/examples/multi_line.js +0 -25
  863. package/oidc/node_modules/npm/node_modules/archy/index.js +0 -35
  864. package/oidc/node_modules/npm/node_modules/archy/package.json +0 -40
  865. package/oidc/node_modules/npm/node_modules/archy/test/beep.js +0 -40
  866. package/oidc/node_modules/npm/node_modules/archy/test/multi_line.js +0 -45
  867. package/oidc/node_modules/npm/node_modules/archy/test/non_unicode.js +0 -40
  868. package/oidc/node_modules/npm/node_modules/balanced-match/LICENSE.md +0 -21
  869. package/oidc/node_modules/npm/node_modules/balanced-match/index.js +0 -62
  870. package/oidc/node_modules/npm/node_modules/balanced-match/package.json +0 -48
  871. package/oidc/node_modules/npm/node_modules/bin-links/LICENSE +0 -15
  872. package/oidc/node_modules/npm/node_modules/bin-links/lib/bin-target.js +0 -9
  873. package/oidc/node_modules/npm/node_modules/bin-links/lib/check-bin.js +0 -74
  874. package/oidc/node_modules/npm/node_modules/bin-links/lib/check-bins.js +0 -18
  875. package/oidc/node_modules/npm/node_modules/bin-links/lib/fix-bin.js +0 -42
  876. package/oidc/node_modules/npm/node_modules/bin-links/lib/get-node-modules.js +0 -19
  877. package/oidc/node_modules/npm/node_modules/bin-links/lib/get-paths.js +0 -42
  878. package/oidc/node_modules/npm/node_modules/bin-links/lib/get-prefix.js +0 -3
  879. package/oidc/node_modules/npm/node_modules/bin-links/lib/index.js +0 -44
  880. package/oidc/node_modules/npm/node_modules/bin-links/lib/is-windows.js +0 -2
  881. package/oidc/node_modules/npm/node_modules/bin-links/lib/link-bin.js +0 -9
  882. package/oidc/node_modules/npm/node_modules/bin-links/lib/link-bins.js +0 -23
  883. package/oidc/node_modules/npm/node_modules/bin-links/lib/link-gently.js +0 -96
  884. package/oidc/node_modules/npm/node_modules/bin-links/lib/link-mans.js +0 -53
  885. package/oidc/node_modules/npm/node_modules/bin-links/lib/man-target.js +0 -6
  886. package/oidc/node_modules/npm/node_modules/bin-links/lib/shim-bin.js +0 -86
  887. package/oidc/node_modules/npm/node_modules/bin-links/package.json +0 -61
  888. package/oidc/node_modules/npm/node_modules/binary-extensions/binary-extensions.json +0 -264
  889. package/oidc/node_modules/npm/node_modules/binary-extensions/index.js +0 -3
  890. package/oidc/node_modules/npm/node_modules/binary-extensions/license +0 -10
  891. package/oidc/node_modules/npm/node_modules/binary-extensions/package.json +0 -45
  892. package/oidc/node_modules/npm/node_modules/brace-expansion/LICENSE +0 -21
  893. package/oidc/node_modules/npm/node_modules/brace-expansion/index.js +0 -203
  894. package/oidc/node_modules/npm/node_modules/brace-expansion/package.json +0 -49
  895. package/oidc/node_modules/npm/node_modules/cacache/LICENSE.md +0 -16
  896. package/oidc/node_modules/npm/node_modules/cacache/lib/content/path.js +0 -29
  897. package/oidc/node_modules/npm/node_modules/cacache/lib/content/read.js +0 -165
  898. package/oidc/node_modules/npm/node_modules/cacache/lib/content/rm.js +0 -18
  899. package/oidc/node_modules/npm/node_modules/cacache/lib/content/write.js +0 -206
  900. package/oidc/node_modules/npm/node_modules/cacache/lib/entry-index.js +0 -336
  901. package/oidc/node_modules/npm/node_modules/cacache/lib/get.js +0 -170
  902. package/oidc/node_modules/npm/node_modules/cacache/lib/index.js +0 -42
  903. package/oidc/node_modules/npm/node_modules/cacache/lib/memoization.js +0 -72
  904. package/oidc/node_modules/npm/node_modules/cacache/lib/put.js +0 -80
  905. package/oidc/node_modules/npm/node_modules/cacache/lib/rm.js +0 -31
  906. package/oidc/node_modules/npm/node_modules/cacache/lib/util/glob.js +0 -7
  907. package/oidc/node_modules/npm/node_modules/cacache/lib/util/hash-to-segments.js +0 -7
  908. package/oidc/node_modules/npm/node_modules/cacache/lib/util/tmp.js +0 -26
  909. package/oidc/node_modules/npm/node_modules/cacache/lib/verify.js +0 -258
  910. package/oidc/node_modules/npm/node_modules/cacache/package.json +0 -82
  911. package/oidc/node_modules/npm/node_modules/chalk/license +0 -9
  912. package/oidc/node_modules/npm/node_modules/chalk/package.json +0 -83
  913. package/oidc/node_modules/npm/node_modules/chalk/source/index.js +0 -225
  914. package/oidc/node_modules/npm/node_modules/chalk/source/utilities.js +0 -33
  915. package/oidc/node_modules/npm/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  916. package/oidc/node_modules/npm/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  917. package/oidc/node_modules/npm/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  918. package/oidc/node_modules/npm/node_modules/chownr/LICENSE.md +0 -63
  919. package/oidc/node_modules/npm/node_modules/chownr/dist/commonjs/index.js +0 -93
  920. package/oidc/node_modules/npm/node_modules/chownr/dist/commonjs/package.json +0 -3
  921. package/oidc/node_modules/npm/node_modules/chownr/dist/esm/index.js +0 -85
  922. package/oidc/node_modules/npm/node_modules/chownr/dist/esm/package.json +0 -3
  923. package/oidc/node_modules/npm/node_modules/chownr/package.json +0 -69
  924. package/oidc/node_modules/npm/node_modules/ci-info/LICENSE +0 -21
  925. package/oidc/node_modules/npm/node_modules/ci-info/index.js +0 -104
  926. package/oidc/node_modules/npm/node_modules/ci-info/package.json +0 -54
  927. package/oidc/node_modules/npm/node_modules/ci-info/vendors.json +0 -358
  928. package/oidc/node_modules/npm/node_modules/cidr-regex/LICENSE +0 -22
  929. package/oidc/node_modules/npm/node_modules/cidr-regex/dist/index.js +0 -15
  930. package/oidc/node_modules/npm/node_modules/cidr-regex/package.json +0 -38
  931. package/oidc/node_modules/npm/node_modules/cli-columns/color.js +0 -16
  932. package/oidc/node_modules/npm/node_modules/cli-columns/index.js +0 -82
  933. package/oidc/node_modules/npm/node_modules/cli-columns/license +0 -20
  934. package/oidc/node_modules/npm/node_modules/cli-columns/package.json +0 -54
  935. package/oidc/node_modules/npm/node_modules/cli-columns/test.js +0 -101
  936. package/oidc/node_modules/npm/node_modules/cmd-shim/LICENSE +0 -15
  937. package/oidc/node_modules/npm/node_modules/cmd-shim/lib/index.js +0 -247
  938. package/oidc/node_modules/npm/node_modules/cmd-shim/lib/to-batch-syntax.js +0 -49
  939. package/oidc/node_modules/npm/node_modules/cmd-shim/package.json +0 -48
  940. package/oidc/node_modules/npm/node_modules/color-convert/LICENSE +0 -21
  941. package/oidc/node_modules/npm/node_modules/color-convert/conversions.js +0 -839
  942. package/oidc/node_modules/npm/node_modules/color-convert/index.js +0 -81
  943. package/oidc/node_modules/npm/node_modules/color-convert/package.json +0 -48
  944. package/oidc/node_modules/npm/node_modules/color-convert/route.js +0 -97
  945. package/oidc/node_modules/npm/node_modules/color-name/LICENSE +0 -8
  946. package/oidc/node_modules/npm/node_modules/color-name/index.js +0 -152
  947. package/oidc/node_modules/npm/node_modules/color-name/package.json +0 -28
  948. package/oidc/node_modules/npm/node_modules/common-ancestor-path/LICENSE +0 -15
  949. package/oidc/node_modules/npm/node_modules/common-ancestor-path/index.js +0 -17
  950. package/oidc/node_modules/npm/node_modules/common-ancestor-path/package.json +0 -28
  951. package/oidc/node_modules/npm/node_modules/cross-spawn/LICENSE +0 -21
  952. package/oidc/node_modules/npm/node_modules/cross-spawn/index.js +0 -39
  953. package/oidc/node_modules/npm/node_modules/cross-spawn/lib/enoent.js +0 -59
  954. package/oidc/node_modules/npm/node_modules/cross-spawn/lib/parse.js +0 -91
  955. package/oidc/node_modules/npm/node_modules/cross-spawn/lib/util/escape.js +0 -47
  956. package/oidc/node_modules/npm/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
  957. package/oidc/node_modules/npm/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
  958. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/LICENSE +0 -15
  959. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/index.js +0 -57
  960. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/mode.js +0 -41
  961. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/package.json +0 -31
  962. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/test/basic.js +0 -221
  963. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/windows.js +0 -42
  964. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/which/LICENSE +0 -15
  965. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/which/README.md +0 -54
  966. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/which/bin/node-which +0 -52
  967. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/which/package.json +0 -43
  968. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/which/which.js +0 -125
  969. package/oidc/node_modules/npm/node_modules/cross-spawn/package.json +0 -73
  970. package/oidc/node_modules/npm/node_modules/cssesc/LICENSE-MIT.txt +0 -20
  971. package/oidc/node_modules/npm/node_modules/cssesc/README.md +0 -201
  972. package/oidc/node_modules/npm/node_modules/cssesc/bin/cssesc +0 -116
  973. package/oidc/node_modules/npm/node_modules/cssesc/cssesc.js +0 -110
  974. package/oidc/node_modules/npm/node_modules/cssesc/man/cssesc.1 +0 -70
  975. package/oidc/node_modules/npm/node_modules/cssesc/package.json +0 -51
  976. package/oidc/node_modules/npm/node_modules/debug/LICENSE +0 -20
  977. package/oidc/node_modules/npm/node_modules/debug/package.json +0 -64
  978. package/oidc/node_modules/npm/node_modules/debug/src/browser.js +0 -272
  979. package/oidc/node_modules/npm/node_modules/debug/src/common.js +0 -292
  980. package/oidc/node_modules/npm/node_modules/debug/src/index.js +0 -10
  981. package/oidc/node_modules/npm/node_modules/debug/src/node.js +0 -263
  982. package/oidc/node_modules/npm/node_modules/diff/CONTRIBUTING.md +0 -28
  983. package/oidc/node_modules/npm/node_modules/diff/LICENSE +0 -29
  984. package/oidc/node_modules/npm/node_modules/diff/dist/diff.js +0 -1674
  985. package/oidc/node_modules/npm/node_modules/diff/dist/diff.min.js +0 -1
  986. package/oidc/node_modules/npm/node_modules/diff/eslint.config.mjs +0 -182
  987. package/oidc/node_modules/npm/node_modules/diff/libcjs/convert/dmp.js +0 -24
  988. package/oidc/node_modules/npm/node_modules/diff/libcjs/convert/xml.js +0 -34
  989. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/array.js +0 -40
  990. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/base.js +0 -265
  991. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/character.js +0 -31
  992. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/css.js +0 -34
  993. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/json.js +0 -105
  994. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/line.js +0 -89
  995. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/sentence.js +0 -67
  996. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/word.js +0 -307
  997. package/oidc/node_modules/npm/node_modules/diff/libcjs/index.js +0 -61
  998. package/oidc/node_modules/npm/node_modules/diff/libcjs/package.json +0 -1
  999. package/oidc/node_modules/npm/node_modules/diff/libcjs/patch/apply.js +0 -267
  1000. package/oidc/node_modules/npm/node_modules/diff/libcjs/patch/create.js +0 -223
  1001. package/oidc/node_modules/npm/node_modules/diff/libcjs/patch/line-endings.js +0 -61
  1002. package/oidc/node_modules/npm/node_modules/diff/libcjs/patch/parse.js +0 -133
  1003. package/oidc/node_modules/npm/node_modules/diff/libcjs/patch/reverse.js +0 -37
  1004. package/oidc/node_modules/npm/node_modules/diff/libcjs/types.js +0 -2
  1005. package/oidc/node_modules/npm/node_modules/diff/libcjs/util/array.js +0 -21
  1006. package/oidc/node_modules/npm/node_modules/diff/libcjs/util/distance-iterator.js +0 -40
  1007. package/oidc/node_modules/npm/node_modules/diff/libcjs/util/params.js +0 -17
  1008. package/oidc/node_modules/npm/node_modules/diff/libcjs/util/string.js +0 -141
  1009. package/oidc/node_modules/npm/node_modules/diff/libesm/convert/dmp.js +0 -21
  1010. package/oidc/node_modules/npm/node_modules/diff/libesm/convert/xml.js +0 -31
  1011. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/array.js +0 -16
  1012. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/base.js +0 -253
  1013. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/character.js +0 -7
  1014. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/css.js +0 -10
  1015. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/json.js +0 -78
  1016. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/line.js +0 -65
  1017. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/sentence.js +0 -43
  1018. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/word.js +0 -276
  1019. package/oidc/node_modules/npm/node_modules/diff/libesm/index.js +0 -30
  1020. package/oidc/node_modules/npm/node_modules/diff/libesm/package.json +0 -1
  1021. package/oidc/node_modules/npm/node_modules/diff/libesm/patch/apply.js +0 -257
  1022. package/oidc/node_modules/npm/node_modules/diff/libesm/patch/create.js +0 -201
  1023. package/oidc/node_modules/npm/node_modules/diff/libesm/patch/line-endings.js +0 -44
  1024. package/oidc/node_modules/npm/node_modules/diff/libesm/patch/parse.js +0 -130
  1025. package/oidc/node_modules/npm/node_modules/diff/libesm/patch/reverse.js +0 -23
  1026. package/oidc/node_modules/npm/node_modules/diff/libesm/types.js +0 -1
  1027. package/oidc/node_modules/npm/node_modules/diff/libesm/util/array.js +0 -17
  1028. package/oidc/node_modules/npm/node_modules/diff/libesm/util/distance-iterator.js +0 -37
  1029. package/oidc/node_modules/npm/node_modules/diff/libesm/util/params.js +0 -14
  1030. package/oidc/node_modules/npm/node_modules/diff/libesm/util/string.js +0 -128
  1031. package/oidc/node_modules/npm/node_modules/diff/package.json +0 -131
  1032. package/oidc/node_modules/npm/node_modules/diff/release-notes.md +0 -397
  1033. package/oidc/node_modules/npm/node_modules/eastasianwidth/eastasianwidth.js +0 -311
  1034. package/oidc/node_modules/npm/node_modules/eastasianwidth/package.json +0 -18
  1035. package/oidc/node_modules/npm/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  1036. package/oidc/node_modules/npm/node_modules/emoji-regex/es2015/index.js +0 -6
  1037. package/oidc/node_modules/npm/node_modules/emoji-regex/es2015/text.js +0 -6
  1038. package/oidc/node_modules/npm/node_modules/emoji-regex/index.js +0 -6
  1039. package/oidc/node_modules/npm/node_modules/emoji-regex/package.json +0 -50
  1040. package/oidc/node_modules/npm/node_modules/emoji-regex/text.js +0 -6
  1041. package/oidc/node_modules/npm/node_modules/encoding/LICENSE +0 -16
  1042. package/oidc/node_modules/npm/node_modules/encoding/lib/encoding.js +0 -83
  1043. package/oidc/node_modules/npm/node_modules/encoding/package.json +0 -18
  1044. package/oidc/node_modules/npm/node_modules/encoding/test/test.js +0 -49
  1045. package/oidc/node_modules/npm/node_modules/env-paths/index.js +0 -74
  1046. package/oidc/node_modules/npm/node_modules/env-paths/license +0 -9
  1047. package/oidc/node_modules/npm/node_modules/env-paths/package.json +0 -45
  1048. package/oidc/node_modules/npm/node_modules/err-code/bower.json +0 -30
  1049. package/oidc/node_modules/npm/node_modules/err-code/index.js +0 -47
  1050. package/oidc/node_modules/npm/node_modules/err-code/index.umd.js +0 -51
  1051. package/oidc/node_modules/npm/node_modules/err-code/package.json +0 -34
  1052. package/oidc/node_modules/npm/node_modules/err-code/test/test.js +0 -159
  1053. package/oidc/node_modules/npm/node_modules/exponential-backoff/LICENSE +0 -202
  1054. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/backoff.js +0 -124
  1055. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/delay/always/always.delay.js +0 -25
  1056. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.base.js +0 -45
  1057. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.factory.js +0 -17
  1058. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.interface.js +0 -3
  1059. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +0 -82
  1060. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +0 -8
  1061. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +0 -15
  1062. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +0 -7
  1063. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/options.js +0 -31
  1064. package/oidc/node_modules/npm/node_modules/exponential-backoff/package.json +0 -62
  1065. package/oidc/node_modules/npm/node_modules/fastest-levenshtein/LICENSE.md +0 -21
  1066. package/oidc/node_modules/npm/node_modules/fastest-levenshtein/bench.js +0 -96
  1067. package/oidc/node_modules/npm/node_modules/fastest-levenshtein/esm/mod.js +0 -138
  1068. package/oidc/node_modules/npm/node_modules/fastest-levenshtein/mod.js +0 -142
  1069. package/oidc/node_modules/npm/node_modules/fastest-levenshtein/package.json +0 -72
  1070. package/oidc/node_modules/npm/node_modules/fastest-levenshtein/test.js +0 -55
  1071. package/oidc/node_modules/npm/node_modules/foreground-child/LICENSE +0 -15
  1072. package/oidc/node_modules/npm/node_modules/foreground-child/dist/commonjs/all-signals.js +0 -58
  1073. package/oidc/node_modules/npm/node_modules/foreground-child/dist/commonjs/index.js +0 -123
  1074. package/oidc/node_modules/npm/node_modules/foreground-child/dist/commonjs/package.json +0 -3
  1075. package/oidc/node_modules/npm/node_modules/foreground-child/dist/commonjs/proxy-signals.js +0 -38
  1076. package/oidc/node_modules/npm/node_modules/foreground-child/dist/commonjs/watchdog.js +0 -50
  1077. package/oidc/node_modules/npm/node_modules/foreground-child/dist/esm/all-signals.js +0 -52
  1078. package/oidc/node_modules/npm/node_modules/foreground-child/dist/esm/index.js +0 -115
  1079. package/oidc/node_modules/npm/node_modules/foreground-child/dist/esm/package.json +0 -3
  1080. package/oidc/node_modules/npm/node_modules/foreground-child/dist/esm/proxy-signals.js +0 -34
  1081. package/oidc/node_modules/npm/node_modules/foreground-child/dist/esm/watchdog.js +0 -46
  1082. package/oidc/node_modules/npm/node_modules/foreground-child/package.json +0 -106
  1083. package/oidc/node_modules/npm/node_modules/fs-minipass/LICENSE +0 -15
  1084. package/oidc/node_modules/npm/node_modules/fs-minipass/lib/index.js +0 -443
  1085. package/oidc/node_modules/npm/node_modules/fs-minipass/package.json +0 -54
  1086. package/oidc/node_modules/npm/node_modules/glob/LICENSE +0 -15
  1087. package/oidc/node_modules/npm/node_modules/glob/README.md +0 -1265
  1088. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/glob.d.ts +0 -388
  1089. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  1090. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/glob.js +0 -247
  1091. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  1092. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  1093. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  1094. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.js +0 -27
  1095. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  1096. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
  1097. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  1098. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/ignore.js +0 -119
  1099. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  1100. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/index.d.ts +0 -97
  1101. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  1102. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/index.js +0 -68
  1103. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/index.js.map +0 -1
  1104. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/package.json +0 -3
  1105. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/pattern.d.ts +0 -76
  1106. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  1107. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/pattern.js +0 -219
  1108. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  1109. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  1110. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  1111. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/processor.js +0 -301
  1112. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  1113. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
  1114. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  1115. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/walker.js +0 -387
  1116. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  1117. package/oidc/node_modules/npm/node_modules/glob/dist/esm/bin.d.mts +0 -3
  1118. package/oidc/node_modules/npm/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
  1119. package/oidc/node_modules/npm/node_modules/glob/dist/esm/bin.mjs +0 -276
  1120. package/oidc/node_modules/npm/node_modules/glob/dist/esm/bin.mjs.map +0 -1
  1121. package/oidc/node_modules/npm/node_modules/glob/dist/esm/glob.d.ts +0 -388
  1122. package/oidc/node_modules/npm/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  1123. package/oidc/node_modules/npm/node_modules/glob/dist/esm/glob.js +0 -243
  1124. package/oidc/node_modules/npm/node_modules/glob/dist/esm/glob.js.map +0 -1
  1125. package/oidc/node_modules/npm/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  1126. package/oidc/node_modules/npm/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  1127. package/oidc/node_modules/npm/node_modules/glob/dist/esm/has-magic.js +0 -23
  1128. package/oidc/node_modules/npm/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  1129. package/oidc/node_modules/npm/node_modules/glob/dist/esm/ignore.d.ts +0 -24
  1130. package/oidc/node_modules/npm/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  1131. package/oidc/node_modules/npm/node_modules/glob/dist/esm/ignore.js +0 -115
  1132. package/oidc/node_modules/npm/node_modules/glob/dist/esm/ignore.js.map +0 -1
  1133. package/oidc/node_modules/npm/node_modules/glob/dist/esm/index.d.ts +0 -97
  1134. package/oidc/node_modules/npm/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  1135. package/oidc/node_modules/npm/node_modules/glob/dist/esm/index.js +0 -55
  1136. package/oidc/node_modules/npm/node_modules/glob/dist/esm/index.js.map +0 -1
  1137. package/oidc/node_modules/npm/node_modules/glob/dist/esm/package.json +0 -3
  1138. package/oidc/node_modules/npm/node_modules/glob/dist/esm/pattern.d.ts +0 -76
  1139. package/oidc/node_modules/npm/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  1140. package/oidc/node_modules/npm/node_modules/glob/dist/esm/pattern.js +0 -215
  1141. package/oidc/node_modules/npm/node_modules/glob/dist/esm/pattern.js.map +0 -1
  1142. package/oidc/node_modules/npm/node_modules/glob/dist/esm/processor.d.ts +0 -59
  1143. package/oidc/node_modules/npm/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  1144. package/oidc/node_modules/npm/node_modules/glob/dist/esm/processor.js +0 -294
  1145. package/oidc/node_modules/npm/node_modules/glob/dist/esm/processor.js.map +0 -1
  1146. package/oidc/node_modules/npm/node_modules/glob/dist/esm/walker.d.ts +0 -97
  1147. package/oidc/node_modules/npm/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  1148. package/oidc/node_modules/npm/node_modules/glob/dist/esm/walker.js +0 -381
  1149. package/oidc/node_modules/npm/node_modules/glob/dist/esm/walker.js.map +0 -1
  1150. package/oidc/node_modules/npm/node_modules/glob/package.json +0 -97
  1151. package/oidc/node_modules/npm/node_modules/graceful-fs/LICENSE +0 -15
  1152. package/oidc/node_modules/npm/node_modules/graceful-fs/clone.js +0 -23
  1153. package/oidc/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +0 -448
  1154. package/oidc/node_modules/npm/node_modules/graceful-fs/legacy-streams.js +0 -118
  1155. package/oidc/node_modules/npm/node_modules/graceful-fs/package.json +0 -53
  1156. package/oidc/node_modules/npm/node_modules/graceful-fs/polyfills.js +0 -355
  1157. package/oidc/node_modules/npm/node_modules/hosted-git-info/LICENSE +0 -13
  1158. package/oidc/node_modules/npm/node_modules/hosted-git-info/lib/from-url.js +0 -122
  1159. package/oidc/node_modules/npm/node_modules/hosted-git-info/lib/hosts.js +0 -229
  1160. package/oidc/node_modules/npm/node_modules/hosted-git-info/lib/index.js +0 -227
  1161. package/oidc/node_modules/npm/node_modules/hosted-git-info/lib/parse-url.js +0 -81
  1162. package/oidc/node_modules/npm/node_modules/hosted-git-info/package.json +0 -61
  1163. package/oidc/node_modules/npm/node_modules/http-cache-semantics/LICENSE +0 -9
  1164. package/oidc/node_modules/npm/node_modules/http-cache-semantics/index.js +0 -928
  1165. package/oidc/node_modules/npm/node_modules/http-cache-semantics/package.json +0 -22
  1166. package/oidc/node_modules/npm/node_modules/http-proxy-agent/LICENSE +0 -22
  1167. package/oidc/node_modules/npm/node_modules/http-proxy-agent/dist/index.js +0 -148
  1168. package/oidc/node_modules/npm/node_modules/http-proxy-agent/package.json +0 -47
  1169. package/oidc/node_modules/npm/node_modules/https-proxy-agent/LICENSE +0 -22
  1170. package/oidc/node_modules/npm/node_modules/https-proxy-agent/dist/index.js +0 -180
  1171. package/oidc/node_modules/npm/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -101
  1172. package/oidc/node_modules/npm/node_modules/https-proxy-agent/package.json +0 -50
  1173. package/oidc/node_modules/npm/node_modules/iconv-lite/LICENSE +0 -21
  1174. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -597
  1175. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/dbcs-data.js +0 -188
  1176. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/index.js +0 -23
  1177. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/internal.js +0 -198
  1178. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  1179. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1180. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-data.js +0 -179
  1181. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1182. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1183. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1184. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1185. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1186. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1187. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  1188. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1189. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/utf16.js +0 -197
  1190. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/utf32.js +0 -319
  1191. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/utf7.js +0 -290
  1192. package/oidc/node_modules/npm/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  1193. package/oidc/node_modules/npm/node_modules/iconv-lite/lib/index.js +0 -180
  1194. package/oidc/node_modules/npm/node_modules/iconv-lite/lib/streams.js +0 -109
  1195. package/oidc/node_modules/npm/node_modules/iconv-lite/package.json +0 -44
  1196. package/oidc/node_modules/npm/node_modules/ignore-walk/LICENSE +0 -15
  1197. package/oidc/node_modules/npm/node_modules/ignore-walk/lib/index.js +0 -310
  1198. package/oidc/node_modules/npm/node_modules/ignore-walk/package.json +0 -64
  1199. package/oidc/node_modules/npm/node_modules/imurmurhash/imurmurhash.js +0 -138
  1200. package/oidc/node_modules/npm/node_modules/imurmurhash/imurmurhash.min.js +0 -12
  1201. package/oidc/node_modules/npm/node_modules/imurmurhash/package.json +0 -40
  1202. package/oidc/node_modules/npm/node_modules/ini/LICENSE +0 -15
  1203. package/oidc/node_modules/npm/node_modules/ini/lib/ini.js +0 -280
  1204. package/oidc/node_modules/npm/node_modules/ini/package.json +0 -45
  1205. package/oidc/node_modules/npm/node_modules/init-package-json/LICENSE.md +0 -18
  1206. package/oidc/node_modules/npm/node_modules/init-package-json/lib/default-input.js +0 -288
  1207. package/oidc/node_modules/npm/node_modules/init-package-json/lib/init-package-json.js +0 -147
  1208. package/oidc/node_modules/npm/node_modules/init-package-json/package.json +0 -67
  1209. package/oidc/node_modules/npm/node_modules/ip-address/LICENSE +0 -19
  1210. package/oidc/node_modules/npm/node_modules/ip-address/dist/address-error.js +0 -12
  1211. package/oidc/node_modules/npm/node_modules/ip-address/dist/common.js +0 -46
  1212. package/oidc/node_modules/npm/node_modules/ip-address/dist/ip-address.js +0 -35
  1213. package/oidc/node_modules/npm/node_modules/ip-address/dist/ipv4.js +0 -327
  1214. package/oidc/node_modules/npm/node_modules/ip-address/dist/ipv6.js +0 -1003
  1215. package/oidc/node_modules/npm/node_modules/ip-address/dist/v4/constants.js +0 -8
  1216. package/oidc/node_modules/npm/node_modules/ip-address/dist/v6/constants.js +0 -76
  1217. package/oidc/node_modules/npm/node_modules/ip-address/dist/v6/helpers.js +0 -45
  1218. package/oidc/node_modules/npm/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
  1219. package/oidc/node_modules/npm/node_modules/ip-address/package.json +0 -78
  1220. package/oidc/node_modules/npm/node_modules/ip-regex/index.js +0 -36
  1221. package/oidc/node_modules/npm/node_modules/ip-regex/license +0 -9
  1222. package/oidc/node_modules/npm/node_modules/ip-regex/package.json +0 -47
  1223. package/oidc/node_modules/npm/node_modules/is-cidr/LICENSE +0 -22
  1224. package/oidc/node_modules/npm/node_modules/is-cidr/dist/index.js +0 -11
  1225. package/oidc/node_modules/npm/node_modules/is-cidr/package.json +0 -38
  1226. package/oidc/node_modules/npm/node_modules/is-fullwidth-code-point/index.js +0 -50
  1227. package/oidc/node_modules/npm/node_modules/is-fullwidth-code-point/license +0 -9
  1228. package/oidc/node_modules/npm/node_modules/is-fullwidth-code-point/package.json +0 -42
  1229. package/oidc/node_modules/npm/node_modules/isexe/dist/cjs/index.js +0 -46
  1230. package/oidc/node_modules/npm/node_modules/isexe/dist/cjs/options.js +0 -3
  1231. package/oidc/node_modules/npm/node_modules/isexe/dist/cjs/package.json +0 -3
  1232. package/oidc/node_modules/npm/node_modules/isexe/dist/cjs/posix.js +0 -67
  1233. package/oidc/node_modules/npm/node_modules/isexe/dist/cjs/win32.js +0 -62
  1234. package/oidc/node_modules/npm/node_modules/isexe/dist/mjs/index.js +0 -16
  1235. package/oidc/node_modules/npm/node_modules/isexe/dist/mjs/options.js +0 -2
  1236. package/oidc/node_modules/npm/node_modules/isexe/dist/mjs/package.json +0 -3
  1237. package/oidc/node_modules/npm/node_modules/isexe/dist/mjs/posix.js +0 -62
  1238. package/oidc/node_modules/npm/node_modules/isexe/dist/mjs/win32.js +0 -57
  1239. package/oidc/node_modules/npm/node_modules/isexe/package.json +0 -96
  1240. package/oidc/node_modules/npm/node_modules/jackspeak/LICENSE.md +0 -55
  1241. package/oidc/node_modules/npm/node_modules/jackspeak/dist/commonjs/index.js +0 -947
  1242. package/oidc/node_modules/npm/node_modules/jackspeak/dist/commonjs/package.json +0 -3
  1243. package/oidc/node_modules/npm/node_modules/jackspeak/dist/esm/index.js +0 -936
  1244. package/oidc/node_modules/npm/node_modules/jackspeak/dist/esm/package.json +0 -3
  1245. package/oidc/node_modules/npm/node_modules/jackspeak/package.json +0 -94
  1246. package/oidc/node_modules/npm/node_modules/json-parse-even-better-errors/LICENSE.md +0 -25
  1247. package/oidc/node_modules/npm/node_modules/json-parse-even-better-errors/lib/index.js +0 -137
  1248. package/oidc/node_modules/npm/node_modules/json-parse-even-better-errors/package.json +0 -50
  1249. package/oidc/node_modules/npm/node_modules/json-stringify-nice/LICENSE +0 -15
  1250. package/oidc/node_modules/npm/node_modules/json-stringify-nice/index.js +0 -38
  1251. package/oidc/node_modules/npm/node_modules/json-stringify-nice/package.json +0 -40
  1252. package/oidc/node_modules/npm/node_modules/jsonparse/LICENSE +0 -24
  1253. package/oidc/node_modules/npm/node_modules/jsonparse/bench.js +0 -26
  1254. package/oidc/node_modules/npm/node_modules/jsonparse/examples/twitterfeed.js +0 -30
  1255. package/oidc/node_modules/npm/node_modules/jsonparse/jsonparse.js +0 -413
  1256. package/oidc/node_modules/npm/node_modules/jsonparse/package.json +0 -22
  1257. package/oidc/node_modules/npm/node_modules/jsonparse/samplejson/basic.json +0 -167
  1258. package/oidc/node_modules/npm/node_modules/jsonparse/samplejson/basic2.json +0 -180
  1259. package/oidc/node_modules/npm/node_modules/jsonparse/test/big-token.js +0 -24
  1260. package/oidc/node_modules/npm/node_modules/jsonparse/test/boundary.js +0 -110
  1261. package/oidc/node_modules/npm/node_modules/jsonparse/test/offset.js +0 -67
  1262. package/oidc/node_modules/npm/node_modules/jsonparse/test/primitives.js +0 -57
  1263. package/oidc/node_modules/npm/node_modules/jsonparse/test/surrogate.js +0 -26
  1264. package/oidc/node_modules/npm/node_modules/jsonparse/test/unvalid.js +0 -15
  1265. package/oidc/node_modules/npm/node_modules/jsonparse/test/utf8.js +0 -38
  1266. package/oidc/node_modules/npm/node_modules/just-diff/LICENSE +0 -21
  1267. package/oidc/node_modules/npm/node_modules/just-diff/index.cjs +0 -230
  1268. package/oidc/node_modules/npm/node_modules/just-diff/index.mjs +0 -227
  1269. package/oidc/node_modules/npm/node_modules/just-diff/package.json +0 -33
  1270. package/oidc/node_modules/npm/node_modules/just-diff/rollup.config.js +0 -3
  1271. package/oidc/node_modules/npm/node_modules/just-diff-apply/LICENSE +0 -21
  1272. package/oidc/node_modules/npm/node_modules/just-diff-apply/index.cjs +0 -161
  1273. package/oidc/node_modules/npm/node_modules/just-diff-apply/index.mjs +0 -158
  1274. package/oidc/node_modules/npm/node_modules/just-diff-apply/package.json +0 -34
  1275. package/oidc/node_modules/npm/node_modules/just-diff-apply/rollup.config.js +0 -3
  1276. package/oidc/node_modules/npm/node_modules/libnpmaccess/LICENSE +0 -13
  1277. package/oidc/node_modules/npm/node_modules/libnpmaccess/README.md +0 -93
  1278. package/oidc/node_modules/npm/node_modules/libnpmaccess/lib/index.js +0 -140
  1279. package/oidc/node_modules/npm/node_modules/libnpmaccess/package.json +0 -53
  1280. package/oidc/node_modules/npm/node_modules/libnpmdiff/LICENSE +0 -15
  1281. package/oidc/node_modules/npm/node_modules/libnpmdiff/README.md +0 -103
  1282. package/oidc/node_modules/npm/node_modules/libnpmdiff/lib/format-diff.js +0 -118
  1283. package/oidc/node_modules/npm/node_modules/libnpmdiff/lib/index.js +0 -62
  1284. package/oidc/node_modules/npm/node_modules/libnpmdiff/lib/should-print-patch.js +0 -22
  1285. package/oidc/node_modules/npm/node_modules/libnpmdiff/lib/tarball.js +0 -38
  1286. package/oidc/node_modules/npm/node_modules/libnpmdiff/lib/untar.js +0 -96
  1287. package/oidc/node_modules/npm/node_modules/libnpmdiff/package.json +0 -70
  1288. package/oidc/node_modules/npm/node_modules/libnpmexec/LICENSE +0 -15
  1289. package/oidc/node_modules/npm/node_modules/libnpmexec/README.md +0 -47
  1290. package/oidc/node_modules/npm/node_modules/libnpmexec/lib/file-exists.js +0 -33
  1291. package/oidc/node_modules/npm/node_modules/libnpmexec/lib/get-bin-from-manifest.js +0 -22
  1292. package/oidc/node_modules/npm/node_modules/libnpmexec/lib/index.js +0 -310
  1293. package/oidc/node_modules/npm/node_modules/libnpmexec/lib/is-windows.js +0 -1
  1294. package/oidc/node_modules/npm/node_modules/libnpmexec/lib/no-tty.js +0 -1
  1295. package/oidc/node_modules/npm/node_modules/libnpmexec/lib/run-script.js +0 -73
  1296. package/oidc/node_modules/npm/node_modules/libnpmexec/lib/with-lock.js +0 -175
  1297. package/oidc/node_modules/npm/node_modules/libnpmexec/package.json +0 -81
  1298. package/oidc/node_modules/npm/node_modules/libnpmfund/LICENSE +0 -15
  1299. package/oidc/node_modules/npm/node_modules/libnpmfund/README.md +0 -131
  1300. package/oidc/node_modules/npm/node_modules/libnpmfund/lib/index.js +0 -210
  1301. package/oidc/node_modules/npm/node_modules/libnpmfund/package.json +0 -65
  1302. package/oidc/node_modules/npm/node_modules/libnpmorg/LICENSE +0 -13
  1303. package/oidc/node_modules/npm/node_modules/libnpmorg/README.md +0 -148
  1304. package/oidc/node_modules/npm/node_modules/libnpmorg/lib/index.js +0 -64
  1305. package/oidc/node_modules/npm/node_modules/libnpmorg/package.json +0 -62
  1306. package/oidc/node_modules/npm/node_modules/libnpmpack/LICENSE +0 -13
  1307. package/oidc/node_modules/npm/node_modules/libnpmpack/README.md +0 -55
  1308. package/oidc/node_modules/npm/node_modules/libnpmpack/lib/index.js +0 -62
  1309. package/oidc/node_modules/npm/node_modules/libnpmpack/package.json +0 -59
  1310. package/oidc/node_modules/npm/node_modules/libnpmpublish/LICENSE +0 -13
  1311. package/oidc/node_modules/npm/node_modules/libnpmpublish/README.md +0 -120
  1312. package/oidc/node_modules/npm/node_modules/libnpmpublish/lib/index.js +0 -4
  1313. package/oidc/node_modules/npm/node_modules/libnpmpublish/lib/provenance.js +0 -245
  1314. package/oidc/node_modules/npm/node_modules/libnpmpublish/lib/publish.js +0 -226
  1315. package/oidc/node_modules/npm/node_modules/libnpmpublish/lib/unpublish.js +0 -119
  1316. package/oidc/node_modules/npm/node_modules/libnpmpublish/package.json +0 -64
  1317. package/oidc/node_modules/npm/node_modules/libnpmsearch/LICENSE +0 -13
  1318. package/oidc/node_modules/npm/node_modules/libnpmsearch/README.md +0 -173
  1319. package/oidc/node_modules/npm/node_modules/libnpmsearch/lib/index.js +0 -71
  1320. package/oidc/node_modules/npm/node_modules/libnpmsearch/package.json +0 -58
  1321. package/oidc/node_modules/npm/node_modules/libnpmteam/LICENSE +0 -13
  1322. package/oidc/node_modules/npm/node_modules/libnpmteam/README.md +0 -172
  1323. package/oidc/node_modules/npm/node_modules/libnpmteam/lib/index.js +0 -92
  1324. package/oidc/node_modules/npm/node_modules/libnpmteam/package.json +0 -52
  1325. package/oidc/node_modules/npm/node_modules/libnpmversion/LICENSE +0 -15
  1326. package/oidc/node_modules/npm/node_modules/libnpmversion/README.md +0 -163
  1327. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/commit.js +0 -17
  1328. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/enforce-clean.js +0 -32
  1329. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/index.js +0 -38
  1330. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/read-json.js +0 -6
  1331. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/retrieve-tag.js +0 -13
  1332. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/tag.js +0 -30
  1333. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/version.js +0 -136
  1334. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/write-json.js +0 -15
  1335. package/oidc/node_modules/npm/node_modules/libnpmversion/package.json +0 -55
  1336. package/oidc/node_modules/npm/node_modules/lru-cache/LICENSE +0 -15
  1337. package/oidc/node_modules/npm/node_modules/lru-cache/dist/commonjs/index.js +0 -1568
  1338. package/oidc/node_modules/npm/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
  1339. package/oidc/node_modules/npm/node_modules/lru-cache/dist/commonjs/package.json +0 -3
  1340. package/oidc/node_modules/npm/node_modules/lru-cache/dist/esm/index.js +0 -1564
  1341. package/oidc/node_modules/npm/node_modules/lru-cache/dist/esm/index.min.js +0 -2
  1342. package/oidc/node_modules/npm/node_modules/lru-cache/dist/esm/package.json +0 -3
  1343. package/oidc/node_modules/npm/node_modules/lru-cache/package.json +0 -113
  1344. package/oidc/node_modules/npm/node_modules/make-fetch-happen/LICENSE +0 -16
  1345. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/cache/entry.js +0 -471
  1346. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/cache/errors.js +0 -11
  1347. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/cache/index.js +0 -49
  1348. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/cache/key.js +0 -17
  1349. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/cache/policy.js +0 -161
  1350. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/fetch.js +0 -118
  1351. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/index.js +0 -41
  1352. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/options.js +0 -59
  1353. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/pipeline.js +0 -41
  1354. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/remote.js +0 -132
  1355. package/oidc/node_modules/npm/node_modules/make-fetch-happen/package.json +0 -74
  1356. package/oidc/node_modules/npm/node_modules/minimatch/LICENSE +0 -15
  1357. package/oidc/node_modules/npm/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
  1358. package/oidc/node_modules/npm/node_modules/minimatch/dist/commonjs/ast.js +0 -592
  1359. package/oidc/node_modules/npm/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -152
  1360. package/oidc/node_modules/npm/node_modules/minimatch/dist/commonjs/escape.js +0 -22
  1361. package/oidc/node_modules/npm/node_modules/minimatch/dist/commonjs/index.js +0 -1014
  1362. package/oidc/node_modules/npm/node_modules/minimatch/dist/commonjs/package.json +0 -3
  1363. package/oidc/node_modules/npm/node_modules/minimatch/dist/commonjs/unescape.js +0 -24
  1364. package/oidc/node_modules/npm/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
  1365. package/oidc/node_modules/npm/node_modules/minimatch/dist/esm/ast.js +0 -588
  1366. package/oidc/node_modules/npm/node_modules/minimatch/dist/esm/brace-expressions.js +0 -148
  1367. package/oidc/node_modules/npm/node_modules/minimatch/dist/esm/escape.js +0 -18
  1368. package/oidc/node_modules/npm/node_modules/minimatch/dist/esm/index.js +0 -1001
  1369. package/oidc/node_modules/npm/node_modules/minimatch/dist/esm/package.json +0 -3
  1370. package/oidc/node_modules/npm/node_modules/minimatch/dist/esm/unescape.js +0 -20
  1371. package/oidc/node_modules/npm/node_modules/minimatch/package.json +0 -79
  1372. package/oidc/node_modules/npm/node_modules/minipass/LICENSE +0 -15
  1373. package/oidc/node_modules/npm/node_modules/minipass/dist/commonjs/index.js +0 -1028
  1374. package/oidc/node_modules/npm/node_modules/minipass/dist/commonjs/package.json +0 -3
  1375. package/oidc/node_modules/npm/node_modules/minipass/dist/esm/index.js +0 -1018
  1376. package/oidc/node_modules/npm/node_modules/minipass/dist/esm/package.json +0 -3
  1377. package/oidc/node_modules/npm/node_modules/minipass/package.json +0 -82
  1378. package/oidc/node_modules/npm/node_modules/minipass-collect/LICENSE +0 -15
  1379. package/oidc/node_modules/npm/node_modules/minipass-collect/index.js +0 -71
  1380. package/oidc/node_modules/npm/node_modules/minipass-collect/package.json +0 -30
  1381. package/oidc/node_modules/npm/node_modules/minipass-fetch/LICENSE +0 -28
  1382. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/abort-error.js +0 -17
  1383. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/blob.js +0 -97
  1384. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/body.js +0 -350
  1385. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/fetch-error.js +0 -32
  1386. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/headers.js +0 -267
  1387. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/index.js +0 -376
  1388. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/request.js +0 -282
  1389. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/response.js +0 -90
  1390. package/oidc/node_modules/npm/node_modules/minipass-fetch/package.json +0 -70
  1391. package/oidc/node_modules/npm/node_modules/minipass-flush/LICENSE +0 -15
  1392. package/oidc/node_modules/npm/node_modules/minipass-flush/index.js +0 -39
  1393. package/oidc/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/LICENSE +0 -15
  1394. package/oidc/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/index.js +0 -649
  1395. package/oidc/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/package.json +0 -56
  1396. package/oidc/node_modules/npm/node_modules/minipass-flush/package.json +0 -39
  1397. package/oidc/node_modules/npm/node_modules/minipass-pipeline/LICENSE +0 -15
  1398. package/oidc/node_modules/npm/node_modules/minipass-pipeline/index.js +0 -128
  1399. package/oidc/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/LICENSE +0 -15
  1400. package/oidc/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/index.js +0 -649
  1401. package/oidc/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/package.json +0 -56
  1402. package/oidc/node_modules/npm/node_modules/minipass-pipeline/package.json +0 -29
  1403. package/oidc/node_modules/npm/node_modules/minipass-sized/LICENSE +0 -15
  1404. package/oidc/node_modules/npm/node_modules/minipass-sized/index.js +0 -67
  1405. package/oidc/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/LICENSE +0 -15
  1406. package/oidc/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/index.js +0 -649
  1407. package/oidc/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/package.json +0 -56
  1408. package/oidc/node_modules/npm/node_modules/minipass-sized/package.json +0 -39
  1409. package/oidc/node_modules/npm/node_modules/minipass-sized/test/basic.js +0 -83
  1410. package/oidc/node_modules/npm/node_modules/minizlib/LICENSE +0 -26
  1411. package/oidc/node_modules/npm/node_modules/minizlib/dist/commonjs/constants.js +0 -123
  1412. package/oidc/node_modules/npm/node_modules/minizlib/dist/commonjs/index.js +0 -416
  1413. package/oidc/node_modules/npm/node_modules/minizlib/dist/commonjs/package.json +0 -3
  1414. package/oidc/node_modules/npm/node_modules/minizlib/dist/esm/constants.js +0 -117
  1415. package/oidc/node_modules/npm/node_modules/minizlib/dist/esm/index.js +0 -363
  1416. package/oidc/node_modules/npm/node_modules/minizlib/dist/esm/package.json +0 -3
  1417. package/oidc/node_modules/npm/node_modules/minizlib/package.json +0 -80
  1418. package/oidc/node_modules/npm/node_modules/ms/index.js +0 -162
  1419. package/oidc/node_modules/npm/node_modules/ms/license.md +0 -21
  1420. package/oidc/node_modules/npm/node_modules/ms/package.json +0 -38
  1421. package/oidc/node_modules/npm/node_modules/mute-stream/LICENSE +0 -15
  1422. package/oidc/node_modules/npm/node_modules/mute-stream/lib/index.js +0 -142
  1423. package/oidc/node_modules/npm/node_modules/mute-stream/package.json +0 -54
  1424. package/oidc/node_modules/npm/node_modules/negotiator/HISTORY.md +0 -114
  1425. package/oidc/node_modules/npm/node_modules/negotiator/LICENSE +0 -24
  1426. package/oidc/node_modules/npm/node_modules/negotiator/index.js +0 -83
  1427. package/oidc/node_modules/npm/node_modules/negotiator/lib/charset.js +0 -169
  1428. package/oidc/node_modules/npm/node_modules/negotiator/lib/encoding.js +0 -205
  1429. package/oidc/node_modules/npm/node_modules/negotiator/lib/language.js +0 -179
  1430. package/oidc/node_modules/npm/node_modules/negotiator/lib/mediaType.js +0 -294
  1431. package/oidc/node_modules/npm/node_modules/negotiator/package.json +0 -43
  1432. package/oidc/node_modules/npm/node_modules/node-gyp/.release-please-manifest.json +0 -3
  1433. package/oidc/node_modules/npm/node_modules/node-gyp/CHANGELOG.md +0 -1111
  1434. package/oidc/node_modules/npm/node_modules/node-gyp/CODE_OF_CONDUCT.md +0 -4
  1435. package/oidc/node_modules/npm/node_modules/node-gyp/CONTRIBUTING.md +0 -34
  1436. package/oidc/node_modules/npm/node_modules/node-gyp/LICENSE +0 -24
  1437. package/oidc/node_modules/npm/node_modules/node-gyp/README.md +0 -292
  1438. package/oidc/node_modules/npm/node_modules/node-gyp/SECURITY.md +0 -2
  1439. package/oidc/node_modules/npm/node_modules/node-gyp/addon.gypi +0 -204
  1440. package/oidc/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +0 -138
  1441. package/oidc/node_modules/npm/node_modules/node-gyp/eslint.config.js +0 -3
  1442. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/.release-please-manifest.json +0 -3
  1443. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/LICENSE +0 -28
  1444. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/data/ninja/build.ninja +0 -4
  1445. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  1446. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/docs/GypVsCMake.md +0 -116
  1447. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/docs/Hacking.md +0 -46
  1448. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/docs/InputFormatReference.md +0 -1083
  1449. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/docs/LanguageSpecification.md +0 -430
  1450. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/docs/README.md +0 -27
  1451. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/docs/Testing.md +0 -450
  1452. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/docs/UserDocumentation.md +0 -965
  1453. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/gyp +0 -8
  1454. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/gyp.bat +0 -5
  1455. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  1456. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  1457. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  1458. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1283
  1459. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1545
  1460. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  1461. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  1462. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  1463. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -574
  1464. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -707
  1465. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -725
  1466. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -186
  1467. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -170
  1468. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  1469. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  1470. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  1471. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  1472. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1169
  1473. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1316
  1474. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  1475. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  1476. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -461
  1477. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -88
  1478. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -55
  1479. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2755
  1480. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3970
  1481. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  1482. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2957
  1483. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -67
  1484. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1389
  1485. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  1486. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3097
  1487. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  1488. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -765
  1489. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1255
  1490. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  1491. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  1492. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -371
  1493. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1934
  1494. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  1495. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -301
  1496. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3180
  1497. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -64
  1498. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +0 -3
  1499. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +0 -177
  1500. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +0 -23
  1501. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  1502. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -107
  1503. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  1504. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  1505. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  1506. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  1507. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  1508. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -251
  1509. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -824
  1510. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  1511. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  1512. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  1513. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -553
  1514. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  1515. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  1516. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pyproject.toml +0 -114
  1517. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/release-please-config.json +0 -11
  1518. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/test_gyp.py +0 -260
  1519. package/oidc/node_modules/npm/node_modules/node-gyp/lib/Find-VisualStudio.cs +0 -250
  1520. package/oidc/node_modules/npm/node_modules/node-gyp/lib/build.js +0 -230
  1521. package/oidc/node_modules/npm/node_modules/node-gyp/lib/clean.js +0 -15
  1522. package/oidc/node_modules/npm/node_modules/node-gyp/lib/configure.js +0 -328
  1523. package/oidc/node_modules/npm/node_modules/node-gyp/lib/create-config-gypi.js +0 -153
  1524. package/oidc/node_modules/npm/node_modules/node-gyp/lib/download.js +0 -39
  1525. package/oidc/node_modules/npm/node_modules/node-gyp/lib/find-node-directory.js +0 -63
  1526. package/oidc/node_modules/npm/node_modules/node-gyp/lib/find-python.js +0 -310
  1527. package/oidc/node_modules/npm/node_modules/node-gyp/lib/find-visualstudio.js +0 -600
  1528. package/oidc/node_modules/npm/node_modules/node-gyp/lib/install.js +0 -411
  1529. package/oidc/node_modules/npm/node_modules/node-gyp/lib/list.js +0 -26
  1530. package/oidc/node_modules/npm/node_modules/node-gyp/lib/log.js +0 -168
  1531. package/oidc/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js +0 -199
  1532. package/oidc/node_modules/npm/node_modules/node-gyp/lib/process-release.js +0 -146
  1533. package/oidc/node_modules/npm/node_modules/node-gyp/lib/rebuild.js +0 -12
  1534. package/oidc/node_modules/npm/node_modules/node-gyp/lib/remove.js +0 -43
  1535. package/oidc/node_modules/npm/node_modules/node-gyp/lib/util.js +0 -81
  1536. package/oidc/node_modules/npm/node_modules/node-gyp/macOS_Catalina_acid_test.sh +0 -21
  1537. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/agents.js +0 -206
  1538. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/dns.js +0 -53
  1539. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/errors.js +0 -61
  1540. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/index.js +0 -56
  1541. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/options.js +0 -86
  1542. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/proxy.js +0 -88
  1543. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/package.json +0 -60
  1544. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/LICENSE.md +0 -16
  1545. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/content/path.js +0 -29
  1546. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/content/read.js +0 -165
  1547. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/content/rm.js +0 -18
  1548. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/content/write.js +0 -206
  1549. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/entry-index.js +0 -336
  1550. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/get.js +0 -170
  1551. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/index.js +0 -42
  1552. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/memoization.js +0 -72
  1553. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/put.js +0 -80
  1554. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/rm.js +0 -31
  1555. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/util/glob.js +0 -7
  1556. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/util/hash-to-segments.js +0 -7
  1557. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/util/tmp.js +0 -26
  1558. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/verify.js +0 -258
  1559. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/package.json +0 -83
  1560. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/LICENSE +0 -15
  1561. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/README.md +0 -1265
  1562. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.d.ts +0 -388
  1563. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  1564. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.js +0 -247
  1565. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  1566. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  1567. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  1568. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.js +0 -27
  1569. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  1570. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
  1571. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  1572. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.js +0 -119
  1573. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  1574. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.d.ts +0 -97
  1575. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  1576. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.js +0 -68
  1577. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.js.map +0 -1
  1578. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/package.json +0 -3
  1579. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/pattern.d.ts +0 -76
  1580. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  1581. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/pattern.js +0 -219
  1582. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  1583. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  1584. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  1585. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/processor.js +0 -301
  1586. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  1587. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
  1588. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  1589. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/walker.js +0 -387
  1590. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  1591. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/bin.d.mts +0 -3
  1592. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
  1593. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/bin.mjs +0 -270
  1594. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/bin.mjs.map +0 -1
  1595. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/glob.d.ts +0 -388
  1596. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  1597. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/glob.js +0 -243
  1598. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/glob.js.map +0 -1
  1599. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  1600. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  1601. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/has-magic.js +0 -23
  1602. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  1603. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/ignore.d.ts +0 -24
  1604. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  1605. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/ignore.js +0 -115
  1606. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/ignore.js.map +0 -1
  1607. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/index.d.ts +0 -97
  1608. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  1609. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/index.js +0 -55
  1610. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/index.js.map +0 -1
  1611. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/package.json +0 -3
  1612. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/pattern.d.ts +0 -76
  1613. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  1614. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/pattern.js +0 -215
  1615. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/pattern.js.map +0 -1
  1616. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/processor.d.ts +0 -59
  1617. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  1618. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/processor.js +0 -294
  1619. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/processor.js.map +0 -1
  1620. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/walker.d.ts +0 -97
  1621. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  1622. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/walker.js +0 -381
  1623. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/walker.js.map +0 -1
  1624. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/package.json +0 -99
  1625. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/LICENSE.md +0 -55
  1626. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/commonjs/index.js +0 -1010
  1627. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/commonjs/package.json +0 -3
  1628. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/commonjs/parse-args.js +0 -50
  1629. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/esm/index.js +0 -1000
  1630. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/esm/package.json +0 -3
  1631. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/esm/parse-args.js +0 -26
  1632. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/package.json +0 -95
  1633. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/LICENSE +0 -15
  1634. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/commonjs/index.js +0 -1546
  1635. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
  1636. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/commonjs/package.json +0 -3
  1637. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/esm/index.js +0 -1542
  1638. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/esm/index.min.js +0 -2
  1639. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/esm/package.json +0 -3
  1640. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/package.json +0 -116
  1641. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/LICENSE +0 -16
  1642. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/entry.js +0 -471
  1643. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/errors.js +0 -11
  1644. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/index.js +0 -49
  1645. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/key.js +0 -17
  1646. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/policy.js +0 -161
  1647. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/fetch.js +0 -118
  1648. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/index.js +0 -41
  1649. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/options.js +0 -59
  1650. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/pipeline.js +0 -41
  1651. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/remote.js +0 -132
  1652. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/package.json +0 -74
  1653. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/LICENSE +0 -15
  1654. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
  1655. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/ast.js +0 -592
  1656. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -152
  1657. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/escape.js +0 -22
  1658. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/index.js +0 -1017
  1659. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/package.json +0 -3
  1660. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/unescape.js +0 -24
  1661. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
  1662. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/ast.js +0 -588
  1663. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/brace-expressions.js +0 -148
  1664. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/escape.js +0 -18
  1665. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/index.js +0 -1001
  1666. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/package.json +0 -3
  1667. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/unescape.js +0 -20
  1668. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/package.json +0 -82
  1669. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/LICENSE.md +0 -55
  1670. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/dist/commonjs/index.js +0 -2014
  1671. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/dist/commonjs/package.json +0 -3
  1672. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/dist/esm/index.js +0 -1979
  1673. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/dist/esm/package.json +0 -3
  1674. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/package.json +0 -89
  1675. package/oidc/node_modules/npm/node_modules/node-gyp/package.json +0 -52
  1676. package/oidc/node_modules/npm/node_modules/node-gyp/release-please-config.json +0 -40
  1677. package/oidc/node_modules/npm/node_modules/node-gyp/src/win_delay_load_hook.cc +0 -41
  1678. package/oidc/node_modules/npm/node_modules/nopt/LICENSE +0 -15
  1679. package/oidc/node_modules/npm/node_modules/nopt/README.md +0 -214
  1680. package/oidc/node_modules/npm/node_modules/nopt/bin/nopt.js +0 -29
  1681. package/oidc/node_modules/npm/node_modules/nopt/lib/debug.js +0 -5
  1682. package/oidc/node_modules/npm/node_modules/nopt/lib/nopt-lib.js +0 -514
  1683. package/oidc/node_modules/npm/node_modules/nopt/lib/nopt.js +0 -34
  1684. package/oidc/node_modules/npm/node_modules/nopt/lib/type-defs.js +0 -91
  1685. package/oidc/node_modules/npm/node_modules/nopt/package.json +0 -52
  1686. package/oidc/node_modules/npm/node_modules/npm-audit-report/LICENSE +0 -16
  1687. package/oidc/node_modules/npm/node_modules/npm-audit-report/lib/colors.js +0 -22
  1688. package/oidc/node_modules/npm/node_modules/npm-audit-report/lib/exit-code.js +0 -14
  1689. package/oidc/node_modules/npm/node_modules/npm-audit-report/lib/index.js +0 -41
  1690. package/oidc/node_modules/npm/node_modules/npm-audit-report/lib/reporters/detail.js +0 -86
  1691. package/oidc/node_modules/npm/node_modules/npm-audit-report/lib/reporters/install.js +0 -75
  1692. package/oidc/node_modules/npm/node_modules/npm-audit-report/lib/reporters/json.js +0 -1
  1693. package/oidc/node_modules/npm/node_modules/npm-audit-report/lib/reporters/quiet.js +0 -1
  1694. package/oidc/node_modules/npm/node_modules/npm-audit-report/package.json +0 -62
  1695. package/oidc/node_modules/npm/node_modules/npm-bundled/LICENSE +0 -15
  1696. package/oidc/node_modules/npm/node_modules/npm-bundled/lib/index.js +0 -254
  1697. package/oidc/node_modules/npm/node_modules/npm-bundled/package.json +0 -49
  1698. package/oidc/node_modules/npm/node_modules/npm-install-checks/LICENSE +0 -27
  1699. package/oidc/node_modules/npm/node_modules/npm-install-checks/lib/current-env.js +0 -91
  1700. package/oidc/node_modules/npm/node_modules/npm-install-checks/lib/dev-engines.js +0 -145
  1701. package/oidc/node_modules/npm/node_modules/npm-install-checks/lib/index.js +0 -90
  1702. package/oidc/node_modules/npm/node_modules/npm-install-checks/package.json +0 -52
  1703. package/oidc/node_modules/npm/node_modules/npm-normalize-package-bin/LICENSE +0 -15
  1704. package/oidc/node_modules/npm/node_modules/npm-normalize-package-bin/lib/index.js +0 -64
  1705. package/oidc/node_modules/npm/node_modules/npm-normalize-package-bin/package.json +0 -45
  1706. package/oidc/node_modules/npm/node_modules/npm-package-arg/LICENSE +0 -15
  1707. package/oidc/node_modules/npm/node_modules/npm-package-arg/lib/npa.js +0 -481
  1708. package/oidc/node_modules/npm/node_modules/npm-package-arg/package.json +0 -61
  1709. package/oidc/node_modules/npm/node_modules/npm-packlist/LICENSE +0 -15
  1710. package/oidc/node_modules/npm/node_modules/npm-packlist/lib/index.js +0 -464
  1711. package/oidc/node_modules/npm/node_modules/npm-packlist/package.json +0 -62
  1712. package/oidc/node_modules/npm/node_modules/npm-pick-manifest/LICENSE.md +0 -16
  1713. package/oidc/node_modules/npm/node_modules/npm-pick-manifest/lib/index.js +0 -219
  1714. package/oidc/node_modules/npm/node_modules/npm-pick-manifest/package.json +0 -58
  1715. package/oidc/node_modules/npm/node_modules/npm-profile/LICENSE.md +0 -20
  1716. package/oidc/node_modules/npm/node_modules/npm-profile/lib/index.js +0 -278
  1717. package/oidc/node_modules/npm/node_modules/npm-profile/package.json +0 -52
  1718. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/LICENSE.md +0 -20
  1719. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/lib/auth.js +0 -181
  1720. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js +0 -108
  1721. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/lib/default-opts.js +0 -19
  1722. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/lib/errors.js +0 -80
  1723. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/lib/index.js +0 -247
  1724. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/lib/json-stream.js +0 -223
  1725. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/package.json +0 -68
  1726. package/oidc/node_modules/npm/node_modules/npm-user-validate/LICENSE +0 -27
  1727. package/oidc/node_modules/npm/node_modules/npm-user-validate/lib/index.js +0 -61
  1728. package/oidc/node_modules/npm/node_modules/npm-user-validate/package.json +0 -50
  1729. package/oidc/node_modules/npm/node_modules/p-map/index.js +0 -281
  1730. package/oidc/node_modules/npm/node_modules/p-map/license +0 -9
  1731. package/oidc/node_modules/npm/node_modules/p-map/package.json +0 -57
  1732. package/oidc/node_modules/npm/node_modules/package-json-from-dist/LICENSE.md +0 -63
  1733. package/oidc/node_modules/npm/node_modules/package-json-from-dist/dist/commonjs/index.js +0 -134
  1734. package/oidc/node_modules/npm/node_modules/package-json-from-dist/dist/commonjs/package.json +0 -3
  1735. package/oidc/node_modules/npm/node_modules/package-json-from-dist/dist/esm/index.js +0 -129
  1736. package/oidc/node_modules/npm/node_modules/package-json-from-dist/dist/esm/package.json +0 -3
  1737. package/oidc/node_modules/npm/node_modules/package-json-from-dist/package.json +0 -68
  1738. package/oidc/node_modules/npm/node_modules/pacote/LICENSE +0 -15
  1739. package/oidc/node_modules/npm/node_modules/pacote/README.md +0 -283
  1740. package/oidc/node_modules/npm/node_modules/pacote/bin/index.js +0 -158
  1741. package/oidc/node_modules/npm/node_modules/pacote/lib/dir.js +0 -105
  1742. package/oidc/node_modules/npm/node_modules/pacote/lib/fetcher.js +0 -497
  1743. package/oidc/node_modules/npm/node_modules/pacote/lib/file.js +0 -94
  1744. package/oidc/node_modules/npm/node_modules/pacote/lib/git.js +0 -317
  1745. package/oidc/node_modules/npm/node_modules/pacote/lib/index.js +0 -23
  1746. package/oidc/node_modules/npm/node_modules/pacote/lib/registry.js +0 -369
  1747. package/oidc/node_modules/npm/node_modules/pacote/lib/remote.js +0 -89
  1748. package/oidc/node_modules/npm/node_modules/pacote/lib/util/add-git-sha.js +0 -15
  1749. package/oidc/node_modules/npm/node_modules/pacote/lib/util/cache-dir.js +0 -15
  1750. package/oidc/node_modules/npm/node_modules/pacote/lib/util/is-package-bin.js +0 -25
  1751. package/oidc/node_modules/npm/node_modules/pacote/lib/util/npm.js +0 -14
  1752. package/oidc/node_modules/npm/node_modules/pacote/lib/util/protected.js +0 -5
  1753. package/oidc/node_modules/npm/node_modules/pacote/lib/util/tar-create-options.js +0 -31
  1754. package/oidc/node_modules/npm/node_modules/pacote/lib/util/trailing-slashes.js +0 -10
  1755. package/oidc/node_modules/npm/node_modules/pacote/package.json +0 -80
  1756. package/oidc/node_modules/npm/node_modules/parse-conflict-json/LICENSE.md +0 -20
  1757. package/oidc/node_modules/npm/node_modules/parse-conflict-json/lib/index.js +0 -104
  1758. package/oidc/node_modules/npm/node_modules/parse-conflict-json/package.json +0 -51
  1759. package/oidc/node_modules/npm/node_modules/path-key/index.js +0 -16
  1760. package/oidc/node_modules/npm/node_modules/path-key/license +0 -9
  1761. package/oidc/node_modules/npm/node_modules/path-key/package.json +0 -39
  1762. package/oidc/node_modules/npm/node_modules/path-scurry/LICENSE.md +0 -55
  1763. package/oidc/node_modules/npm/node_modules/path-scurry/dist/commonjs/index.js +0 -2016
  1764. package/oidc/node_modules/npm/node_modules/path-scurry/dist/commonjs/package.json +0 -3
  1765. package/oidc/node_modules/npm/node_modules/path-scurry/dist/esm/index.js +0 -1981
  1766. package/oidc/node_modules/npm/node_modules/path-scurry/dist/esm/package.json +0 -3
  1767. package/oidc/node_modules/npm/node_modules/path-scurry/package.json +0 -88
  1768. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/API.md +0 -874
  1769. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/LICENSE-MIT +0 -22
  1770. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/index.js +0 -17
  1771. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/parser.js +0 -1015
  1772. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/processor.js +0 -170
  1773. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/attribute.js +0 -448
  1774. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/className.js +0 -50
  1775. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/combinator.js +0 -21
  1776. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/comment.js +0 -21
  1777. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/constructors.js +0 -65
  1778. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/container.js +0 -321
  1779. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/guards.js +0 -58
  1780. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/id.js +0 -25
  1781. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/index.js +0 -21
  1782. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/namespace.js +0 -80
  1783. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/nesting.js +0 -22
  1784. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/node.js +0 -192
  1785. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/pseudo.js +0 -26
  1786. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/root.js +0 -44
  1787. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/selector.js +0 -21
  1788. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/string.js +0 -21
  1789. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/tag.js +0 -21
  1790. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/types.js +0 -28
  1791. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/universal.js +0 -22
  1792. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/sortAscending.js +0 -11
  1793. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/tokenTypes.js +0 -70
  1794. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/tokenize.js +0 -239
  1795. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/util/ensureObject.js +0 -17
  1796. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/util/getProp.js +0 -18
  1797. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/util/index.js +0 -13
  1798. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/util/stripComments.js +0 -21
  1799. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/util/unesc.js +0 -76
  1800. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/package.json +0 -80
  1801. package/oidc/node_modules/npm/node_modules/proc-log/LICENSE +0 -15
  1802. package/oidc/node_modules/npm/node_modules/proc-log/lib/index.js +0 -153
  1803. package/oidc/node_modules/npm/node_modules/proc-log/package.json +0 -46
  1804. package/oidc/node_modules/npm/node_modules/proggy/LICENSE +0 -15
  1805. package/oidc/node_modules/npm/node_modules/proggy/lib/client.js +0 -114
  1806. package/oidc/node_modules/npm/node_modules/proggy/lib/index.js +0 -15
  1807. package/oidc/node_modules/npm/node_modules/proggy/lib/tracker.js +0 -68
  1808. package/oidc/node_modules/npm/node_modules/proggy/package.json +0 -50
  1809. package/oidc/node_modules/npm/node_modules/promise-all-reject-late/LICENSE +0 -15
  1810. package/oidc/node_modules/npm/node_modules/promise-all-reject-late/index.js +0 -27
  1811. package/oidc/node_modules/npm/node_modules/promise-all-reject-late/package.json +0 -22
  1812. package/oidc/node_modules/npm/node_modules/promise-all-reject-late/test/index.js +0 -88
  1813. package/oidc/node_modules/npm/node_modules/promise-call-limit/LICENSE +0 -15
  1814. package/oidc/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js +0 -87
  1815. package/oidc/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/package.json +0 -3
  1816. package/oidc/node_modules/npm/node_modules/promise-call-limit/dist/esm/index.js +0 -60
  1817. package/oidc/node_modules/npm/node_modules/promise-call-limit/dist/esm/package.json +0 -3
  1818. package/oidc/node_modules/npm/node_modules/promise-call-limit/package.json +0 -68
  1819. package/oidc/node_modules/npm/node_modules/promise-retry/LICENSE +0 -19
  1820. package/oidc/node_modules/npm/node_modules/promise-retry/index.js +0 -52
  1821. package/oidc/node_modules/npm/node_modules/promise-retry/package.json +0 -37
  1822. package/oidc/node_modules/npm/node_modules/promise-retry/test/test.js +0 -263
  1823. package/oidc/node_modules/npm/node_modules/promzard/LICENSE +0 -15
  1824. package/oidc/node_modules/npm/node_modules/promzard/lib/index.js +0 -176
  1825. package/oidc/node_modules/npm/node_modules/promzard/package.json +0 -50
  1826. package/oidc/node_modules/npm/node_modules/qrcode-terminal/.travis.yml +0 -3
  1827. package/oidc/node_modules/npm/node_modules/qrcode-terminal/LICENSE +0 -222
  1828. package/oidc/node_modules/npm/node_modules/qrcode-terminal/README.md +0 -82
  1829. package/oidc/node_modules/npm/node_modules/qrcode-terminal/bin/qrcode-terminal.js +0 -101
  1830. package/oidc/node_modules/npm/node_modules/qrcode-terminal/example/basic.js +0 -2
  1831. package/oidc/node_modules/npm/node_modules/qrcode-terminal/example/basic.png +0 -0
  1832. package/oidc/node_modules/npm/node_modules/qrcode-terminal/example/callback.js +0 -4
  1833. package/oidc/node_modules/npm/node_modules/qrcode-terminal/example/small-qrcode.js +0 -6
  1834. package/oidc/node_modules/npm/node_modules/qrcode-terminal/lib/main.js +0 -100
  1835. package/oidc/node_modules/npm/node_modules/qrcode-terminal/package.json +0 -37
  1836. package/oidc/node_modules/npm/node_modules/qrcode-terminal/test/main.js +0 -63
  1837. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QR8bitByte.js +0 -22
  1838. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRBitBuffer.js +0 -38
  1839. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel.js +0 -7
  1840. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMaskPattern.js +0 -10
  1841. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMath.js +0 -44
  1842. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMode.js +0 -6
  1843. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRPolynomial.js +0 -66
  1844. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRRSBlock.js +0 -298
  1845. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRUtil.js +0 -272
  1846. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/index.js +0 -462
  1847. package/oidc/node_modules/npm/node_modules/read/LICENSE +0 -15
  1848. package/oidc/node_modules/npm/node_modules/read/dist/commonjs/package.json +0 -3
  1849. package/oidc/node_modules/npm/node_modules/read/dist/commonjs/read.js +0 -94
  1850. package/oidc/node_modules/npm/node_modules/read/dist/esm/package.json +0 -3
  1851. package/oidc/node_modules/npm/node_modules/read/dist/esm/read.js +0 -88
  1852. package/oidc/node_modules/npm/node_modules/read/package.json +0 -88
  1853. package/oidc/node_modules/npm/node_modules/read-cmd-shim/LICENSE +0 -14
  1854. package/oidc/node_modules/npm/node_modules/read-cmd-shim/lib/index.js +0 -75
  1855. package/oidc/node_modules/npm/node_modules/read-cmd-shim/package.json +0 -48
  1856. package/oidc/node_modules/npm/node_modules/retry/License +0 -21
  1857. package/oidc/node_modules/npm/node_modules/retry/Makefile +0 -18
  1858. package/oidc/node_modules/npm/node_modules/retry/equation.gif +0 -0
  1859. package/oidc/node_modules/npm/node_modules/retry/example/dns.js +0 -31
  1860. package/oidc/node_modules/npm/node_modules/retry/example/stop.js +0 -40
  1861. package/oidc/node_modules/npm/node_modules/retry/index.js +0 -1
  1862. package/oidc/node_modules/npm/node_modules/retry/lib/retry.js +0 -100
  1863. package/oidc/node_modules/npm/node_modules/retry/lib/retry_operation.js +0 -158
  1864. package/oidc/node_modules/npm/node_modules/retry/package.json +0 -32
  1865. package/oidc/node_modules/npm/node_modules/retry/test/common.js +0 -10
  1866. package/oidc/node_modules/npm/node_modules/retry/test/integration/test-forever.js +0 -24
  1867. package/oidc/node_modules/npm/node_modules/retry/test/integration/test-retry-operation.js +0 -258
  1868. package/oidc/node_modules/npm/node_modules/retry/test/integration/test-retry-wrap.js +0 -101
  1869. package/oidc/node_modules/npm/node_modules/retry/test/integration/test-timeouts.js +0 -69
  1870. package/oidc/node_modules/npm/node_modules/safer-buffer/LICENSE +0 -21
  1871. package/oidc/node_modules/npm/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  1872. package/oidc/node_modules/npm/node_modules/safer-buffer/dangerous.js +0 -58
  1873. package/oidc/node_modules/npm/node_modules/safer-buffer/package.json +0 -34
  1874. package/oidc/node_modules/npm/node_modules/safer-buffer/safer.js +0 -77
  1875. package/oidc/node_modules/npm/node_modules/safer-buffer/tests.js +0 -406
  1876. package/oidc/node_modules/npm/node_modules/semver/LICENSE +0 -15
  1877. package/oidc/node_modules/npm/node_modules/semver/README.md +0 -664
  1878. package/oidc/node_modules/npm/node_modules/semver/bin/semver.js +0 -191
  1879. package/oidc/node_modules/npm/node_modules/semver/classes/comparator.js +0 -143
  1880. package/oidc/node_modules/npm/node_modules/semver/classes/index.js +0 -7
  1881. package/oidc/node_modules/npm/node_modules/semver/classes/range.js +0 -557
  1882. package/oidc/node_modules/npm/node_modules/semver/classes/semver.js +0 -333
  1883. package/oidc/node_modules/npm/node_modules/semver/functions/clean.js +0 -8
  1884. package/oidc/node_modules/npm/node_modules/semver/functions/cmp.js +0 -54
  1885. package/oidc/node_modules/npm/node_modules/semver/functions/coerce.js +0 -62
  1886. package/oidc/node_modules/npm/node_modules/semver/functions/compare-build.js +0 -9
  1887. package/oidc/node_modules/npm/node_modules/semver/functions/compare-loose.js +0 -5
  1888. package/oidc/node_modules/npm/node_modules/semver/functions/compare.js +0 -7
  1889. package/oidc/node_modules/npm/node_modules/semver/functions/diff.js +0 -60
  1890. package/oidc/node_modules/npm/node_modules/semver/functions/eq.js +0 -5
  1891. package/oidc/node_modules/npm/node_modules/semver/functions/gt.js +0 -5
  1892. package/oidc/node_modules/npm/node_modules/semver/functions/gte.js +0 -5
  1893. package/oidc/node_modules/npm/node_modules/semver/functions/inc.js +0 -21
  1894. package/oidc/node_modules/npm/node_modules/semver/functions/lt.js +0 -5
  1895. package/oidc/node_modules/npm/node_modules/semver/functions/lte.js +0 -5
  1896. package/oidc/node_modules/npm/node_modules/semver/functions/major.js +0 -5
  1897. package/oidc/node_modules/npm/node_modules/semver/functions/minor.js +0 -5
  1898. package/oidc/node_modules/npm/node_modules/semver/functions/neq.js +0 -5
  1899. package/oidc/node_modules/npm/node_modules/semver/functions/parse.js +0 -18
  1900. package/oidc/node_modules/npm/node_modules/semver/functions/patch.js +0 -5
  1901. package/oidc/node_modules/npm/node_modules/semver/functions/prerelease.js +0 -8
  1902. package/oidc/node_modules/npm/node_modules/semver/functions/rcompare.js +0 -5
  1903. package/oidc/node_modules/npm/node_modules/semver/functions/rsort.js +0 -5
  1904. package/oidc/node_modules/npm/node_modules/semver/functions/satisfies.js +0 -12
  1905. package/oidc/node_modules/npm/node_modules/semver/functions/sort.js +0 -5
  1906. package/oidc/node_modules/npm/node_modules/semver/functions/valid.js +0 -8
  1907. package/oidc/node_modules/npm/node_modules/semver/index.js +0 -91
  1908. package/oidc/node_modules/npm/node_modules/semver/internal/constants.js +0 -37
  1909. package/oidc/node_modules/npm/node_modules/semver/internal/debug.js +0 -11
  1910. package/oidc/node_modules/npm/node_modules/semver/internal/identifiers.js +0 -29
  1911. package/oidc/node_modules/npm/node_modules/semver/internal/lrucache.js +0 -42
  1912. package/oidc/node_modules/npm/node_modules/semver/internal/parse-options.js +0 -17
  1913. package/oidc/node_modules/npm/node_modules/semver/internal/re.js +0 -223
  1914. package/oidc/node_modules/npm/node_modules/semver/package.json +0 -78
  1915. package/oidc/node_modules/npm/node_modules/semver/preload.js +0 -4
  1916. package/oidc/node_modules/npm/node_modules/semver/range.bnf +0 -16
  1917. package/oidc/node_modules/npm/node_modules/semver/ranges/gtr.js +0 -6
  1918. package/oidc/node_modules/npm/node_modules/semver/ranges/intersects.js +0 -9
  1919. package/oidc/node_modules/npm/node_modules/semver/ranges/ltr.js +0 -6
  1920. package/oidc/node_modules/npm/node_modules/semver/ranges/max-satisfying.js +0 -27
  1921. package/oidc/node_modules/npm/node_modules/semver/ranges/min-satisfying.js +0 -26
  1922. package/oidc/node_modules/npm/node_modules/semver/ranges/min-version.js +0 -63
  1923. package/oidc/node_modules/npm/node_modules/semver/ranges/outside.js +0 -82
  1924. package/oidc/node_modules/npm/node_modules/semver/ranges/simplify.js +0 -49
  1925. package/oidc/node_modules/npm/node_modules/semver/ranges/subset.js +0 -249
  1926. package/oidc/node_modules/npm/node_modules/semver/ranges/to-comparators.js +0 -10
  1927. package/oidc/node_modules/npm/node_modules/semver/ranges/valid.js +0 -13
  1928. package/oidc/node_modules/npm/node_modules/shebang-command/index.js +0 -19
  1929. package/oidc/node_modules/npm/node_modules/shebang-command/license +0 -9
  1930. package/oidc/node_modules/npm/node_modules/shebang-command/package.json +0 -34
  1931. package/oidc/node_modules/npm/node_modules/shebang-regex/index.js +0 -2
  1932. package/oidc/node_modules/npm/node_modules/shebang-regex/license +0 -9
  1933. package/oidc/node_modules/npm/node_modules/shebang-regex/package.json +0 -35
  1934. package/oidc/node_modules/npm/node_modules/signal-exit/LICENSE.txt +0 -16
  1935. package/oidc/node_modules/npm/node_modules/signal-exit/dist/cjs/browser.js +0 -10
  1936. package/oidc/node_modules/npm/node_modules/signal-exit/dist/cjs/index.js +0 -279
  1937. package/oidc/node_modules/npm/node_modules/signal-exit/dist/cjs/package.json +0 -3
  1938. package/oidc/node_modules/npm/node_modules/signal-exit/dist/cjs/signals.js +0 -42
  1939. package/oidc/node_modules/npm/node_modules/signal-exit/dist/mjs/browser.js +0 -4
  1940. package/oidc/node_modules/npm/node_modules/signal-exit/dist/mjs/index.js +0 -275
  1941. package/oidc/node_modules/npm/node_modules/signal-exit/dist/mjs/package.json +0 -3
  1942. package/oidc/node_modules/npm/node_modules/signal-exit/dist/mjs/signals.js +0 -39
  1943. package/oidc/node_modules/npm/node_modules/signal-exit/package.json +0 -106
  1944. package/oidc/node_modules/npm/node_modules/sigstore/LICENSE +0 -202
  1945. package/oidc/node_modules/npm/node_modules/sigstore/dist/config.js +0 -120
  1946. package/oidc/node_modules/npm/node_modules/sigstore/dist/index.js +0 -34
  1947. package/oidc/node_modules/npm/node_modules/sigstore/dist/sigstore.js +0 -112
  1948. package/oidc/node_modules/npm/node_modules/sigstore/package.json +0 -47
  1949. package/oidc/node_modules/npm/node_modules/smart-buffer/LICENSE +0 -20
  1950. package/oidc/node_modules/npm/node_modules/smart-buffer/build/smartbuffer.js +0 -1233
  1951. package/oidc/node_modules/npm/node_modules/smart-buffer/build/utils.js +0 -108
  1952. package/oidc/node_modules/npm/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
  1953. package/oidc/node_modules/npm/node_modules/smart-buffer/package.json +0 -79
  1954. package/oidc/node_modules/npm/node_modules/socks/LICENSE +0 -20
  1955. package/oidc/node_modules/npm/node_modules/socks/build/client/socksclient.js +0 -793
  1956. package/oidc/node_modules/npm/node_modules/socks/build/common/constants.js +0 -108
  1957. package/oidc/node_modules/npm/node_modules/socks/build/common/helpers.js +0 -167
  1958. package/oidc/node_modules/npm/node_modules/socks/build/common/receivebuffer.js +0 -43
  1959. package/oidc/node_modules/npm/node_modules/socks/build/common/util.js +0 -25
  1960. package/oidc/node_modules/npm/node_modules/socks/build/index.js +0 -18
  1961. package/oidc/node_modules/npm/node_modules/socks/docs/examples/index.md +0 -17
  1962. package/oidc/node_modules/npm/node_modules/socks/docs/examples/javascript/associateExample.md +0 -90
  1963. package/oidc/node_modules/npm/node_modules/socks/docs/examples/javascript/bindExample.md +0 -83
  1964. package/oidc/node_modules/npm/node_modules/socks/docs/examples/javascript/connectExample.md +0 -258
  1965. package/oidc/node_modules/npm/node_modules/socks/docs/examples/typescript/associateExample.md +0 -93
  1966. package/oidc/node_modules/npm/node_modules/socks/docs/examples/typescript/bindExample.md +0 -86
  1967. package/oidc/node_modules/npm/node_modules/socks/docs/examples/typescript/connectExample.md +0 -265
  1968. package/oidc/node_modules/npm/node_modules/socks/docs/index.md +0 -5
  1969. package/oidc/node_modules/npm/node_modules/socks/docs/migratingFromV1.md +0 -86
  1970. package/oidc/node_modules/npm/node_modules/socks/package.json +0 -58
  1971. package/oidc/node_modules/npm/node_modules/socks-proxy-agent/LICENSE +0 -22
  1972. package/oidc/node_modules/npm/node_modules/socks-proxy-agent/dist/index.js +0 -195
  1973. package/oidc/node_modules/npm/node_modules/socks-proxy-agent/package.json +0 -142
  1974. package/oidc/node_modules/npm/node_modules/spdx-correct/LICENSE +0 -202
  1975. package/oidc/node_modules/npm/node_modules/spdx-correct/index.js +0 -386
  1976. package/oidc/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/AUTHORS +0 -4
  1977. package/oidc/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/LICENSE +0 -22
  1978. package/oidc/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/index.js +0 -8
  1979. package/oidc/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/package.json +0 -39
  1980. package/oidc/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/parse.js +0 -138
  1981. package/oidc/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/scan.js +0 -131
  1982. package/oidc/node_modules/npm/node_modules/spdx-correct/package.json +0 -32
  1983. package/oidc/node_modules/npm/node_modules/spdx-exceptions/deprecated.json +0 -3
  1984. package/oidc/node_modules/npm/node_modules/spdx-exceptions/index.json +0 -68
  1985. package/oidc/node_modules/npm/node_modules/spdx-exceptions/package.json +0 -19
  1986. package/oidc/node_modules/npm/node_modules/spdx-expression-parse/AUTHORS +0 -4
  1987. package/oidc/node_modules/npm/node_modules/spdx-expression-parse/LICENSE +0 -22
  1988. package/oidc/node_modules/npm/node_modules/spdx-expression-parse/index.js +0 -8
  1989. package/oidc/node_modules/npm/node_modules/spdx-expression-parse/package.json +0 -39
  1990. package/oidc/node_modules/npm/node_modules/spdx-expression-parse/parse.js +0 -138
  1991. package/oidc/node_modules/npm/node_modules/spdx-expression-parse/scan.js +0 -131
  1992. package/oidc/node_modules/npm/node_modules/spdx-license-ids/deprecated.json +0 -28
  1993. package/oidc/node_modules/npm/node_modules/spdx-license-ids/index.json +0 -669
  1994. package/oidc/node_modules/npm/node_modules/spdx-license-ids/package.json +0 -29
  1995. package/oidc/node_modules/npm/node_modules/ssri/LICENSE.md +0 -16
  1996. package/oidc/node_modules/npm/node_modules/ssri/lib/index.js +0 -580
  1997. package/oidc/node_modules/npm/node_modules/ssri/package.json +0 -66
  1998. package/oidc/node_modules/npm/node_modules/string-width/index.js +0 -47
  1999. package/oidc/node_modules/npm/node_modules/string-width/license +0 -9
  2000. package/oidc/node_modules/npm/node_modules/string-width/package.json +0 -56
  2001. package/oidc/node_modules/npm/node_modules/string-width-cjs/index.js +0 -47
  2002. package/oidc/node_modules/npm/node_modules/string-width-cjs/license +0 -9
  2003. package/oidc/node_modules/npm/node_modules/string-width-cjs/package.json +0 -56
  2004. package/oidc/node_modules/npm/node_modules/strip-ansi/index.js +0 -4
  2005. package/oidc/node_modules/npm/node_modules/strip-ansi/license +0 -9
  2006. package/oidc/node_modules/npm/node_modules/strip-ansi/package.json +0 -54
  2007. package/oidc/node_modules/npm/node_modules/strip-ansi-cjs/index.js +0 -4
  2008. package/oidc/node_modules/npm/node_modules/strip-ansi-cjs/license +0 -9
  2009. package/oidc/node_modules/npm/node_modules/strip-ansi-cjs/package.json +0 -54
  2010. package/oidc/node_modules/npm/node_modules/supports-color/browser.js +0 -35
  2011. package/oidc/node_modules/npm/node_modules/supports-color/index.js +0 -202
  2012. package/oidc/node_modules/npm/node_modules/supports-color/license +0 -9
  2013. package/oidc/node_modules/npm/node_modules/supports-color/package.json +0 -64
  2014. package/oidc/node_modules/npm/node_modules/tar/LICENSE +0 -15
  2015. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/create.js +0 -83
  2016. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/cwd-error.js +0 -18
  2017. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/extract.js +0 -78
  2018. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/get-write-flag.js +0 -29
  2019. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/header.js +0 -306
  2020. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/index.js +0 -54
  2021. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/large-numbers.js +0 -99
  2022. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/list.js +0 -138
  2023. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/make-command.js +0 -61
  2024. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/mkdir.js +0 -188
  2025. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/mode-fix.js +0 -29
  2026. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/normalize-unicode.js +0 -34
  2027. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/normalize-windows-path.js +0 -12
  2028. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/options.js +0 -66
  2029. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/pack.js +0 -491
  2030. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/package.json +0 -3
  2031. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/parse.js +0 -622
  2032. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/path-reservations.js +0 -170
  2033. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/pax.js +0 -158
  2034. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/read-entry.js +0 -140
  2035. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/replace.js +0 -232
  2036. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/strip-absolute-path.js +0 -29
  2037. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +0 -18
  2038. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/symlink-error.js +0 -19
  2039. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/types.js +0 -50
  2040. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/unpack.js +0 -871
  2041. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/update.js +0 -33
  2042. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/warn-method.js +0 -31
  2043. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/winchars.js +0 -14
  2044. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/write-entry.js +0 -689
  2045. package/oidc/node_modules/npm/node_modules/tar/dist/esm/create.js +0 -77
  2046. package/oidc/node_modules/npm/node_modules/tar/dist/esm/cwd-error.js +0 -14
  2047. package/oidc/node_modules/npm/node_modules/tar/dist/esm/extract.js +0 -49
  2048. package/oidc/node_modules/npm/node_modules/tar/dist/esm/get-write-flag.js +0 -23
  2049. package/oidc/node_modules/npm/node_modules/tar/dist/esm/header.js +0 -279
  2050. package/oidc/node_modules/npm/node_modules/tar/dist/esm/index.js +0 -20
  2051. package/oidc/node_modules/npm/node_modules/tar/dist/esm/large-numbers.js +0 -94
  2052. package/oidc/node_modules/npm/node_modules/tar/dist/esm/list.js +0 -108
  2053. package/oidc/node_modules/npm/node_modules/tar/dist/esm/make-command.js +0 -57
  2054. package/oidc/node_modules/npm/node_modules/tar/dist/esm/mkdir.js +0 -180
  2055. package/oidc/node_modules/npm/node_modules/tar/dist/esm/mode-fix.js +0 -25
  2056. package/oidc/node_modules/npm/node_modules/tar/dist/esm/normalize-unicode.js +0 -30
  2057. package/oidc/node_modules/npm/node_modules/tar/dist/esm/normalize-windows-path.js +0 -9
  2058. package/oidc/node_modules/npm/node_modules/tar/dist/esm/options.js +0 -54
  2059. package/oidc/node_modules/npm/node_modules/tar/dist/esm/pack.js +0 -459
  2060. package/oidc/node_modules/npm/node_modules/tar/dist/esm/package.json +0 -3
  2061. package/oidc/node_modules/npm/node_modules/tar/dist/esm/parse.js +0 -618
  2062. package/oidc/node_modules/npm/node_modules/tar/dist/esm/path-reservations.js +0 -166
  2063. package/oidc/node_modules/npm/node_modules/tar/dist/esm/pax.js +0 -154
  2064. package/oidc/node_modules/npm/node_modules/tar/dist/esm/read-entry.js +0 -136
  2065. package/oidc/node_modules/npm/node_modules/tar/dist/esm/replace.js +0 -226
  2066. package/oidc/node_modules/npm/node_modules/tar/dist/esm/strip-absolute-path.js +0 -25
  2067. package/oidc/node_modules/npm/node_modules/tar/dist/esm/strip-trailing-slashes.js +0 -14
  2068. package/oidc/node_modules/npm/node_modules/tar/dist/esm/symlink-error.js +0 -15
  2069. package/oidc/node_modules/npm/node_modules/tar/dist/esm/types.js +0 -45
  2070. package/oidc/node_modules/npm/node_modules/tar/dist/esm/unpack.js +0 -840
  2071. package/oidc/node_modules/npm/node_modules/tar/dist/esm/update.js +0 -30
  2072. package/oidc/node_modules/npm/node_modules/tar/dist/esm/warn-method.js +0 -27
  2073. package/oidc/node_modules/npm/node_modules/tar/dist/esm/winchars.js +0 -9
  2074. package/oidc/node_modules/npm/node_modules/tar/dist/esm/write-entry.js +0 -657
  2075. package/oidc/node_modules/npm/node_modules/tar/node_modules/yallist/LICENSE.md +0 -63
  2076. package/oidc/node_modules/npm/node_modules/tar/node_modules/yallist/dist/commonjs/index.js +0 -384
  2077. package/oidc/node_modules/npm/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +0 -3
  2078. package/oidc/node_modules/npm/node_modules/tar/node_modules/yallist/dist/esm/index.js +0 -379
  2079. package/oidc/node_modules/npm/node_modules/tar/node_modules/yallist/dist/esm/package.json +0 -3
  2080. package/oidc/node_modules/npm/node_modules/tar/node_modules/yallist/package.json +0 -68
  2081. package/oidc/node_modules/npm/node_modules/tar/package.json +0 -326
  2082. package/oidc/node_modules/npm/node_modules/text-table/LICENSE +0 -18
  2083. package/oidc/node_modules/npm/node_modules/text-table/example/align.js +0 -8
  2084. package/oidc/node_modules/npm/node_modules/text-table/example/center.js +0 -8
  2085. package/oidc/node_modules/npm/node_modules/text-table/example/dotalign.js +0 -9
  2086. package/oidc/node_modules/npm/node_modules/text-table/example/doubledot.js +0 -11
  2087. package/oidc/node_modules/npm/node_modules/text-table/example/table.js +0 -6
  2088. package/oidc/node_modules/npm/node_modules/text-table/index.js +0 -86
  2089. package/oidc/node_modules/npm/node_modules/text-table/package.json +0 -44
  2090. package/oidc/node_modules/npm/node_modules/text-table/test/align.js +0 -18
  2091. package/oidc/node_modules/npm/node_modules/text-table/test/ansi-colors.js +0 -32
  2092. package/oidc/node_modules/npm/node_modules/text-table/test/center.js +0 -18
  2093. package/oidc/node_modules/npm/node_modules/text-table/test/dotalign.js +0 -20
  2094. package/oidc/node_modules/npm/node_modules/text-table/test/doubledot.js +0 -24
  2095. package/oidc/node_modules/npm/node_modules/text-table/test/table.js +0 -14
  2096. package/oidc/node_modules/npm/node_modules/tiny-relative-date/LICENSE.md +0 -21
  2097. package/oidc/node_modules/npm/node_modules/tiny-relative-date/lib/factory.js +0 -100
  2098. package/oidc/node_modules/npm/node_modules/tiny-relative-date/lib/index.js +0 -18
  2099. package/oidc/node_modules/npm/node_modules/tiny-relative-date/package.json +0 -39
  2100. package/oidc/node_modules/npm/node_modules/tiny-relative-date/src/factory.js +0 -112
  2101. package/oidc/node_modules/npm/node_modules/tiny-relative-date/src/index.js +0 -4
  2102. package/oidc/node_modules/npm/node_modules/tiny-relative-date/translations/da.js +0 -31
  2103. package/oidc/node_modules/npm/node_modules/tiny-relative-date/translations/de.js +0 -31
  2104. package/oidc/node_modules/npm/node_modules/tiny-relative-date/translations/en-short.js +0 -31
  2105. package/oidc/node_modules/npm/node_modules/tiny-relative-date/translations/en.js +0 -31
  2106. package/oidc/node_modules/npm/node_modules/tiny-relative-date/translations/es.js +0 -31
  2107. package/oidc/node_modules/npm/node_modules/tiny-relative-date/translations/fa.js +0 -31
  2108. package/oidc/node_modules/npm/node_modules/tiny-relative-date/translations/ne.js +0 -31
  2109. package/oidc/node_modules/npm/node_modules/tinyglobby/LICENSE +0 -21
  2110. package/oidc/node_modules/npm/node_modules/tinyglobby/dist/index.cjs +0 -350
  2111. package/oidc/node_modules/npm/node_modules/tinyglobby/dist/index.d.cts +0 -147
  2112. package/oidc/node_modules/npm/node_modules/tinyglobby/dist/index.d.mts +0 -147
  2113. package/oidc/node_modules/npm/node_modules/tinyglobby/dist/index.mjs +0 -318
  2114. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/LICENSE +0 -7
  2115. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.cjs +0 -588
  2116. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.d.cts +0 -155
  2117. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.d.mts +0 -155
  2118. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.mjs +0 -570
  2119. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/package.json +0 -103
  2120. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/LICENSE +0 -21
  2121. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/index.js +0 -17
  2122. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/constants.js +0 -180
  2123. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/parse.js +0 -1085
  2124. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/picomatch.js +0 -341
  2125. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/scan.js +0 -391
  2126. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/utils.js +0 -72
  2127. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/package.json +0 -83
  2128. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/posix.js +0 -3
  2129. package/oidc/node_modules/npm/node_modules/tinyglobby/package.json +0 -73
  2130. package/oidc/node_modules/npm/node_modules/treeverse/LICENSE +0 -15
  2131. package/oidc/node_modules/npm/node_modules/treeverse/lib/breadth.js +0 -67
  2132. package/oidc/node_modules/npm/node_modules/treeverse/lib/depth-descent.js +0 -88
  2133. package/oidc/node_modules/npm/node_modules/treeverse/lib/depth.js +0 -76
  2134. package/oidc/node_modules/npm/node_modules/treeverse/lib/index.js +0 -4
  2135. package/oidc/node_modules/npm/node_modules/treeverse/package.json +0 -51
  2136. package/oidc/node_modules/npm/node_modules/tuf-js/LICENSE +0 -21
  2137. package/oidc/node_modules/npm/node_modules/tuf-js/dist/config.js +0 -15
  2138. package/oidc/node_modules/npm/node_modules/tuf-js/dist/error.js +0 -49
  2139. package/oidc/node_modules/npm/node_modules/tuf-js/dist/fetcher.js +0 -86
  2140. package/oidc/node_modules/npm/node_modules/tuf-js/dist/index.js +0 -9
  2141. package/oidc/node_modules/npm/node_modules/tuf-js/dist/store.js +0 -219
  2142. package/oidc/node_modules/npm/node_modules/tuf-js/dist/updater.js +0 -368
  2143. package/oidc/node_modules/npm/node_modules/tuf-js/dist/utils/tmpfile.js +0 -25
  2144. package/oidc/node_modules/npm/node_modules/tuf-js/dist/utils/url.js +0 -13
  2145. package/oidc/node_modules/npm/node_modules/tuf-js/package.json +0 -43
  2146. package/oidc/node_modules/npm/node_modules/unique-filename/LICENSE +0 -5
  2147. package/oidc/node_modules/npm/node_modules/unique-filename/lib/index.js +0 -7
  2148. package/oidc/node_modules/npm/node_modules/unique-filename/package.json +0 -53
  2149. package/oidc/node_modules/npm/node_modules/unique-slug/LICENSE +0 -15
  2150. package/oidc/node_modules/npm/node_modules/unique-slug/lib/index.js +0 -11
  2151. package/oidc/node_modules/npm/node_modules/unique-slug/package.json +0 -49
  2152. package/oidc/node_modules/npm/node_modules/util-deprecate/History.md +0 -16
  2153. package/oidc/node_modules/npm/node_modules/util-deprecate/LICENSE +0 -24
  2154. package/oidc/node_modules/npm/node_modules/util-deprecate/browser.js +0 -67
  2155. package/oidc/node_modules/npm/node_modules/util-deprecate/node.js +0 -6
  2156. package/oidc/node_modules/npm/node_modules/util-deprecate/package.json +0 -27
  2157. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/LICENSE +0 -202
  2158. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/index.js +0 -86
  2159. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/AUTHORS +0 -4
  2160. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/LICENSE +0 -22
  2161. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/index.js +0 -8
  2162. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/package.json +0 -39
  2163. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/parse.js +0 -138
  2164. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/scan.js +0 -131
  2165. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/package.json +0 -28
  2166. package/oidc/node_modules/npm/node_modules/validate-npm-package-name/LICENSE +0 -6
  2167. package/oidc/node_modules/npm/node_modules/validate-npm-package-name/lib/index.js +0 -110
  2168. package/oidc/node_modules/npm/node_modules/validate-npm-package-name/package.json +0 -61
  2169. package/oidc/node_modules/npm/node_modules/walk-up-path/LICENSE +0 -15
  2170. package/oidc/node_modules/npm/node_modules/walk-up-path/dist/commonjs/index.js +0 -18
  2171. package/oidc/node_modules/npm/node_modules/walk-up-path/dist/commonjs/package.json +0 -3
  2172. package/oidc/node_modules/npm/node_modules/walk-up-path/dist/esm/index.js +0 -14
  2173. package/oidc/node_modules/npm/node_modules/walk-up-path/dist/esm/package.json +0 -3
  2174. package/oidc/node_modules/npm/node_modules/walk-up-path/package.json +0 -71
  2175. package/oidc/node_modules/npm/node_modules/which/LICENSE +0 -15
  2176. package/oidc/node_modules/npm/node_modules/which/README.md +0 -51
  2177. package/oidc/node_modules/npm/node_modules/which/bin/which.js +0 -52
  2178. package/oidc/node_modules/npm/node_modules/which/lib/index.js +0 -111
  2179. package/oidc/node_modules/npm/node_modules/which/package.json +0 -52
  2180. package/oidc/node_modules/npm/node_modules/wrap-ansi/index.js +0 -214
  2181. package/oidc/node_modules/npm/node_modules/wrap-ansi/license +0 -9
  2182. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +0 -14
  2183. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/license +0 -9
  2184. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +0 -61
  2185. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  2186. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/RGI_Emoji.js +0 -6
  2187. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/RGI_Emoji.js +0 -6
  2188. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/index.js +0 -6
  2189. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/text.js +0 -6
  2190. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/index.js +0 -6
  2191. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/package.json +0 -52
  2192. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/text.js +0 -6
  2193. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/index.js +0 -54
  2194. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/license +0 -9
  2195. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/package.json +0 -59
  2196. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +0 -14
  2197. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/license +0 -9
  2198. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +0 -59
  2199. package/oidc/node_modules/npm/node_modules/wrap-ansi/package.json +0 -69
  2200. package/oidc/node_modules/npm/node_modules/wrap-ansi-cjs/index.js +0 -216
  2201. package/oidc/node_modules/npm/node_modules/wrap-ansi-cjs/license +0 -9
  2202. package/oidc/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/index.js +0 -163
  2203. package/oidc/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/license +0 -9
  2204. package/oidc/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/package.json +0 -56
  2205. package/oidc/node_modules/npm/node_modules/wrap-ansi-cjs/package.json +0 -62
  2206. package/oidc/node_modules/npm/node_modules/write-file-atomic/LICENSE.md +0 -6
  2207. package/oidc/node_modules/npm/node_modules/write-file-atomic/lib/index.js +0 -267
  2208. package/oidc/node_modules/npm/node_modules/write-file-atomic/package.json +0 -58
  2209. package/oidc/node_modules/npm/node_modules/yallist/LICENSE +0 -15
  2210. package/oidc/node_modules/npm/node_modules/yallist/iterator.js +0 -8
  2211. package/oidc/node_modules/npm/node_modules/yallist/package.json +0 -29
  2212. package/oidc/node_modules/npm/node_modules/yallist/yallist.js +0 -426
  2213. package/oidc/node_modules/npm/package.json +0 -258
  2214. package/oidc/package-lock.json +0 -2420
  2215. package/oidc/package.json +0 -5
@@ -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)