@nirvana-labs/nirvana-mcp 1.31.1 → 1.33.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 (2140) hide show
  1. package/oidc/node_modules/.package-lock.json +2415 -0
  2. package/oidc/node_modules/npm/LICENSE +235 -0
  3. package/oidc/node_modules/npm/README.md +54 -0
  4. package/oidc/node_modules/npm/bin/node-gyp-bin/node-gyp +6 -0
  5. package/oidc/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +5 -0
  6. package/oidc/node_modules/npm/bin/npm +65 -0
  7. package/oidc/node_modules/npm/bin/npm-cli.js +2 -0
  8. package/oidc/node_modules/npm/bin/npm-prefix.js +30 -0
  9. package/oidc/node_modules/npm/bin/npm.cmd +20 -0
  10. package/oidc/node_modules/npm/bin/npm.ps1 +50 -0
  11. package/oidc/node_modules/npm/bin/npx +65 -0
  12. package/oidc/node_modules/npm/bin/npx-cli.js +130 -0
  13. package/oidc/node_modules/npm/bin/npx.cmd +20 -0
  14. package/oidc/node_modules/npm/bin/npx.ps1 +50 -0
  15. package/oidc/node_modules/npm/docs/content/commands/npm-access.md +96 -0
  16. package/oidc/node_modules/npm/docs/content/commands/npm-adduser.md +87 -0
  17. package/oidc/node_modules/npm/docs/content/commands/npm-audit.md +439 -0
  18. package/oidc/node_modules/npm/docs/content/commands/npm-bugs.md +108 -0
  19. package/oidc/node_modules/npm/docs/content/commands/npm-cache.md +100 -0
  20. package/oidc/node_modules/npm/docs/content/commands/npm-ci.md +321 -0
  21. package/oidc/node_modules/npm/docs/content/commands/npm-completion.md +36 -0
  22. package/oidc/node_modules/npm/docs/content/commands/npm-config.md +178 -0
  23. package/oidc/node_modules/npm/docs/content/commands/npm-dedupe.md +318 -0
  24. package/oidc/node_modules/npm/docs/content/commands/npm-deprecate.md +87 -0
  25. package/oidc/node_modules/npm/docs/content/commands/npm-diff.md +285 -0
  26. package/oidc/node_modules/npm/docs/content/commands/npm-dist-tag.md +140 -0
  27. package/oidc/node_modules/npm/docs/content/commands/npm-docs.md +108 -0
  28. package/oidc/node_modules/npm/docs/content/commands/npm-doctor.md +98 -0
  29. package/oidc/node_modules/npm/docs/content/commands/npm-edit.md +41 -0
  30. package/oidc/node_modules/npm/docs/content/commands/npm-exec.md +318 -0
  31. package/oidc/node_modules/npm/docs/content/commands/npm-explain.md +101 -0
  32. package/oidc/node_modules/npm/docs/content/commands/npm-explore.md +46 -0
  33. package/oidc/node_modules/npm/docs/content/commands/npm-find-dupes.md +254 -0
  34. package/oidc/node_modules/npm/docs/content/commands/npm-fund.md +138 -0
  35. package/oidc/node_modules/npm/docs/content/commands/npm-help-search.md +38 -0
  36. package/oidc/node_modules/npm/docs/content/commands/npm-help.md +45 -0
  37. package/oidc/node_modules/npm/docs/content/commands/npm-init.md +355 -0
  38. package/oidc/node_modules/npm/docs/content/commands/npm-install-ci-test.md +275 -0
  39. package/oidc/node_modules/npm/docs/content/commands/npm-install-test.md +404 -0
  40. package/oidc/node_modules/npm/docs/content/commands/npm-install.md +762 -0
  41. package/oidc/node_modules/npm/docs/content/commands/npm-link.md +387 -0
  42. package/oidc/node_modules/npm/docs/content/commands/npm-login.md +93 -0
  43. package/oidc/node_modules/npm/docs/content/commands/npm-logout.md +72 -0
  44. package/oidc/node_modules/npm/docs/content/commands/npm-ls.md +270 -0
  45. package/oidc/node_modules/npm/docs/content/commands/npm-org.md +114 -0
  46. package/oidc/node_modules/npm/docs/content/commands/npm-outdated.md +178 -0
  47. package/oidc/node_modules/npm/docs/content/commands/npm-owner.md +106 -0
  48. package/oidc/node_modules/npm/docs/content/commands/npm-pack.md +138 -0
  49. package/oidc/node_modules/npm/docs/content/commands/npm-ping.md +46 -0
  50. package/oidc/node_modules/npm/docs/content/commands/npm-pkg.md +247 -0
  51. package/oidc/node_modules/npm/docs/content/commands/npm-prefix.md +59 -0
  52. package/oidc/node_modules/npm/docs/content/commands/npm-profile.md +116 -0
  53. package/oidc/node_modules/npm/docs/content/commands/npm-prune.md +199 -0
  54. package/oidc/node_modules/npm/docs/content/commands/npm-publish.md +222 -0
  55. package/oidc/node_modules/npm/docs/content/commands/npm-query.md +272 -0
  56. package/oidc/node_modules/npm/docs/content/commands/npm-rebuild.md +174 -0
  57. package/oidc/node_modules/npm/docs/content/commands/npm-repo.md +101 -0
  58. package/oidc/node_modules/npm/docs/content/commands/npm-restart.md +68 -0
  59. package/oidc/node_modules/npm/docs/content/commands/npm-root.md +52 -0
  60. package/oidc/node_modules/npm/docs/content/commands/npm-run.md +234 -0
  61. package/oidc/node_modules/npm/docs/content/commands/npm-sbom.md +320 -0
  62. package/oidc/node_modules/npm/docs/content/commands/npm-search.md +156 -0
  63. package/oidc/node_modules/npm/docs/content/commands/npm-shrinkwrap.md +29 -0
  64. package/oidc/node_modules/npm/docs/content/commands/npm-star.md +81 -0
  65. package/oidc/node_modules/npm/docs/content/commands/npm-stars.md +38 -0
  66. package/oidc/node_modules/npm/docs/content/commands/npm-start.md +76 -0
  67. package/oidc/node_modules/npm/docs/content/commands/npm-stop.md +71 -0
  68. package/oidc/node_modules/npm/docs/content/commands/npm-team.md +145 -0
  69. package/oidc/node_modules/npm/docs/content/commands/npm-test.md +69 -0
  70. package/oidc/node_modules/npm/docs/content/commands/npm-token.md +106 -0
  71. package/oidc/node_modules/npm/docs/content/commands/npm-undeprecate.md +63 -0
  72. package/oidc/node_modules/npm/docs/content/commands/npm-uninstall.md +155 -0
  73. package/oidc/node_modules/npm/docs/content/commands/npm-unpublish.md +130 -0
  74. package/oidc/node_modules/npm/docs/content/commands/npm-unstar.md +75 -0
  75. package/oidc/node_modules/npm/docs/content/commands/npm-update.md +459 -0
  76. package/oidc/node_modules/npm/docs/content/commands/npm-version.md +225 -0
  77. package/oidc/node_modules/npm/docs/content/commands/npm-view.md +194 -0
  78. package/oidc/node_modules/npm/docs/content/commands/npm-whoami.md +38 -0
  79. package/oidc/node_modules/npm/docs/content/commands/npm.md +148 -0
  80. package/oidc/node_modules/npm/docs/content/commands/npx.md +137 -0
  81. package/oidc/node_modules/npm/docs/content/configuring-npm/folders.md +172 -0
  82. package/oidc/node_modules/npm/docs/content/configuring-npm/install.md +53 -0
  83. package/oidc/node_modules/npm/docs/content/configuring-npm/npm-shrinkwrap-json.md +25 -0
  84. package/oidc/node_modules/npm/docs/content/configuring-npm/npmrc.md +133 -0
  85. package/oidc/node_modules/npm/docs/content/configuring-npm/package-json.md +1105 -0
  86. package/oidc/node_modules/npm/docs/content/configuring-npm/package-lock-json.md +173 -0
  87. package/oidc/node_modules/npm/docs/content/using-npm/config.md +2094 -0
  88. package/oidc/node_modules/npm/docs/content/using-npm/dependency-selectors.md +247 -0
  89. package/oidc/node_modules/npm/docs/content/using-npm/developers.md +215 -0
  90. package/oidc/node_modules/npm/docs/content/using-npm/logging.md +99 -0
  91. package/oidc/node_modules/npm/docs/content/using-npm/orgs.md +98 -0
  92. package/oidc/node_modules/npm/docs/content/using-npm/package-spec.md +92 -0
  93. package/oidc/node_modules/npm/docs/content/using-npm/registry.md +61 -0
  94. package/oidc/node_modules/npm/docs/content/using-npm/removal.md +55 -0
  95. package/oidc/node_modules/npm/docs/content/using-npm/scope.md +123 -0
  96. package/oidc/node_modules/npm/docs/content/using-npm/scripts.md +350 -0
  97. package/oidc/node_modules/npm/docs/content/using-npm/workspaces.md +198 -0
  98. package/oidc/node_modules/npm/docs/lib/index.js +189 -0
  99. package/oidc/node_modules/npm/docs/output/commands/npm-access.html +235 -0
  100. package/oidc/node_modules/npm/docs/output/commands/npm-adduser.html +226 -0
  101. package/oidc/node_modules/npm/docs/output/commands/npm-audit.html +479 -0
  102. package/oidc/node_modules/npm/docs/output/commands/npm-bugs.html +250 -0
  103. package/oidc/node_modules/npm/docs/output/commands/npm-cache.html +255 -0
  104. package/oidc/node_modules/npm/docs/output/commands/npm-ci.html +409 -0
  105. package/oidc/node_modules/npm/docs/output/commands/npm-completion.html +189 -0
  106. package/oidc/node_modules/npm/docs/output/commands/npm-config.html +288 -0
  107. package/oidc/node_modules/npm/docs/output/commands/npm-dedupe.html +401 -0
  108. package/oidc/node_modules/npm/docs/output/commands/npm-deprecate.html +223 -0
  109. package/oidc/node_modules/npm/docs/output/commands/npm-diff.html +373 -0
  110. package/oidc/node_modules/npm/docs/output/commands/npm-dist-tag.html +275 -0
  111. package/oidc/node_modules/npm/docs/output/commands/npm-docs.html +250 -0
  112. package/oidc/node_modules/npm/docs/output/commands/npm-doctor.html +237 -0
  113. package/oidc/node_modules/npm/docs/output/commands/npm-edit.html +193 -0
  114. package/oidc/node_modules/npm/docs/output/commands/npm-exec.html +394 -0
  115. package/oidc/node_modules/npm/docs/output/commands/npm-explain.html +246 -0
  116. package/oidc/node_modules/npm/docs/output/commands/npm-explore.html +195 -0
  117. package/oidc/node_modules/npm/docs/output/commands/npm-find-dupes.html +357 -0
  118. package/oidc/node_modules/npm/docs/output/commands/npm-fund.html +268 -0
  119. package/oidc/node_modules/npm/docs/output/commands/npm-help-search.html +190 -0
  120. package/oidc/node_modules/npm/docs/output/commands/npm-help.html +197 -0
  121. package/oidc/node_modules/npm/docs/output/commands/npm-init.html +429 -0
  122. package/oidc/node_modules/npm/docs/output/commands/npm-install-ci-test.html +374 -0
  123. package/oidc/node_modules/npm/docs/output/commands/npm-install-test.html +469 -0
  124. package/oidc/node_modules/npm/docs/output/commands/npm-install.html +756 -0
  125. package/oidc/node_modules/npm/docs/output/commands/npm-link.html +449 -0
  126. package/oidc/node_modules/npm/docs/output/commands/npm-login.html +229 -0
  127. package/oidc/node_modules/npm/docs/output/commands/npm-logout.html +214 -0
  128. package/oidc/node_modules/npm/docs/output/commands/npm-ls.html +369 -0
  129. package/oidc/node_modules/npm/docs/output/commands/npm-org.html +238 -0
  130. package/oidc/node_modules/npm/docs/output/commands/npm-outdated.html +309 -0
  131. package/oidc/node_modules/npm/docs/output/commands/npm-owner.html +250 -0
  132. package/oidc/node_modules/npm/docs/output/commands/npm-pack.html +271 -0
  133. package/oidc/node_modules/npm/docs/output/commands/npm-ping.html +197 -0
  134. package/oidc/node_modules/npm/docs/output/commands/npm-pkg.html +347 -0
  135. package/oidc/node_modules/npm/docs/output/commands/npm-prefix.html +208 -0
  136. package/oidc/node_modules/npm/docs/output/commands/npm-profile.html +264 -0
  137. package/oidc/node_modules/npm/docs/output/commands/npm-prune.html +314 -0
  138. package/oidc/node_modules/npm/docs/output/commands/npm-publish.html +342 -0
  139. package/oidc/node_modules/npm/docs/output/commands/npm-query.html +393 -0
  140. package/oidc/node_modules/npm/docs/output/commands/npm-rebuild.html +301 -0
  141. package/oidc/node_modules/npm/docs/output/commands/npm-repo.html +243 -0
  142. package/oidc/node_modules/npm/docs/output/commands/npm-restart.html +218 -0
  143. package/oidc/node_modules/npm/docs/output/commands/npm-root.html +204 -0
  144. package/oidc/node_modules/npm/docs/output/commands/npm-run.html +334 -0
  145. package/oidc/node_modules/npm/docs/output/commands/npm-sbom.html +448 -0
  146. package/oidc/node_modules/npm/docs/output/commands/npm-search.html +277 -0
  147. package/oidc/node_modules/npm/docs/output/commands/npm-shrinkwrap.html +187 -0
  148. package/oidc/node_modules/npm/docs/output/commands/npm-star.html +219 -0
  149. package/oidc/node_modules/npm/docs/output/commands/npm-stars.html +191 -0
  150. package/oidc/node_modules/npm/docs/output/commands/npm-start.html +218 -0
  151. package/oidc/node_modules/npm/docs/output/commands/npm-stop.html +215 -0
  152. package/oidc/node_modules/npm/docs/output/commands/npm-team.html +269 -0
  153. package/oidc/node_modules/npm/docs/output/commands/npm-test.html +214 -0
  154. package/oidc/node_modules/npm/docs/output/commands/npm-token.html +249 -0
  155. package/oidc/node_modules/npm/docs/output/commands/npm-undeprecate.html +208 -0
  156. package/oidc/node_modules/npm/docs/output/commands/npm-uninstall.html +282 -0
  157. package/oidc/node_modules/npm/docs/output/commands/npm-unpublish.html +269 -0
  158. package/oidc/node_modules/npm/docs/output/commands/npm-unstar.html +214 -0
  159. package/oidc/node_modules/npm/docs/output/commands/npm-update.html +503 -0
  160. package/oidc/node_modules/npm/docs/output/commands/npm-version.html +340 -0
  161. package/oidc/node_modules/npm/docs/output/commands/npm-view.html +299 -0
  162. package/oidc/node_modules/npm/docs/output/commands/npm-whoami.html +190 -0
  163. package/oidc/node_modules/npm/docs/output/commands/npm.html +278 -0
  164. package/oidc/node_modules/npm/docs/output/commands/npx.html +262 -0
  165. package/oidc/node_modules/npm/docs/output/configuring-npm/folders.html +286 -0
  166. package/oidc/node_modules/npm/docs/output/configuring-npm/install.html +204 -0
  167. package/oidc/node_modules/npm/docs/output/configuring-npm/npm-global.html +286 -0
  168. package/oidc/node_modules/npm/docs/output/configuring-npm/npm-json.html +981 -0
  169. package/oidc/node_modules/npm/docs/output/configuring-npm/npm-shrinkwrap-json.html +184 -0
  170. package/oidc/node_modules/npm/docs/output/configuring-npm/npmrc.html +265 -0
  171. package/oidc/node_modules/npm/docs/output/configuring-npm/package-json.html +981 -0
  172. package/oidc/node_modules/npm/docs/output/configuring-npm/package-lock-json.html +335 -0
  173. package/oidc/node_modules/npm/docs/output/using-npm/config.html +1686 -0
  174. package/oidc/node_modules/npm/docs/output/using-npm/dependency-selectors.html +380 -0
  175. package/oidc/node_modules/npm/docs/output/using-npm/developers.html +330 -0
  176. package/oidc/node_modules/npm/docs/output/using-npm/logging.html +239 -0
  177. package/oidc/node_modules/npm/docs/output/using-npm/orgs.html +249 -0
  178. package/oidc/node_modules/npm/docs/output/using-npm/package-spec.html +250 -0
  179. package/oidc/node_modules/npm/docs/output/using-npm/registry.html +210 -0
  180. package/oidc/node_modules/npm/docs/output/using-npm/removal.html +200 -0
  181. package/oidc/node_modules/npm/docs/output/using-npm/scope.html +245 -0
  182. package/oidc/node_modules/npm/docs/output/using-npm/scripts.html +470 -0
  183. package/oidc/node_modules/npm/docs/output/using-npm/workspaces.html +293 -0
  184. package/oidc/node_modules/npm/index.js +5 -0
  185. package/oidc/node_modules/npm/lib/arborist-cmd.js +53 -0
  186. package/oidc/node_modules/npm/lib/base-cmd.js +214 -0
  187. package/oidc/node_modules/npm/lib/cli/entry.js +72 -0
  188. package/oidc/node_modules/npm/lib/cli/exit-handler.js +174 -0
  189. package/oidc/node_modules/npm/lib/cli/update-notifier.js +120 -0
  190. package/oidc/node_modules/npm/lib/cli/validate-engines.js +47 -0
  191. package/oidc/node_modules/npm/lib/cli.js +12 -0
  192. package/oidc/node_modules/npm/lib/commands/access.js +226 -0
  193. package/oidc/node_modules/npm/lib/commands/adduser.js +50 -0
  194. package/oidc/node_modules/npm/lib/commands/audit.js +121 -0
  195. package/oidc/node_modules/npm/lib/commands/bugs.js +34 -0
  196. package/oidc/node_modules/npm/lib/commands/cache.js +370 -0
  197. package/oidc/node_modules/npm/lib/commands/ci.js +129 -0
  198. package/oidc/node_modules/npm/lib/commands/completion.js +283 -0
  199. package/oidc/node_modules/npm/lib/commands/config.js +401 -0
  200. package/oidc/node_modules/npm/lib/commands/dedupe.js +51 -0
  201. package/oidc/node_modules/npm/lib/commands/deprecate.js +86 -0
  202. package/oidc/node_modules/npm/lib/commands/diff.js +291 -0
  203. package/oidc/node_modules/npm/lib/commands/dist-tag.js +209 -0
  204. package/oidc/node_modules/npm/lib/commands/docs.js +21 -0
  205. package/oidc/node_modules/npm/lib/commands/doctor.js +346 -0
  206. package/oidc/node_modules/npm/lib/commands/edit.js +64 -0
  207. package/oidc/node_modules/npm/lib/commands/exec.js +110 -0
  208. package/oidc/node_modules/npm/lib/commands/explain.js +130 -0
  209. package/oidc/node_modules/npm/lib/commands/explore.js +74 -0
  210. package/oidc/node_modules/npm/lib/commands/find-dupes.js +28 -0
  211. package/oidc/node_modules/npm/lib/commands/fund.js +221 -0
  212. package/oidc/node_modules/npm/lib/commands/get.js +23 -0
  213. package/oidc/node_modules/npm/lib/commands/help-search.js +195 -0
  214. package/oidc/node_modules/npm/lib/commands/help.js +117 -0
  215. package/oidc/node_modules/npm/lib/commands/init.js +247 -0
  216. package/oidc/node_modules/npm/lib/commands/install-ci-test.js +15 -0
  217. package/oidc/node_modules/npm/lib/commands/install-test.js +15 -0
  218. package/oidc/node_modules/npm/lib/commands/install.js +176 -0
  219. package/oidc/node_modules/npm/lib/commands/link.js +189 -0
  220. package/oidc/node_modules/npm/lib/commands/ll.js +13 -0
  221. package/oidc/node_modules/npm/lib/commands/login.js +50 -0
  222. package/oidc/node_modules/npm/lib/commands/logout.js +50 -0
  223. package/oidc/node_modules/npm/lib/commands/ls.js +579 -0
  224. package/oidc/node_modules/npm/lib/commands/org.js +150 -0
  225. package/oidc/node_modules/npm/lib/commands/outdated.js +289 -0
  226. package/oidc/node_modules/npm/lib/commands/owner.js +233 -0
  227. package/oidc/node_modules/npm/lib/commands/pack.js +87 -0
  228. package/oidc/node_modules/npm/lib/commands/ping.js +30 -0
  229. package/oidc/node_modules/npm/lib/commands/pkg.js +129 -0
  230. package/oidc/node_modules/npm/lib/commands/prefix.js +14 -0
  231. package/oidc/node_modules/npm/lib/commands/profile.js +383 -0
  232. package/oidc/node_modules/npm/lib/commands/prune.js +34 -0
  233. package/oidc/node_modules/npm/lib/commands/publish.js +284 -0
  234. package/oidc/node_modules/npm/lib/commands/query.js +126 -0
  235. package/oidc/node_modules/npm/lib/commands/rebuild.js +84 -0
  236. package/oidc/node_modules/npm/lib/commands/repo.js +55 -0
  237. package/oidc/node_modules/npm/lib/commands/restart.js +13 -0
  238. package/oidc/node_modules/npm/lib/commands/root.js +14 -0
  239. package/oidc/node_modules/npm/lib/commands/run.js +222 -0
  240. package/oidc/node_modules/npm/lib/commands/sbom.js +132 -0
  241. package/oidc/node_modules/npm/lib/commands/search.js +70 -0
  242. package/oidc/node_modules/npm/lib/commands/set.js +26 -0
  243. package/oidc/node_modules/npm/lib/commands/shrinkwrap.js +73 -0
  244. package/oidc/node_modules/npm/lib/commands/star.js +72 -0
  245. package/oidc/node_modules/npm/lib/commands/stars.js +39 -0
  246. package/oidc/node_modules/npm/lib/commands/start.js +13 -0
  247. package/oidc/node_modules/npm/lib/commands/stop.js +13 -0
  248. package/oidc/node_modules/npm/lib/commands/team.js +155 -0
  249. package/oidc/node_modules/npm/lib/commands/test.js +13 -0
  250. package/oidc/node_modules/npm/lib/commands/token.js +195 -0
  251. package/oidc/node_modules/npm/lib/commands/undeprecate.js +13 -0
  252. package/oidc/node_modules/npm/lib/commands/uninstall.js +56 -0
  253. package/oidc/node_modules/npm/lib/commands/unpublish.js +179 -0
  254. package/oidc/node_modules/npm/lib/commands/unstar.js +8 -0
  255. package/oidc/node_modules/npm/lib/commands/update.js +69 -0
  256. package/oidc/node_modules/npm/lib/commands/version.js +150 -0
  257. package/oidc/node_modules/npm/lib/commands/view.js +490 -0
  258. package/oidc/node_modules/npm/lib/commands/whoami.js +20 -0
  259. package/oidc/node_modules/npm/lib/lifecycle-cmd.js +20 -0
  260. package/oidc/node_modules/npm/lib/npm.js +476 -0
  261. package/oidc/node_modules/npm/lib/package-url-cmd.js +64 -0
  262. package/oidc/node_modules/npm/lib/utils/audit-error.js +40 -0
  263. package/oidc/node_modules/npm/lib/utils/auth.js +109 -0
  264. package/oidc/node_modules/npm/lib/utils/cmd-list.js +178 -0
  265. package/oidc/node_modules/npm/lib/utils/completion.fish +40 -0
  266. package/oidc/node_modules/npm/lib/utils/completion.sh +70 -0
  267. package/oidc/node_modules/npm/lib/utils/did-you-mean.js +33 -0
  268. package/oidc/node_modules/npm/lib/utils/display.js +525 -0
  269. package/oidc/node_modules/npm/lib/utils/error-message.js +451 -0
  270. package/oidc/node_modules/npm/lib/utils/explain-dep.js +103 -0
  271. package/oidc/node_modules/npm/lib/utils/explain-eresolve.js +71 -0
  272. package/oidc/node_modules/npm/lib/utils/format-bytes.js +30 -0
  273. package/oidc/node_modules/npm/lib/utils/format-search-stream.js +173 -0
  274. package/oidc/node_modules/npm/lib/utils/format.js +56 -0
  275. package/oidc/node_modules/npm/lib/utils/get-identity.js +26 -0
  276. package/oidc/node_modules/npm/lib/utils/get-workspaces.js +54 -0
  277. package/oidc/node_modules/npm/lib/utils/installed-deep.js +45 -0
  278. package/oidc/node_modules/npm/lib/utils/installed-shallow.js +19 -0
  279. package/oidc/node_modules/npm/lib/utils/is-windows.js +4 -0
  280. package/oidc/node_modules/npm/lib/utils/log-file.js +261 -0
  281. package/oidc/node_modules/npm/lib/utils/npm-usage.js +74 -0
  282. package/oidc/node_modules/npm/lib/utils/oidc.js +176 -0
  283. package/oidc/node_modules/npm/lib/utils/open-url.js +99 -0
  284. package/oidc/node_modules/npm/lib/utils/output-error.js +29 -0
  285. package/oidc/node_modules/npm/lib/utils/ping.js +7 -0
  286. package/oidc/node_modules/npm/lib/utils/queryable.js +310 -0
  287. package/oidc/node_modules/npm/lib/utils/read-user-info.js +67 -0
  288. package/oidc/node_modules/npm/lib/utils/reify-finish.js +33 -0
  289. package/oidc/node_modules/npm/lib/utils/reify-output.js +225 -0
  290. package/oidc/node_modules/npm/lib/utils/sbom-cyclonedx.js +198 -0
  291. package/oidc/node_modules/npm/lib/utils/sbom-spdx.js +194 -0
  292. package/oidc/node_modules/npm/lib/utils/tar.js +109 -0
  293. package/oidc/node_modules/npm/lib/utils/timers.js +89 -0
  294. package/oidc/node_modules/npm/lib/utils/update-workspaces.js +40 -0
  295. package/oidc/node_modules/npm/lib/utils/validate-lockfile.js +29 -0
  296. package/oidc/node_modules/npm/lib/utils/verify-signatures.js +377 -0
  297. package/oidc/node_modules/npm/man/man1/npm-access.1 +106 -0
  298. package/oidc/node_modules/npm/man/man1/npm-adduser.1 +93 -0
  299. package/oidc/node_modules/npm/man/man1/npm-audit.1 +447 -0
  300. package/oidc/node_modules/npm/man/man1/npm-bugs.1 +115 -0
  301. package/oidc/node_modules/npm/man/man1/npm-cache.1 +95 -0
  302. package/oidc/node_modules/npm/man/man1/npm-ci.1 +290 -0
  303. package/oidc/node_modules/npm/man/man1/npm-completion.1 +35 -0
  304. package/oidc/node_modules/npm/man/man1/npm-config.1 +186 -0
  305. package/oidc/node_modules/npm/man/man1/npm-dedupe.1 +291 -0
  306. package/oidc/node_modules/npm/man/man1/npm-deprecate.1 +86 -0
  307. package/oidc/node_modules/npm/man/man1/npm-diff.1 +310 -0
  308. package/oidc/node_modules/npm/man/man1/npm-dist-tag.1 +144 -0
  309. package/oidc/node_modules/npm/man/man1/npm-docs.1 +113 -0
  310. package/oidc/node_modules/npm/man/man1/npm-doctor.1 +82 -0
  311. package/oidc/node_modules/npm/man/man1/npm-edit.1 +43 -0
  312. package/oidc/node_modules/npm/man/man1/npm-exec.1 +350 -0
  313. package/oidc/node_modules/npm/man/man1/npm-explain.1 +118 -0
  314. package/oidc/node_modules/npm/man/man1/npm-explore.1 +49 -0
  315. package/oidc/node_modules/npm/man/man1/npm-find-dupes.1 +226 -0
  316. package/oidc/node_modules/npm/man/man1/npm-fund.1 +142 -0
  317. package/oidc/node_modules/npm/man/man1/npm-help-search.1 +37 -0
  318. package/oidc/node_modules/npm/man/man1/npm-help.1 +47 -0
  319. package/oidc/node_modules/npm/man/man1/npm-init.1 +393 -0
  320. package/oidc/node_modules/npm/man/man1/npm-install-ci-test.1 +240 -0
  321. package/oidc/node_modules/npm/man/man1/npm-install-test.1 +359 -0
  322. package/oidc/node_modules/npm/man/man1/npm-install.1 +774 -0
  323. package/oidc/node_modules/npm/man/man1/npm-link.1 +356 -0
  324. package/oidc/node_modules/npm/man/man1/npm-login.1 +97 -0
  325. package/oidc/node_modules/npm/man/man1/npm-logout.1 +75 -0
  326. package/oidc/node_modules/npm/man/man1/npm-ls.1 +271 -0
  327. package/oidc/node_modules/npm/man/man1/npm-org.1 +126 -0
  328. package/oidc/node_modules/npm/man/man1/npm-outdated.1 +196 -0
  329. package/oidc/node_modules/npm/man/man1/npm-owner.1 +111 -0
  330. package/oidc/node_modules/npm/man/man1/npm-pack.1 +143 -0
  331. package/oidc/node_modules/npm/man/man1/npm-ping.1 +52 -0
  332. package/oidc/node_modules/npm/man/man1/npm-pkg.1 +286 -0
  333. package/oidc/node_modules/npm/man/man1/npm-prefix.1 +63 -0
  334. package/oidc/node_modules/npm/man/man1/npm-profile.1 +127 -0
  335. package/oidc/node_modules/npm/man/man1/npm-prune.1 +185 -0
  336. package/oidc/node_modules/npm/man/man1/npm-publish.1 +226 -0
  337. package/oidc/node_modules/npm/man/man1/npm-query.1 +281 -0
  338. package/oidc/node_modules/npm/man/man1/npm-rebuild.1 +179 -0
  339. package/oidc/node_modules/npm/man/man1/npm-repo.1 +103 -0
  340. package/oidc/node_modules/npm/man/man1/npm-restart.1 +84 -0
  341. package/oidc/node_modules/npm/man/man1/npm-root.1 +56 -0
  342. package/oidc/node_modules/npm/man/man1/npm-run.1 +234 -0
  343. package/oidc/node_modules/npm/man/man1/npm-sbom.1 +314 -0
  344. package/oidc/node_modules/npm/man/man1/npm-search.1 +156 -0
  345. package/oidc/node_modules/npm/man/man1/npm-shrinkwrap.1 +32 -0
  346. package/oidc/node_modules/npm/man/man1/npm-star.1 +77 -0
  347. package/oidc/node_modules/npm/man/man1/npm-stars.1 +41 -0
  348. package/oidc/node_modules/npm/man/man1/npm-start.1 +79 -0
  349. package/oidc/node_modules/npm/man/man1/npm-stop.1 +75 -0
  350. package/oidc/node_modules/npm/man/man1/npm-team.1 +149 -0
  351. package/oidc/node_modules/npm/man/man1/npm-test.1 +73 -0
  352. package/oidc/node_modules/npm/man/man1/npm-token.1 +113 -0
  353. package/oidc/node_modules/npm/man/man1/npm-undeprecate.1 +58 -0
  354. package/oidc/node_modules/npm/man/man1/npm-uninstall.1 +159 -0
  355. package/oidc/node_modules/npm/man/man1/npm-unpublish.1 +137 -0
  356. package/oidc/node_modules/npm/man/man1/npm-unstar.1 +71 -0
  357. package/oidc/node_modules/npm/man/man1/npm-update.1 +419 -0
  358. package/oidc/node_modules/npm/man/man1/npm-version.1 +227 -0
  359. package/oidc/node_modules/npm/man/man1/npm-view.1 +213 -0
  360. package/oidc/node_modules/npm/man/man1/npm-whoami.1 +39 -0
  361. package/oidc/node_modules/npm/man/man1/npm.1 +131 -0
  362. package/oidc/node_modules/npm/man/man1/npx.1 +156 -0
  363. package/oidc/node_modules/npm/man/man5/folders.5 +147 -0
  364. package/oidc/node_modules/npm/man/man5/install.5 +54 -0
  365. package/oidc/node_modules/npm/man/man5/npm-global.5 +147 -0
  366. package/oidc/node_modules/npm/man/man5/npm-json.5 +1155 -0
  367. package/oidc/node_modules/npm/man/man5/npm-shrinkwrap-json.5 +23 -0
  368. package/oidc/node_modules/npm/man/man5/npmrc.5 +135 -0
  369. package/oidc/node_modules/npm/man/man5/package-json.5 +1155 -0
  370. package/oidc/node_modules/npm/man/man5/package-lock-json.5 +158 -0
  371. package/oidc/node_modules/npm/man/man7/config.7 +2080 -0
  372. package/oidc/node_modules/npm/man/man7/dependency-selectors.7 +331 -0
  373. package/oidc/node_modules/npm/man/man7/developers.7 +234 -0
  374. package/oidc/node_modules/npm/man/man7/logging.7 +108 -0
  375. package/oidc/node_modules/npm/man/man7/orgs.7 +145 -0
  376. package/oidc/node_modules/npm/man/man7/package-spec.7 +126 -0
  377. package/oidc/node_modules/npm/man/man7/registry.7 +49 -0
  378. package/oidc/node_modules/npm/man/man7/removal.7 +54 -0
  379. package/oidc/node_modules/npm/man/man7/scope.7 +113 -0
  380. package/oidc/node_modules/npm/man/man7/scripts.7 +422 -0
  381. package/oidc/node_modules/npm/man/man7/workspaces.7 +214 -0
  382. package/oidc/node_modules/npm/node_modules/@isaacs/balanced-match/LICENSE.md +23 -0
  383. package/oidc/node_modules/npm/node_modules/@isaacs/balanced-match/dist/commonjs/index.js +59 -0
  384. package/oidc/node_modules/npm/node_modules/@isaacs/balanced-match/dist/commonjs/package.json +3 -0
  385. package/oidc/node_modules/npm/node_modules/@isaacs/balanced-match/dist/esm/index.js +54 -0
  386. package/oidc/node_modules/npm/node_modules/@isaacs/balanced-match/dist/esm/package.json +3 -0
  387. package/oidc/node_modules/npm/node_modules/@isaacs/balanced-match/package.json +79 -0
  388. package/oidc/node_modules/npm/node_modules/@isaacs/brace-expansion/LICENSE +23 -0
  389. package/oidc/node_modules/npm/node_modules/@isaacs/brace-expansion/dist/commonjs/index.js +196 -0
  390. package/oidc/node_modules/npm/node_modules/@isaacs/brace-expansion/dist/commonjs/package.json +3 -0
  391. package/oidc/node_modules/npm/node_modules/@isaacs/brace-expansion/dist/esm/index.js +193 -0
  392. package/oidc/node_modules/npm/node_modules/@isaacs/brace-expansion/dist/esm/package.json +3 -0
  393. package/oidc/node_modules/npm/node_modules/@isaacs/brace-expansion/package.json +71 -0
  394. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/LICENSE.txt +14 -0
  395. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/build/index.cjs +317 -0
  396. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/build/index.d.cts +43 -0
  397. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/build/lib/index.js +302 -0
  398. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/index.mjs +14 -0
  399. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js +14 -0
  400. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/license +9 -0
  401. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex/package.json +61 -0
  402. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  403. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/RGI_Emoji.js +6 -0
  404. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/RGI_Emoji.js +6 -0
  405. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/index.js +6 -0
  406. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/text.js +6 -0
  407. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/index.js +6 -0
  408. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/package.json +52 -0
  409. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex/text.js +6 -0
  410. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/index.js +54 -0
  411. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/license +9 -0
  412. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width/package.json +59 -0
  413. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js +14 -0
  414. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/license +9 -0
  415. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +59 -0
  416. package/oidc/node_modules/npm/node_modules/@isaacs/cliui/package.json +86 -0
  417. package/oidc/node_modules/npm/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
  418. package/oidc/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
  419. package/oidc/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
  420. package/oidc/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
  421. package/oidc/node_modules/npm/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
  422. package/oidc/node_modules/npm/node_modules/@isaacs/fs-minipass/package.json +72 -0
  423. package/oidc/node_modules/npm/node_modules/@isaacs/string-locale-compare/LICENSE +15 -0
  424. package/oidc/node_modules/npm/node_modules/@isaacs/string-locale-compare/index.js +42 -0
  425. package/oidc/node_modules/npm/node_modules/@isaacs/string-locale-compare/package.json +28 -0
  426. package/oidc/node_modules/npm/node_modules/@npmcli/agent/lib/agents.js +206 -0
  427. package/oidc/node_modules/npm/node_modules/@npmcli/agent/lib/dns.js +53 -0
  428. package/oidc/node_modules/npm/node_modules/@npmcli/agent/lib/errors.js +61 -0
  429. package/oidc/node_modules/npm/node_modules/@npmcli/agent/lib/index.js +56 -0
  430. package/oidc/node_modules/npm/node_modules/@npmcli/agent/lib/options.js +86 -0
  431. package/oidc/node_modules/npm/node_modules/@npmcli/agent/lib/proxy.js +88 -0
  432. package/oidc/node_modules/npm/node_modules/@npmcli/agent/package.json +60 -0
  433. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/LICENSE.md +20 -0
  434. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/README.md +315 -0
  435. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/actual.js +19 -0
  436. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/audit.js +51 -0
  437. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/funding.js +38 -0
  438. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/ideal.js +14 -0
  439. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/index.js +112 -0
  440. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/logging.js +77 -0
  441. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/options.js +123 -0
  442. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/print-tree.js +4 -0
  443. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/lib/timers.js +33 -0
  444. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/license.js +48 -0
  445. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/prune.js +48 -0
  446. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/reify.js +48 -0
  447. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/shrinkwrap.js +7 -0
  448. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/bin/virtual.js +14 -0
  449. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/add-rm-pkg-deps.js +143 -0
  450. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js +1607 -0
  451. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/index.js +280 -0
  452. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/isolated-reifier.js +453 -0
  453. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/load-actual.js +442 -0
  454. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/load-virtual.js +305 -0
  455. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js +403 -0
  456. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js +1516 -0
  457. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js +328 -0
  458. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/calc-dep-flags.js +145 -0
  459. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/can-place-dep.js +436 -0
  460. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/case-insensitive-map.js +50 -0
  461. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/consistent-resolve.js +44 -0
  462. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/debug.js +32 -0
  463. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/deepest-nesting-target.js +18 -0
  464. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/dep-valid.js +150 -0
  465. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/diff.js +324 -0
  466. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/edge.js +358 -0
  467. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/from-path.js +30 -0
  468. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/gather-dep-set.js +43 -0
  469. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/index.js +6 -0
  470. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/inventory.js +138 -0
  471. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/link.js +126 -0
  472. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/node.js +1618 -0
  473. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/optional-set.js +36 -0
  474. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/override-resolves.js +11 -0
  475. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/override-set.js +209 -0
  476. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/packument-cache.js +77 -0
  477. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/peer-entry-sets.js +77 -0
  478. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/place-dep.js +569 -0
  479. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/printable.js +198 -0
  480. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/query-selector-all.js +945 -0
  481. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/realpath.js +95 -0
  482. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/relpath.js +3 -0
  483. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/reset-dep-flags.js +15 -0
  484. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/retire-path.js +19 -0
  485. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/shrinkwrap.js +1181 -0
  486. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/signal-handling.js +74 -0
  487. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/signals.js +58 -0
  488. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/spec-from-lock.js +34 -0
  489. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/tracker.js +86 -0
  490. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/tree-check.js +155 -0
  491. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/version-from-tgz.js +47 -0
  492. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/vuln.js +214 -0
  493. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/lib/yarn-lock.js +377 -0
  494. package/oidc/node_modules/npm/node_modules/@npmcli/arborist/package.json +98 -0
  495. package/oidc/node_modules/npm/node_modules/@npmcli/config/LICENSE +15 -0
  496. package/oidc/node_modules/npm/node_modules/@npmcli/config/README.md +226 -0
  497. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/definitions/definition.js +253 -0
  498. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/definitions/definitions.js +2318 -0
  499. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/definitions/index.js +80 -0
  500. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/env-replace.js +16 -0
  501. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/errors.js +23 -0
  502. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/index.js +977 -0
  503. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/nerf-dart.js +18 -0
  504. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/parse-field.js +86 -0
  505. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/set-envs.js +113 -0
  506. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/type-defs.js +61 -0
  507. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/type-description.js +21 -0
  508. package/oidc/node_modules/npm/node_modules/@npmcli/config/lib/umask.js +35 -0
  509. package/oidc/node_modules/npm/node_modules/@npmcli/config/package.json +57 -0
  510. package/oidc/node_modules/npm/node_modules/@npmcli/fs/LICENSE.md +20 -0
  511. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/common/get-options.js +20 -0
  512. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/common/node.js +9 -0
  513. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/cp/LICENSE +15 -0
  514. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/cp/errors.js +129 -0
  515. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/cp/index.js +22 -0
  516. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/cp/polyfill.js +428 -0
  517. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/index.js +13 -0
  518. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/move-file.js +78 -0
  519. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/readdir-scoped.js +20 -0
  520. package/oidc/node_modules/npm/node_modules/@npmcli/fs/lib/with-temp-dir.js +39 -0
  521. package/oidc/node_modules/npm/node_modules/@npmcli/fs/package.json +54 -0
  522. package/oidc/node_modules/npm/node_modules/@npmcli/git/LICENSE +15 -0
  523. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/clone.js +172 -0
  524. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/errors.js +36 -0
  525. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/find.js +15 -0
  526. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/index.js +9 -0
  527. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/is-clean.js +6 -0
  528. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/is.js +4 -0
  529. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/lines-to-revs.js +147 -0
  530. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js +33 -0
  531. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/opts.js +57 -0
  532. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/revs.js +22 -0
  533. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js +44 -0
  534. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/utils.js +3 -0
  535. package/oidc/node_modules/npm/node_modules/@npmcli/git/lib/which.js +18 -0
  536. package/oidc/node_modules/npm/node_modules/@npmcli/git/package.json +58 -0
  537. package/oidc/node_modules/npm/node_modules/@npmcli/installed-package-contents/LICENSE +15 -0
  538. package/oidc/node_modules/npm/node_modules/@npmcli/installed-package-contents/README.md +109 -0
  539. package/oidc/node_modules/npm/node_modules/@npmcli/installed-package-contents/bin/index.js +44 -0
  540. package/oidc/node_modules/npm/node_modules/@npmcli/installed-package-contents/lib/index.js +181 -0
  541. package/oidc/node_modules/npm/node_modules/@npmcli/installed-package-contents/package.json +52 -0
  542. package/oidc/node_modules/npm/node_modules/@npmcli/map-workspaces/LICENSE.md +20 -0
  543. package/oidc/node_modules/npm/node_modules/@npmcli/map-workspaces/lib/index.js +226 -0
  544. package/oidc/node_modules/npm/node_modules/@npmcli/map-workspaces/package.json +61 -0
  545. package/oidc/node_modules/npm/node_modules/@npmcli/metavuln-calculator/LICENSE +15 -0
  546. package/oidc/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/advisory.js +435 -0
  547. package/oidc/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/get-dep-spec.js +15 -0
  548. package/oidc/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/hash.js +5 -0
  549. package/oidc/node_modules/npm/node_modules/@npmcli/metavuln-calculator/lib/index.js +128 -0
  550. package/oidc/node_modules/npm/node_modules/@npmcli/metavuln-calculator/package.json +62 -0
  551. package/oidc/node_modules/npm/node_modules/@npmcli/name-from-folder/LICENSE +15 -0
  552. package/oidc/node_modules/npm/node_modules/@npmcli/name-from-folder/lib/index.js +7 -0
  553. package/oidc/node_modules/npm/node_modules/@npmcli/name-from-folder/package.json +45 -0
  554. package/oidc/node_modules/npm/node_modules/@npmcli/node-gyp/LICENSE +7 -0
  555. package/oidc/node_modules/npm/node_modules/@npmcli/node-gyp/lib/index.js +14 -0
  556. package/oidc/node_modules/npm/node_modules/@npmcli/node-gyp/package.json +50 -0
  557. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/LICENSE +18 -0
  558. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/index.js +296 -0
  559. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/normalize-data.js +254 -0
  560. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/normalize.js +614 -0
  561. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/read-package.js +39 -0
  562. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/sort.js +101 -0
  563. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/update-dependencies.js +75 -0
  564. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/update-scripts.js +29 -0
  565. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/lib/update-workspaces.js +26 -0
  566. package/oidc/node_modules/npm/node_modules/@npmcli/package-json/package.json +59 -0
  567. package/oidc/node_modules/npm/node_modules/@npmcli/promise-spawn/LICENSE +15 -0
  568. package/oidc/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/escape.js +68 -0
  569. package/oidc/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js +218 -0
  570. package/oidc/node_modules/npm/node_modules/@npmcli/promise-spawn/package.json +51 -0
  571. package/oidc/node_modules/npm/node_modules/@npmcli/query/LICENSE +20 -0
  572. package/oidc/node_modules/npm/node_modules/@npmcli/query/lib/index.js +255 -0
  573. package/oidc/node_modules/npm/node_modules/@npmcli/query/package.json +64 -0
  574. package/oidc/node_modules/npm/node_modules/@npmcli/redact/LICENSE +21 -0
  575. package/oidc/node_modules/npm/node_modules/@npmcli/redact/lib/deep-map.js +71 -0
  576. package/oidc/node_modules/npm/node_modules/@npmcli/redact/lib/error.js +28 -0
  577. package/oidc/node_modules/npm/node_modules/@npmcli/redact/lib/index.js +44 -0
  578. package/oidc/node_modules/npm/node_modules/@npmcli/redact/lib/matchers.js +88 -0
  579. package/oidc/node_modules/npm/node_modules/@npmcli/redact/lib/server.js +59 -0
  580. package/oidc/node_modules/npm/node_modules/@npmcli/redact/lib/utils.js +202 -0
  581. package/oidc/node_modules/npm/node_modules/@npmcli/redact/package.json +52 -0
  582. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/LICENSE +15 -0
  583. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/is-server-package.js +11 -0
  584. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/make-spawn-args.js +53 -0
  585. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp +2 -0
  586. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp.cmd +1 -0
  587. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/package-envs.js +29 -0
  588. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js +114 -0
  589. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js +15 -0
  590. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/set-path.js +45 -0
  591. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/signal-manager.js +50 -0
  592. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/lib/validate-options.js +39 -0
  593. package/oidc/node_modules/npm/node_modules/@npmcli/run-script/package.json +54 -0
  594. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/LICENSE +201 -0
  595. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/examples/is-default-value.js +25 -0
  596. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +35 -0
  597. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/examples/negate.js +43 -0
  598. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +31 -0
  599. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +41 -0
  600. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +26 -0
  601. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/index.js +396 -0
  602. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/internal/errors.js +47 -0
  603. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/internal/primordials.js +393 -0
  604. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/internal/util.js +14 -0
  605. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/internal/validators.js +89 -0
  606. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/package.json +36 -0
  607. package/oidc/node_modules/npm/node_modules/@pkgjs/parseargs/utils.js +198 -0
  608. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/LICENSE +202 -0
  609. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/dist/build.js +100 -0
  610. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/dist/bundle.js +24 -0
  611. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/dist/error.js +25 -0
  612. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/dist/index.js +43 -0
  613. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/dist/serialized.js +49 -0
  614. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/dist/utility.js +2 -0
  615. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/dist/validate.js +199 -0
  616. package/oidc/node_modules/npm/node_modules/@sigstore/bundle/package.json +35 -0
  617. package/oidc/node_modules/npm/node_modules/@sigstore/core/LICENSE +202 -0
  618. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/asn1/error.js +24 -0
  619. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/asn1/index.js +20 -0
  620. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/asn1/length.js +62 -0
  621. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/asn1/obj.js +152 -0
  622. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/asn1/parse.js +124 -0
  623. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/asn1/tag.js +86 -0
  624. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/crypto.js +60 -0
  625. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/dsse.js +30 -0
  626. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/encoding.js +27 -0
  627. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/index.js +66 -0
  628. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/json.js +60 -0
  629. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/oid.js +14 -0
  630. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/pem.js +43 -0
  631. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/rfc3161/error.js +21 -0
  632. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/rfc3161/index.js +20 -0
  633. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/rfc3161/timestamp.js +211 -0
  634. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/rfc3161/tstinfo.js +71 -0
  635. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/stream.js +115 -0
  636. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/x509/cert.js +241 -0
  637. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/x509/ext.js +145 -0
  638. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/x509/index.js +23 -0
  639. package/oidc/node_modules/npm/node_modules/@sigstore/core/dist/x509/sct.js +151 -0
  640. package/oidc/node_modules/npm/node_modules/@sigstore/core/package.json +31 -0
  641. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/LICENSE +202 -0
  642. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/envelope.js +59 -0
  643. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/events.js +174 -0
  644. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/api/field_behavior.js +141 -0
  645. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/any.js +35 -0
  646. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/descriptor.js +2042 -0
  647. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/timestamp.js +29 -0
  648. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/dsse.js +55 -0
  649. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/entry.js +81 -0
  650. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/hashedrekord.js +56 -0
  651. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/rekor/v2/verifier.js +74 -0
  652. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_bundle.js +103 -0
  653. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_common.js +596 -0
  654. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_rekor.js +137 -0
  655. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_trustroot.js +284 -0
  656. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/sigstore_verification.js +281 -0
  657. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/index.js +37 -0
  658. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/dist/rekor/v2/index.js +35 -0
  659. package/oidc/node_modules/npm/node_modules/@sigstore/protobuf-specs/package.json +35 -0
  660. package/oidc/node_modules/npm/node_modules/@sigstore/sign/LICENSE +202 -0
  661. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/base.js +50 -0
  662. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/bundle.js +81 -0
  663. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/dsse.js +46 -0
  664. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/index.js +7 -0
  665. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/bundler/message.js +30 -0
  666. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/error.js +39 -0
  667. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/external/error.js +26 -0
  668. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/external/fetch.js +98 -0
  669. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/external/fulcio.js +41 -0
  670. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/external/rekor.js +80 -0
  671. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/external/tsa.js +38 -0
  672. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/identity/ci.js +73 -0
  673. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/identity/index.js +20 -0
  674. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/identity/provider.js +2 -0
  675. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/index.js +17 -0
  676. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/signer/fulcio/ca.js +59 -0
  677. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/signer/fulcio/ephemeral.js +45 -0
  678. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/signer/fulcio/index.js +87 -0
  679. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/signer/index.js +22 -0
  680. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/signer/signer.js +17 -0
  681. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/types/fetch.js +2 -0
  682. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/util/index.js +59 -0
  683. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/util/oidc.js +35 -0
  684. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/util/ua.js +32 -0
  685. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/witness/index.js +24 -0
  686. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tlog/client.js +61 -0
  687. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tlog/entry.js +140 -0
  688. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tlog/index.js +82 -0
  689. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tsa/client.js +46 -0
  690. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/witness/tsa/index.js +44 -0
  691. package/oidc/node_modules/npm/node_modules/@sigstore/sign/dist/witness/witness.js +2 -0
  692. package/oidc/node_modules/npm/node_modules/@sigstore/sign/package.json +46 -0
  693. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/LICENSE +202 -0
  694. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/dist/appdata.js +43 -0
  695. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/dist/client.js +113 -0
  696. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/dist/error.js +12 -0
  697. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/dist/index.js +56 -0
  698. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/dist/target.js +79 -0
  699. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/package.json +41 -0
  700. package/oidc/node_modules/npm/node_modules/@sigstore/tuf/seeds.json +1 -0
  701. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/bundle/dsse.js +43 -0
  702. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/bundle/index.js +57 -0
  703. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/bundle/message.js +36 -0
  704. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/error.js +32 -0
  705. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/index.js +28 -0
  706. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/key/certificate.js +212 -0
  707. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/key/index.js +67 -0
  708. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/key/sct.js +78 -0
  709. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/policy.js +24 -0
  710. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/shared.types.js +2 -0
  711. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/checkpoint.js +157 -0
  712. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/index.js +46 -0
  713. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/merkle.js +104 -0
  714. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/set.js +60 -0
  715. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/timestamp/tsa.js +63 -0
  716. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/tlog/dsse.js +57 -0
  717. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/tlog/hashedrekord.js +51 -0
  718. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/tlog/index.js +47 -0
  719. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/tlog/intoto.js +62 -0
  720. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/trust/filter.js +23 -0
  721. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/trust/index.js +86 -0
  722. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/trust/trust.types.js +2 -0
  723. package/oidc/node_modules/npm/node_modules/@sigstore/verify/dist/verifier.js +143 -0
  724. package/oidc/node_modules/npm/node_modules/@sigstore/verify/package.json +36 -0
  725. package/oidc/node_modules/npm/node_modules/@tufjs/canonical-json/LICENSE +21 -0
  726. package/oidc/node_modules/npm/node_modules/@tufjs/canonical-json/lib/index.js +64 -0
  727. package/oidc/node_modules/npm/node_modules/@tufjs/canonical-json/package.json +35 -0
  728. package/oidc/node_modules/npm/node_modules/@tufjs/models/LICENSE +21 -0
  729. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/base.js +96 -0
  730. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/delegations.js +119 -0
  731. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/error.js +27 -0
  732. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/file.js +191 -0
  733. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/index.js +24 -0
  734. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/key.js +90 -0
  735. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/metadata.js +165 -0
  736. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/role.js +310 -0
  737. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/root.js +119 -0
  738. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/signature.js +40 -0
  739. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/snapshot.js +72 -0
  740. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/targets.js +94 -0
  741. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/timestamp.js +59 -0
  742. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/utils/guard.js +32 -0
  743. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/utils/index.js +38 -0
  744. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/utils/key.js +142 -0
  745. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/utils/oid.js +26 -0
  746. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/utils/types.js +2 -0
  747. package/oidc/node_modules/npm/node_modules/@tufjs/models/dist/utils/verify.js +13 -0
  748. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/LICENSE +15 -0
  749. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  750. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/ast.js +592 -0
  751. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
  752. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/escape.js +22 -0
  753. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/index.js +1017 -0
  754. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/package.json +3 -0
  755. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
  756. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  757. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/ast.js +588 -0
  758. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
  759. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/escape.js +18 -0
  760. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/index.js +1001 -0
  761. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/package.json +3 -0
  762. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/dist/esm/unescape.js +20 -0
  763. package/oidc/node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch/package.json +82 -0
  764. package/oidc/node_modules/npm/node_modules/@tufjs/models/package.json +37 -0
  765. package/oidc/node_modules/npm/node_modules/abbrev/LICENSE +46 -0
  766. package/oidc/node_modules/npm/node_modules/abbrev/lib/index.js +53 -0
  767. package/oidc/node_modules/npm/node_modules/abbrev/package.json +45 -0
  768. package/oidc/node_modules/npm/node_modules/agent-base/LICENSE +22 -0
  769. package/oidc/node_modules/npm/node_modules/agent-base/dist/helpers.js +66 -0
  770. package/oidc/node_modules/npm/node_modules/agent-base/dist/index.js +178 -0
  771. package/oidc/node_modules/npm/node_modules/agent-base/package.json +46 -0
  772. package/oidc/node_modules/npm/node_modules/ansi-regex/index.js +10 -0
  773. package/oidc/node_modules/npm/node_modules/ansi-regex/license +9 -0
  774. package/oidc/node_modules/npm/node_modules/ansi-regex/package.json +55 -0
  775. package/oidc/node_modules/npm/node_modules/ansi-styles/index.js +223 -0
  776. package/oidc/node_modules/npm/node_modules/ansi-styles/license +9 -0
  777. package/oidc/node_modules/npm/node_modules/ansi-styles/package.json +54 -0
  778. package/oidc/node_modules/npm/node_modules/aproba/LICENSE +14 -0
  779. package/oidc/node_modules/npm/node_modules/aproba/index.js +105 -0
  780. package/oidc/node_modules/npm/node_modules/aproba/package.json +35 -0
  781. package/oidc/node_modules/npm/node_modules/archy/LICENSE +18 -0
  782. package/oidc/node_modules/npm/node_modules/archy/examples/beep.js +24 -0
  783. package/oidc/node_modules/npm/node_modules/archy/examples/multi_line.js +25 -0
  784. package/oidc/node_modules/npm/node_modules/archy/index.js +35 -0
  785. package/oidc/node_modules/npm/node_modules/archy/package.json +40 -0
  786. package/oidc/node_modules/npm/node_modules/archy/test/beep.js +40 -0
  787. package/oidc/node_modules/npm/node_modules/archy/test/multi_line.js +45 -0
  788. package/oidc/node_modules/npm/node_modules/archy/test/non_unicode.js +40 -0
  789. package/oidc/node_modules/npm/node_modules/balanced-match/LICENSE.md +21 -0
  790. package/oidc/node_modules/npm/node_modules/balanced-match/index.js +62 -0
  791. package/oidc/node_modules/npm/node_modules/balanced-match/package.json +48 -0
  792. package/oidc/node_modules/npm/node_modules/bin-links/LICENSE +15 -0
  793. package/oidc/node_modules/npm/node_modules/bin-links/lib/bin-target.js +9 -0
  794. package/oidc/node_modules/npm/node_modules/bin-links/lib/check-bin.js +74 -0
  795. package/oidc/node_modules/npm/node_modules/bin-links/lib/check-bins.js +18 -0
  796. package/oidc/node_modules/npm/node_modules/bin-links/lib/fix-bin.js +42 -0
  797. package/oidc/node_modules/npm/node_modules/bin-links/lib/get-node-modules.js +19 -0
  798. package/oidc/node_modules/npm/node_modules/bin-links/lib/get-paths.js +42 -0
  799. package/oidc/node_modules/npm/node_modules/bin-links/lib/get-prefix.js +3 -0
  800. package/oidc/node_modules/npm/node_modules/bin-links/lib/index.js +44 -0
  801. package/oidc/node_modules/npm/node_modules/bin-links/lib/is-windows.js +2 -0
  802. package/oidc/node_modules/npm/node_modules/bin-links/lib/link-bin.js +9 -0
  803. package/oidc/node_modules/npm/node_modules/bin-links/lib/link-bins.js +23 -0
  804. package/oidc/node_modules/npm/node_modules/bin-links/lib/link-gently.js +96 -0
  805. package/oidc/node_modules/npm/node_modules/bin-links/lib/link-mans.js +53 -0
  806. package/oidc/node_modules/npm/node_modules/bin-links/lib/man-target.js +6 -0
  807. package/oidc/node_modules/npm/node_modules/bin-links/lib/shim-bin.js +86 -0
  808. package/oidc/node_modules/npm/node_modules/bin-links/package.json +61 -0
  809. package/oidc/node_modules/npm/node_modules/binary-extensions/binary-extensions.json +264 -0
  810. package/oidc/node_modules/npm/node_modules/binary-extensions/index.js +3 -0
  811. package/oidc/node_modules/npm/node_modules/binary-extensions/license +10 -0
  812. package/oidc/node_modules/npm/node_modules/binary-extensions/package.json +45 -0
  813. package/oidc/node_modules/npm/node_modules/brace-expansion/LICENSE +21 -0
  814. package/oidc/node_modules/npm/node_modules/brace-expansion/index.js +203 -0
  815. package/oidc/node_modules/npm/node_modules/brace-expansion/package.json +49 -0
  816. package/oidc/node_modules/npm/node_modules/cacache/LICENSE.md +16 -0
  817. package/oidc/node_modules/npm/node_modules/cacache/lib/content/path.js +29 -0
  818. package/oidc/node_modules/npm/node_modules/cacache/lib/content/read.js +165 -0
  819. package/oidc/node_modules/npm/node_modules/cacache/lib/content/rm.js +18 -0
  820. package/oidc/node_modules/npm/node_modules/cacache/lib/content/write.js +206 -0
  821. package/oidc/node_modules/npm/node_modules/cacache/lib/entry-index.js +336 -0
  822. package/oidc/node_modules/npm/node_modules/cacache/lib/get.js +170 -0
  823. package/oidc/node_modules/npm/node_modules/cacache/lib/index.js +42 -0
  824. package/oidc/node_modules/npm/node_modules/cacache/lib/memoization.js +72 -0
  825. package/oidc/node_modules/npm/node_modules/cacache/lib/put.js +80 -0
  826. package/oidc/node_modules/npm/node_modules/cacache/lib/rm.js +31 -0
  827. package/oidc/node_modules/npm/node_modules/cacache/lib/util/glob.js +7 -0
  828. package/oidc/node_modules/npm/node_modules/cacache/lib/util/hash-to-segments.js +7 -0
  829. package/oidc/node_modules/npm/node_modules/cacache/lib/util/tmp.js +26 -0
  830. package/oidc/node_modules/npm/node_modules/cacache/lib/verify.js +258 -0
  831. package/oidc/node_modules/npm/node_modules/cacache/package.json +82 -0
  832. package/oidc/node_modules/npm/node_modules/chalk/license +9 -0
  833. package/oidc/node_modules/npm/node_modules/chalk/package.json +83 -0
  834. package/oidc/node_modules/npm/node_modules/chalk/source/index.js +225 -0
  835. package/oidc/node_modules/npm/node_modules/chalk/source/utilities.js +33 -0
  836. package/oidc/node_modules/npm/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  837. package/oidc/node_modules/npm/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
  838. package/oidc/node_modules/npm/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
  839. package/oidc/node_modules/npm/node_modules/chownr/LICENSE.md +63 -0
  840. package/oidc/node_modules/npm/node_modules/chownr/dist/commonjs/index.js +93 -0
  841. package/oidc/node_modules/npm/node_modules/chownr/dist/commonjs/package.json +3 -0
  842. package/oidc/node_modules/npm/node_modules/chownr/dist/esm/index.js +85 -0
  843. package/oidc/node_modules/npm/node_modules/chownr/dist/esm/package.json +3 -0
  844. package/oidc/node_modules/npm/node_modules/chownr/package.json +69 -0
  845. package/oidc/node_modules/npm/node_modules/ci-info/LICENSE +21 -0
  846. package/oidc/node_modules/npm/node_modules/ci-info/index.js +104 -0
  847. package/oidc/node_modules/npm/node_modules/ci-info/package.json +54 -0
  848. package/oidc/node_modules/npm/node_modules/ci-info/vendors.json +358 -0
  849. package/oidc/node_modules/npm/node_modules/cidr-regex/LICENSE +22 -0
  850. package/oidc/node_modules/npm/node_modules/cidr-regex/dist/index.js +15 -0
  851. package/oidc/node_modules/npm/node_modules/cidr-regex/package.json +38 -0
  852. package/oidc/node_modules/npm/node_modules/cli-columns/color.js +16 -0
  853. package/oidc/node_modules/npm/node_modules/cli-columns/index.js +82 -0
  854. package/oidc/node_modules/npm/node_modules/cli-columns/license +20 -0
  855. package/oidc/node_modules/npm/node_modules/cli-columns/package.json +54 -0
  856. package/oidc/node_modules/npm/node_modules/cli-columns/test.js +101 -0
  857. package/oidc/node_modules/npm/node_modules/cmd-shim/LICENSE +15 -0
  858. package/oidc/node_modules/npm/node_modules/cmd-shim/lib/index.js +247 -0
  859. package/oidc/node_modules/npm/node_modules/cmd-shim/lib/to-batch-syntax.js +49 -0
  860. package/oidc/node_modules/npm/node_modules/cmd-shim/package.json +48 -0
  861. package/oidc/node_modules/npm/node_modules/color-convert/LICENSE +21 -0
  862. package/oidc/node_modules/npm/node_modules/color-convert/conversions.js +839 -0
  863. package/oidc/node_modules/npm/node_modules/color-convert/index.js +81 -0
  864. package/oidc/node_modules/npm/node_modules/color-convert/package.json +48 -0
  865. package/oidc/node_modules/npm/node_modules/color-convert/route.js +97 -0
  866. package/oidc/node_modules/npm/node_modules/color-name/LICENSE +8 -0
  867. package/oidc/node_modules/npm/node_modules/color-name/index.js +152 -0
  868. package/oidc/node_modules/npm/node_modules/color-name/package.json +28 -0
  869. package/oidc/node_modules/npm/node_modules/common-ancestor-path/LICENSE +15 -0
  870. package/oidc/node_modules/npm/node_modules/common-ancestor-path/index.js +17 -0
  871. package/oidc/node_modules/npm/node_modules/common-ancestor-path/package.json +28 -0
  872. package/oidc/node_modules/npm/node_modules/cross-spawn/LICENSE +21 -0
  873. package/oidc/node_modules/npm/node_modules/cross-spawn/index.js +39 -0
  874. package/oidc/node_modules/npm/node_modules/cross-spawn/lib/enoent.js +59 -0
  875. package/oidc/node_modules/npm/node_modules/cross-spawn/lib/parse.js +91 -0
  876. package/oidc/node_modules/npm/node_modules/cross-spawn/lib/util/escape.js +47 -0
  877. package/oidc/node_modules/npm/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
  878. package/oidc/node_modules/npm/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
  879. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/LICENSE +15 -0
  880. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/index.js +57 -0
  881. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/mode.js +41 -0
  882. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/package.json +31 -0
  883. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/test/basic.js +221 -0
  884. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/isexe/windows.js +42 -0
  885. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/which/LICENSE +15 -0
  886. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/which/README.md +54 -0
  887. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/which/bin/node-which +52 -0
  888. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/which/package.json +43 -0
  889. package/oidc/node_modules/npm/node_modules/cross-spawn/node_modules/which/which.js +125 -0
  890. package/oidc/node_modules/npm/node_modules/cross-spawn/package.json +73 -0
  891. package/oidc/node_modules/npm/node_modules/cssesc/LICENSE-MIT.txt +20 -0
  892. package/oidc/node_modules/npm/node_modules/cssesc/README.md +201 -0
  893. package/oidc/node_modules/npm/node_modules/cssesc/bin/cssesc +116 -0
  894. package/oidc/node_modules/npm/node_modules/cssesc/cssesc.js +110 -0
  895. package/oidc/node_modules/npm/node_modules/cssesc/man/cssesc.1 +70 -0
  896. package/oidc/node_modules/npm/node_modules/cssesc/package.json +51 -0
  897. package/oidc/node_modules/npm/node_modules/debug/LICENSE +20 -0
  898. package/oidc/node_modules/npm/node_modules/debug/package.json +64 -0
  899. package/oidc/node_modules/npm/node_modules/debug/src/browser.js +272 -0
  900. package/oidc/node_modules/npm/node_modules/debug/src/common.js +292 -0
  901. package/oidc/node_modules/npm/node_modules/debug/src/index.js +10 -0
  902. package/oidc/node_modules/npm/node_modules/debug/src/node.js +263 -0
  903. package/oidc/node_modules/npm/node_modules/diff/CONTRIBUTING.md +28 -0
  904. package/oidc/node_modules/npm/node_modules/diff/LICENSE +29 -0
  905. package/oidc/node_modules/npm/node_modules/diff/dist/diff.js +1674 -0
  906. package/oidc/node_modules/npm/node_modules/diff/dist/diff.min.js +1 -0
  907. package/oidc/node_modules/npm/node_modules/diff/eslint.config.mjs +182 -0
  908. package/oidc/node_modules/npm/node_modules/diff/libcjs/convert/dmp.js +24 -0
  909. package/oidc/node_modules/npm/node_modules/diff/libcjs/convert/xml.js +34 -0
  910. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/array.js +40 -0
  911. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/base.js +265 -0
  912. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/character.js +31 -0
  913. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/css.js +34 -0
  914. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/json.js +105 -0
  915. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/line.js +89 -0
  916. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/sentence.js +67 -0
  917. package/oidc/node_modules/npm/node_modules/diff/libcjs/diff/word.js +307 -0
  918. package/oidc/node_modules/npm/node_modules/diff/libcjs/index.js +61 -0
  919. package/oidc/node_modules/npm/node_modules/diff/libcjs/package.json +1 -0
  920. package/oidc/node_modules/npm/node_modules/diff/libcjs/patch/apply.js +267 -0
  921. package/oidc/node_modules/npm/node_modules/diff/libcjs/patch/create.js +223 -0
  922. package/oidc/node_modules/npm/node_modules/diff/libcjs/patch/line-endings.js +61 -0
  923. package/oidc/node_modules/npm/node_modules/diff/libcjs/patch/parse.js +133 -0
  924. package/oidc/node_modules/npm/node_modules/diff/libcjs/patch/reverse.js +37 -0
  925. package/oidc/node_modules/npm/node_modules/diff/libcjs/types.js +2 -0
  926. package/oidc/node_modules/npm/node_modules/diff/libcjs/util/array.js +21 -0
  927. package/oidc/node_modules/npm/node_modules/diff/libcjs/util/distance-iterator.js +40 -0
  928. package/oidc/node_modules/npm/node_modules/diff/libcjs/util/params.js +17 -0
  929. package/oidc/node_modules/npm/node_modules/diff/libcjs/util/string.js +141 -0
  930. package/oidc/node_modules/npm/node_modules/diff/libesm/convert/dmp.js +21 -0
  931. package/oidc/node_modules/npm/node_modules/diff/libesm/convert/xml.js +31 -0
  932. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/array.js +16 -0
  933. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/base.js +253 -0
  934. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/character.js +7 -0
  935. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/css.js +10 -0
  936. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/json.js +78 -0
  937. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/line.js +65 -0
  938. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/sentence.js +43 -0
  939. package/oidc/node_modules/npm/node_modules/diff/libesm/diff/word.js +276 -0
  940. package/oidc/node_modules/npm/node_modules/diff/libesm/index.js +30 -0
  941. package/oidc/node_modules/npm/node_modules/diff/libesm/package.json +1 -0
  942. package/oidc/node_modules/npm/node_modules/diff/libesm/patch/apply.js +257 -0
  943. package/oidc/node_modules/npm/node_modules/diff/libesm/patch/create.js +201 -0
  944. package/oidc/node_modules/npm/node_modules/diff/libesm/patch/line-endings.js +44 -0
  945. package/oidc/node_modules/npm/node_modules/diff/libesm/patch/parse.js +130 -0
  946. package/oidc/node_modules/npm/node_modules/diff/libesm/patch/reverse.js +23 -0
  947. package/oidc/node_modules/npm/node_modules/diff/libesm/types.js +1 -0
  948. package/oidc/node_modules/npm/node_modules/diff/libesm/util/array.js +17 -0
  949. package/oidc/node_modules/npm/node_modules/diff/libesm/util/distance-iterator.js +37 -0
  950. package/oidc/node_modules/npm/node_modules/diff/libesm/util/params.js +14 -0
  951. package/oidc/node_modules/npm/node_modules/diff/libesm/util/string.js +128 -0
  952. package/oidc/node_modules/npm/node_modules/diff/package.json +131 -0
  953. package/oidc/node_modules/npm/node_modules/diff/release-notes.md +397 -0
  954. package/oidc/node_modules/npm/node_modules/eastasianwidth/eastasianwidth.js +311 -0
  955. package/oidc/node_modules/npm/node_modules/eastasianwidth/package.json +18 -0
  956. package/oidc/node_modules/npm/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  957. package/oidc/node_modules/npm/node_modules/emoji-regex/es2015/index.js +6 -0
  958. package/oidc/node_modules/npm/node_modules/emoji-regex/es2015/text.js +6 -0
  959. package/oidc/node_modules/npm/node_modules/emoji-regex/index.js +6 -0
  960. package/oidc/node_modules/npm/node_modules/emoji-regex/package.json +50 -0
  961. package/oidc/node_modules/npm/node_modules/emoji-regex/text.js +6 -0
  962. package/oidc/node_modules/npm/node_modules/encoding/LICENSE +16 -0
  963. package/oidc/node_modules/npm/node_modules/encoding/lib/encoding.js +83 -0
  964. package/oidc/node_modules/npm/node_modules/encoding/package.json +18 -0
  965. package/oidc/node_modules/npm/node_modules/encoding/test/test.js +49 -0
  966. package/oidc/node_modules/npm/node_modules/env-paths/index.js +74 -0
  967. package/oidc/node_modules/npm/node_modules/env-paths/license +9 -0
  968. package/oidc/node_modules/npm/node_modules/env-paths/package.json +45 -0
  969. package/oidc/node_modules/npm/node_modules/err-code/bower.json +30 -0
  970. package/oidc/node_modules/npm/node_modules/err-code/index.js +47 -0
  971. package/oidc/node_modules/npm/node_modules/err-code/index.umd.js +51 -0
  972. package/oidc/node_modules/npm/node_modules/err-code/package.json +34 -0
  973. package/oidc/node_modules/npm/node_modules/err-code/test/test.js +159 -0
  974. package/oidc/node_modules/npm/node_modules/exponential-backoff/LICENSE +202 -0
  975. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/backoff.js +124 -0
  976. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/delay/always/always.delay.js +25 -0
  977. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.base.js +45 -0
  978. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.factory.js +17 -0
  979. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/delay/delay.interface.js +3 -0
  980. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +82 -0
  981. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +8 -0
  982. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +15 -0
  983. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +7 -0
  984. package/oidc/node_modules/npm/node_modules/exponential-backoff/dist/options.js +31 -0
  985. package/oidc/node_modules/npm/node_modules/exponential-backoff/package.json +62 -0
  986. package/oidc/node_modules/npm/node_modules/fastest-levenshtein/LICENSE.md +21 -0
  987. package/oidc/node_modules/npm/node_modules/fastest-levenshtein/bench.js +96 -0
  988. package/oidc/node_modules/npm/node_modules/fastest-levenshtein/esm/mod.js +138 -0
  989. package/oidc/node_modules/npm/node_modules/fastest-levenshtein/mod.js +142 -0
  990. package/oidc/node_modules/npm/node_modules/fastest-levenshtein/package.json +72 -0
  991. package/oidc/node_modules/npm/node_modules/fastest-levenshtein/test.js +55 -0
  992. package/oidc/node_modules/npm/node_modules/foreground-child/LICENSE +15 -0
  993. package/oidc/node_modules/npm/node_modules/foreground-child/dist/commonjs/all-signals.js +58 -0
  994. package/oidc/node_modules/npm/node_modules/foreground-child/dist/commonjs/index.js +123 -0
  995. package/oidc/node_modules/npm/node_modules/foreground-child/dist/commonjs/package.json +3 -0
  996. package/oidc/node_modules/npm/node_modules/foreground-child/dist/commonjs/proxy-signals.js +38 -0
  997. package/oidc/node_modules/npm/node_modules/foreground-child/dist/commonjs/watchdog.js +50 -0
  998. package/oidc/node_modules/npm/node_modules/foreground-child/dist/esm/all-signals.js +52 -0
  999. package/oidc/node_modules/npm/node_modules/foreground-child/dist/esm/index.js +115 -0
  1000. package/oidc/node_modules/npm/node_modules/foreground-child/dist/esm/package.json +3 -0
  1001. package/oidc/node_modules/npm/node_modules/foreground-child/dist/esm/proxy-signals.js +34 -0
  1002. package/oidc/node_modules/npm/node_modules/foreground-child/dist/esm/watchdog.js +46 -0
  1003. package/oidc/node_modules/npm/node_modules/foreground-child/package.json +106 -0
  1004. package/oidc/node_modules/npm/node_modules/fs-minipass/LICENSE +15 -0
  1005. package/oidc/node_modules/npm/node_modules/fs-minipass/lib/index.js +443 -0
  1006. package/oidc/node_modules/npm/node_modules/fs-minipass/package.json +54 -0
  1007. package/oidc/node_modules/npm/node_modules/glob/LICENSE +15 -0
  1008. package/oidc/node_modules/npm/node_modules/glob/README.md +1265 -0
  1009. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/glob.d.ts +388 -0
  1010. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
  1011. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/glob.js +247 -0
  1012. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/glob.js.map +1 -0
  1013. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
  1014. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
  1015. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  1016. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
  1017. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/ignore.d.ts +24 -0
  1018. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
  1019. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/ignore.js +119 -0
  1020. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
  1021. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/index.d.ts +97 -0
  1022. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
  1023. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/index.js +68 -0
  1024. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/index.js.map +1 -0
  1025. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/package.json +3 -0
  1026. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/pattern.d.ts +76 -0
  1027. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
  1028. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/pattern.js +219 -0
  1029. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
  1030. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
  1031. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
  1032. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/processor.js +301 -0
  1033. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/processor.js.map +1 -0
  1034. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/walker.d.ts +97 -0
  1035. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
  1036. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/walker.js +387 -0
  1037. package/oidc/node_modules/npm/node_modules/glob/dist/commonjs/walker.js.map +1 -0
  1038. package/oidc/node_modules/npm/node_modules/glob/dist/esm/bin.d.mts +3 -0
  1039. package/oidc/node_modules/npm/node_modules/glob/dist/esm/bin.d.mts.map +1 -0
  1040. package/oidc/node_modules/npm/node_modules/glob/dist/esm/bin.mjs +276 -0
  1041. package/oidc/node_modules/npm/node_modules/glob/dist/esm/bin.mjs.map +1 -0
  1042. package/oidc/node_modules/npm/node_modules/glob/dist/esm/glob.d.ts +388 -0
  1043. package/oidc/node_modules/npm/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
  1044. package/oidc/node_modules/npm/node_modules/glob/dist/esm/glob.js +243 -0
  1045. package/oidc/node_modules/npm/node_modules/glob/dist/esm/glob.js.map +1 -0
  1046. package/oidc/node_modules/npm/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
  1047. package/oidc/node_modules/npm/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
  1048. package/oidc/node_modules/npm/node_modules/glob/dist/esm/has-magic.js +23 -0
  1049. package/oidc/node_modules/npm/node_modules/glob/dist/esm/has-magic.js.map +1 -0
  1050. package/oidc/node_modules/npm/node_modules/glob/dist/esm/ignore.d.ts +24 -0
  1051. package/oidc/node_modules/npm/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
  1052. package/oidc/node_modules/npm/node_modules/glob/dist/esm/ignore.js +115 -0
  1053. package/oidc/node_modules/npm/node_modules/glob/dist/esm/ignore.js.map +1 -0
  1054. package/oidc/node_modules/npm/node_modules/glob/dist/esm/index.d.ts +97 -0
  1055. package/oidc/node_modules/npm/node_modules/glob/dist/esm/index.d.ts.map +1 -0
  1056. package/oidc/node_modules/npm/node_modules/glob/dist/esm/index.js +55 -0
  1057. package/oidc/node_modules/npm/node_modules/glob/dist/esm/index.js.map +1 -0
  1058. package/oidc/node_modules/npm/node_modules/glob/dist/esm/package.json +3 -0
  1059. package/oidc/node_modules/npm/node_modules/glob/dist/esm/pattern.d.ts +76 -0
  1060. package/oidc/node_modules/npm/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
  1061. package/oidc/node_modules/npm/node_modules/glob/dist/esm/pattern.js +215 -0
  1062. package/oidc/node_modules/npm/node_modules/glob/dist/esm/pattern.js.map +1 -0
  1063. package/oidc/node_modules/npm/node_modules/glob/dist/esm/processor.d.ts +59 -0
  1064. package/oidc/node_modules/npm/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
  1065. package/oidc/node_modules/npm/node_modules/glob/dist/esm/processor.js +294 -0
  1066. package/oidc/node_modules/npm/node_modules/glob/dist/esm/processor.js.map +1 -0
  1067. package/oidc/node_modules/npm/node_modules/glob/dist/esm/walker.d.ts +97 -0
  1068. package/oidc/node_modules/npm/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
  1069. package/oidc/node_modules/npm/node_modules/glob/dist/esm/walker.js +381 -0
  1070. package/oidc/node_modules/npm/node_modules/glob/dist/esm/walker.js.map +1 -0
  1071. package/oidc/node_modules/npm/node_modules/glob/package.json +97 -0
  1072. package/oidc/node_modules/npm/node_modules/graceful-fs/LICENSE +15 -0
  1073. package/oidc/node_modules/npm/node_modules/graceful-fs/clone.js +23 -0
  1074. package/oidc/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +448 -0
  1075. package/oidc/node_modules/npm/node_modules/graceful-fs/legacy-streams.js +118 -0
  1076. package/oidc/node_modules/npm/node_modules/graceful-fs/package.json +53 -0
  1077. package/oidc/node_modules/npm/node_modules/graceful-fs/polyfills.js +355 -0
  1078. package/oidc/node_modules/npm/node_modules/hosted-git-info/LICENSE +13 -0
  1079. package/oidc/node_modules/npm/node_modules/hosted-git-info/lib/from-url.js +122 -0
  1080. package/oidc/node_modules/npm/node_modules/hosted-git-info/lib/hosts.js +229 -0
  1081. package/oidc/node_modules/npm/node_modules/hosted-git-info/lib/index.js +227 -0
  1082. package/oidc/node_modules/npm/node_modules/hosted-git-info/lib/parse-url.js +81 -0
  1083. package/oidc/node_modules/npm/node_modules/hosted-git-info/package.json +61 -0
  1084. package/oidc/node_modules/npm/node_modules/http-cache-semantics/LICENSE +9 -0
  1085. package/oidc/node_modules/npm/node_modules/http-cache-semantics/index.js +928 -0
  1086. package/oidc/node_modules/npm/node_modules/http-cache-semantics/package.json +22 -0
  1087. package/oidc/node_modules/npm/node_modules/http-proxy-agent/LICENSE +22 -0
  1088. package/oidc/node_modules/npm/node_modules/http-proxy-agent/dist/index.js +148 -0
  1089. package/oidc/node_modules/npm/node_modules/http-proxy-agent/package.json +47 -0
  1090. package/oidc/node_modules/npm/node_modules/https-proxy-agent/LICENSE +22 -0
  1091. package/oidc/node_modules/npm/node_modules/https-proxy-agent/dist/index.js +180 -0
  1092. package/oidc/node_modules/npm/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
  1093. package/oidc/node_modules/npm/node_modules/https-proxy-agent/package.json +50 -0
  1094. package/oidc/node_modules/npm/node_modules/iconv-lite/LICENSE +21 -0
  1095. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -0
  1096. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/dbcs-data.js +188 -0
  1097. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/index.js +23 -0
  1098. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/internal.js +198 -0
  1099. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  1100. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  1101. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/sbcs-data.js +179 -0
  1102. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  1103. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  1104. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  1105. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  1106. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  1107. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  1108. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  1109. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  1110. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/utf16.js +197 -0
  1111. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/utf32.js +319 -0
  1112. package/oidc/node_modules/npm/node_modules/iconv-lite/encodings/utf7.js +290 -0
  1113. package/oidc/node_modules/npm/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  1114. package/oidc/node_modules/npm/node_modules/iconv-lite/lib/index.js +180 -0
  1115. package/oidc/node_modules/npm/node_modules/iconv-lite/lib/streams.js +109 -0
  1116. package/oidc/node_modules/npm/node_modules/iconv-lite/package.json +44 -0
  1117. package/oidc/node_modules/npm/node_modules/ignore-walk/LICENSE +15 -0
  1118. package/oidc/node_modules/npm/node_modules/ignore-walk/lib/index.js +310 -0
  1119. package/oidc/node_modules/npm/node_modules/ignore-walk/package.json +64 -0
  1120. package/oidc/node_modules/npm/node_modules/imurmurhash/imurmurhash.js +138 -0
  1121. package/oidc/node_modules/npm/node_modules/imurmurhash/imurmurhash.min.js +12 -0
  1122. package/oidc/node_modules/npm/node_modules/imurmurhash/package.json +40 -0
  1123. package/oidc/node_modules/npm/node_modules/ini/LICENSE +15 -0
  1124. package/oidc/node_modules/npm/node_modules/ini/lib/ini.js +280 -0
  1125. package/oidc/node_modules/npm/node_modules/ini/package.json +45 -0
  1126. package/oidc/node_modules/npm/node_modules/init-package-json/LICENSE.md +18 -0
  1127. package/oidc/node_modules/npm/node_modules/init-package-json/lib/default-input.js +288 -0
  1128. package/oidc/node_modules/npm/node_modules/init-package-json/lib/init-package-json.js +147 -0
  1129. package/oidc/node_modules/npm/node_modules/init-package-json/package.json +67 -0
  1130. package/oidc/node_modules/npm/node_modules/ip-address/LICENSE +19 -0
  1131. package/oidc/node_modules/npm/node_modules/ip-address/dist/address-error.js +12 -0
  1132. package/oidc/node_modules/npm/node_modules/ip-address/dist/common.js +46 -0
  1133. package/oidc/node_modules/npm/node_modules/ip-address/dist/ip-address.js +35 -0
  1134. package/oidc/node_modules/npm/node_modules/ip-address/dist/ipv4.js +327 -0
  1135. package/oidc/node_modules/npm/node_modules/ip-address/dist/ipv6.js +1003 -0
  1136. package/oidc/node_modules/npm/node_modules/ip-address/dist/v4/constants.js +8 -0
  1137. package/oidc/node_modules/npm/node_modules/ip-address/dist/v6/constants.js +76 -0
  1138. package/oidc/node_modules/npm/node_modules/ip-address/dist/v6/helpers.js +45 -0
  1139. package/oidc/node_modules/npm/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
  1140. package/oidc/node_modules/npm/node_modules/ip-address/package.json +78 -0
  1141. package/oidc/node_modules/npm/node_modules/ip-regex/index.js +36 -0
  1142. package/oidc/node_modules/npm/node_modules/ip-regex/license +9 -0
  1143. package/oidc/node_modules/npm/node_modules/ip-regex/package.json +47 -0
  1144. package/oidc/node_modules/npm/node_modules/is-cidr/LICENSE +22 -0
  1145. package/oidc/node_modules/npm/node_modules/is-cidr/dist/index.js +11 -0
  1146. package/oidc/node_modules/npm/node_modules/is-cidr/package.json +38 -0
  1147. package/oidc/node_modules/npm/node_modules/is-fullwidth-code-point/index.js +50 -0
  1148. package/oidc/node_modules/npm/node_modules/is-fullwidth-code-point/license +9 -0
  1149. package/oidc/node_modules/npm/node_modules/is-fullwidth-code-point/package.json +42 -0
  1150. package/oidc/node_modules/npm/node_modules/isexe/dist/cjs/index.js +46 -0
  1151. package/oidc/node_modules/npm/node_modules/isexe/dist/cjs/options.js +3 -0
  1152. package/oidc/node_modules/npm/node_modules/isexe/dist/cjs/package.json +3 -0
  1153. package/oidc/node_modules/npm/node_modules/isexe/dist/cjs/posix.js +67 -0
  1154. package/oidc/node_modules/npm/node_modules/isexe/dist/cjs/win32.js +62 -0
  1155. package/oidc/node_modules/npm/node_modules/isexe/dist/mjs/index.js +16 -0
  1156. package/oidc/node_modules/npm/node_modules/isexe/dist/mjs/options.js +2 -0
  1157. package/oidc/node_modules/npm/node_modules/isexe/dist/mjs/package.json +3 -0
  1158. package/oidc/node_modules/npm/node_modules/isexe/dist/mjs/posix.js +62 -0
  1159. package/oidc/node_modules/npm/node_modules/isexe/dist/mjs/win32.js +57 -0
  1160. package/oidc/node_modules/npm/node_modules/isexe/package.json +96 -0
  1161. package/oidc/node_modules/npm/node_modules/jackspeak/LICENSE.md +55 -0
  1162. package/oidc/node_modules/npm/node_modules/jackspeak/dist/commonjs/index.js +947 -0
  1163. package/oidc/node_modules/npm/node_modules/jackspeak/dist/commonjs/package.json +3 -0
  1164. package/oidc/node_modules/npm/node_modules/jackspeak/dist/esm/index.js +936 -0
  1165. package/oidc/node_modules/npm/node_modules/jackspeak/dist/esm/package.json +3 -0
  1166. package/oidc/node_modules/npm/node_modules/jackspeak/package.json +94 -0
  1167. package/oidc/node_modules/npm/node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
  1168. package/oidc/node_modules/npm/node_modules/json-parse-even-better-errors/lib/index.js +137 -0
  1169. package/oidc/node_modules/npm/node_modules/json-parse-even-better-errors/package.json +50 -0
  1170. package/oidc/node_modules/npm/node_modules/json-stringify-nice/LICENSE +15 -0
  1171. package/oidc/node_modules/npm/node_modules/json-stringify-nice/index.js +38 -0
  1172. package/oidc/node_modules/npm/node_modules/json-stringify-nice/package.json +40 -0
  1173. package/oidc/node_modules/npm/node_modules/jsonparse/LICENSE +24 -0
  1174. package/oidc/node_modules/npm/node_modules/jsonparse/bench.js +26 -0
  1175. package/oidc/node_modules/npm/node_modules/jsonparse/examples/twitterfeed.js +30 -0
  1176. package/oidc/node_modules/npm/node_modules/jsonparse/jsonparse.js +413 -0
  1177. package/oidc/node_modules/npm/node_modules/jsonparse/package.json +22 -0
  1178. package/oidc/node_modules/npm/node_modules/jsonparse/samplejson/basic.json +167 -0
  1179. package/oidc/node_modules/npm/node_modules/jsonparse/samplejson/basic2.json +180 -0
  1180. package/oidc/node_modules/npm/node_modules/jsonparse/test/big-token.js +24 -0
  1181. package/oidc/node_modules/npm/node_modules/jsonparse/test/boundary.js +110 -0
  1182. package/oidc/node_modules/npm/node_modules/jsonparse/test/offset.js +67 -0
  1183. package/oidc/node_modules/npm/node_modules/jsonparse/test/primitives.js +57 -0
  1184. package/oidc/node_modules/npm/node_modules/jsonparse/test/surrogate.js +26 -0
  1185. package/oidc/node_modules/npm/node_modules/jsonparse/test/unvalid.js +15 -0
  1186. package/oidc/node_modules/npm/node_modules/jsonparse/test/utf8.js +38 -0
  1187. package/oidc/node_modules/npm/node_modules/just-diff/LICENSE +21 -0
  1188. package/oidc/node_modules/npm/node_modules/just-diff/index.cjs +230 -0
  1189. package/oidc/node_modules/npm/node_modules/just-diff/index.mjs +227 -0
  1190. package/oidc/node_modules/npm/node_modules/just-diff/package.json +33 -0
  1191. package/oidc/node_modules/npm/node_modules/just-diff/rollup.config.js +3 -0
  1192. package/oidc/node_modules/npm/node_modules/just-diff-apply/LICENSE +21 -0
  1193. package/oidc/node_modules/npm/node_modules/just-diff-apply/index.cjs +161 -0
  1194. package/oidc/node_modules/npm/node_modules/just-diff-apply/index.mjs +158 -0
  1195. package/oidc/node_modules/npm/node_modules/just-diff-apply/package.json +34 -0
  1196. package/oidc/node_modules/npm/node_modules/just-diff-apply/rollup.config.js +3 -0
  1197. package/oidc/node_modules/npm/node_modules/libnpmaccess/LICENSE +13 -0
  1198. package/oidc/node_modules/npm/node_modules/libnpmaccess/README.md +93 -0
  1199. package/oidc/node_modules/npm/node_modules/libnpmaccess/lib/index.js +140 -0
  1200. package/oidc/node_modules/npm/node_modules/libnpmaccess/package.json +53 -0
  1201. package/oidc/node_modules/npm/node_modules/libnpmdiff/LICENSE +15 -0
  1202. package/oidc/node_modules/npm/node_modules/libnpmdiff/README.md +103 -0
  1203. package/oidc/node_modules/npm/node_modules/libnpmdiff/lib/format-diff.js +118 -0
  1204. package/oidc/node_modules/npm/node_modules/libnpmdiff/lib/index.js +62 -0
  1205. package/oidc/node_modules/npm/node_modules/libnpmdiff/lib/should-print-patch.js +22 -0
  1206. package/oidc/node_modules/npm/node_modules/libnpmdiff/lib/tarball.js +38 -0
  1207. package/oidc/node_modules/npm/node_modules/libnpmdiff/lib/untar.js +96 -0
  1208. package/oidc/node_modules/npm/node_modules/libnpmdiff/package.json +70 -0
  1209. package/oidc/node_modules/npm/node_modules/libnpmexec/LICENSE +15 -0
  1210. package/oidc/node_modules/npm/node_modules/libnpmexec/README.md +47 -0
  1211. package/oidc/node_modules/npm/node_modules/libnpmexec/lib/file-exists.js +33 -0
  1212. package/oidc/node_modules/npm/node_modules/libnpmexec/lib/get-bin-from-manifest.js +22 -0
  1213. package/oidc/node_modules/npm/node_modules/libnpmexec/lib/index.js +310 -0
  1214. package/oidc/node_modules/npm/node_modules/libnpmexec/lib/is-windows.js +1 -0
  1215. package/oidc/node_modules/npm/node_modules/libnpmexec/lib/no-tty.js +1 -0
  1216. package/oidc/node_modules/npm/node_modules/libnpmexec/lib/run-script.js +73 -0
  1217. package/oidc/node_modules/npm/node_modules/libnpmexec/lib/with-lock.js +175 -0
  1218. package/oidc/node_modules/npm/node_modules/libnpmexec/package.json +81 -0
  1219. package/oidc/node_modules/npm/node_modules/libnpmfund/LICENSE +15 -0
  1220. package/oidc/node_modules/npm/node_modules/libnpmfund/README.md +131 -0
  1221. package/oidc/node_modules/npm/node_modules/libnpmfund/lib/index.js +210 -0
  1222. package/oidc/node_modules/npm/node_modules/libnpmfund/package.json +65 -0
  1223. package/oidc/node_modules/npm/node_modules/libnpmorg/LICENSE +13 -0
  1224. package/oidc/node_modules/npm/node_modules/libnpmorg/README.md +148 -0
  1225. package/oidc/node_modules/npm/node_modules/libnpmorg/lib/index.js +64 -0
  1226. package/oidc/node_modules/npm/node_modules/libnpmorg/package.json +62 -0
  1227. package/oidc/node_modules/npm/node_modules/libnpmpack/LICENSE +13 -0
  1228. package/oidc/node_modules/npm/node_modules/libnpmpack/README.md +55 -0
  1229. package/oidc/node_modules/npm/node_modules/libnpmpack/lib/index.js +62 -0
  1230. package/oidc/node_modules/npm/node_modules/libnpmpack/package.json +59 -0
  1231. package/oidc/node_modules/npm/node_modules/libnpmpublish/LICENSE +13 -0
  1232. package/oidc/node_modules/npm/node_modules/libnpmpublish/README.md +120 -0
  1233. package/oidc/node_modules/npm/node_modules/libnpmpublish/lib/index.js +4 -0
  1234. package/oidc/node_modules/npm/node_modules/libnpmpublish/lib/provenance.js +245 -0
  1235. package/oidc/node_modules/npm/node_modules/libnpmpublish/lib/publish.js +226 -0
  1236. package/oidc/node_modules/npm/node_modules/libnpmpublish/lib/unpublish.js +119 -0
  1237. package/oidc/node_modules/npm/node_modules/libnpmpublish/package.json +64 -0
  1238. package/oidc/node_modules/npm/node_modules/libnpmsearch/LICENSE +13 -0
  1239. package/oidc/node_modules/npm/node_modules/libnpmsearch/README.md +173 -0
  1240. package/oidc/node_modules/npm/node_modules/libnpmsearch/lib/index.js +71 -0
  1241. package/oidc/node_modules/npm/node_modules/libnpmsearch/package.json +58 -0
  1242. package/oidc/node_modules/npm/node_modules/libnpmteam/LICENSE +13 -0
  1243. package/oidc/node_modules/npm/node_modules/libnpmteam/README.md +172 -0
  1244. package/oidc/node_modules/npm/node_modules/libnpmteam/lib/index.js +92 -0
  1245. package/oidc/node_modules/npm/node_modules/libnpmteam/package.json +52 -0
  1246. package/oidc/node_modules/npm/node_modules/libnpmversion/LICENSE +15 -0
  1247. package/oidc/node_modules/npm/node_modules/libnpmversion/README.md +163 -0
  1248. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/commit.js +17 -0
  1249. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/enforce-clean.js +32 -0
  1250. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/index.js +38 -0
  1251. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/read-json.js +6 -0
  1252. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/retrieve-tag.js +13 -0
  1253. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/tag.js +30 -0
  1254. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/version.js +136 -0
  1255. package/oidc/node_modules/npm/node_modules/libnpmversion/lib/write-json.js +15 -0
  1256. package/oidc/node_modules/npm/node_modules/libnpmversion/package.json +55 -0
  1257. package/oidc/node_modules/npm/node_modules/lru-cache/LICENSE +15 -0
  1258. package/oidc/node_modules/npm/node_modules/lru-cache/dist/commonjs/index.js +1568 -0
  1259. package/oidc/node_modules/npm/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  1260. package/oidc/node_modules/npm/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  1261. package/oidc/node_modules/npm/node_modules/lru-cache/dist/esm/index.js +1564 -0
  1262. package/oidc/node_modules/npm/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  1263. package/oidc/node_modules/npm/node_modules/lru-cache/dist/esm/package.json +3 -0
  1264. package/oidc/node_modules/npm/node_modules/lru-cache/package.json +113 -0
  1265. package/oidc/node_modules/npm/node_modules/make-fetch-happen/LICENSE +16 -0
  1266. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/cache/entry.js +471 -0
  1267. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/cache/errors.js +11 -0
  1268. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/cache/index.js +49 -0
  1269. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/cache/key.js +17 -0
  1270. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/cache/policy.js +161 -0
  1271. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/fetch.js +118 -0
  1272. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/index.js +41 -0
  1273. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/options.js +59 -0
  1274. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/pipeline.js +41 -0
  1275. package/oidc/node_modules/npm/node_modules/make-fetch-happen/lib/remote.js +132 -0
  1276. package/oidc/node_modules/npm/node_modules/make-fetch-happen/package.json +74 -0
  1277. package/oidc/node_modules/npm/node_modules/minimatch/LICENSE +15 -0
  1278. package/oidc/node_modules/npm/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  1279. package/oidc/node_modules/npm/node_modules/minimatch/dist/commonjs/ast.js +592 -0
  1280. package/oidc/node_modules/npm/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
  1281. package/oidc/node_modules/npm/node_modules/minimatch/dist/commonjs/escape.js +22 -0
  1282. package/oidc/node_modules/npm/node_modules/minimatch/dist/commonjs/index.js +1014 -0
  1283. package/oidc/node_modules/npm/node_modules/minimatch/dist/commonjs/package.json +3 -0
  1284. package/oidc/node_modules/npm/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
  1285. package/oidc/node_modules/npm/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  1286. package/oidc/node_modules/npm/node_modules/minimatch/dist/esm/ast.js +588 -0
  1287. package/oidc/node_modules/npm/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
  1288. package/oidc/node_modules/npm/node_modules/minimatch/dist/esm/escape.js +18 -0
  1289. package/oidc/node_modules/npm/node_modules/minimatch/dist/esm/index.js +1001 -0
  1290. package/oidc/node_modules/npm/node_modules/minimatch/dist/esm/package.json +3 -0
  1291. package/oidc/node_modules/npm/node_modules/minimatch/dist/esm/unescape.js +20 -0
  1292. package/oidc/node_modules/npm/node_modules/minimatch/package.json +79 -0
  1293. package/oidc/node_modules/npm/node_modules/minipass/LICENSE +15 -0
  1294. package/oidc/node_modules/npm/node_modules/minipass/dist/commonjs/index.js +1028 -0
  1295. package/oidc/node_modules/npm/node_modules/minipass/dist/commonjs/package.json +3 -0
  1296. package/oidc/node_modules/npm/node_modules/minipass/dist/esm/index.js +1018 -0
  1297. package/oidc/node_modules/npm/node_modules/minipass/dist/esm/package.json +3 -0
  1298. package/oidc/node_modules/npm/node_modules/minipass/package.json +82 -0
  1299. package/oidc/node_modules/npm/node_modules/minipass-collect/LICENSE +15 -0
  1300. package/oidc/node_modules/npm/node_modules/minipass-collect/index.js +71 -0
  1301. package/oidc/node_modules/npm/node_modules/minipass-collect/package.json +30 -0
  1302. package/oidc/node_modules/npm/node_modules/minipass-fetch/LICENSE +28 -0
  1303. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/abort-error.js +17 -0
  1304. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/blob.js +97 -0
  1305. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/body.js +350 -0
  1306. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/fetch-error.js +32 -0
  1307. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/headers.js +267 -0
  1308. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/index.js +376 -0
  1309. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/request.js +282 -0
  1310. package/oidc/node_modules/npm/node_modules/minipass-fetch/lib/response.js +90 -0
  1311. package/oidc/node_modules/npm/node_modules/minipass-fetch/package.json +70 -0
  1312. package/oidc/node_modules/npm/node_modules/minipass-flush/LICENSE +15 -0
  1313. package/oidc/node_modules/npm/node_modules/minipass-flush/index.js +39 -0
  1314. package/oidc/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/LICENSE +15 -0
  1315. package/oidc/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/index.js +649 -0
  1316. package/oidc/node_modules/npm/node_modules/minipass-flush/node_modules/minipass/package.json +56 -0
  1317. package/oidc/node_modules/npm/node_modules/minipass-flush/package.json +39 -0
  1318. package/oidc/node_modules/npm/node_modules/minipass-pipeline/LICENSE +15 -0
  1319. package/oidc/node_modules/npm/node_modules/minipass-pipeline/index.js +128 -0
  1320. package/oidc/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/LICENSE +15 -0
  1321. package/oidc/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/index.js +649 -0
  1322. package/oidc/node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass/package.json +56 -0
  1323. package/oidc/node_modules/npm/node_modules/minipass-pipeline/package.json +29 -0
  1324. package/oidc/node_modules/npm/node_modules/minipass-sized/LICENSE +15 -0
  1325. package/oidc/node_modules/npm/node_modules/minipass-sized/index.js +67 -0
  1326. package/oidc/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/LICENSE +15 -0
  1327. package/oidc/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/index.js +649 -0
  1328. package/oidc/node_modules/npm/node_modules/minipass-sized/node_modules/minipass/package.json +56 -0
  1329. package/oidc/node_modules/npm/node_modules/minipass-sized/package.json +39 -0
  1330. package/oidc/node_modules/npm/node_modules/minipass-sized/test/basic.js +83 -0
  1331. package/oidc/node_modules/npm/node_modules/minizlib/LICENSE +26 -0
  1332. package/oidc/node_modules/npm/node_modules/minizlib/dist/commonjs/constants.js +123 -0
  1333. package/oidc/node_modules/npm/node_modules/minizlib/dist/commonjs/index.js +416 -0
  1334. package/oidc/node_modules/npm/node_modules/minizlib/dist/commonjs/package.json +3 -0
  1335. package/oidc/node_modules/npm/node_modules/minizlib/dist/esm/constants.js +117 -0
  1336. package/oidc/node_modules/npm/node_modules/minizlib/dist/esm/index.js +363 -0
  1337. package/oidc/node_modules/npm/node_modules/minizlib/dist/esm/package.json +3 -0
  1338. package/oidc/node_modules/npm/node_modules/minizlib/package.json +80 -0
  1339. package/oidc/node_modules/npm/node_modules/ms/index.js +162 -0
  1340. package/oidc/node_modules/npm/node_modules/ms/license.md +21 -0
  1341. package/oidc/node_modules/npm/node_modules/ms/package.json +38 -0
  1342. package/oidc/node_modules/npm/node_modules/mute-stream/LICENSE +15 -0
  1343. package/oidc/node_modules/npm/node_modules/mute-stream/lib/index.js +142 -0
  1344. package/oidc/node_modules/npm/node_modules/mute-stream/package.json +54 -0
  1345. package/oidc/node_modules/npm/node_modules/negotiator/HISTORY.md +114 -0
  1346. package/oidc/node_modules/npm/node_modules/negotiator/LICENSE +24 -0
  1347. package/oidc/node_modules/npm/node_modules/negotiator/index.js +83 -0
  1348. package/oidc/node_modules/npm/node_modules/negotiator/lib/charset.js +169 -0
  1349. package/oidc/node_modules/npm/node_modules/negotiator/lib/encoding.js +205 -0
  1350. package/oidc/node_modules/npm/node_modules/negotiator/lib/language.js +179 -0
  1351. package/oidc/node_modules/npm/node_modules/negotiator/lib/mediaType.js +294 -0
  1352. package/oidc/node_modules/npm/node_modules/negotiator/package.json +43 -0
  1353. package/oidc/node_modules/npm/node_modules/node-gyp/.release-please-manifest.json +3 -0
  1354. package/oidc/node_modules/npm/node_modules/node-gyp/CHANGELOG.md +1111 -0
  1355. package/oidc/node_modules/npm/node_modules/node-gyp/CODE_OF_CONDUCT.md +4 -0
  1356. package/oidc/node_modules/npm/node_modules/node-gyp/CONTRIBUTING.md +34 -0
  1357. package/oidc/node_modules/npm/node_modules/node-gyp/LICENSE +24 -0
  1358. package/oidc/node_modules/npm/node_modules/node-gyp/README.md +292 -0
  1359. package/oidc/node_modules/npm/node_modules/node-gyp/SECURITY.md +2 -0
  1360. package/oidc/node_modules/npm/node_modules/node-gyp/addon.gypi +204 -0
  1361. package/oidc/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +138 -0
  1362. package/oidc/node_modules/npm/node_modules/node-gyp/eslint.config.js +3 -0
  1363. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -0
  1364. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/LICENSE +28 -0
  1365. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -0
  1366. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -0
  1367. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/docs/GypVsCMake.md +116 -0
  1368. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/docs/Hacking.md +46 -0
  1369. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/docs/InputFormatReference.md +1083 -0
  1370. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/docs/LanguageSpecification.md +430 -0
  1371. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/docs/README.md +27 -0
  1372. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/docs/Testing.md +450 -0
  1373. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/docs/UserDocumentation.md +965 -0
  1374. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/gyp +8 -0
  1375. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/gyp.bat +5 -0
  1376. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +45 -0
  1377. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +365 -0
  1378. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +206 -0
  1379. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1283 -0
  1380. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1545 -0
  1381. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +59 -0
  1382. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +152 -0
  1383. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +270 -0
  1384. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +574 -0
  1385. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +707 -0
  1386. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +725 -0
  1387. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +186 -0
  1388. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +170 -0
  1389. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +113 -0
  1390. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +55 -0
  1391. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  1392. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +805 -0
  1393. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1169 -0
  1394. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +1316 -0
  1395. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +128 -0
  1396. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +104 -0
  1397. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +461 -0
  1398. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +88 -0
  1399. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +55 -0
  1400. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2755 -0
  1401. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3970 -0
  1402. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +44 -0
  1403. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2957 -0
  1404. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +67 -0
  1405. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1389 -0
  1406. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +26 -0
  1407. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +3097 -0
  1408. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +99 -0
  1409. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +765 -0
  1410. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +1255 -0
  1411. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +174 -0
  1412. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +61 -0
  1413. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +371 -0
  1414. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1934 -0
  1415. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +54 -0
  1416. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +301 -0
  1417. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +3180 -0
  1418. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +64 -0
  1419. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -0
  1420. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -0
  1421. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -0
  1422. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -0
  1423. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +107 -0
  1424. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -0
  1425. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -0
  1426. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -0
  1427. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -0
  1428. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -0
  1429. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/markers.py +251 -0
  1430. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +824 -0
  1431. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  1432. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -0
  1433. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -0
  1434. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/tags.py +553 -0
  1435. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -0
  1436. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -0
  1437. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/pyproject.toml +114 -0
  1438. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/release-please-config.json +11 -0
  1439. package/oidc/node_modules/npm/node_modules/node-gyp/gyp/test_gyp.py +260 -0
  1440. package/oidc/node_modules/npm/node_modules/node-gyp/lib/Find-VisualStudio.cs +250 -0
  1441. package/oidc/node_modules/npm/node_modules/node-gyp/lib/build.js +230 -0
  1442. package/oidc/node_modules/npm/node_modules/node-gyp/lib/clean.js +15 -0
  1443. package/oidc/node_modules/npm/node_modules/node-gyp/lib/configure.js +328 -0
  1444. package/oidc/node_modules/npm/node_modules/node-gyp/lib/create-config-gypi.js +153 -0
  1445. package/oidc/node_modules/npm/node_modules/node-gyp/lib/download.js +39 -0
  1446. package/oidc/node_modules/npm/node_modules/node-gyp/lib/find-node-directory.js +63 -0
  1447. package/oidc/node_modules/npm/node_modules/node-gyp/lib/find-python.js +310 -0
  1448. package/oidc/node_modules/npm/node_modules/node-gyp/lib/find-visualstudio.js +600 -0
  1449. package/oidc/node_modules/npm/node_modules/node-gyp/lib/install.js +411 -0
  1450. package/oidc/node_modules/npm/node_modules/node-gyp/lib/list.js +26 -0
  1451. package/oidc/node_modules/npm/node_modules/node-gyp/lib/log.js +168 -0
  1452. package/oidc/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js +199 -0
  1453. package/oidc/node_modules/npm/node_modules/node-gyp/lib/process-release.js +146 -0
  1454. package/oidc/node_modules/npm/node_modules/node-gyp/lib/rebuild.js +12 -0
  1455. package/oidc/node_modules/npm/node_modules/node-gyp/lib/remove.js +43 -0
  1456. package/oidc/node_modules/npm/node_modules/node-gyp/lib/util.js +81 -0
  1457. package/oidc/node_modules/npm/node_modules/node-gyp/macOS_Catalina_acid_test.sh +21 -0
  1458. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/agents.js +206 -0
  1459. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/dns.js +53 -0
  1460. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/errors.js +61 -0
  1461. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/index.js +56 -0
  1462. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/options.js +86 -0
  1463. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/lib/proxy.js +88 -0
  1464. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent/package.json +60 -0
  1465. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/LICENSE.md +16 -0
  1466. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/content/path.js +29 -0
  1467. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/content/read.js +165 -0
  1468. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/content/rm.js +18 -0
  1469. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/content/write.js +206 -0
  1470. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/entry-index.js +336 -0
  1471. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/get.js +170 -0
  1472. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/index.js +42 -0
  1473. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/memoization.js +72 -0
  1474. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/put.js +80 -0
  1475. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/rm.js +31 -0
  1476. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/util/glob.js +7 -0
  1477. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/util/hash-to-segments.js +7 -0
  1478. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/util/tmp.js +26 -0
  1479. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/lib/verify.js +258 -0
  1480. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/cacache/package.json +83 -0
  1481. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/LICENSE +15 -0
  1482. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/README.md +1265 -0
  1483. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.d.ts +388 -0
  1484. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
  1485. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.js +247 -0
  1486. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.js.map +1 -0
  1487. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
  1488. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
  1489. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  1490. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
  1491. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.d.ts +24 -0
  1492. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
  1493. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.js +119 -0
  1494. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
  1495. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.d.ts +97 -0
  1496. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
  1497. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.js +68 -0
  1498. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.js.map +1 -0
  1499. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/package.json +3 -0
  1500. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/pattern.d.ts +76 -0
  1501. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
  1502. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/pattern.js +219 -0
  1503. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
  1504. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
  1505. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
  1506. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/processor.js +301 -0
  1507. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/processor.js.map +1 -0
  1508. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/walker.d.ts +97 -0
  1509. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
  1510. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/walker.js +387 -0
  1511. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/commonjs/walker.js.map +1 -0
  1512. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/bin.d.mts +3 -0
  1513. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/bin.d.mts.map +1 -0
  1514. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/bin.mjs +270 -0
  1515. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/bin.mjs.map +1 -0
  1516. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/glob.d.ts +388 -0
  1517. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
  1518. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/glob.js +243 -0
  1519. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/glob.js.map +1 -0
  1520. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
  1521. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
  1522. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/has-magic.js +23 -0
  1523. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/has-magic.js.map +1 -0
  1524. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/ignore.d.ts +24 -0
  1525. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
  1526. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/ignore.js +115 -0
  1527. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/ignore.js.map +1 -0
  1528. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/index.d.ts +97 -0
  1529. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/index.d.ts.map +1 -0
  1530. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/index.js +55 -0
  1531. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/index.js.map +1 -0
  1532. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/package.json +3 -0
  1533. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/pattern.d.ts +76 -0
  1534. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
  1535. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/pattern.js +215 -0
  1536. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/pattern.js.map +1 -0
  1537. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/processor.d.ts +59 -0
  1538. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
  1539. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/processor.js +294 -0
  1540. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/processor.js.map +1 -0
  1541. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/walker.d.ts +97 -0
  1542. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
  1543. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/walker.js +381 -0
  1544. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/dist/esm/walker.js.map +1 -0
  1545. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/glob/package.json +99 -0
  1546. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/LICENSE.md +55 -0
  1547. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/commonjs/index.js +1010 -0
  1548. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/commonjs/package.json +3 -0
  1549. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/commonjs/parse-args.js +50 -0
  1550. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/esm/index.js +1000 -0
  1551. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/esm/package.json +3 -0
  1552. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/dist/esm/parse-args.js +26 -0
  1553. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/jackspeak/package.json +95 -0
  1554. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/LICENSE +15 -0
  1555. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
  1556. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  1557. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  1558. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/esm/index.js +1542 -0
  1559. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  1560. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/dist/esm/package.json +3 -0
  1561. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/lru-cache/package.json +116 -0
  1562. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/LICENSE +16 -0
  1563. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/entry.js +471 -0
  1564. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/errors.js +11 -0
  1565. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/index.js +49 -0
  1566. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/key.js +17 -0
  1567. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/policy.js +161 -0
  1568. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/fetch.js +118 -0
  1569. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/index.js +41 -0
  1570. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/options.js +59 -0
  1571. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/pipeline.js +41 -0
  1572. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/remote.js +132 -0
  1573. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen/package.json +74 -0
  1574. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/LICENSE +15 -0
  1575. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  1576. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/ast.js +592 -0
  1577. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
  1578. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/escape.js +22 -0
  1579. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/index.js +1017 -0
  1580. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/package.json +3 -0
  1581. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
  1582. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  1583. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/ast.js +588 -0
  1584. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
  1585. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/escape.js +18 -0
  1586. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/index.js +1001 -0
  1587. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/package.json +3 -0
  1588. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/dist/esm/unescape.js +20 -0
  1589. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/minimatch/package.json +82 -0
  1590. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/LICENSE.md +55 -0
  1591. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
  1592. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  1593. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/dist/esm/index.js +1979 -0
  1594. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/dist/esm/package.json +3 -0
  1595. package/oidc/node_modules/npm/node_modules/node-gyp/node_modules/path-scurry/package.json +89 -0
  1596. package/oidc/node_modules/npm/node_modules/node-gyp/package.json +52 -0
  1597. package/oidc/node_modules/npm/node_modules/node-gyp/release-please-config.json +40 -0
  1598. package/oidc/node_modules/npm/node_modules/node-gyp/src/win_delay_load_hook.cc +41 -0
  1599. package/oidc/node_modules/npm/node_modules/nopt/LICENSE +15 -0
  1600. package/oidc/node_modules/npm/node_modules/nopt/README.md +214 -0
  1601. package/oidc/node_modules/npm/node_modules/nopt/bin/nopt.js +29 -0
  1602. package/oidc/node_modules/npm/node_modules/nopt/lib/debug.js +5 -0
  1603. package/oidc/node_modules/npm/node_modules/nopt/lib/nopt-lib.js +514 -0
  1604. package/oidc/node_modules/npm/node_modules/nopt/lib/nopt.js +34 -0
  1605. package/oidc/node_modules/npm/node_modules/nopt/lib/type-defs.js +91 -0
  1606. package/oidc/node_modules/npm/node_modules/nopt/package.json +52 -0
  1607. package/oidc/node_modules/npm/node_modules/npm-audit-report/LICENSE +16 -0
  1608. package/oidc/node_modules/npm/node_modules/npm-audit-report/lib/colors.js +22 -0
  1609. package/oidc/node_modules/npm/node_modules/npm-audit-report/lib/exit-code.js +14 -0
  1610. package/oidc/node_modules/npm/node_modules/npm-audit-report/lib/index.js +41 -0
  1611. package/oidc/node_modules/npm/node_modules/npm-audit-report/lib/reporters/detail.js +86 -0
  1612. package/oidc/node_modules/npm/node_modules/npm-audit-report/lib/reporters/install.js +75 -0
  1613. package/oidc/node_modules/npm/node_modules/npm-audit-report/lib/reporters/json.js +1 -0
  1614. package/oidc/node_modules/npm/node_modules/npm-audit-report/lib/reporters/quiet.js +1 -0
  1615. package/oidc/node_modules/npm/node_modules/npm-audit-report/package.json +62 -0
  1616. package/oidc/node_modules/npm/node_modules/npm-bundled/LICENSE +15 -0
  1617. package/oidc/node_modules/npm/node_modules/npm-bundled/lib/index.js +254 -0
  1618. package/oidc/node_modules/npm/node_modules/npm-bundled/package.json +49 -0
  1619. package/oidc/node_modules/npm/node_modules/npm-install-checks/LICENSE +27 -0
  1620. package/oidc/node_modules/npm/node_modules/npm-install-checks/lib/current-env.js +91 -0
  1621. package/oidc/node_modules/npm/node_modules/npm-install-checks/lib/dev-engines.js +145 -0
  1622. package/oidc/node_modules/npm/node_modules/npm-install-checks/lib/index.js +90 -0
  1623. package/oidc/node_modules/npm/node_modules/npm-install-checks/package.json +52 -0
  1624. package/oidc/node_modules/npm/node_modules/npm-normalize-package-bin/LICENSE +15 -0
  1625. package/oidc/node_modules/npm/node_modules/npm-normalize-package-bin/lib/index.js +64 -0
  1626. package/oidc/node_modules/npm/node_modules/npm-normalize-package-bin/package.json +45 -0
  1627. package/oidc/node_modules/npm/node_modules/npm-package-arg/LICENSE +15 -0
  1628. package/oidc/node_modules/npm/node_modules/npm-package-arg/lib/npa.js +481 -0
  1629. package/oidc/node_modules/npm/node_modules/npm-package-arg/package.json +61 -0
  1630. package/oidc/node_modules/npm/node_modules/npm-packlist/LICENSE +15 -0
  1631. package/oidc/node_modules/npm/node_modules/npm-packlist/lib/index.js +464 -0
  1632. package/oidc/node_modules/npm/node_modules/npm-packlist/package.json +62 -0
  1633. package/oidc/node_modules/npm/node_modules/npm-pick-manifest/LICENSE.md +16 -0
  1634. package/oidc/node_modules/npm/node_modules/npm-pick-manifest/lib/index.js +219 -0
  1635. package/oidc/node_modules/npm/node_modules/npm-pick-manifest/package.json +58 -0
  1636. package/oidc/node_modules/npm/node_modules/npm-profile/LICENSE.md +20 -0
  1637. package/oidc/node_modules/npm/node_modules/npm-profile/lib/index.js +278 -0
  1638. package/oidc/node_modules/npm/node_modules/npm-profile/package.json +52 -0
  1639. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/LICENSE.md +20 -0
  1640. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/lib/auth.js +181 -0
  1641. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js +108 -0
  1642. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/lib/default-opts.js +19 -0
  1643. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/lib/errors.js +80 -0
  1644. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/lib/index.js +247 -0
  1645. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/lib/json-stream.js +223 -0
  1646. package/oidc/node_modules/npm/node_modules/npm-registry-fetch/package.json +68 -0
  1647. package/oidc/node_modules/npm/node_modules/npm-user-validate/LICENSE +27 -0
  1648. package/oidc/node_modules/npm/node_modules/npm-user-validate/lib/index.js +61 -0
  1649. package/oidc/node_modules/npm/node_modules/npm-user-validate/package.json +50 -0
  1650. package/oidc/node_modules/npm/node_modules/p-map/index.js +281 -0
  1651. package/oidc/node_modules/npm/node_modules/p-map/license +9 -0
  1652. package/oidc/node_modules/npm/node_modules/p-map/package.json +57 -0
  1653. package/oidc/node_modules/npm/node_modules/package-json-from-dist/LICENSE.md +63 -0
  1654. package/oidc/node_modules/npm/node_modules/package-json-from-dist/dist/commonjs/index.js +134 -0
  1655. package/oidc/node_modules/npm/node_modules/package-json-from-dist/dist/commonjs/package.json +3 -0
  1656. package/oidc/node_modules/npm/node_modules/package-json-from-dist/dist/esm/index.js +129 -0
  1657. package/oidc/node_modules/npm/node_modules/package-json-from-dist/dist/esm/package.json +3 -0
  1658. package/oidc/node_modules/npm/node_modules/package-json-from-dist/package.json +68 -0
  1659. package/oidc/node_modules/npm/node_modules/pacote/LICENSE +15 -0
  1660. package/oidc/node_modules/npm/node_modules/pacote/README.md +283 -0
  1661. package/oidc/node_modules/npm/node_modules/pacote/bin/index.js +158 -0
  1662. package/oidc/node_modules/npm/node_modules/pacote/lib/dir.js +105 -0
  1663. package/oidc/node_modules/npm/node_modules/pacote/lib/fetcher.js +497 -0
  1664. package/oidc/node_modules/npm/node_modules/pacote/lib/file.js +94 -0
  1665. package/oidc/node_modules/npm/node_modules/pacote/lib/git.js +317 -0
  1666. package/oidc/node_modules/npm/node_modules/pacote/lib/index.js +23 -0
  1667. package/oidc/node_modules/npm/node_modules/pacote/lib/registry.js +369 -0
  1668. package/oidc/node_modules/npm/node_modules/pacote/lib/remote.js +89 -0
  1669. package/oidc/node_modules/npm/node_modules/pacote/lib/util/add-git-sha.js +15 -0
  1670. package/oidc/node_modules/npm/node_modules/pacote/lib/util/cache-dir.js +15 -0
  1671. package/oidc/node_modules/npm/node_modules/pacote/lib/util/is-package-bin.js +25 -0
  1672. package/oidc/node_modules/npm/node_modules/pacote/lib/util/npm.js +14 -0
  1673. package/oidc/node_modules/npm/node_modules/pacote/lib/util/protected.js +5 -0
  1674. package/oidc/node_modules/npm/node_modules/pacote/lib/util/tar-create-options.js +31 -0
  1675. package/oidc/node_modules/npm/node_modules/pacote/lib/util/trailing-slashes.js +10 -0
  1676. package/oidc/node_modules/npm/node_modules/pacote/package.json +80 -0
  1677. package/oidc/node_modules/npm/node_modules/parse-conflict-json/LICENSE.md +20 -0
  1678. package/oidc/node_modules/npm/node_modules/parse-conflict-json/lib/index.js +104 -0
  1679. package/oidc/node_modules/npm/node_modules/parse-conflict-json/package.json +51 -0
  1680. package/oidc/node_modules/npm/node_modules/path-key/index.js +16 -0
  1681. package/oidc/node_modules/npm/node_modules/path-key/license +9 -0
  1682. package/oidc/node_modules/npm/node_modules/path-key/package.json +39 -0
  1683. package/oidc/node_modules/npm/node_modules/path-scurry/LICENSE.md +55 -0
  1684. package/oidc/node_modules/npm/node_modules/path-scurry/dist/commonjs/index.js +2016 -0
  1685. package/oidc/node_modules/npm/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  1686. package/oidc/node_modules/npm/node_modules/path-scurry/dist/esm/index.js +1981 -0
  1687. package/oidc/node_modules/npm/node_modules/path-scurry/dist/esm/package.json +3 -0
  1688. package/oidc/node_modules/npm/node_modules/path-scurry/package.json +88 -0
  1689. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/API.md +874 -0
  1690. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/LICENSE-MIT +22 -0
  1691. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/index.js +17 -0
  1692. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/parser.js +1015 -0
  1693. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/processor.js +170 -0
  1694. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/attribute.js +448 -0
  1695. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/className.js +50 -0
  1696. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/combinator.js +21 -0
  1697. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/comment.js +21 -0
  1698. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/constructors.js +65 -0
  1699. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/container.js +321 -0
  1700. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/guards.js +58 -0
  1701. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/id.js +25 -0
  1702. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/index.js +21 -0
  1703. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/namespace.js +80 -0
  1704. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/nesting.js +22 -0
  1705. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/node.js +192 -0
  1706. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/pseudo.js +26 -0
  1707. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/root.js +44 -0
  1708. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/selector.js +21 -0
  1709. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/string.js +21 -0
  1710. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/tag.js +21 -0
  1711. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/types.js +28 -0
  1712. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/selectors/universal.js +22 -0
  1713. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/sortAscending.js +11 -0
  1714. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/tokenTypes.js +70 -0
  1715. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/tokenize.js +239 -0
  1716. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/util/ensureObject.js +17 -0
  1717. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/util/getProp.js +18 -0
  1718. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/util/index.js +13 -0
  1719. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/util/stripComments.js +21 -0
  1720. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/dist/util/unesc.js +76 -0
  1721. package/oidc/node_modules/npm/node_modules/postcss-selector-parser/package.json +80 -0
  1722. package/oidc/node_modules/npm/node_modules/proc-log/LICENSE +15 -0
  1723. package/oidc/node_modules/npm/node_modules/proc-log/lib/index.js +153 -0
  1724. package/oidc/node_modules/npm/node_modules/proc-log/package.json +46 -0
  1725. package/oidc/node_modules/npm/node_modules/proggy/LICENSE +15 -0
  1726. package/oidc/node_modules/npm/node_modules/proggy/lib/client.js +114 -0
  1727. package/oidc/node_modules/npm/node_modules/proggy/lib/index.js +15 -0
  1728. package/oidc/node_modules/npm/node_modules/proggy/lib/tracker.js +68 -0
  1729. package/oidc/node_modules/npm/node_modules/proggy/package.json +50 -0
  1730. package/oidc/node_modules/npm/node_modules/promise-all-reject-late/LICENSE +15 -0
  1731. package/oidc/node_modules/npm/node_modules/promise-all-reject-late/index.js +27 -0
  1732. package/oidc/node_modules/npm/node_modules/promise-all-reject-late/package.json +22 -0
  1733. package/oidc/node_modules/npm/node_modules/promise-all-reject-late/test/index.js +88 -0
  1734. package/oidc/node_modules/npm/node_modules/promise-call-limit/LICENSE +15 -0
  1735. package/oidc/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js +87 -0
  1736. package/oidc/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/package.json +3 -0
  1737. package/oidc/node_modules/npm/node_modules/promise-call-limit/dist/esm/index.js +60 -0
  1738. package/oidc/node_modules/npm/node_modules/promise-call-limit/dist/esm/package.json +3 -0
  1739. package/oidc/node_modules/npm/node_modules/promise-call-limit/package.json +68 -0
  1740. package/oidc/node_modules/npm/node_modules/promise-retry/LICENSE +19 -0
  1741. package/oidc/node_modules/npm/node_modules/promise-retry/index.js +52 -0
  1742. package/oidc/node_modules/npm/node_modules/promise-retry/package.json +37 -0
  1743. package/oidc/node_modules/npm/node_modules/promise-retry/test/test.js +263 -0
  1744. package/oidc/node_modules/npm/node_modules/promzard/LICENSE +15 -0
  1745. package/oidc/node_modules/npm/node_modules/promzard/lib/index.js +176 -0
  1746. package/oidc/node_modules/npm/node_modules/promzard/package.json +50 -0
  1747. package/oidc/node_modules/npm/node_modules/qrcode-terminal/.travis.yml +3 -0
  1748. package/oidc/node_modules/npm/node_modules/qrcode-terminal/LICENSE +222 -0
  1749. package/oidc/node_modules/npm/node_modules/qrcode-terminal/README.md +82 -0
  1750. package/oidc/node_modules/npm/node_modules/qrcode-terminal/bin/qrcode-terminal.js +101 -0
  1751. package/oidc/node_modules/npm/node_modules/qrcode-terminal/example/basic.js +2 -0
  1752. package/oidc/node_modules/npm/node_modules/qrcode-terminal/example/basic.png +0 -0
  1753. package/oidc/node_modules/npm/node_modules/qrcode-terminal/example/callback.js +4 -0
  1754. package/oidc/node_modules/npm/node_modules/qrcode-terminal/example/small-qrcode.js +6 -0
  1755. package/oidc/node_modules/npm/node_modules/qrcode-terminal/lib/main.js +100 -0
  1756. package/oidc/node_modules/npm/node_modules/qrcode-terminal/package.json +37 -0
  1757. package/oidc/node_modules/npm/node_modules/qrcode-terminal/test/main.js +63 -0
  1758. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QR8bitByte.js +22 -0
  1759. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRBitBuffer.js +38 -0
  1760. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel.js +7 -0
  1761. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMaskPattern.js +10 -0
  1762. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMath.js +44 -0
  1763. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRMode.js +6 -0
  1764. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRPolynomial.js +66 -0
  1765. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRRSBlock.js +298 -0
  1766. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/QRUtil.js +272 -0
  1767. package/oidc/node_modules/npm/node_modules/qrcode-terminal/vendor/QRCode/index.js +462 -0
  1768. package/oidc/node_modules/npm/node_modules/read/LICENSE +15 -0
  1769. package/oidc/node_modules/npm/node_modules/read/dist/commonjs/package.json +3 -0
  1770. package/oidc/node_modules/npm/node_modules/read/dist/commonjs/read.js +94 -0
  1771. package/oidc/node_modules/npm/node_modules/read/dist/esm/package.json +3 -0
  1772. package/oidc/node_modules/npm/node_modules/read/dist/esm/read.js +88 -0
  1773. package/oidc/node_modules/npm/node_modules/read/package.json +88 -0
  1774. package/oidc/node_modules/npm/node_modules/read-cmd-shim/LICENSE +14 -0
  1775. package/oidc/node_modules/npm/node_modules/read-cmd-shim/lib/index.js +75 -0
  1776. package/oidc/node_modules/npm/node_modules/read-cmd-shim/package.json +48 -0
  1777. package/oidc/node_modules/npm/node_modules/retry/License +21 -0
  1778. package/oidc/node_modules/npm/node_modules/retry/Makefile +18 -0
  1779. package/oidc/node_modules/npm/node_modules/retry/equation.gif +0 -0
  1780. package/oidc/node_modules/npm/node_modules/retry/example/dns.js +31 -0
  1781. package/oidc/node_modules/npm/node_modules/retry/example/stop.js +40 -0
  1782. package/oidc/node_modules/npm/node_modules/retry/index.js +1 -0
  1783. package/oidc/node_modules/npm/node_modules/retry/lib/retry.js +100 -0
  1784. package/oidc/node_modules/npm/node_modules/retry/lib/retry_operation.js +158 -0
  1785. package/oidc/node_modules/npm/node_modules/retry/package.json +32 -0
  1786. package/oidc/node_modules/npm/node_modules/retry/test/common.js +10 -0
  1787. package/oidc/node_modules/npm/node_modules/retry/test/integration/test-forever.js +24 -0
  1788. package/oidc/node_modules/npm/node_modules/retry/test/integration/test-retry-operation.js +258 -0
  1789. package/oidc/node_modules/npm/node_modules/retry/test/integration/test-retry-wrap.js +101 -0
  1790. package/oidc/node_modules/npm/node_modules/retry/test/integration/test-timeouts.js +69 -0
  1791. package/oidc/node_modules/npm/node_modules/safer-buffer/LICENSE +21 -0
  1792. package/oidc/node_modules/npm/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  1793. package/oidc/node_modules/npm/node_modules/safer-buffer/dangerous.js +58 -0
  1794. package/oidc/node_modules/npm/node_modules/safer-buffer/package.json +34 -0
  1795. package/oidc/node_modules/npm/node_modules/safer-buffer/safer.js +77 -0
  1796. package/oidc/node_modules/npm/node_modules/safer-buffer/tests.js +406 -0
  1797. package/oidc/node_modules/npm/node_modules/semver/LICENSE +15 -0
  1798. package/oidc/node_modules/npm/node_modules/semver/README.md +664 -0
  1799. package/oidc/node_modules/npm/node_modules/semver/bin/semver.js +191 -0
  1800. package/oidc/node_modules/npm/node_modules/semver/classes/comparator.js +143 -0
  1801. package/oidc/node_modules/npm/node_modules/semver/classes/index.js +7 -0
  1802. package/oidc/node_modules/npm/node_modules/semver/classes/range.js +557 -0
  1803. package/oidc/node_modules/npm/node_modules/semver/classes/semver.js +333 -0
  1804. package/oidc/node_modules/npm/node_modules/semver/functions/clean.js +8 -0
  1805. package/oidc/node_modules/npm/node_modules/semver/functions/cmp.js +54 -0
  1806. package/oidc/node_modules/npm/node_modules/semver/functions/coerce.js +62 -0
  1807. package/oidc/node_modules/npm/node_modules/semver/functions/compare-build.js +9 -0
  1808. package/oidc/node_modules/npm/node_modules/semver/functions/compare-loose.js +5 -0
  1809. package/oidc/node_modules/npm/node_modules/semver/functions/compare.js +7 -0
  1810. package/oidc/node_modules/npm/node_modules/semver/functions/diff.js +60 -0
  1811. package/oidc/node_modules/npm/node_modules/semver/functions/eq.js +5 -0
  1812. package/oidc/node_modules/npm/node_modules/semver/functions/gt.js +5 -0
  1813. package/oidc/node_modules/npm/node_modules/semver/functions/gte.js +5 -0
  1814. package/oidc/node_modules/npm/node_modules/semver/functions/inc.js +21 -0
  1815. package/oidc/node_modules/npm/node_modules/semver/functions/lt.js +5 -0
  1816. package/oidc/node_modules/npm/node_modules/semver/functions/lte.js +5 -0
  1817. package/oidc/node_modules/npm/node_modules/semver/functions/major.js +5 -0
  1818. package/oidc/node_modules/npm/node_modules/semver/functions/minor.js +5 -0
  1819. package/oidc/node_modules/npm/node_modules/semver/functions/neq.js +5 -0
  1820. package/oidc/node_modules/npm/node_modules/semver/functions/parse.js +18 -0
  1821. package/oidc/node_modules/npm/node_modules/semver/functions/patch.js +5 -0
  1822. package/oidc/node_modules/npm/node_modules/semver/functions/prerelease.js +8 -0
  1823. package/oidc/node_modules/npm/node_modules/semver/functions/rcompare.js +5 -0
  1824. package/oidc/node_modules/npm/node_modules/semver/functions/rsort.js +5 -0
  1825. package/oidc/node_modules/npm/node_modules/semver/functions/satisfies.js +12 -0
  1826. package/oidc/node_modules/npm/node_modules/semver/functions/sort.js +5 -0
  1827. package/oidc/node_modules/npm/node_modules/semver/functions/valid.js +8 -0
  1828. package/oidc/node_modules/npm/node_modules/semver/index.js +91 -0
  1829. package/oidc/node_modules/npm/node_modules/semver/internal/constants.js +37 -0
  1830. package/oidc/node_modules/npm/node_modules/semver/internal/debug.js +11 -0
  1831. package/oidc/node_modules/npm/node_modules/semver/internal/identifiers.js +29 -0
  1832. package/oidc/node_modules/npm/node_modules/semver/internal/lrucache.js +42 -0
  1833. package/oidc/node_modules/npm/node_modules/semver/internal/parse-options.js +17 -0
  1834. package/oidc/node_modules/npm/node_modules/semver/internal/re.js +223 -0
  1835. package/oidc/node_modules/npm/node_modules/semver/package.json +78 -0
  1836. package/oidc/node_modules/npm/node_modules/semver/preload.js +4 -0
  1837. package/oidc/node_modules/npm/node_modules/semver/range.bnf +16 -0
  1838. package/oidc/node_modules/npm/node_modules/semver/ranges/gtr.js +6 -0
  1839. package/oidc/node_modules/npm/node_modules/semver/ranges/intersects.js +9 -0
  1840. package/oidc/node_modules/npm/node_modules/semver/ranges/ltr.js +6 -0
  1841. package/oidc/node_modules/npm/node_modules/semver/ranges/max-satisfying.js +27 -0
  1842. package/oidc/node_modules/npm/node_modules/semver/ranges/min-satisfying.js +26 -0
  1843. package/oidc/node_modules/npm/node_modules/semver/ranges/min-version.js +63 -0
  1844. package/oidc/node_modules/npm/node_modules/semver/ranges/outside.js +82 -0
  1845. package/oidc/node_modules/npm/node_modules/semver/ranges/simplify.js +49 -0
  1846. package/oidc/node_modules/npm/node_modules/semver/ranges/subset.js +249 -0
  1847. package/oidc/node_modules/npm/node_modules/semver/ranges/to-comparators.js +10 -0
  1848. package/oidc/node_modules/npm/node_modules/semver/ranges/valid.js +13 -0
  1849. package/oidc/node_modules/npm/node_modules/shebang-command/index.js +19 -0
  1850. package/oidc/node_modules/npm/node_modules/shebang-command/license +9 -0
  1851. package/oidc/node_modules/npm/node_modules/shebang-command/package.json +34 -0
  1852. package/oidc/node_modules/npm/node_modules/shebang-regex/index.js +2 -0
  1853. package/oidc/node_modules/npm/node_modules/shebang-regex/license +9 -0
  1854. package/oidc/node_modules/npm/node_modules/shebang-regex/package.json +35 -0
  1855. package/oidc/node_modules/npm/node_modules/signal-exit/LICENSE.txt +16 -0
  1856. package/oidc/node_modules/npm/node_modules/signal-exit/dist/cjs/browser.js +10 -0
  1857. package/oidc/node_modules/npm/node_modules/signal-exit/dist/cjs/index.js +279 -0
  1858. package/oidc/node_modules/npm/node_modules/signal-exit/dist/cjs/package.json +3 -0
  1859. package/oidc/node_modules/npm/node_modules/signal-exit/dist/cjs/signals.js +42 -0
  1860. package/oidc/node_modules/npm/node_modules/signal-exit/dist/mjs/browser.js +4 -0
  1861. package/oidc/node_modules/npm/node_modules/signal-exit/dist/mjs/index.js +275 -0
  1862. package/oidc/node_modules/npm/node_modules/signal-exit/dist/mjs/package.json +3 -0
  1863. package/oidc/node_modules/npm/node_modules/signal-exit/dist/mjs/signals.js +39 -0
  1864. package/oidc/node_modules/npm/node_modules/signal-exit/package.json +106 -0
  1865. package/oidc/node_modules/npm/node_modules/sigstore/LICENSE +202 -0
  1866. package/oidc/node_modules/npm/node_modules/sigstore/dist/config.js +120 -0
  1867. package/oidc/node_modules/npm/node_modules/sigstore/dist/index.js +34 -0
  1868. package/oidc/node_modules/npm/node_modules/sigstore/dist/sigstore.js +112 -0
  1869. package/oidc/node_modules/npm/node_modules/sigstore/package.json +47 -0
  1870. package/oidc/node_modules/npm/node_modules/smart-buffer/LICENSE +20 -0
  1871. package/oidc/node_modules/npm/node_modules/smart-buffer/build/smartbuffer.js +1233 -0
  1872. package/oidc/node_modules/npm/node_modules/smart-buffer/build/utils.js +108 -0
  1873. package/oidc/node_modules/npm/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
  1874. package/oidc/node_modules/npm/node_modules/smart-buffer/package.json +79 -0
  1875. package/oidc/node_modules/npm/node_modules/socks/LICENSE +20 -0
  1876. package/oidc/node_modules/npm/node_modules/socks/build/client/socksclient.js +793 -0
  1877. package/oidc/node_modules/npm/node_modules/socks/build/common/constants.js +108 -0
  1878. package/oidc/node_modules/npm/node_modules/socks/build/common/helpers.js +167 -0
  1879. package/oidc/node_modules/npm/node_modules/socks/build/common/receivebuffer.js +43 -0
  1880. package/oidc/node_modules/npm/node_modules/socks/build/common/util.js +25 -0
  1881. package/oidc/node_modules/npm/node_modules/socks/build/index.js +18 -0
  1882. package/oidc/node_modules/npm/node_modules/socks/docs/examples/index.md +17 -0
  1883. package/oidc/node_modules/npm/node_modules/socks/docs/examples/javascript/associateExample.md +90 -0
  1884. package/oidc/node_modules/npm/node_modules/socks/docs/examples/javascript/bindExample.md +83 -0
  1885. package/oidc/node_modules/npm/node_modules/socks/docs/examples/javascript/connectExample.md +258 -0
  1886. package/oidc/node_modules/npm/node_modules/socks/docs/examples/typescript/associateExample.md +93 -0
  1887. package/oidc/node_modules/npm/node_modules/socks/docs/examples/typescript/bindExample.md +86 -0
  1888. package/oidc/node_modules/npm/node_modules/socks/docs/examples/typescript/connectExample.md +265 -0
  1889. package/oidc/node_modules/npm/node_modules/socks/docs/index.md +5 -0
  1890. package/oidc/node_modules/npm/node_modules/socks/docs/migratingFromV1.md +86 -0
  1891. package/oidc/node_modules/npm/node_modules/socks/package.json +58 -0
  1892. package/oidc/node_modules/npm/node_modules/socks-proxy-agent/LICENSE +22 -0
  1893. package/oidc/node_modules/npm/node_modules/socks-proxy-agent/dist/index.js +195 -0
  1894. package/oidc/node_modules/npm/node_modules/socks-proxy-agent/package.json +142 -0
  1895. package/oidc/node_modules/npm/node_modules/spdx-correct/LICENSE +202 -0
  1896. package/oidc/node_modules/npm/node_modules/spdx-correct/index.js +386 -0
  1897. package/oidc/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/AUTHORS +4 -0
  1898. package/oidc/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/LICENSE +22 -0
  1899. package/oidc/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/index.js +8 -0
  1900. package/oidc/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/package.json +39 -0
  1901. package/oidc/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/parse.js +138 -0
  1902. package/oidc/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/scan.js +131 -0
  1903. package/oidc/node_modules/npm/node_modules/spdx-correct/package.json +32 -0
  1904. package/oidc/node_modules/npm/node_modules/spdx-exceptions/deprecated.json +3 -0
  1905. package/oidc/node_modules/npm/node_modules/spdx-exceptions/index.json +68 -0
  1906. package/oidc/node_modules/npm/node_modules/spdx-exceptions/package.json +19 -0
  1907. package/oidc/node_modules/npm/node_modules/spdx-expression-parse/AUTHORS +4 -0
  1908. package/oidc/node_modules/npm/node_modules/spdx-expression-parse/LICENSE +22 -0
  1909. package/oidc/node_modules/npm/node_modules/spdx-expression-parse/index.js +8 -0
  1910. package/oidc/node_modules/npm/node_modules/spdx-expression-parse/package.json +39 -0
  1911. package/oidc/node_modules/npm/node_modules/spdx-expression-parse/parse.js +138 -0
  1912. package/oidc/node_modules/npm/node_modules/spdx-expression-parse/scan.js +131 -0
  1913. package/oidc/node_modules/npm/node_modules/spdx-license-ids/deprecated.json +28 -0
  1914. package/oidc/node_modules/npm/node_modules/spdx-license-ids/index.json +669 -0
  1915. package/oidc/node_modules/npm/node_modules/spdx-license-ids/package.json +29 -0
  1916. package/oidc/node_modules/npm/node_modules/ssri/LICENSE.md +16 -0
  1917. package/oidc/node_modules/npm/node_modules/ssri/lib/index.js +580 -0
  1918. package/oidc/node_modules/npm/node_modules/ssri/package.json +66 -0
  1919. package/oidc/node_modules/npm/node_modules/string-width/index.js +47 -0
  1920. package/oidc/node_modules/npm/node_modules/string-width/license +9 -0
  1921. package/oidc/node_modules/npm/node_modules/string-width/package.json +56 -0
  1922. package/oidc/node_modules/npm/node_modules/string-width-cjs/index.js +47 -0
  1923. package/oidc/node_modules/npm/node_modules/string-width-cjs/license +9 -0
  1924. package/oidc/node_modules/npm/node_modules/string-width-cjs/package.json +56 -0
  1925. package/oidc/node_modules/npm/node_modules/strip-ansi/index.js +4 -0
  1926. package/oidc/node_modules/npm/node_modules/strip-ansi/license +9 -0
  1927. package/oidc/node_modules/npm/node_modules/strip-ansi/package.json +54 -0
  1928. package/oidc/node_modules/npm/node_modules/strip-ansi-cjs/index.js +4 -0
  1929. package/oidc/node_modules/npm/node_modules/strip-ansi-cjs/license +9 -0
  1930. package/oidc/node_modules/npm/node_modules/strip-ansi-cjs/package.json +54 -0
  1931. package/oidc/node_modules/npm/node_modules/supports-color/browser.js +35 -0
  1932. package/oidc/node_modules/npm/node_modules/supports-color/index.js +202 -0
  1933. package/oidc/node_modules/npm/node_modules/supports-color/license +9 -0
  1934. package/oidc/node_modules/npm/node_modules/supports-color/package.json +64 -0
  1935. package/oidc/node_modules/npm/node_modules/tar/LICENSE +15 -0
  1936. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/create.js +83 -0
  1937. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
  1938. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/extract.js +78 -0
  1939. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/get-write-flag.js +29 -0
  1940. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/header.js +306 -0
  1941. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/index.js +54 -0
  1942. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
  1943. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/list.js +138 -0
  1944. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/make-command.js +61 -0
  1945. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/mkdir.js +188 -0
  1946. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
  1947. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/normalize-unicode.js +34 -0
  1948. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
  1949. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/options.js +66 -0
  1950. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/pack.js +491 -0
  1951. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/package.json +3 -0
  1952. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/parse.js +622 -0
  1953. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
  1954. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/pax.js +158 -0
  1955. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/read-entry.js +140 -0
  1956. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/replace.js +232 -0
  1957. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
  1958. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
  1959. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
  1960. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/types.js +50 -0
  1961. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/unpack.js +871 -0
  1962. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/update.js +33 -0
  1963. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/warn-method.js +31 -0
  1964. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/winchars.js +14 -0
  1965. package/oidc/node_modules/npm/node_modules/tar/dist/commonjs/write-entry.js +689 -0
  1966. package/oidc/node_modules/npm/node_modules/tar/dist/esm/create.js +77 -0
  1967. package/oidc/node_modules/npm/node_modules/tar/dist/esm/cwd-error.js +14 -0
  1968. package/oidc/node_modules/npm/node_modules/tar/dist/esm/extract.js +49 -0
  1969. package/oidc/node_modules/npm/node_modules/tar/dist/esm/get-write-flag.js +23 -0
  1970. package/oidc/node_modules/npm/node_modules/tar/dist/esm/header.js +279 -0
  1971. package/oidc/node_modules/npm/node_modules/tar/dist/esm/index.js +20 -0
  1972. package/oidc/node_modules/npm/node_modules/tar/dist/esm/large-numbers.js +94 -0
  1973. package/oidc/node_modules/npm/node_modules/tar/dist/esm/list.js +108 -0
  1974. package/oidc/node_modules/npm/node_modules/tar/dist/esm/make-command.js +57 -0
  1975. package/oidc/node_modules/npm/node_modules/tar/dist/esm/mkdir.js +180 -0
  1976. package/oidc/node_modules/npm/node_modules/tar/dist/esm/mode-fix.js +25 -0
  1977. package/oidc/node_modules/npm/node_modules/tar/dist/esm/normalize-unicode.js +30 -0
  1978. package/oidc/node_modules/npm/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
  1979. package/oidc/node_modules/npm/node_modules/tar/dist/esm/options.js +54 -0
  1980. package/oidc/node_modules/npm/node_modules/tar/dist/esm/pack.js +459 -0
  1981. package/oidc/node_modules/npm/node_modules/tar/dist/esm/package.json +3 -0
  1982. package/oidc/node_modules/npm/node_modules/tar/dist/esm/parse.js +618 -0
  1983. package/oidc/node_modules/npm/node_modules/tar/dist/esm/path-reservations.js +166 -0
  1984. package/oidc/node_modules/npm/node_modules/tar/dist/esm/pax.js +154 -0
  1985. package/oidc/node_modules/npm/node_modules/tar/dist/esm/read-entry.js +136 -0
  1986. package/oidc/node_modules/npm/node_modules/tar/dist/esm/replace.js +226 -0
  1987. package/oidc/node_modules/npm/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
  1988. package/oidc/node_modules/npm/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
  1989. package/oidc/node_modules/npm/node_modules/tar/dist/esm/symlink-error.js +15 -0
  1990. package/oidc/node_modules/npm/node_modules/tar/dist/esm/types.js +45 -0
  1991. package/oidc/node_modules/npm/node_modules/tar/dist/esm/unpack.js +840 -0
  1992. package/oidc/node_modules/npm/node_modules/tar/dist/esm/update.js +30 -0
  1993. package/oidc/node_modules/npm/node_modules/tar/dist/esm/warn-method.js +27 -0
  1994. package/oidc/node_modules/npm/node_modules/tar/dist/esm/winchars.js +9 -0
  1995. package/oidc/node_modules/npm/node_modules/tar/dist/esm/write-entry.js +657 -0
  1996. package/oidc/node_modules/npm/node_modules/tar/node_modules/yallist/LICENSE.md +63 -0
  1997. package/oidc/node_modules/npm/node_modules/tar/node_modules/yallist/dist/commonjs/index.js +384 -0
  1998. package/oidc/node_modules/npm/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +3 -0
  1999. package/oidc/node_modules/npm/node_modules/tar/node_modules/yallist/dist/esm/index.js +379 -0
  2000. package/oidc/node_modules/npm/node_modules/tar/node_modules/yallist/dist/esm/package.json +3 -0
  2001. package/oidc/node_modules/npm/node_modules/tar/node_modules/yallist/package.json +68 -0
  2002. package/oidc/node_modules/npm/node_modules/tar/package.json +326 -0
  2003. package/oidc/node_modules/npm/node_modules/text-table/LICENSE +18 -0
  2004. package/oidc/node_modules/npm/node_modules/text-table/example/align.js +8 -0
  2005. package/oidc/node_modules/npm/node_modules/text-table/example/center.js +8 -0
  2006. package/oidc/node_modules/npm/node_modules/text-table/example/dotalign.js +9 -0
  2007. package/oidc/node_modules/npm/node_modules/text-table/example/doubledot.js +11 -0
  2008. package/oidc/node_modules/npm/node_modules/text-table/example/table.js +6 -0
  2009. package/oidc/node_modules/npm/node_modules/text-table/index.js +86 -0
  2010. package/oidc/node_modules/npm/node_modules/text-table/package.json +44 -0
  2011. package/oidc/node_modules/npm/node_modules/text-table/test/align.js +18 -0
  2012. package/oidc/node_modules/npm/node_modules/text-table/test/ansi-colors.js +32 -0
  2013. package/oidc/node_modules/npm/node_modules/text-table/test/center.js +18 -0
  2014. package/oidc/node_modules/npm/node_modules/text-table/test/dotalign.js +20 -0
  2015. package/oidc/node_modules/npm/node_modules/text-table/test/doubledot.js +24 -0
  2016. package/oidc/node_modules/npm/node_modules/text-table/test/table.js +14 -0
  2017. package/oidc/node_modules/npm/node_modules/tiny-relative-date/LICENSE.md +21 -0
  2018. package/oidc/node_modules/npm/node_modules/tiny-relative-date/lib/factory.js +100 -0
  2019. package/oidc/node_modules/npm/node_modules/tiny-relative-date/lib/index.js +18 -0
  2020. package/oidc/node_modules/npm/node_modules/tiny-relative-date/package.json +39 -0
  2021. package/oidc/node_modules/npm/node_modules/tiny-relative-date/src/factory.js +112 -0
  2022. package/oidc/node_modules/npm/node_modules/tiny-relative-date/src/index.js +4 -0
  2023. package/oidc/node_modules/npm/node_modules/tiny-relative-date/translations/da.js +31 -0
  2024. package/oidc/node_modules/npm/node_modules/tiny-relative-date/translations/de.js +31 -0
  2025. package/oidc/node_modules/npm/node_modules/tiny-relative-date/translations/en-short.js +31 -0
  2026. package/oidc/node_modules/npm/node_modules/tiny-relative-date/translations/en.js +31 -0
  2027. package/oidc/node_modules/npm/node_modules/tiny-relative-date/translations/es.js +31 -0
  2028. package/oidc/node_modules/npm/node_modules/tiny-relative-date/translations/fa.js +31 -0
  2029. package/oidc/node_modules/npm/node_modules/tiny-relative-date/translations/ne.js +31 -0
  2030. package/oidc/node_modules/npm/node_modules/tinyglobby/LICENSE +21 -0
  2031. package/oidc/node_modules/npm/node_modules/tinyglobby/dist/index.cjs +350 -0
  2032. package/oidc/node_modules/npm/node_modules/tinyglobby/dist/index.d.cts +147 -0
  2033. package/oidc/node_modules/npm/node_modules/tinyglobby/dist/index.d.mts +147 -0
  2034. package/oidc/node_modules/npm/node_modules/tinyglobby/dist/index.mjs +318 -0
  2035. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/LICENSE +7 -0
  2036. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.cjs +588 -0
  2037. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.d.cts +155 -0
  2038. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.d.mts +155 -0
  2039. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/dist/index.mjs +570 -0
  2040. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/fdir/package.json +103 -0
  2041. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/LICENSE +21 -0
  2042. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/index.js +17 -0
  2043. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/constants.js +180 -0
  2044. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/parse.js +1085 -0
  2045. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/picomatch.js +341 -0
  2046. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/scan.js +391 -0
  2047. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/lib/utils.js +72 -0
  2048. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/package.json +83 -0
  2049. package/oidc/node_modules/npm/node_modules/tinyglobby/node_modules/picomatch/posix.js +3 -0
  2050. package/oidc/node_modules/npm/node_modules/tinyglobby/package.json +73 -0
  2051. package/oidc/node_modules/npm/node_modules/treeverse/LICENSE +15 -0
  2052. package/oidc/node_modules/npm/node_modules/treeverse/lib/breadth.js +67 -0
  2053. package/oidc/node_modules/npm/node_modules/treeverse/lib/depth-descent.js +88 -0
  2054. package/oidc/node_modules/npm/node_modules/treeverse/lib/depth.js +76 -0
  2055. package/oidc/node_modules/npm/node_modules/treeverse/lib/index.js +4 -0
  2056. package/oidc/node_modules/npm/node_modules/treeverse/package.json +51 -0
  2057. package/oidc/node_modules/npm/node_modules/tuf-js/LICENSE +21 -0
  2058. package/oidc/node_modules/npm/node_modules/tuf-js/dist/config.js +15 -0
  2059. package/oidc/node_modules/npm/node_modules/tuf-js/dist/error.js +49 -0
  2060. package/oidc/node_modules/npm/node_modules/tuf-js/dist/fetcher.js +86 -0
  2061. package/oidc/node_modules/npm/node_modules/tuf-js/dist/index.js +9 -0
  2062. package/oidc/node_modules/npm/node_modules/tuf-js/dist/store.js +219 -0
  2063. package/oidc/node_modules/npm/node_modules/tuf-js/dist/updater.js +368 -0
  2064. package/oidc/node_modules/npm/node_modules/tuf-js/dist/utils/tmpfile.js +25 -0
  2065. package/oidc/node_modules/npm/node_modules/tuf-js/dist/utils/url.js +13 -0
  2066. package/oidc/node_modules/npm/node_modules/tuf-js/package.json +43 -0
  2067. package/oidc/node_modules/npm/node_modules/unique-filename/LICENSE +5 -0
  2068. package/oidc/node_modules/npm/node_modules/unique-filename/lib/index.js +7 -0
  2069. package/oidc/node_modules/npm/node_modules/unique-filename/package.json +53 -0
  2070. package/oidc/node_modules/npm/node_modules/unique-slug/LICENSE +15 -0
  2071. package/oidc/node_modules/npm/node_modules/unique-slug/lib/index.js +11 -0
  2072. package/oidc/node_modules/npm/node_modules/unique-slug/package.json +49 -0
  2073. package/oidc/node_modules/npm/node_modules/util-deprecate/History.md +16 -0
  2074. package/oidc/node_modules/npm/node_modules/util-deprecate/LICENSE +24 -0
  2075. package/oidc/node_modules/npm/node_modules/util-deprecate/browser.js +67 -0
  2076. package/oidc/node_modules/npm/node_modules/util-deprecate/node.js +6 -0
  2077. package/oidc/node_modules/npm/node_modules/util-deprecate/package.json +27 -0
  2078. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/LICENSE +202 -0
  2079. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/index.js +86 -0
  2080. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/AUTHORS +4 -0
  2081. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/LICENSE +22 -0
  2082. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/index.js +8 -0
  2083. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/package.json +39 -0
  2084. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/parse.js +138 -0
  2085. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/scan.js +131 -0
  2086. package/oidc/node_modules/npm/node_modules/validate-npm-package-license/package.json +28 -0
  2087. package/oidc/node_modules/npm/node_modules/validate-npm-package-name/LICENSE +6 -0
  2088. package/oidc/node_modules/npm/node_modules/validate-npm-package-name/lib/index.js +110 -0
  2089. package/oidc/node_modules/npm/node_modules/validate-npm-package-name/package.json +61 -0
  2090. package/oidc/node_modules/npm/node_modules/walk-up-path/LICENSE +15 -0
  2091. package/oidc/node_modules/npm/node_modules/walk-up-path/dist/commonjs/index.js +18 -0
  2092. package/oidc/node_modules/npm/node_modules/walk-up-path/dist/commonjs/package.json +3 -0
  2093. package/oidc/node_modules/npm/node_modules/walk-up-path/dist/esm/index.js +14 -0
  2094. package/oidc/node_modules/npm/node_modules/walk-up-path/dist/esm/package.json +3 -0
  2095. package/oidc/node_modules/npm/node_modules/walk-up-path/package.json +71 -0
  2096. package/oidc/node_modules/npm/node_modules/which/LICENSE +15 -0
  2097. package/oidc/node_modules/npm/node_modules/which/README.md +51 -0
  2098. package/oidc/node_modules/npm/node_modules/which/bin/which.js +52 -0
  2099. package/oidc/node_modules/npm/node_modules/which/lib/index.js +111 -0
  2100. package/oidc/node_modules/npm/node_modules/which/package.json +52 -0
  2101. package/oidc/node_modules/npm/node_modules/wrap-ansi/index.js +214 -0
  2102. package/oidc/node_modules/npm/node_modules/wrap-ansi/license +9 -0
  2103. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +14 -0
  2104. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/license +9 -0
  2105. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +61 -0
  2106. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  2107. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/RGI_Emoji.js +6 -0
  2108. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/RGI_Emoji.js +6 -0
  2109. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/index.js +6 -0
  2110. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/text.js +6 -0
  2111. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/index.js +6 -0
  2112. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/package.json +52 -0
  2113. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex/text.js +6 -0
  2114. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/index.js +54 -0
  2115. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/license +9 -0
  2116. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/package.json +59 -0
  2117. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +14 -0
  2118. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/license +9 -0
  2119. package/oidc/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +59 -0
  2120. package/oidc/node_modules/npm/node_modules/wrap-ansi/package.json +69 -0
  2121. package/oidc/node_modules/npm/node_modules/wrap-ansi-cjs/index.js +216 -0
  2122. package/oidc/node_modules/npm/node_modules/wrap-ansi-cjs/license +9 -0
  2123. package/oidc/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/index.js +163 -0
  2124. package/oidc/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/license +9 -0
  2125. package/oidc/node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/package.json +56 -0
  2126. package/oidc/node_modules/npm/node_modules/wrap-ansi-cjs/package.json +62 -0
  2127. package/oidc/node_modules/npm/node_modules/write-file-atomic/LICENSE.md +6 -0
  2128. package/oidc/node_modules/npm/node_modules/write-file-atomic/lib/index.js +267 -0
  2129. package/oidc/node_modules/npm/node_modules/write-file-atomic/package.json +58 -0
  2130. package/oidc/node_modules/npm/node_modules/yallist/LICENSE +15 -0
  2131. package/oidc/node_modules/npm/node_modules/yallist/iterator.js +8 -0
  2132. package/oidc/node_modules/npm/node_modules/yallist/package.json +29 -0
  2133. package/oidc/node_modules/npm/node_modules/yallist/yallist.js +426 -0
  2134. package/oidc/node_modules/npm/package.json +258 -0
  2135. package/oidc/package-lock.json +2420 -0
  2136. package/oidc/package.json +5 -0
  2137. package/package.json +2 -2
  2138. package/server.js +1 -1
  2139. package/server.mjs +1 -1
  2140. package/src/server.ts +1 -1
@@ -0,0 +1,2957 @@
1
+ # Copyright (c) 2013 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 collections
7
+ import copy
8
+ import ctypes
9
+ import hashlib
10
+ import json
11
+ import multiprocessing
12
+ import os.path
13
+ import re
14
+ import shutil
15
+ import signal
16
+ import subprocess
17
+ import sys
18
+ from io import StringIO
19
+
20
+ import gyp
21
+ import gyp.common
22
+ import gyp.msvs_emulation
23
+ import gyp.xcode_emulation
24
+ from gyp import MSVSUtil, ninja_syntax
25
+ from gyp.common import GetEnvironFallback
26
+
27
+ generator_default_variables = {
28
+ "EXECUTABLE_PREFIX": "",
29
+ "EXECUTABLE_SUFFIX": "",
30
+ "STATIC_LIB_PREFIX": "lib",
31
+ "STATIC_LIB_SUFFIX": ".a",
32
+ "SHARED_LIB_PREFIX": "lib",
33
+ # Gyp expects the following variables to be expandable by the build
34
+ # system to the appropriate locations. Ninja prefers paths to be
35
+ # known at gyp time. To resolve this, introduce special
36
+ # variables starting with $! and $| (which begin with a $ so gyp knows it
37
+ # should be treated specially, but is otherwise an invalid
38
+ # ninja/shell variable) that are passed to gyp here but expanded
39
+ # before writing out into the target .ninja files; see
40
+ # ExpandSpecial.
41
+ # $! is used for variables that represent a path and that can only appear at
42
+ # the start of a string, while $| is used for variables that can appear
43
+ # anywhere in a string.
44
+ "INTERMEDIATE_DIR": "$!INTERMEDIATE_DIR",
45
+ "SHARED_INTERMEDIATE_DIR": "$!PRODUCT_DIR/gen",
46
+ "PRODUCT_DIR": "$!PRODUCT_DIR",
47
+ "CONFIGURATION_NAME": "$|CONFIGURATION_NAME",
48
+ # Special variables that may be used by gyp 'rule' targets.
49
+ # We generate definitions for these variables on the fly when processing a
50
+ # rule.
51
+ "RULE_INPUT_ROOT": "${root}",
52
+ "RULE_INPUT_DIRNAME": "${dirname}",
53
+ "RULE_INPUT_PATH": "${source}",
54
+ "RULE_INPUT_EXT": "${ext}",
55
+ "RULE_INPUT_NAME": "${name}",
56
+ }
57
+
58
+ # Placates pylint.
59
+ generator_additional_non_configuration_keys = []
60
+ generator_additional_path_sections = []
61
+ generator_extra_sources_for_rules = []
62
+ generator_filelist_paths = None
63
+
64
+ generator_supports_multiple_toolsets = gyp.common.CrossCompileRequested()
65
+
66
+
67
+ def StripPrefix(arg, prefix):
68
+ if arg.startswith(prefix):
69
+ return arg[len(prefix) :]
70
+ return arg
71
+
72
+
73
+ def QuoteShellArgument(arg, flavor):
74
+ """Quote a string such that it will be interpreted as a single argument
75
+ by the shell."""
76
+ # Rather than attempting to enumerate the bad shell characters, just
77
+ # allow common OK ones and quote anything else.
78
+ if re.match(r"^[a-zA-Z0-9_=.\\/-]+$", arg):
79
+ return arg # No quoting necessary.
80
+ if flavor == "win":
81
+ return gyp.msvs_emulation.QuoteForRspFile(arg)
82
+ return "'" + arg.replace("'", "'" + '"\'"' + "'") + "'"
83
+
84
+
85
+ def Define(d, flavor):
86
+ """Takes a preprocessor define and returns a -D parameter that's ninja- and
87
+ shell-escaped."""
88
+ if flavor == "win":
89
+ # cl.exe replaces literal # characters with = in preprocessor definitions for
90
+ # some reason. Octal-encode to work around that.
91
+ d = d.replace("#", "\\%03o" % ord("#"))
92
+ return QuoteShellArgument(ninja_syntax.escape("-D" + d), flavor)
93
+
94
+
95
+ def AddArch(output, arch):
96
+ """Adds an arch string to an output path."""
97
+ output, extension = os.path.splitext(output)
98
+ return f"{output}.{arch}{extension}"
99
+
100
+
101
+ class Target:
102
+ """Target represents the paths used within a single gyp target.
103
+
104
+ Conceptually, building a single target A is a series of steps:
105
+
106
+ 1) actions/rules/copies generates source/resources/etc.
107
+ 2) compiles generates .o files
108
+ 3) link generates a binary (library/executable)
109
+ 4) bundle merges the above in a mac bundle
110
+
111
+ (Any of these steps can be optional.)
112
+
113
+ From a build ordering perspective, a dependent target B could just
114
+ depend on the last output of this series of steps.
115
+
116
+ But some dependent commands sometimes need to reach inside the box.
117
+ For example, when linking B it needs to get the path to the static
118
+ library generated by A.
119
+
120
+ This object stores those paths. To keep things simple, member
121
+ variables only store concrete paths to single files, while methods
122
+ compute derived values like "the last output of the target".
123
+ """
124
+
125
+ def __init__(self, type):
126
+ # Gyp type ("static_library", etc.) of this target.
127
+ self.type = type
128
+ # File representing whether any input dependencies necessary for
129
+ # dependent actions have completed.
130
+ self.preaction_stamp = None
131
+ # File representing whether any input dependencies necessary for
132
+ # dependent compiles have completed.
133
+ self.precompile_stamp = None
134
+ # File representing the completion of actions/rules/copies, if any.
135
+ self.actions_stamp = None
136
+ # Path to the output of the link step, if any.
137
+ self.binary = None
138
+ # Path to the file representing the completion of building the bundle,
139
+ # if any.
140
+ self.bundle = None
141
+ # On Windows, incremental linking requires linking against all the .objs
142
+ # that compose a .lib (rather than the .lib itself). That list is stored
143
+ # here. In this case, we also need to save the compile_deps for the target,
144
+ # so that the target that directly depends on the .objs can also depend
145
+ # on those.
146
+ self.component_objs = None
147
+ self.compile_deps = None
148
+ # Windows only. The import .lib is the output of a build step, but
149
+ # because dependents only link against the lib (not both the lib and the
150
+ # dll) we keep track of the import library here.
151
+ self.import_lib = None
152
+ # Track if this target contains any C++ files, to decide if gcc or g++
153
+ # should be used for linking.
154
+ self.uses_cpp = False
155
+
156
+ def Linkable(self):
157
+ """Return true if this is a target that can be linked against."""
158
+ return self.type in ("static_library", "shared_library")
159
+
160
+ def UsesToc(self, flavor):
161
+ """Return true if the target should produce a restat rule based on a TOC
162
+ file."""
163
+ # For bundles, the .TOC should be produced for the binary, not for
164
+ # FinalOutput(). But the naive approach would put the TOC file into the
165
+ # bundle, so don't do this for bundles for now.
166
+ if flavor == "win" or self.bundle:
167
+ return False
168
+ return self.type in ("shared_library", "loadable_module")
169
+
170
+ def PreActionInput(self, flavor):
171
+ """Return the path, if any, that should be used as a dependency of
172
+ any dependent action step."""
173
+ if self.UsesToc(flavor):
174
+ return self.FinalOutput() + ".TOC"
175
+ return self.FinalOutput() or self.preaction_stamp
176
+
177
+ def PreCompileInput(self):
178
+ """Return the path, if any, that should be used as a dependency of
179
+ any dependent compile step."""
180
+ return self.actions_stamp or self.precompile_stamp
181
+
182
+ def FinalOutput(self):
183
+ """Return the last output of the target, which depends on all prior
184
+ steps."""
185
+ return self.bundle or self.binary or self.actions_stamp
186
+
187
+
188
+ # A small discourse on paths as used within the Ninja build:
189
+ # All files we produce (both at gyp and at build time) appear in the
190
+ # build directory (e.g. out/Debug).
191
+ #
192
+ # Paths within a given .gyp file are always relative to the directory
193
+ # containing the .gyp file. Call these "gyp paths". This includes
194
+ # sources as well as the starting directory a given gyp rule/action
195
+ # expects to be run from. We call the path from the source root to
196
+ # the gyp file the "base directory" within the per-.gyp-file
197
+ # NinjaWriter code.
198
+ #
199
+ # All paths as written into the .ninja files are relative to the build
200
+ # directory. Call these paths "ninja paths".
201
+ #
202
+ # We translate between these two notions of paths with two helper
203
+ # functions:
204
+ #
205
+ # - GypPathToNinja translates a gyp path (i.e. relative to the .gyp file)
206
+ # into the equivalent ninja path.
207
+ #
208
+ # - GypPathToUniqueOutput translates a gyp path into a ninja path to write
209
+ # an output file; the result can be namespaced such that it is unique
210
+ # to the input file name as well as the output target name.
211
+
212
+
213
+ class NinjaWriter:
214
+ def __init__(
215
+ self,
216
+ hash_for_rules,
217
+ target_outputs,
218
+ base_dir,
219
+ build_dir,
220
+ output_file,
221
+ toplevel_build,
222
+ output_file_name,
223
+ flavor,
224
+ toplevel_dir=None,
225
+ ):
226
+ """
227
+ base_dir: path from source root to directory containing this gyp file,
228
+ by gyp semantics, all input paths are relative to this
229
+ build_dir: path from source root to build output
230
+ toplevel_dir: path to the toplevel directory
231
+ """
232
+
233
+ self.hash_for_rules = hash_for_rules
234
+ self.target_outputs = target_outputs
235
+ self.base_dir = base_dir
236
+ self.build_dir = build_dir
237
+ self.ninja = ninja_syntax.Writer(output_file)
238
+ self.toplevel_build = toplevel_build
239
+ self.output_file_name = output_file_name
240
+
241
+ self.flavor = flavor
242
+ self.abs_build_dir = None
243
+ if toplevel_dir is not None:
244
+ self.abs_build_dir = os.path.abspath(os.path.join(toplevel_dir, build_dir))
245
+ self.obj_ext = ".obj" if flavor == "win" else ".o"
246
+ if flavor == "win":
247
+ # See docstring of msvs_emulation.GenerateEnvironmentFiles().
248
+ self.win_env = {}
249
+ for arch in ("x86", "x64"):
250
+ self.win_env[arch] = "environment." + arch
251
+
252
+ # Relative path from build output dir to base dir.
253
+ build_to_top = gyp.common.InvertRelativePath(build_dir, toplevel_dir)
254
+ self.build_to_base = os.path.join(build_to_top, base_dir)
255
+ # Relative path from base dir to build dir.
256
+ base_to_top = gyp.common.InvertRelativePath(base_dir, toplevel_dir)
257
+ self.base_to_build = os.path.join(base_to_top, build_dir)
258
+
259
+ def ExpandSpecial(self, path, product_dir=None):
260
+ """Expand specials like $!PRODUCT_DIR in |path|.
261
+
262
+ If |product_dir| is None, assumes the cwd is already the product
263
+ dir. Otherwise, |product_dir| is the relative path to the product
264
+ dir.
265
+ """
266
+
267
+ if (PRODUCT_DIR := "$!PRODUCT_DIR") in path:
268
+ if product_dir:
269
+ path = path.replace(PRODUCT_DIR, product_dir)
270
+ else:
271
+ path = path.replace(PRODUCT_DIR + "/", "")
272
+ path = path.replace(PRODUCT_DIR + "\\", "")
273
+ path = path.replace(PRODUCT_DIR, ".")
274
+
275
+ if (INTERMEDIATE_DIR := "$!INTERMEDIATE_DIR") in path:
276
+ int_dir = self.GypPathToUniqueOutput("gen")
277
+ # GypPathToUniqueOutput generates a path relative to the product dir,
278
+ # so insert product_dir in front if it is provided.
279
+ path = path.replace(
280
+ INTERMEDIATE_DIR, os.path.join(product_dir or "", int_dir)
281
+ )
282
+
283
+ CONFIGURATION_NAME = "$|CONFIGURATION_NAME"
284
+ path = path.replace(CONFIGURATION_NAME, self.config_name)
285
+
286
+ return path
287
+
288
+ def ExpandRuleVariables(self, path, root, dirname, source, ext, name):
289
+ if self.flavor == "win":
290
+ path = self.msvs_settings.ConvertVSMacros(path, config=self.config_name)
291
+ path = path.replace(generator_default_variables["RULE_INPUT_ROOT"], root)
292
+ path = path.replace(generator_default_variables["RULE_INPUT_DIRNAME"], dirname)
293
+ path = path.replace(generator_default_variables["RULE_INPUT_PATH"], source)
294
+ path = path.replace(generator_default_variables["RULE_INPUT_EXT"], ext)
295
+ path = path.replace(generator_default_variables["RULE_INPUT_NAME"], name)
296
+ return path
297
+
298
+ def GypPathToNinja(self, path, env=None):
299
+ """Translate a gyp path to a ninja path, optionally expanding environment
300
+ variable references in |path| with |env|.
301
+
302
+ See the above discourse on path conversions."""
303
+ if env:
304
+ if self.flavor == "mac":
305
+ path = gyp.xcode_emulation.ExpandEnvVars(path, env)
306
+ elif self.flavor == "win":
307
+ path = gyp.msvs_emulation.ExpandMacros(path, env)
308
+ if path.startswith("$!"):
309
+ expanded = self.ExpandSpecial(path)
310
+ if self.flavor == "win":
311
+ expanded = os.path.normpath(expanded)
312
+ return expanded
313
+ if "$|" in path:
314
+ path = self.ExpandSpecial(path)
315
+ assert "$" not in path, path
316
+ return os.path.normpath(os.path.join(self.build_to_base, path))
317
+
318
+ def GypPathToUniqueOutput(self, path, qualified=True):
319
+ """Translate a gyp path to a ninja path for writing output.
320
+
321
+ If qualified is True, qualify the resulting filename with the name
322
+ of the target. This is necessary when e.g. compiling the same
323
+ path twice for two separate output targets.
324
+
325
+ See the above discourse on path conversions."""
326
+
327
+ path = self.ExpandSpecial(path)
328
+ assert not path.startswith("$"), path
329
+
330
+ # Translate the path following this scheme:
331
+ # Input: foo/bar.gyp, target targ, references baz/out.o
332
+ # Output: obj/foo/baz/targ.out.o (if qualified)
333
+ # obj/foo/baz/out.o (otherwise)
334
+ # (and obj.host instead of obj for cross-compiles)
335
+ #
336
+ # Why this scheme and not some other one?
337
+ # 1) for a given input, you can compute all derived outputs by matching
338
+ # its path, even if the input is brought via a gyp file with '..'.
339
+ # 2) simple files like libraries and stamps have a simple filename.
340
+
341
+ obj = "obj"
342
+ if self.toolset != "target":
343
+ obj += "." + self.toolset
344
+
345
+ path_dir, path_basename = os.path.split(path)
346
+ assert not os.path.isabs(path_dir), (
347
+ "'%s' can not be absolute path (see crbug.com/462153)." % path_dir
348
+ )
349
+
350
+ if qualified:
351
+ path_basename = self.name + "." + path_basename
352
+ return os.path.normpath(
353
+ os.path.join(obj, self.base_dir, path_dir, path_basename)
354
+ )
355
+
356
+ def WriteCollapsedDependencies(self, name, targets, order_only=None):
357
+ """Given a list of targets, return a path for a single file
358
+ representing the result of building all the targets or None.
359
+
360
+ Uses a stamp file if necessary."""
361
+
362
+ assert targets == [item for item in targets if item], targets
363
+ if len(targets) == 0:
364
+ assert not order_only
365
+ return None
366
+ if len(targets) > 1 or order_only:
367
+ stamp = self.GypPathToUniqueOutput(name + ".stamp")
368
+ targets = self.ninja.build(stamp, "stamp", targets, order_only=order_only)
369
+ self.ninja.newline()
370
+ return targets[0]
371
+
372
+ def _SubninjaNameForArch(self, arch):
373
+ output_file_base = os.path.splitext(self.output_file_name)[0]
374
+ return f"{output_file_base}.{arch}.ninja"
375
+
376
+ def WriteSpec(self, spec, config_name, generator_flags):
377
+ """The main entry point for NinjaWriter: write the build rules for a spec.
378
+
379
+ Returns a Target object, which represents the output paths for this spec.
380
+ Returns None if there are no outputs (e.g. a settings-only 'none' type
381
+ target)."""
382
+
383
+ self.config_name = config_name
384
+ self.name = spec["target_name"]
385
+ self.toolset = spec["toolset"]
386
+ config = spec["configurations"][config_name]
387
+ self.target = Target(spec["type"])
388
+ self.is_standalone_static_library = bool(
389
+ spec.get("standalone_static_library", 0)
390
+ )
391
+
392
+ self.target_rpath = generator_flags.get("target_rpath", r"\$$ORIGIN/lib/")
393
+
394
+ self.is_mac_bundle = gyp.xcode_emulation.IsMacBundle(self.flavor, spec)
395
+ self.xcode_settings = self.msvs_settings = None
396
+ if self.flavor == "mac":
397
+ self.xcode_settings = gyp.xcode_emulation.XcodeSettings(spec)
398
+ mac_toolchain_dir = generator_flags.get("mac_toolchain_dir", None)
399
+ if mac_toolchain_dir:
400
+ self.xcode_settings.mac_toolchain_dir = mac_toolchain_dir
401
+
402
+ if self.flavor == "win":
403
+ self.msvs_settings = gyp.msvs_emulation.MsvsSettings(spec, generator_flags)
404
+ arch = self.msvs_settings.GetArch(config_name)
405
+ self.ninja.variable("arch", self.win_env[arch])
406
+ self.ninja.variable("cc", "$cl_" + arch)
407
+ self.ninja.variable("cxx", "$cl_" + arch)
408
+ self.ninja.variable("cc_host", "$cl_" + arch)
409
+ self.ninja.variable("cxx_host", "$cl_" + arch)
410
+ self.ninja.variable("asm", "$ml_" + arch)
411
+
412
+ if self.flavor == "mac":
413
+ self.archs = self.xcode_settings.GetActiveArchs(config_name)
414
+ if len(self.archs) > 1:
415
+ self.arch_subninjas = {
416
+ arch: ninja_syntax.Writer(
417
+ OpenOutput(
418
+ os.path.join(
419
+ self.toplevel_build, self._SubninjaNameForArch(arch)
420
+ ),
421
+ "w",
422
+ )
423
+ )
424
+ for arch in self.archs
425
+ }
426
+
427
+ # Compute predepends for all rules.
428
+ # actions_depends is the dependencies this target depends on before running
429
+ # any of its action/rule/copy steps.
430
+ # compile_depends is the dependencies this target depends on before running
431
+ # any of its compile steps.
432
+ actions_depends = []
433
+ compile_depends = []
434
+ # TODO(evan): it is rather confusing which things are lists and which
435
+ # are strings. Fix these.
436
+ if "dependencies" in spec:
437
+ for dep in spec["dependencies"]:
438
+ if dep in self.target_outputs:
439
+ target = self.target_outputs[dep]
440
+ actions_depends.append(target.PreActionInput(self.flavor))
441
+ compile_depends.append(target.PreCompileInput())
442
+ if target.uses_cpp:
443
+ self.target.uses_cpp = True
444
+ actions_depends = [item for item in actions_depends if item]
445
+ compile_depends = [item for item in compile_depends if item]
446
+ actions_depends = self.WriteCollapsedDependencies(
447
+ "actions_depends", actions_depends
448
+ )
449
+ compile_depends = self.WriteCollapsedDependencies(
450
+ "compile_depends", compile_depends
451
+ )
452
+ self.target.preaction_stamp = actions_depends
453
+ self.target.precompile_stamp = compile_depends
454
+
455
+ # Write out actions, rules, and copies. These must happen before we
456
+ # compile any sources, so compute a list of predependencies for sources
457
+ # while we do it.
458
+ extra_sources = []
459
+ mac_bundle_depends = []
460
+ self.target.actions_stamp = self.WriteActionsRulesCopies(
461
+ spec, extra_sources, actions_depends, mac_bundle_depends
462
+ )
463
+
464
+ # If we have actions/rules/copies, we depend directly on those, but
465
+ # otherwise we depend on dependent target's actions/rules/copies etc.
466
+ # We never need to explicitly depend on previous target's link steps,
467
+ # because no compile ever depends on them.
468
+ compile_depends_stamp = self.target.actions_stamp or compile_depends
469
+
470
+ # Write out the compilation steps, if any.
471
+ link_deps = []
472
+ try:
473
+ sources = extra_sources + spec.get("sources", [])
474
+ except TypeError:
475
+ print("extra_sources: ", str(extra_sources))
476
+ print('spec.get("sources"): ', str(spec.get("sources")))
477
+ raise
478
+ if sources:
479
+ if self.flavor == "mac" and len(self.archs) > 1:
480
+ # Write subninja file containing compile and link commands scoped to
481
+ # a single arch if a fat binary is being built.
482
+ for arch in self.archs:
483
+ self.ninja.subninja(self._SubninjaNameForArch(arch))
484
+
485
+ pch = None
486
+ if self.flavor == "win":
487
+ gyp.msvs_emulation.VerifyMissingSources(
488
+ sources, self.abs_build_dir, generator_flags, self.GypPathToNinja
489
+ )
490
+ pch = gyp.msvs_emulation.PrecompiledHeader(
491
+ self.msvs_settings,
492
+ config_name,
493
+ self.GypPathToNinja,
494
+ self.GypPathToUniqueOutput,
495
+ self.obj_ext,
496
+ )
497
+ else:
498
+ pch = gyp.xcode_emulation.MacPrefixHeader(
499
+ self.xcode_settings,
500
+ self.GypPathToNinja,
501
+ lambda path, lang: self.GypPathToUniqueOutput(path + "-" + lang),
502
+ )
503
+ link_deps = self.WriteSources(
504
+ self.ninja,
505
+ config_name,
506
+ config,
507
+ sources,
508
+ compile_depends_stamp,
509
+ pch,
510
+ spec,
511
+ )
512
+ # Some actions/rules output 'sources' that are already object files.
513
+ obj_outputs = [f for f in sources if f.endswith(self.obj_ext)]
514
+ if obj_outputs:
515
+ if self.flavor != "mac" or len(self.archs) == 1:
516
+ link_deps += [self.GypPathToNinja(o) for o in obj_outputs]
517
+ else:
518
+ print(
519
+ "Warning: Actions/rules writing object files don't work with "
520
+ "multiarch targets, dropping. (target %s)" % spec["target_name"]
521
+ )
522
+ elif self.flavor == "mac" and len(self.archs) > 1:
523
+ link_deps = collections.defaultdict(list)
524
+
525
+ compile_deps = self.target.actions_stamp or actions_depends
526
+ if self.flavor == "win" and self.target.type == "static_library":
527
+ self.target.component_objs = link_deps
528
+ self.target.compile_deps = compile_deps
529
+
530
+ # Write out a link step, if needed.
531
+ output = None
532
+ is_empty_bundle = not link_deps and not mac_bundle_depends
533
+ if link_deps or self.target.actions_stamp or actions_depends:
534
+ output = self.WriteTarget(
535
+ spec, config_name, config, link_deps, compile_deps
536
+ )
537
+ if self.is_mac_bundle:
538
+ mac_bundle_depends.append(output)
539
+
540
+ # Bundle all of the above together, if needed.
541
+ if self.is_mac_bundle:
542
+ output = self.WriteMacBundle(spec, mac_bundle_depends, is_empty_bundle)
543
+
544
+ if not output:
545
+ return None
546
+
547
+ assert self.target.FinalOutput(), output
548
+ return self.target
549
+
550
+ def _WinIdlRule(self, source, prebuild, outputs):
551
+ """Handle the implicit VS .idl rule for one source file. Fills |outputs|
552
+ with files that are generated."""
553
+ outdir, output, vars, flags = self.msvs_settings.GetIdlBuildData(
554
+ source, self.config_name
555
+ )
556
+ outdir = self.GypPathToNinja(outdir)
557
+
558
+ def fix_path(path, rel=None):
559
+ path = os.path.join(outdir, path)
560
+ dirname, basename = os.path.split(source)
561
+ root, ext = os.path.splitext(basename)
562
+ path = self.ExpandRuleVariables(path, root, dirname, source, ext, basename)
563
+ if rel:
564
+ path = os.path.relpath(path, rel)
565
+ return path
566
+
567
+ vars = [(name, fix_path(value, outdir)) for name, value in vars]
568
+ output = [fix_path(p) for p in output]
569
+ vars.append(("outdir", outdir))
570
+ vars.append(("idlflags", flags))
571
+ input = self.GypPathToNinja(source)
572
+ self.ninja.build(output, "idl", input, variables=vars, order_only=prebuild)
573
+ outputs.extend(output)
574
+
575
+ def WriteWinIdlFiles(self, spec, prebuild):
576
+ """Writes rules to match MSVS's implicit idl handling."""
577
+ assert self.flavor == "win"
578
+ if self.msvs_settings.HasExplicitIdlRulesOrActions(spec):
579
+ return []
580
+ outputs = []
581
+ for source in filter(lambda x: x.endswith(".idl"), spec["sources"]):
582
+ self._WinIdlRule(source, prebuild, outputs)
583
+ return outputs
584
+
585
+ def WriteActionsRulesCopies(
586
+ self, spec, extra_sources, prebuild, mac_bundle_depends
587
+ ):
588
+ """Write out the Actions, Rules, and Copies steps. Return a path
589
+ representing the outputs of these steps."""
590
+ outputs = []
591
+ if self.is_mac_bundle:
592
+ mac_bundle_resources = spec.get("mac_bundle_resources", [])[:]
593
+ else:
594
+ mac_bundle_resources = []
595
+ extra_mac_bundle_resources = []
596
+
597
+ if "actions" in spec:
598
+ outputs += self.WriteActions(
599
+ spec["actions"], extra_sources, prebuild, extra_mac_bundle_resources
600
+ )
601
+ if "rules" in spec:
602
+ outputs += self.WriteRules(
603
+ spec["rules"],
604
+ extra_sources,
605
+ prebuild,
606
+ mac_bundle_resources,
607
+ extra_mac_bundle_resources,
608
+ )
609
+ if "copies" in spec:
610
+ outputs += self.WriteCopies(spec["copies"], prebuild, mac_bundle_depends)
611
+
612
+ if "sources" in spec and self.flavor == "win":
613
+ outputs += self.WriteWinIdlFiles(spec, prebuild)
614
+
615
+ if self.xcode_settings and self.xcode_settings.IsIosFramework():
616
+ self.WriteiOSFrameworkHeaders(spec, outputs, prebuild)
617
+
618
+ stamp = self.WriteCollapsedDependencies("actions_rules_copies", outputs)
619
+
620
+ if self.is_mac_bundle:
621
+ xcassets = self.WriteMacBundleResources(
622
+ extra_mac_bundle_resources + mac_bundle_resources, mac_bundle_depends
623
+ )
624
+ partial_info_plist = self.WriteMacXCassets(xcassets, mac_bundle_depends)
625
+ self.WriteMacInfoPlist(partial_info_plist, mac_bundle_depends)
626
+
627
+ return stamp
628
+
629
+ def GenerateDescription(self, verb, message, fallback):
630
+ """Generate and return a description of a build step.
631
+
632
+ |verb| is the short summary, e.g. ACTION or RULE.
633
+ |message| is a hand-written description, or None if not available.
634
+ |fallback| is the gyp-level name of the step, usable as a fallback.
635
+ """
636
+ if self.toolset != "target":
637
+ verb += "(%s)" % self.toolset
638
+ if message:
639
+ return f"{verb} {self.ExpandSpecial(message)}"
640
+ else:
641
+ return f"{verb} {self.name}: {fallback}"
642
+
643
+ def WriteActions(
644
+ self, actions, extra_sources, prebuild, extra_mac_bundle_resources
645
+ ):
646
+ # Actions cd into the base directory.
647
+ env = self.GetToolchainEnv()
648
+ all_outputs = []
649
+ for action in actions:
650
+ # First write out a rule for the action.
651
+ name = "{}_{}".format(action["action_name"], self.hash_for_rules)
652
+ description = self.GenerateDescription(
653
+ "ACTION", action.get("message", None), name
654
+ )
655
+ win_shell_flags = (
656
+ self.msvs_settings.GetRuleShellFlags(action)
657
+ if self.flavor == "win"
658
+ else None
659
+ )
660
+ args = action["action"]
661
+ depfile = action.get("depfile", None)
662
+ if depfile:
663
+ depfile = self.ExpandSpecial(depfile, self.base_to_build)
664
+ pool = "console" if int(action.get("ninja_use_console", 0)) else None
665
+ rule_name, _ = self.WriteNewNinjaRule(
666
+ name, args, description, win_shell_flags, env, pool, depfile=depfile
667
+ )
668
+
669
+ inputs = [self.GypPathToNinja(i, env) for i in action["inputs"]]
670
+ if int(action.get("process_outputs_as_sources", False)):
671
+ extra_sources += action["outputs"]
672
+ if int(action.get("process_outputs_as_mac_bundle_resources", False)):
673
+ extra_mac_bundle_resources += action["outputs"]
674
+ outputs = [self.GypPathToNinja(o, env) for o in action["outputs"]]
675
+
676
+ # Then write out an edge using the rule.
677
+ self.ninja.build(outputs, rule_name, inputs, order_only=prebuild)
678
+ all_outputs += outputs
679
+
680
+ self.ninja.newline()
681
+
682
+ return all_outputs
683
+
684
+ def WriteRules(
685
+ self,
686
+ rules,
687
+ extra_sources,
688
+ prebuild,
689
+ mac_bundle_resources,
690
+ extra_mac_bundle_resources,
691
+ ):
692
+ env = self.GetToolchainEnv()
693
+ all_outputs = []
694
+ for rule in rules:
695
+ # Skip a rule with no action and no inputs.
696
+ if "action" not in rule and not rule.get("rule_sources", []):
697
+ continue
698
+
699
+ # First write out a rule for the rule action.
700
+ name = "{}_{}".format(rule["rule_name"], self.hash_for_rules)
701
+
702
+ args = rule["action"]
703
+ description = self.GenerateDescription(
704
+ "RULE",
705
+ rule.get("message", None),
706
+ ("%s " + generator_default_variables["RULE_INPUT_PATH"]) % name,
707
+ )
708
+ win_shell_flags = (
709
+ self.msvs_settings.GetRuleShellFlags(rule)
710
+ if self.flavor == "win"
711
+ else None
712
+ )
713
+ pool = "console" if int(rule.get("ninja_use_console", 0)) else None
714
+ rule_name, args = self.WriteNewNinjaRule(
715
+ name, args, description, win_shell_flags, env, pool
716
+ )
717
+
718
+ # TODO: if the command references the outputs directly, we should
719
+ # simplify it to just use $out.
720
+
721
+ # Rules can potentially make use of some special variables which
722
+ # must vary per source file.
723
+ # Compute the list of variables we'll need to provide.
724
+ special_locals = ("source", "root", "dirname", "ext", "name")
725
+ needed_variables = {"source"}
726
+ for argument in args:
727
+ for var in special_locals:
728
+ if "${%s}" % var in argument:
729
+ needed_variables.add(var)
730
+ needed_variables = sorted(needed_variables)
731
+
732
+ def cygwin_munge(path):
733
+ # pylint: disable=cell-var-from-loop
734
+ if win_shell_flags and win_shell_flags.cygwin:
735
+ return path.replace("\\", "/")
736
+ return path
737
+
738
+ inputs = [self.GypPathToNinja(i, env) for i in rule.get("inputs", [])]
739
+
740
+ # If there are n source files matching the rule, and m additional rule
741
+ # inputs, then adding 'inputs' to each build edge written below will
742
+ # write m * n inputs. Collapsing reduces this to m + n.
743
+ sources = rule.get("rule_sources", [])
744
+ num_inputs = len(inputs)
745
+ if prebuild:
746
+ num_inputs += 1
747
+ if num_inputs > 2 and len(sources) > 2:
748
+ inputs = [
749
+ self.WriteCollapsedDependencies(
750
+ rule["rule_name"], inputs, order_only=prebuild
751
+ )
752
+ ]
753
+ prebuild = []
754
+
755
+ # For each source file, write an edge that generates all the outputs.
756
+ for source in sources:
757
+ source = os.path.normpath(source)
758
+ dirname, basename = os.path.split(source)
759
+ root, ext = os.path.splitext(basename)
760
+
761
+ # Gather the list of inputs and outputs, expanding $vars if possible.
762
+ outputs = [
763
+ self.ExpandRuleVariables(o, root, dirname, source, ext, basename)
764
+ for o in rule["outputs"]
765
+ ]
766
+
767
+ if int(rule.get("process_outputs_as_sources", False)):
768
+ extra_sources += outputs
769
+
770
+ was_mac_bundle_resource = source in mac_bundle_resources
771
+ if was_mac_bundle_resource or int(
772
+ rule.get("process_outputs_as_mac_bundle_resources", False)
773
+ ):
774
+ extra_mac_bundle_resources += outputs
775
+ # Note: This is n_resources * n_outputs_in_rule.
776
+ # Put to-be-removed items in a set and
777
+ # remove them all in a single pass
778
+ # if this becomes a performance issue.
779
+ if was_mac_bundle_resource:
780
+ mac_bundle_resources.remove(source)
781
+
782
+ extra_bindings = []
783
+ for var in needed_variables:
784
+ if var == "root":
785
+ extra_bindings.append(("root", cygwin_munge(root)))
786
+ elif var == "dirname":
787
+ # '$dirname' is a parameter to the rule action, which means
788
+ # it shouldn't be converted to a Ninja path. But we don't
789
+ # want $!PRODUCT_DIR in there either.
790
+ dirname_expanded = self.ExpandSpecial(
791
+ dirname, self.base_to_build
792
+ )
793
+ extra_bindings.append(
794
+ ("dirname", cygwin_munge(dirname_expanded))
795
+ )
796
+ elif var == "source":
797
+ # '$source' is a parameter to the rule action, which means
798
+ # it shouldn't be converted to a Ninja path. But we don't
799
+ # want $!PRODUCT_DIR in there either.
800
+ source_expanded = self.ExpandSpecial(source, self.base_to_build)
801
+ extra_bindings.append(("source", cygwin_munge(source_expanded)))
802
+ elif var == "ext":
803
+ extra_bindings.append(("ext", ext))
804
+ elif var == "name":
805
+ extra_bindings.append(("name", cygwin_munge(basename)))
806
+ else:
807
+ assert var is None, repr(var)
808
+
809
+ outputs = [self.GypPathToNinja(o, env) for o in outputs]
810
+ if self.flavor == "win":
811
+ # WriteNewNinjaRule uses unique_name to create a rsp file on win.
812
+ extra_bindings.append(
813
+ ("unique_name", hashlib.md5(outputs[0]).hexdigest())
814
+ )
815
+
816
+ self.ninja.build(
817
+ outputs,
818
+ rule_name,
819
+ self.GypPathToNinja(source),
820
+ implicit=inputs,
821
+ order_only=prebuild,
822
+ variables=extra_bindings,
823
+ )
824
+
825
+ all_outputs.extend(outputs)
826
+
827
+ return all_outputs
828
+
829
+ def WriteCopies(self, copies, prebuild, mac_bundle_depends):
830
+ outputs = []
831
+ if self.xcode_settings:
832
+ extra_env = self.xcode_settings.GetPerTargetSettings()
833
+ env = self.GetToolchainEnv(additional_settings=extra_env)
834
+ else:
835
+ env = self.GetToolchainEnv()
836
+ for to_copy in copies:
837
+ for path in to_copy["files"]:
838
+ # Normalize the path so trailing slashes don't confuse us.
839
+ path = os.path.normpath(path)
840
+ basename = os.path.split(path)[1]
841
+ src = self.GypPathToNinja(path, env)
842
+ dst = self.GypPathToNinja(
843
+ os.path.join(to_copy["destination"], basename), env
844
+ )
845
+ outputs += self.ninja.build(dst, "copy", src, order_only=prebuild)
846
+ if self.is_mac_bundle:
847
+ # gyp has mac_bundle_resources to copy things into a bundle's
848
+ # Resources folder, but there's no built-in way to copy files
849
+ # to other places in the bundle.
850
+ # Hence, some targets use copies for this.
851
+ # Check if this file is copied into the current bundle,
852
+ # and if so add it to the bundle depends so
853
+ # that dependent targets get rebuilt if the copy input changes.
854
+ if dst.startswith(
855
+ self.xcode_settings.GetBundleContentsFolderPath()
856
+ ):
857
+ mac_bundle_depends.append(dst)
858
+
859
+ return outputs
860
+
861
+ def WriteiOSFrameworkHeaders(self, spec, outputs, prebuild):
862
+ """Prebuild steps to generate hmap files and copy headers to destination."""
863
+ framework = self.ComputeMacBundleOutput()
864
+ all_sources = spec["sources"]
865
+ copy_headers = spec["mac_framework_headers"]
866
+ output = self.GypPathToUniqueOutput("headers.hmap")
867
+ self.xcode_settings.header_map_path = output
868
+ all_headers = map(
869
+ self.GypPathToNinja, filter(lambda x: x.endswith(".h"), all_sources)
870
+ )
871
+ variables = [
872
+ ("framework", framework),
873
+ ("copy_headers", map(self.GypPathToNinja, copy_headers)),
874
+ ]
875
+ outputs.extend(
876
+ self.ninja.build(
877
+ output,
878
+ "compile_ios_framework_headers",
879
+ all_headers,
880
+ variables=variables,
881
+ order_only=prebuild,
882
+ )
883
+ )
884
+
885
+ def WriteMacBundleResources(self, resources, bundle_depends):
886
+ """Writes ninja edges for 'mac_bundle_resources'."""
887
+ xcassets = []
888
+
889
+ extra_env = self.xcode_settings.GetPerTargetSettings()
890
+ env = self.GetSortedXcodeEnv(additional_settings=extra_env)
891
+ env = self.ComputeExportEnvString(env)
892
+ isBinary = self.xcode_settings.IsBinaryOutputFormat(self.config_name)
893
+
894
+ for output, res in gyp.xcode_emulation.GetMacBundleResources(
895
+ generator_default_variables["PRODUCT_DIR"],
896
+ self.xcode_settings,
897
+ map(self.GypPathToNinja, resources),
898
+ ):
899
+ output = self.ExpandSpecial(output)
900
+ if os.path.splitext(output)[-1] != ".xcassets":
901
+ self.ninja.build(
902
+ output,
903
+ "mac_tool",
904
+ res,
905
+ variables=[
906
+ ("mactool_cmd", "copy-bundle-resource"),
907
+ ("env", env),
908
+ ("binary", isBinary),
909
+ ],
910
+ )
911
+ bundle_depends.append(output)
912
+ else:
913
+ xcassets.append(res)
914
+ return xcassets
915
+
916
+ def WriteMacXCassets(self, xcassets, bundle_depends):
917
+ """Writes ninja edges for 'mac_bundle_resources' .xcassets files.
918
+
919
+ This add an invocation of 'actool' via the 'mac_tool.py' helper script.
920
+ It assumes that the assets catalogs define at least one imageset and
921
+ thus an Assets.car file will be generated in the application resources
922
+ directory. If this is not the case, then the build will probably be done
923
+ at each invocation of ninja."""
924
+ if not xcassets:
925
+ return
926
+
927
+ extra_arguments = {}
928
+ settings_to_arg = {
929
+ "XCASSETS_APP_ICON": "app-icon",
930
+ "XCASSETS_LAUNCH_IMAGE": "launch-image",
931
+ }
932
+ settings = self.xcode_settings.xcode_settings[self.config_name]
933
+ for settings_key, arg_name in settings_to_arg.items():
934
+ value = settings.get(settings_key)
935
+ if value:
936
+ extra_arguments[arg_name] = value
937
+
938
+ partial_info_plist = None
939
+ if extra_arguments:
940
+ partial_info_plist = self.GypPathToUniqueOutput(
941
+ "assetcatalog_generated_info.plist"
942
+ )
943
+ extra_arguments["output-partial-info-plist"] = partial_info_plist
944
+
945
+ outputs = []
946
+ outputs.append(
947
+ os.path.join(self.xcode_settings.GetBundleResourceFolder(), "Assets.car")
948
+ )
949
+ if partial_info_plist:
950
+ outputs.append(partial_info_plist)
951
+
952
+ keys = QuoteShellArgument(json.dumps(extra_arguments), self.flavor)
953
+ extra_env = self.xcode_settings.GetPerTargetSettings()
954
+ env = self.GetSortedXcodeEnv(additional_settings=extra_env)
955
+ env = self.ComputeExportEnvString(env)
956
+
957
+ bundle_depends.extend(
958
+ self.ninja.build(
959
+ outputs,
960
+ "compile_xcassets",
961
+ xcassets,
962
+ variables=[("env", env), ("keys", keys)],
963
+ )
964
+ )
965
+ return partial_info_plist
966
+
967
+ def WriteMacInfoPlist(self, partial_info_plist, bundle_depends):
968
+ """Write build rules for bundle Info.plist files."""
969
+ info_plist, out, defines, extra_env = gyp.xcode_emulation.GetMacInfoPlist(
970
+ generator_default_variables["PRODUCT_DIR"],
971
+ self.xcode_settings,
972
+ self.GypPathToNinja,
973
+ )
974
+ if not info_plist:
975
+ return
976
+ out = self.ExpandSpecial(out)
977
+ if defines:
978
+ # Create an intermediate file to store preprocessed results.
979
+ intermediate_plist = self.GypPathToUniqueOutput(
980
+ os.path.basename(info_plist)
981
+ )
982
+ defines = " ".join([Define(d, self.flavor) for d in defines])
983
+ info_plist = self.ninja.build(
984
+ intermediate_plist,
985
+ "preprocess_infoplist",
986
+ info_plist,
987
+ variables=[("defines", defines)],
988
+ )
989
+
990
+ env = self.GetSortedXcodeEnv(additional_settings=extra_env)
991
+ env = self.ComputeExportEnvString(env)
992
+
993
+ if partial_info_plist:
994
+ intermediate_plist = self.GypPathToUniqueOutput("merged_info.plist")
995
+ info_plist = self.ninja.build(
996
+ intermediate_plist, "merge_infoplist", [partial_info_plist, info_plist]
997
+ )
998
+
999
+ keys = self.xcode_settings.GetExtraPlistItems(self.config_name)
1000
+ keys = QuoteShellArgument(json.dumps(keys), self.flavor)
1001
+ isBinary = self.xcode_settings.IsBinaryOutputFormat(self.config_name)
1002
+ self.ninja.build(
1003
+ out,
1004
+ "copy_infoplist",
1005
+ info_plist,
1006
+ variables=[("env", env), ("keys", keys), ("binary", isBinary)],
1007
+ )
1008
+ bundle_depends.append(out)
1009
+
1010
+ def WriteSources(
1011
+ self,
1012
+ ninja_file,
1013
+ config_name,
1014
+ config,
1015
+ sources,
1016
+ predepends,
1017
+ precompiled_header,
1018
+ spec,
1019
+ ):
1020
+ """Write build rules to compile all of |sources|."""
1021
+ if self.toolset == "host":
1022
+ self.ninja.variable("ar", "$ar_host")
1023
+ self.ninja.variable("cc", "$cc_host")
1024
+ self.ninja.variable("cxx", "$cxx_host")
1025
+ self.ninja.variable("ld", "$ld_host")
1026
+ self.ninja.variable("ldxx", "$ldxx_host")
1027
+ self.ninja.variable("nm", "$nm_host")
1028
+ self.ninja.variable("readelf", "$readelf_host")
1029
+
1030
+ if self.flavor != "mac" or len(self.archs) == 1:
1031
+ return self.WriteSourcesForArch(
1032
+ self.ninja,
1033
+ config_name,
1034
+ config,
1035
+ sources,
1036
+ predepends,
1037
+ precompiled_header,
1038
+ spec,
1039
+ )
1040
+ else:
1041
+ return {
1042
+ arch: self.WriteSourcesForArch(
1043
+ self.arch_subninjas[arch],
1044
+ config_name,
1045
+ config,
1046
+ sources,
1047
+ predepends,
1048
+ precompiled_header,
1049
+ spec,
1050
+ arch=arch,
1051
+ )
1052
+ for arch in self.archs
1053
+ }
1054
+
1055
+ def WriteSourcesForArch(
1056
+ self,
1057
+ ninja_file,
1058
+ config_name,
1059
+ config,
1060
+ sources,
1061
+ predepends,
1062
+ precompiled_header,
1063
+ spec,
1064
+ arch=None,
1065
+ ):
1066
+ """Write build rules to compile all of |sources|."""
1067
+
1068
+ extra_defines = []
1069
+ if self.flavor == "mac":
1070
+ cflags = self.xcode_settings.GetCflags(config_name, arch=arch)
1071
+ cflags_c = self.xcode_settings.GetCflagsC(config_name)
1072
+ cflags_cc = self.xcode_settings.GetCflagsCC(config_name)
1073
+ cflags_objc = ["$cflags_c"] + self.xcode_settings.GetCflagsObjC(config_name)
1074
+ cflags_objcc = ["$cflags_cc"] + self.xcode_settings.GetCflagsObjCC(
1075
+ config_name
1076
+ )
1077
+ elif self.flavor == "win":
1078
+ asmflags = self.msvs_settings.GetAsmflags(config_name)
1079
+ cflags = self.msvs_settings.GetCflags(config_name)
1080
+ cflags_c = self.msvs_settings.GetCflagsC(config_name)
1081
+ cflags_cc = self.msvs_settings.GetCflagsCC(config_name)
1082
+ extra_defines = self.msvs_settings.GetComputedDefines(config_name)
1083
+ # See comment at cc_command for why there's two .pdb files.
1084
+ pdbpath_c = pdbpath_cc = self.msvs_settings.GetCompilerPdbName(
1085
+ config_name, self.ExpandSpecial
1086
+ )
1087
+ if not pdbpath_c:
1088
+ obj = "obj"
1089
+ if self.toolset != "target":
1090
+ obj += "." + self.toolset
1091
+ pdbpath = os.path.normpath(os.path.join(obj, self.base_dir, self.name))
1092
+ pdbpath_c = pdbpath + ".c.pdb"
1093
+ pdbpath_cc = pdbpath + ".cc.pdb"
1094
+ self.WriteVariableList(ninja_file, "pdbname_c", [pdbpath_c])
1095
+ self.WriteVariableList(ninja_file, "pdbname_cc", [pdbpath_cc])
1096
+ self.WriteVariableList(ninja_file, "pchprefix", [self.name])
1097
+ else:
1098
+ cflags = config.get("cflags", [])
1099
+ cflags_c = config.get("cflags_c", [])
1100
+ cflags_cc = config.get("cflags_cc", [])
1101
+
1102
+ # Respect environment variables related to build, but target-specific
1103
+ # flags can still override them.
1104
+ if self.toolset == "target":
1105
+ cflags_c = (
1106
+ os.environ.get("CPPFLAGS", "").split()
1107
+ + os.environ.get("CFLAGS", "").split()
1108
+ + cflags_c
1109
+ )
1110
+ cflags_cc = (
1111
+ os.environ.get("CPPFLAGS", "").split()
1112
+ + os.environ.get("CXXFLAGS", "").split()
1113
+ + cflags_cc
1114
+ )
1115
+ elif self.toolset == "host":
1116
+ cflags_c = (
1117
+ os.environ.get("CPPFLAGS_host", "").split()
1118
+ + os.environ.get("CFLAGS_host", "").split()
1119
+ + cflags_c
1120
+ )
1121
+ cflags_cc = (
1122
+ os.environ.get("CPPFLAGS_host", "").split()
1123
+ + os.environ.get("CXXFLAGS_host", "").split()
1124
+ + cflags_cc
1125
+ )
1126
+
1127
+ defines = config.get("defines", []) + extra_defines
1128
+ self.WriteVariableList(
1129
+ ninja_file, "defines", [Define(d, self.flavor) for d in defines]
1130
+ )
1131
+ if self.flavor == "win":
1132
+ self.WriteVariableList(
1133
+ ninja_file, "asmflags", map(self.ExpandSpecial, asmflags)
1134
+ )
1135
+ self.WriteVariableList(
1136
+ ninja_file,
1137
+ "rcflags",
1138
+ [
1139
+ QuoteShellArgument(self.ExpandSpecial(f), self.flavor)
1140
+ for f in self.msvs_settings.GetRcflags(
1141
+ config_name, self.GypPathToNinja
1142
+ )
1143
+ ],
1144
+ )
1145
+
1146
+ include_dirs = config.get("include_dirs", [])
1147
+
1148
+ env = self.GetToolchainEnv()
1149
+ if self.flavor == "win":
1150
+ include_dirs = self.msvs_settings.AdjustIncludeDirs(
1151
+ include_dirs, config_name
1152
+ )
1153
+ self.WriteVariableList(
1154
+ ninja_file,
1155
+ "includes",
1156
+ [
1157
+ QuoteShellArgument("-I" + self.GypPathToNinja(i, env), self.flavor)
1158
+ for i in include_dirs
1159
+ ],
1160
+ )
1161
+
1162
+ if self.flavor == "win":
1163
+ midl_include_dirs = config.get("midl_include_dirs", [])
1164
+ midl_include_dirs = self.msvs_settings.AdjustMidlIncludeDirs(
1165
+ midl_include_dirs, config_name
1166
+ )
1167
+ self.WriteVariableList(
1168
+ ninja_file,
1169
+ "midl_includes",
1170
+ [
1171
+ QuoteShellArgument("-I" + self.GypPathToNinja(i, env), self.flavor)
1172
+ for i in midl_include_dirs
1173
+ ],
1174
+ )
1175
+
1176
+ pch_commands = precompiled_header.GetPchBuildCommands(arch)
1177
+ if self.flavor == "mac":
1178
+ # Most targets use no precompiled headers, so only write these if needed.
1179
+ for ext, var in [
1180
+ ("c", "cflags_pch_c"),
1181
+ ("cc", "cflags_pch_cc"),
1182
+ ("m", "cflags_pch_objc"),
1183
+ ("mm", "cflags_pch_objcc"),
1184
+ ]:
1185
+ include = precompiled_header.GetInclude(ext, arch)
1186
+ if include:
1187
+ ninja_file.variable(var, include)
1188
+
1189
+ arflags = config.get("arflags", [])
1190
+
1191
+ self.WriteVariableList(ninja_file, "cflags", map(self.ExpandSpecial, cflags))
1192
+ self.WriteVariableList(
1193
+ ninja_file, "cflags_c", map(self.ExpandSpecial, cflags_c)
1194
+ )
1195
+ self.WriteVariableList(
1196
+ ninja_file, "cflags_cc", map(self.ExpandSpecial, cflags_cc)
1197
+ )
1198
+ if self.flavor == "mac":
1199
+ self.WriteVariableList(
1200
+ ninja_file, "cflags_objc", map(self.ExpandSpecial, cflags_objc)
1201
+ )
1202
+ self.WriteVariableList(
1203
+ ninja_file, "cflags_objcc", map(self.ExpandSpecial, cflags_objcc)
1204
+ )
1205
+ self.WriteVariableList(ninja_file, "arflags", map(self.ExpandSpecial, arflags))
1206
+ ninja_file.newline()
1207
+ outputs = []
1208
+ has_rc_source = False
1209
+ for source in sources:
1210
+ filename, ext = os.path.splitext(source)
1211
+ ext = ext[1:]
1212
+ obj_ext = self.obj_ext
1213
+ if ext in ("cc", "cpp", "cxx"):
1214
+ command = "cxx"
1215
+ self.target.uses_cpp = True
1216
+ elif ext == "c" or (ext == "S" and self.flavor != "win"):
1217
+ command = "cc"
1218
+ elif ext == "s" and self.flavor != "win": # Doesn't generate .o.d files.
1219
+ command = "cc_s"
1220
+ elif (
1221
+ self.flavor == "win"
1222
+ and ext in ("asm", "S")
1223
+ and not self.msvs_settings.HasExplicitAsmRules(spec)
1224
+ ):
1225
+ command = "asm"
1226
+ # Add the _asm suffix as msvs is capable of handling .cc and
1227
+ # .asm files of the same name without collision.
1228
+ obj_ext = "_asm.obj"
1229
+ elif self.flavor == "mac" and ext == "m":
1230
+ command = "objc"
1231
+ elif self.flavor == "mac" and ext == "mm":
1232
+ command = "objcxx"
1233
+ self.target.uses_cpp = True
1234
+ elif self.flavor == "win" and ext == "rc":
1235
+ command = "rc"
1236
+ obj_ext = ".res"
1237
+ has_rc_source = True
1238
+ else:
1239
+ # Ignore unhandled extensions.
1240
+ continue
1241
+ input = self.GypPathToNinja(source)
1242
+ output = self.GypPathToUniqueOutput(filename + obj_ext)
1243
+ if arch is not None:
1244
+ output = AddArch(output, arch)
1245
+ implicit = precompiled_header.GetObjDependencies([input], [output], arch)
1246
+ variables = []
1247
+ if self.flavor == "win":
1248
+ variables, output, implicit = precompiled_header.GetFlagsModifications(
1249
+ input,
1250
+ output,
1251
+ implicit,
1252
+ command,
1253
+ cflags_c,
1254
+ cflags_cc,
1255
+ self.ExpandSpecial,
1256
+ )
1257
+ ninja_file.build(
1258
+ output,
1259
+ command,
1260
+ input,
1261
+ implicit=[gch for _, _, gch in implicit],
1262
+ order_only=predepends,
1263
+ variables=variables,
1264
+ )
1265
+ outputs.append(output)
1266
+
1267
+ if has_rc_source:
1268
+ resource_include_dirs = config.get("resource_include_dirs", include_dirs)
1269
+ self.WriteVariableList(
1270
+ ninja_file,
1271
+ "resource_includes",
1272
+ [
1273
+ QuoteShellArgument("-I" + self.GypPathToNinja(i, env), self.flavor)
1274
+ for i in resource_include_dirs
1275
+ ],
1276
+ )
1277
+
1278
+ self.WritePchTargets(ninja_file, pch_commands)
1279
+
1280
+ ninja_file.newline()
1281
+ return outputs
1282
+
1283
+ def WritePchTargets(self, ninja_file, pch_commands):
1284
+ """Writes ninja rules to compile prefix headers."""
1285
+ if not pch_commands:
1286
+ return
1287
+
1288
+ for gch, lang_flag, lang, input in pch_commands:
1289
+ var_name = {
1290
+ "c": "cflags_pch_c",
1291
+ "cc": "cflags_pch_cc",
1292
+ "m": "cflags_pch_objc",
1293
+ "mm": "cflags_pch_objcc",
1294
+ }[lang]
1295
+
1296
+ map = {
1297
+ "c": "cc",
1298
+ "cc": "cxx",
1299
+ "m": "objc",
1300
+ "mm": "objcxx",
1301
+ }
1302
+ cmd = map.get(lang)
1303
+ ninja_file.build(gch, cmd, input, variables=[(var_name, lang_flag)])
1304
+
1305
+ def WriteLink(self, spec, config_name, config, link_deps, compile_deps):
1306
+ """Write out a link step. Fills out target.binary."""
1307
+ if self.flavor != "mac" or len(self.archs) == 1:
1308
+ return self.WriteLinkForArch(
1309
+ self.ninja, spec, config_name, config, link_deps, compile_deps
1310
+ )
1311
+ else:
1312
+ output = self.ComputeOutput(spec)
1313
+ inputs = [
1314
+ self.WriteLinkForArch(
1315
+ self.arch_subninjas[arch],
1316
+ spec,
1317
+ config_name,
1318
+ config,
1319
+ link_deps[arch],
1320
+ compile_deps,
1321
+ arch=arch,
1322
+ )
1323
+ for arch in self.archs
1324
+ ]
1325
+ extra_bindings = []
1326
+ build_output = output
1327
+ if not self.is_mac_bundle:
1328
+ self.AppendPostbuildVariable(extra_bindings, spec, output, output)
1329
+
1330
+ # TODO(yyanagisawa): more work needed to fix:
1331
+ # https://code.google.com/p/gyp/issues/detail?id=411
1332
+ if (
1333
+ spec["type"] in ("shared_library", "loadable_module")
1334
+ and not self.is_mac_bundle
1335
+ ):
1336
+ extra_bindings.append(("lib", output))
1337
+ self.ninja.build(
1338
+ [output, output + ".TOC"],
1339
+ "solipo",
1340
+ inputs,
1341
+ variables=extra_bindings,
1342
+ )
1343
+ else:
1344
+ self.ninja.build(build_output, "lipo", inputs, variables=extra_bindings)
1345
+ return output
1346
+
1347
+ def WriteLinkForArch(
1348
+ self, ninja_file, spec, config_name, config, link_deps, compile_deps, arch=None
1349
+ ):
1350
+ """Write out a link step. Fills out target.binary."""
1351
+ command = {
1352
+ "executable": "link",
1353
+ "loadable_module": "solink_module",
1354
+ "shared_library": "solink",
1355
+ }[spec["type"]]
1356
+ command_suffix = ""
1357
+
1358
+ implicit_deps = set()
1359
+ solibs = set()
1360
+ order_deps = set()
1361
+
1362
+ if compile_deps:
1363
+ # Normally, the compiles of the target already depend on compile_deps,
1364
+ # but a shared_library target might have no sources and only link together
1365
+ # a few static_library deps, so the link step also needs to depend
1366
+ # on compile_deps to make sure actions in the shared_library target
1367
+ # get run before the link.
1368
+ order_deps.add(compile_deps)
1369
+
1370
+ if "dependencies" in spec:
1371
+ # Two kinds of dependencies:
1372
+ # - Linkable dependencies (like a .a or a .so): add them to the link line.
1373
+ # - Non-linkable dependencies (like a rule that generates a file
1374
+ # and writes a stamp file): add them to implicit_deps
1375
+ extra_link_deps = set()
1376
+ for dep in spec["dependencies"]:
1377
+ target = self.target_outputs.get(dep)
1378
+ if not target:
1379
+ continue
1380
+ linkable = target.Linkable()
1381
+ if linkable:
1382
+ new_deps = []
1383
+ if (
1384
+ self.flavor == "win"
1385
+ and target.component_objs
1386
+ and self.msvs_settings.IsUseLibraryDependencyInputs(config_name)
1387
+ ):
1388
+ new_deps = target.component_objs
1389
+ if target.compile_deps:
1390
+ order_deps.add(target.compile_deps)
1391
+ elif self.flavor == "win" and target.import_lib:
1392
+ new_deps = [target.import_lib]
1393
+ elif target.UsesToc(self.flavor):
1394
+ solibs.add(target.binary)
1395
+ implicit_deps.add(target.binary + ".TOC")
1396
+ else:
1397
+ new_deps = [target.binary]
1398
+ for new_dep in new_deps:
1399
+ if new_dep not in extra_link_deps:
1400
+ extra_link_deps.add(new_dep)
1401
+ link_deps.append(new_dep)
1402
+
1403
+ final_output = target.FinalOutput()
1404
+ if not linkable or final_output != target.binary:
1405
+ implicit_deps.add(final_output)
1406
+
1407
+ extra_bindings = []
1408
+ if self.target.uses_cpp and self.flavor != "win":
1409
+ extra_bindings.append(("ld", "$ldxx"))
1410
+
1411
+ output = self.ComputeOutput(spec, arch)
1412
+ if arch is None and not self.is_mac_bundle:
1413
+ self.AppendPostbuildVariable(extra_bindings, spec, output, output)
1414
+
1415
+ is_executable = spec["type"] == "executable"
1416
+ # The ldflags config key is not used on mac or win. On those platforms
1417
+ # linker flags are set via xcode_settings and msvs_settings, respectively.
1418
+ if self.toolset == "target":
1419
+ env_ldflags = os.environ.get("LDFLAGS", "").split()
1420
+ elif self.toolset == "host":
1421
+ env_ldflags = os.environ.get("LDFLAGS_host", "").split()
1422
+
1423
+ if self.flavor == "mac":
1424
+ ldflags = self.xcode_settings.GetLdflags(
1425
+ config_name,
1426
+ self.ExpandSpecial(generator_default_variables["PRODUCT_DIR"]),
1427
+ self.GypPathToNinja,
1428
+ arch,
1429
+ )
1430
+ ldflags = env_ldflags + ldflags
1431
+ elif self.flavor == "win":
1432
+ manifest_base_name = self.GypPathToUniqueOutput(
1433
+ self.ComputeOutputFileName(spec)
1434
+ )
1435
+ (
1436
+ ldflags,
1437
+ intermediate_manifest,
1438
+ manifest_files,
1439
+ ) = self.msvs_settings.GetLdflags(
1440
+ config_name,
1441
+ self.GypPathToNinja,
1442
+ self.ExpandSpecial,
1443
+ manifest_base_name,
1444
+ output,
1445
+ is_executable,
1446
+ self.toplevel_build,
1447
+ )
1448
+ ldflags = env_ldflags + ldflags
1449
+ self.WriteVariableList(ninja_file, "manifests", manifest_files)
1450
+ implicit_deps = implicit_deps.union(manifest_files)
1451
+ if intermediate_manifest:
1452
+ self.WriteVariableList(
1453
+ ninja_file, "intermediatemanifest", [intermediate_manifest]
1454
+ )
1455
+ command_suffix = _GetWinLinkRuleNameSuffix(
1456
+ self.msvs_settings.IsEmbedManifest(config_name)
1457
+ )
1458
+ def_file = self.msvs_settings.GetDefFile(self.GypPathToNinja)
1459
+ if def_file:
1460
+ implicit_deps.add(def_file)
1461
+ else:
1462
+ # Respect environment variables related to build, but target-specific
1463
+ # flags can still override them.
1464
+ ldflags = env_ldflags + config.get("ldflags", [])
1465
+ if is_executable and solibs:
1466
+ rpath = "lib/"
1467
+ if self.toolset != "target":
1468
+ rpath += self.toolset
1469
+ ldflags.append(r"-Wl,-rpath=\$$ORIGIN/%s" % rpath)
1470
+ else:
1471
+ ldflags.append("-Wl,-rpath=%s" % self.target_rpath)
1472
+ ldflags.append("-Wl,-rpath-link=%s" % rpath)
1473
+ self.WriteVariableList(ninja_file, "ldflags", map(self.ExpandSpecial, ldflags))
1474
+
1475
+ library_dirs = config.get("library_dirs", [])
1476
+ if self.flavor == "win":
1477
+ library_dirs = [
1478
+ self.msvs_settings.ConvertVSMacros(library_dir, config_name)
1479
+ for library_dir in library_dirs
1480
+ ]
1481
+ library_dirs = [
1482
+ "/LIBPATH:"
1483
+ + QuoteShellArgument(self.GypPathToNinja(library_dir), self.flavor)
1484
+ for library_dir in library_dirs
1485
+ ]
1486
+ else:
1487
+ library_dirs = [
1488
+ QuoteShellArgument("-L" + self.GypPathToNinja(library_dir), self.flavor)
1489
+ for library_dir in library_dirs
1490
+ ]
1491
+
1492
+ libraries = gyp.common.uniquer(
1493
+ map(self.ExpandSpecial, spec.get("libraries", []))
1494
+ )
1495
+ if self.flavor == "mac":
1496
+ libraries = self.xcode_settings.AdjustLibraries(libraries, config_name)
1497
+ elif self.flavor == "win":
1498
+ libraries = self.msvs_settings.AdjustLibraries(libraries)
1499
+
1500
+ self.WriteVariableList(ninja_file, "libs", library_dirs + libraries)
1501
+
1502
+ linked_binary = output
1503
+
1504
+ if command in ("solink", "solink_module"):
1505
+ extra_bindings.append(("soname", os.path.split(output)[1]))
1506
+ extra_bindings.append(("lib", gyp.common.EncodePOSIXShellArgument(output)))
1507
+ if self.flavor != "win":
1508
+ link_file_list = output
1509
+ if self.is_mac_bundle:
1510
+ # 'Dependency Framework.framework/Versions/A/Dependency Framework'
1511
+ # -> 'Dependency Framework.framework.rsp'
1512
+ link_file_list = self.xcode_settings.GetWrapperName()
1513
+ if arch:
1514
+ link_file_list += "." + arch
1515
+ link_file_list += ".rsp"
1516
+ # If an rspfile contains spaces, ninja surrounds the filename with
1517
+ # quotes around it and then passes it to open(), creating a file with
1518
+ # quotes in its name (and when looking for the rsp file, the name
1519
+ # makes it through bash which strips the quotes) :-/
1520
+ link_file_list = link_file_list.replace(" ", "_")
1521
+ extra_bindings.append(
1522
+ (
1523
+ "link_file_list",
1524
+ gyp.common.EncodePOSIXShellArgument(link_file_list),
1525
+ )
1526
+ )
1527
+ if self.flavor == "win":
1528
+ extra_bindings.append(("binary", output))
1529
+ if (
1530
+ "/NOENTRY" not in ldflags
1531
+ and not self.msvs_settings.GetNoImportLibrary(config_name)
1532
+ ):
1533
+ self.target.import_lib = output + ".lib"
1534
+ extra_bindings.append(
1535
+ ("implibflag", "/IMPLIB:%s" % self.target.import_lib)
1536
+ )
1537
+ pdbname = self.msvs_settings.GetPDBName(
1538
+ config_name, self.ExpandSpecial, output + ".pdb"
1539
+ )
1540
+ output = [output, self.target.import_lib]
1541
+ if pdbname:
1542
+ output.append(pdbname)
1543
+ elif not self.is_mac_bundle:
1544
+ output = [output, output + ".TOC"]
1545
+ else:
1546
+ command = command + "_notoc"
1547
+ elif self.flavor == "win":
1548
+ extra_bindings.append(("binary", output))
1549
+ pdbname = self.msvs_settings.GetPDBName(
1550
+ config_name, self.ExpandSpecial, output + ".pdb"
1551
+ )
1552
+ if pdbname:
1553
+ output = [output, pdbname]
1554
+
1555
+ if solibs:
1556
+ extra_bindings.append(
1557
+ ("solibs", gyp.common.EncodePOSIXShellList(sorted(solibs)))
1558
+ )
1559
+
1560
+ ninja_file.build(
1561
+ output,
1562
+ command + command_suffix,
1563
+ link_deps,
1564
+ implicit=sorted(implicit_deps),
1565
+ order_only=list(order_deps),
1566
+ variables=extra_bindings,
1567
+ )
1568
+ return linked_binary
1569
+
1570
+ def WriteTarget(self, spec, config_name, config, link_deps, compile_deps):
1571
+ extra_link_deps = any(
1572
+ self.target_outputs.get(dep).Linkable()
1573
+ for dep in spec.get("dependencies", [])
1574
+ if dep in self.target_outputs
1575
+ )
1576
+ if spec["type"] == "none" or (not link_deps and not extra_link_deps):
1577
+ # TODO(evan): don't call this function for 'none' target types, as
1578
+ # it doesn't do anything, and we fake out a 'binary' with a stamp file.
1579
+ self.target.binary = compile_deps
1580
+ self.target.type = "none"
1581
+ elif spec["type"] == "static_library":
1582
+ self.target.binary = self.ComputeOutput(spec)
1583
+ if (
1584
+ self.flavor not in ("ios", "mac", "netbsd", "openbsd", "win")
1585
+ and not self.is_standalone_static_library
1586
+ ):
1587
+ self.ninja.build(
1588
+ self.target.binary, "alink_thin", link_deps, order_only=compile_deps
1589
+ )
1590
+ else:
1591
+ variables = []
1592
+ if self.xcode_settings:
1593
+ libtool_flags = self.xcode_settings.GetLibtoolflags(config_name)
1594
+ if libtool_flags:
1595
+ variables.append(("libtool_flags", libtool_flags))
1596
+ if self.msvs_settings:
1597
+ libflags = self.msvs_settings.GetLibFlags(
1598
+ config_name, self.GypPathToNinja
1599
+ )
1600
+ variables.append(("libflags", libflags))
1601
+
1602
+ if self.flavor != "mac" or len(self.archs) == 1:
1603
+ self.AppendPostbuildVariable(
1604
+ variables, spec, self.target.binary, self.target.binary
1605
+ )
1606
+ self.ninja.build(
1607
+ self.target.binary,
1608
+ "alink",
1609
+ link_deps,
1610
+ order_only=compile_deps,
1611
+ variables=variables,
1612
+ )
1613
+ else:
1614
+ inputs = []
1615
+ for arch in self.archs:
1616
+ output = self.ComputeOutput(spec, arch)
1617
+ self.arch_subninjas[arch].build(
1618
+ output,
1619
+ "alink",
1620
+ link_deps[arch],
1621
+ order_only=compile_deps,
1622
+ variables=variables,
1623
+ )
1624
+ inputs.append(output)
1625
+ # TODO: It's not clear if
1626
+ # libtool_flags should be passed to the alink
1627
+ # call that combines single-arch .a files into a fat .a file.
1628
+ self.AppendPostbuildVariable(
1629
+ variables, spec, self.target.binary, self.target.binary
1630
+ )
1631
+ self.ninja.build(
1632
+ self.target.binary,
1633
+ "alink",
1634
+ inputs,
1635
+ # FIXME: test proving order_only=compile_deps isn't
1636
+ # needed.
1637
+ variables=variables,
1638
+ )
1639
+ else:
1640
+ self.target.binary = self.WriteLink(
1641
+ spec, config_name, config, link_deps, compile_deps
1642
+ )
1643
+ return self.target.binary
1644
+
1645
+ def WriteMacBundle(self, spec, mac_bundle_depends, is_empty):
1646
+ assert self.is_mac_bundle
1647
+ package_framework = spec["type"] in ("shared_library", "loadable_module")
1648
+ output = self.ComputeMacBundleOutput()
1649
+ if is_empty:
1650
+ output += ".stamp"
1651
+ variables = []
1652
+ self.AppendPostbuildVariable(
1653
+ variables,
1654
+ spec,
1655
+ output,
1656
+ self.target.binary,
1657
+ is_command_start=not package_framework,
1658
+ )
1659
+ if package_framework and not is_empty:
1660
+ if spec["type"] == "shared_library" and self.xcode_settings.isIOS:
1661
+ self.ninja.build(
1662
+ output,
1663
+ "package_ios_framework",
1664
+ mac_bundle_depends,
1665
+ variables=variables,
1666
+ )
1667
+ else:
1668
+ variables.append(("version", self.xcode_settings.GetFrameworkVersion()))
1669
+ self.ninja.build(
1670
+ output, "package_framework", mac_bundle_depends, variables=variables
1671
+ )
1672
+ else:
1673
+ self.ninja.build(output, "stamp", mac_bundle_depends, variables=variables)
1674
+ self.target.bundle = output
1675
+ return output
1676
+
1677
+ def GetToolchainEnv(self, additional_settings=None):
1678
+ """Returns the variables toolchain would set for build steps."""
1679
+ env = self.GetSortedXcodeEnv(additional_settings=additional_settings)
1680
+ if self.flavor == "win":
1681
+ env = self.GetMsvsToolchainEnv(additional_settings=additional_settings)
1682
+ return env
1683
+
1684
+ def GetMsvsToolchainEnv(self, additional_settings=None):
1685
+ """Returns the variables Visual Studio would set for build steps."""
1686
+ return self.msvs_settings.GetVSMacroEnv(
1687
+ "$!PRODUCT_DIR", config=self.config_name
1688
+ )
1689
+
1690
+ def GetSortedXcodeEnv(self, additional_settings=None):
1691
+ """Returns the variables Xcode would set for build steps."""
1692
+ assert self.abs_build_dir
1693
+ abs_build_dir = self.abs_build_dir
1694
+ return gyp.xcode_emulation.GetSortedXcodeEnv(
1695
+ self.xcode_settings,
1696
+ abs_build_dir,
1697
+ os.path.join(abs_build_dir, self.build_to_base),
1698
+ self.config_name,
1699
+ additional_settings,
1700
+ )
1701
+
1702
+ def GetSortedXcodePostbuildEnv(self):
1703
+ """Returns the variables Xcode would set for postbuild steps."""
1704
+ postbuild_settings = {}
1705
+ # CHROMIUM_STRIP_SAVE_FILE is a chromium-specific hack.
1706
+ # TODO(thakis): It would be nice to have some general mechanism instead.
1707
+ strip_save_file = self.xcode_settings.GetPerTargetSetting(
1708
+ "CHROMIUM_STRIP_SAVE_FILE"
1709
+ )
1710
+ if strip_save_file:
1711
+ postbuild_settings["CHROMIUM_STRIP_SAVE_FILE"] = strip_save_file
1712
+ return self.GetSortedXcodeEnv(additional_settings=postbuild_settings)
1713
+
1714
+ def AppendPostbuildVariable(
1715
+ self, variables, spec, output, binary, is_command_start=False
1716
+ ):
1717
+ """Adds a 'postbuild' variable if there is a postbuild for |output|."""
1718
+ postbuild = self.GetPostbuildCommand(spec, output, binary, is_command_start)
1719
+ if postbuild:
1720
+ variables.append(("postbuilds", postbuild))
1721
+
1722
+ def GetPostbuildCommand(self, spec, output, output_binary, is_command_start):
1723
+ """Returns a shell command that runs all the postbuilds, and removes
1724
+ |output| if any of them fails. If |is_command_start| is False, then the
1725
+ returned string will start with ' && '."""
1726
+ if not self.xcode_settings or spec["type"] == "none" or not output:
1727
+ return ""
1728
+ output = QuoteShellArgument(output, self.flavor)
1729
+ postbuilds = gyp.xcode_emulation.GetSpecPostbuildCommands(spec, quiet=True)
1730
+ if output_binary is not None:
1731
+ postbuilds = self.xcode_settings.AddImplicitPostbuilds(
1732
+ self.config_name,
1733
+ os.path.normpath(os.path.join(self.base_to_build, output)),
1734
+ QuoteShellArgument(
1735
+ os.path.normpath(os.path.join(self.base_to_build, output_binary)),
1736
+ self.flavor,
1737
+ ),
1738
+ postbuilds,
1739
+ quiet=True,
1740
+ )
1741
+
1742
+ if not postbuilds:
1743
+ return ""
1744
+ # Postbuilds expect to be run in the gyp file's directory, so insert an
1745
+ # implicit postbuild to cd to there.
1746
+ postbuilds.insert(
1747
+ 0, gyp.common.EncodePOSIXShellList(["cd", self.build_to_base])
1748
+ )
1749
+ env = self.ComputeExportEnvString(self.GetSortedXcodePostbuildEnv())
1750
+ # G will be non-null if any postbuild fails. Run all postbuilds in a
1751
+ # subshell.
1752
+ commands = (
1753
+ env
1754
+ + " ("
1755
+ + " && ".join([ninja_syntax.escape(command) for command in postbuilds])
1756
+ )
1757
+ command_string = (
1758
+ commands + "); G=$$?; "
1759
+ # Remove the final output if any postbuild failed.
1760
+ "((exit $$G) || rm -rf %s) " % output + "&& exit $$G)"
1761
+ )
1762
+ if is_command_start:
1763
+ return "(" + command_string + " && "
1764
+ else:
1765
+ return "$ && (" + command_string
1766
+
1767
+ def ComputeExportEnvString(self, env):
1768
+ """Given an environment, returns a string looking like
1769
+ 'export FOO=foo; export BAR="${FOO} bar;'
1770
+ that exports |env| to the shell."""
1771
+ export_str = []
1772
+ for k, v in env:
1773
+ export_str.append(
1774
+ "export %s=%s;"
1775
+ % (k, ninja_syntax.escape(gyp.common.EncodePOSIXShellArgument(v)))
1776
+ )
1777
+ return " ".join(export_str)
1778
+
1779
+ def ComputeMacBundleOutput(self):
1780
+ """Return the 'output' (full output path) to a bundle output directory."""
1781
+ assert self.is_mac_bundle
1782
+ path = generator_default_variables["PRODUCT_DIR"]
1783
+ return self.ExpandSpecial(
1784
+ os.path.join(path, self.xcode_settings.GetWrapperName())
1785
+ )
1786
+
1787
+ def ComputeOutputFileName(self, spec, type=None):
1788
+ """Compute the filename of the final output for the current target."""
1789
+ if not type:
1790
+ type = spec["type"]
1791
+
1792
+ default_variables = copy.copy(generator_default_variables)
1793
+ CalculateVariables(default_variables, {"flavor": self.flavor})
1794
+
1795
+ # Compute filename prefix: the product prefix, or a default for
1796
+ # the product type.
1797
+ DEFAULT_PREFIX = {
1798
+ "loadable_module": default_variables["SHARED_LIB_PREFIX"],
1799
+ "shared_library": default_variables["SHARED_LIB_PREFIX"],
1800
+ "static_library": default_variables["STATIC_LIB_PREFIX"],
1801
+ "executable": default_variables["EXECUTABLE_PREFIX"],
1802
+ }
1803
+ prefix = spec.get("product_prefix", DEFAULT_PREFIX.get(type, ""))
1804
+
1805
+ # Compute filename extension: the product extension, or a default
1806
+ # for the product type.
1807
+ DEFAULT_EXTENSION = {
1808
+ "loadable_module": default_variables["SHARED_LIB_SUFFIX"],
1809
+ "shared_library": default_variables["SHARED_LIB_SUFFIX"],
1810
+ "static_library": default_variables["STATIC_LIB_SUFFIX"],
1811
+ "executable": default_variables["EXECUTABLE_SUFFIX"],
1812
+ }
1813
+ extension = spec.get("product_extension")
1814
+ extension = "." + extension if extension else DEFAULT_EXTENSION.get(type, "")
1815
+
1816
+ if "product_name" in spec:
1817
+ # If we were given an explicit name, use that.
1818
+ target = spec["product_name"]
1819
+ else:
1820
+ # Otherwise, derive a name from the target name.
1821
+ target = spec["target_name"]
1822
+ if prefix == "lib":
1823
+ # Snip out an extra 'lib' from libs if appropriate.
1824
+ target = StripPrefix(target, "lib")
1825
+
1826
+ if type in (
1827
+ "static_library",
1828
+ "loadable_module",
1829
+ "shared_library",
1830
+ "executable",
1831
+ ):
1832
+ return f"{prefix}{target}{extension}"
1833
+ elif type == "none":
1834
+ return "%s.stamp" % target
1835
+ else:
1836
+ raise Exception("Unhandled output type %s" % type)
1837
+
1838
+ def ComputeOutput(self, spec, arch=None):
1839
+ """Compute the path for the final output of the spec."""
1840
+ type = spec["type"]
1841
+
1842
+ if self.flavor == "win":
1843
+ override = self.msvs_settings.GetOutputName(
1844
+ self.config_name, self.ExpandSpecial
1845
+ )
1846
+ if override:
1847
+ return override
1848
+
1849
+ if (
1850
+ arch is None
1851
+ and self.flavor == "mac"
1852
+ and type
1853
+ in ("static_library", "executable", "shared_library", "loadable_module")
1854
+ ):
1855
+ filename = self.xcode_settings.GetExecutablePath()
1856
+ else:
1857
+ filename = self.ComputeOutputFileName(spec, type)
1858
+
1859
+ if arch is None and "product_dir" in spec:
1860
+ path = os.path.join(spec["product_dir"], filename)
1861
+ return self.ExpandSpecial(path)
1862
+
1863
+ # Some products go into the output root, libraries go into shared library
1864
+ # dir, and everything else goes into the normal place.
1865
+ type_in_output_root = ["executable", "loadable_module"]
1866
+ if self.flavor == "mac" and self.toolset == "target":
1867
+ type_in_output_root += ["shared_library", "static_library"]
1868
+ elif self.flavor == "win" and self.toolset == "target":
1869
+ type_in_output_root += ["shared_library"]
1870
+
1871
+ if arch is not None:
1872
+ # Make sure partial executables don't end up in a bundle or the regular
1873
+ # output directory.
1874
+ archdir = "arch"
1875
+ if self.toolset != "target":
1876
+ archdir = os.path.join("arch", "%s" % self.toolset)
1877
+ return os.path.join(archdir, AddArch(filename, arch))
1878
+ elif type in type_in_output_root or self.is_standalone_static_library:
1879
+ return filename
1880
+ elif type == "shared_library":
1881
+ libdir = "lib"
1882
+ if self.toolset != "target":
1883
+ libdir = os.path.join("lib", "%s" % self.toolset)
1884
+ return os.path.join(libdir, filename)
1885
+ else:
1886
+ return self.GypPathToUniqueOutput(filename, qualified=False)
1887
+
1888
+ def WriteVariableList(self, ninja_file, var, values):
1889
+ assert not isinstance(values, str)
1890
+ if values is None:
1891
+ values = []
1892
+ ninja_file.variable(var, " ".join(values))
1893
+
1894
+ def WriteNewNinjaRule(
1895
+ self, name, args, description, win_shell_flags, env, pool, depfile=None
1896
+ ):
1897
+ """Write out a new ninja "rule" statement for a given command.
1898
+
1899
+ Returns the name of the new rule, and a copy of |args| with variables
1900
+ expanded."""
1901
+
1902
+ if self.flavor == "win":
1903
+ args = [
1904
+ self.msvs_settings.ConvertVSMacros(
1905
+ arg, self.base_to_build, config=self.config_name
1906
+ )
1907
+ for arg in args
1908
+ ]
1909
+ description = self.msvs_settings.ConvertVSMacros(
1910
+ description, config=self.config_name
1911
+ )
1912
+ elif self.flavor == "mac":
1913
+ # |env| is an empty list on non-mac.
1914
+ args = [gyp.xcode_emulation.ExpandEnvVars(arg, env) for arg in args]
1915
+ description = gyp.xcode_emulation.ExpandEnvVars(description, env)
1916
+
1917
+ # TODO: we shouldn't need to qualify names; we do it because
1918
+ # currently the ninja rule namespace is global, but it really
1919
+ # should be scoped to the subninja.
1920
+ rule_name = self.name
1921
+ if self.toolset == "target":
1922
+ rule_name += "." + self.toolset
1923
+ rule_name += "." + name
1924
+ rule_name = re.sub("[^a-zA-Z0-9_]", "_", rule_name)
1925
+
1926
+ # Remove variable references, but not if they refer to the magic rule
1927
+ # variables. This is not quite right, as it also protects these for
1928
+ # actions, not just for rules where they are valid. Good enough.
1929
+ protect = ["${root}", "${dirname}", "${source}", "${ext}", "${name}"]
1930
+ protect = "(?!" + "|".join(map(re.escape, protect)) + ")"
1931
+ description = re.sub(protect + r"\$", "_", description)
1932
+
1933
+ # gyp dictates that commands are run from the base directory.
1934
+ # cd into the directory before running, and adjust paths in
1935
+ # the arguments to point to the proper locations.
1936
+ rspfile = None
1937
+ rspfile_content = None
1938
+ args = [self.ExpandSpecial(arg, self.base_to_build) for arg in args]
1939
+ if self.flavor == "win":
1940
+ rspfile = rule_name + ".$unique_name.rsp"
1941
+ # The cygwin case handles this inside the bash sub-shell.
1942
+ run_in = "" if win_shell_flags.cygwin else " " + self.build_to_base
1943
+ if win_shell_flags.cygwin:
1944
+ rspfile_content = self.msvs_settings.BuildCygwinBashCommandLine(
1945
+ args, self.build_to_base
1946
+ )
1947
+ else:
1948
+ rspfile_content = gyp.msvs_emulation.EncodeRspFileList(
1949
+ args, win_shell_flags.quote
1950
+ )
1951
+ command = (
1952
+ "%s gyp-win-tool action-wrapper $arch " % sys.executable
1953
+ + rspfile
1954
+ + run_in
1955
+ )
1956
+ else:
1957
+ env = self.ComputeExportEnvString(env)
1958
+ command = gyp.common.EncodePOSIXShellList(args)
1959
+ command = "cd %s; " % self.build_to_base + env + command
1960
+
1961
+ # GYP rules/actions express being no-ops by not touching their outputs.
1962
+ # Avoid executing downstream dependencies in this case by specifying
1963
+ # restat=1 to ninja.
1964
+ self.ninja.rule(
1965
+ rule_name,
1966
+ command,
1967
+ description,
1968
+ depfile=depfile,
1969
+ restat=True,
1970
+ pool=pool,
1971
+ rspfile=rspfile,
1972
+ rspfile_content=rspfile_content,
1973
+ )
1974
+ self.ninja.newline()
1975
+
1976
+ return rule_name, args
1977
+
1978
+
1979
+ def CalculateVariables(default_variables, params):
1980
+ """Calculate additional variables for use in the build (called by gyp)."""
1981
+ global generator_additional_non_configuration_keys
1982
+ global generator_additional_path_sections
1983
+ flavor = gyp.common.GetFlavor(params)
1984
+ if flavor == "mac":
1985
+ default_variables.setdefault("OS", "mac")
1986
+ default_variables.setdefault("SHARED_LIB_SUFFIX", ".dylib")
1987
+ default_variables.setdefault(
1988
+ "SHARED_LIB_DIR", generator_default_variables["PRODUCT_DIR"]
1989
+ )
1990
+ default_variables.setdefault(
1991
+ "LIB_DIR", generator_default_variables["PRODUCT_DIR"]
1992
+ )
1993
+
1994
+ # Copy additional generator configuration data from Xcode, which is shared
1995
+ # by the Mac Ninja generator.
1996
+ import gyp.generator.xcode as xcode_generator # noqa: PLC0415
1997
+
1998
+ generator_additional_non_configuration_keys = getattr(
1999
+ xcode_generator, "generator_additional_non_configuration_keys", []
2000
+ )
2001
+ generator_additional_path_sections = getattr(
2002
+ xcode_generator, "generator_additional_path_sections", []
2003
+ )
2004
+ global generator_extra_sources_for_rules
2005
+ generator_extra_sources_for_rules = getattr(
2006
+ xcode_generator, "generator_extra_sources_for_rules", []
2007
+ )
2008
+ elif flavor == "win":
2009
+ exts = gyp.MSVSUtil.TARGET_TYPE_EXT
2010
+ default_variables.setdefault("OS", "win")
2011
+ default_variables["EXECUTABLE_SUFFIX"] = "." + exts["executable"]
2012
+ default_variables["STATIC_LIB_PREFIX"] = ""
2013
+ default_variables["STATIC_LIB_SUFFIX"] = "." + exts["static_library"]
2014
+ default_variables["SHARED_LIB_PREFIX"] = ""
2015
+ default_variables["SHARED_LIB_SUFFIX"] = "." + exts["shared_library"]
2016
+
2017
+ # Copy additional generator configuration data from VS, which is shared
2018
+ # by the Windows Ninja generator.
2019
+ import gyp.generator.msvs as msvs_generator # noqa: PLC0415
2020
+
2021
+ generator_additional_non_configuration_keys = getattr(
2022
+ msvs_generator, "generator_additional_non_configuration_keys", []
2023
+ )
2024
+ generator_additional_path_sections = getattr(
2025
+ msvs_generator, "generator_additional_path_sections", []
2026
+ )
2027
+
2028
+ gyp.msvs_emulation.CalculateCommonVariables(default_variables, params)
2029
+ else:
2030
+ operating_system = flavor
2031
+ if flavor == "android":
2032
+ operating_system = "linux" # Keep this legacy behavior for now.
2033
+ default_variables.setdefault("OS", operating_system)
2034
+ default_variables.setdefault("SHARED_LIB_SUFFIX", ".so")
2035
+ default_variables.setdefault(
2036
+ "SHARED_LIB_DIR", os.path.join("$!PRODUCT_DIR", "lib")
2037
+ )
2038
+ default_variables.setdefault("LIB_DIR", os.path.join("$!PRODUCT_DIR", "obj"))
2039
+
2040
+
2041
+ def ComputeOutputDir(params):
2042
+ """Returns the path from the toplevel_dir to the build output directory."""
2043
+ # generator_dir: relative path from pwd to where make puts build files.
2044
+ # Makes migrating from make to ninja easier, ninja doesn't put anything here.
2045
+ generator_dir = os.path.relpath(params["options"].generator_output or ".")
2046
+
2047
+ # output_dir: relative path from generator_dir to the build directory.
2048
+ output_dir = params.get("generator_flags", {}).get("output_dir", "out")
2049
+
2050
+ # Relative path from source root to our output files. e.g. "out"
2051
+ return os.path.normpath(os.path.join(generator_dir, output_dir))
2052
+
2053
+
2054
+ def CalculateGeneratorInputInfo(params):
2055
+ """Called by __init__ to initialize generator values based on params."""
2056
+ # E.g. "out/gypfiles"
2057
+ toplevel = params["options"].toplevel_dir
2058
+ qualified_out_dir = os.path.normpath(
2059
+ os.path.join(toplevel, ComputeOutputDir(params), "gypfiles")
2060
+ )
2061
+
2062
+ global generator_filelist_paths
2063
+ generator_filelist_paths = {
2064
+ "toplevel": toplevel,
2065
+ "qualified_out_dir": qualified_out_dir,
2066
+ }
2067
+
2068
+
2069
+ def OpenOutput(path, mode="w"):
2070
+ """Open |path| for writing, creating directories if necessary."""
2071
+ gyp.common.EnsureDirExists(path)
2072
+ return open(path, mode)
2073
+
2074
+
2075
+ def CommandWithWrapper(cmd, wrappers, prog):
2076
+ if wrapper := wrappers.get(cmd, ""):
2077
+ return wrapper + " " + prog
2078
+ return prog
2079
+
2080
+
2081
+ def GetDefaultConcurrentLinks():
2082
+ """Returns a best-guess for a number of concurrent links."""
2083
+ if pool_size := int(os.environ.get("GYP_LINK_CONCURRENCY") or 0):
2084
+ return pool_size
2085
+
2086
+ if sys.platform in ("win32", "cygwin"):
2087
+
2088
+ class MEMORYSTATUSEX(ctypes.Structure):
2089
+ _fields_ = [
2090
+ ("dwLength", ctypes.c_ulong),
2091
+ ("dwMemoryLoad", ctypes.c_ulong),
2092
+ ("ullTotalPhys", ctypes.c_ulonglong),
2093
+ ("ullAvailPhys", ctypes.c_ulonglong),
2094
+ ("ullTotalPageFile", ctypes.c_ulonglong),
2095
+ ("ullAvailPageFile", ctypes.c_ulonglong),
2096
+ ("ullTotalVirtual", ctypes.c_ulonglong),
2097
+ ("ullAvailVirtual", ctypes.c_ulonglong),
2098
+ ("sullAvailExtendedVirtual", ctypes.c_ulonglong),
2099
+ ]
2100
+
2101
+ stat = MEMORYSTATUSEX()
2102
+ stat.dwLength = ctypes.sizeof(stat)
2103
+ ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(stat))
2104
+
2105
+ # VS 2015 uses 20% more working set than VS 2013 and can consume all RAM
2106
+ # on a 64 GiB machine.
2107
+ mem_limit = max(1, stat.ullTotalPhys // (5 * (2**30))) # total / 5GiB
2108
+ hard_cap = max(1, int(os.environ.get("GYP_LINK_CONCURRENCY_MAX") or 2**32))
2109
+ return min(mem_limit, hard_cap)
2110
+ elif sys.platform.startswith("linux"):
2111
+ if os.path.exists("/proc/meminfo"):
2112
+ with open("/proc/meminfo") as meminfo:
2113
+ memtotal_re = re.compile(r"^MemTotal:\s*(\d*)\s*kB")
2114
+ for line in meminfo:
2115
+ match = memtotal_re.match(line)
2116
+ if not match:
2117
+ continue
2118
+ # Allow 8Gb per link on Linux because Gold is quite memory hungry
2119
+ return max(1, int(match.group(1)) // (8 * (2**20)))
2120
+ return 1
2121
+ elif sys.platform == "darwin":
2122
+ try:
2123
+ avail_bytes = int(subprocess.check_output(["sysctl", "-n", "hw.memsize"]))
2124
+ # A static library debug build of Chromium's unit_tests takes ~2.7GB, so
2125
+ # 4GB per ld process allows for some more bloat.
2126
+ return max(1, avail_bytes // (4 * (2**30))) # total / 4GB
2127
+ except subprocess.CalledProcessError:
2128
+ return 1
2129
+ else:
2130
+ # TODO(scottmg): Implement this for other platforms.
2131
+ return 1
2132
+
2133
+
2134
+ def _GetWinLinkRuleNameSuffix(embed_manifest):
2135
+ """Returns the suffix used to select an appropriate linking rule depending on
2136
+ whether the manifest embedding is enabled."""
2137
+ return "_embed" if embed_manifest else ""
2138
+
2139
+
2140
+ def _AddWinLinkRules(master_ninja, embed_manifest):
2141
+ """Adds link rules for Windows platform to |master_ninja|."""
2142
+
2143
+ def FullLinkCommand(ldcmd, out, binary_type):
2144
+ resource_name = {"exe": "1", "dll": "2"}[binary_type]
2145
+ return (
2146
+ "%(python)s gyp-win-tool link-with-manifests $arch %(embed)s "
2147
+ '%(out)s "%(ldcmd)s" %(resname)s $mt $rc "$intermediatemanifest" '
2148
+ "$manifests"
2149
+ % {
2150
+ "python": sys.executable,
2151
+ "out": out,
2152
+ "ldcmd": ldcmd,
2153
+ "resname": resource_name,
2154
+ "embed": embed_manifest,
2155
+ }
2156
+ )
2157
+
2158
+ rule_name_suffix = _GetWinLinkRuleNameSuffix(embed_manifest)
2159
+ use_separate_mspdbsrv = int(os.environ.get("GYP_USE_SEPARATE_MSPDBSRV", "0")) != 0
2160
+ dlldesc = "LINK%s(DLL) $binary" % rule_name_suffix.upper()
2161
+ dllcmd = (
2162
+ "%s gyp-win-tool link-wrapper $arch %s "
2163
+ "$ld /nologo $implibflag /DLL /OUT:$binary "
2164
+ "@$binary.rsp" % (sys.executable, use_separate_mspdbsrv)
2165
+ )
2166
+ dllcmd = FullLinkCommand(dllcmd, "$binary", "dll")
2167
+ master_ninja.rule(
2168
+ "solink" + rule_name_suffix,
2169
+ description=dlldesc,
2170
+ command=dllcmd,
2171
+ rspfile="$binary.rsp",
2172
+ rspfile_content="$libs $in_newline $ldflags",
2173
+ restat=True,
2174
+ pool="link_pool",
2175
+ )
2176
+ master_ninja.rule(
2177
+ "solink_module" + rule_name_suffix,
2178
+ description=dlldesc,
2179
+ command=dllcmd,
2180
+ rspfile="$binary.rsp",
2181
+ rspfile_content="$libs $in_newline $ldflags",
2182
+ restat=True,
2183
+ pool="link_pool",
2184
+ )
2185
+ # Note that ldflags goes at the end so that it has the option of
2186
+ # overriding default settings earlier in the command line.
2187
+ exe_cmd = (
2188
+ "%s gyp-win-tool link-wrapper $arch %s "
2189
+ "$ld /nologo /OUT:$binary @$binary.rsp"
2190
+ % (sys.executable, use_separate_mspdbsrv)
2191
+ )
2192
+ exe_cmd = FullLinkCommand(exe_cmd, "$binary", "exe")
2193
+ master_ninja.rule(
2194
+ "link" + rule_name_suffix,
2195
+ description="LINK%s $binary" % rule_name_suffix.upper(),
2196
+ command=exe_cmd,
2197
+ rspfile="$binary.rsp",
2198
+ rspfile_content="$in_newline $libs $ldflags",
2199
+ pool="link_pool",
2200
+ )
2201
+
2202
+
2203
+ def GenerateOutputForConfig(target_list, target_dicts, data, params, config_name):
2204
+ options = params["options"]
2205
+ flavor = gyp.common.GetFlavor(params)
2206
+ generator_flags = params.get("generator_flags", {})
2207
+ generate_compile_commands = generator_flags.get("compile_commands", False)
2208
+
2209
+ # build_dir: relative path from source root to our output files.
2210
+ # e.g. "out/Debug"
2211
+ build_dir = os.path.normpath(os.path.join(ComputeOutputDir(params), config_name))
2212
+
2213
+ toplevel_build = os.path.join(options.toplevel_dir, build_dir)
2214
+
2215
+ master_ninja_file = OpenOutput(os.path.join(toplevel_build, "build.ninja"))
2216
+ master_ninja = ninja_syntax.Writer(master_ninja_file, width=120)
2217
+
2218
+ # Put build-time support tools in out/{config_name}.
2219
+ gyp.common.CopyTool(flavor, toplevel_build, generator_flags)
2220
+
2221
+ # Grab make settings for CC/CXX.
2222
+ # The rules are
2223
+ # - The priority from low to high is gcc/g++, the 'make_global_settings' in
2224
+ # gyp, the environment variable.
2225
+ # - If there is no 'make_global_settings' for CC.host/CXX.host or
2226
+ # 'CC_host'/'CXX_host' environment variable, cc_host/cxx_host should be set
2227
+ # to cc/cxx.
2228
+ if flavor == "win":
2229
+ ar = "lib.exe"
2230
+ # cc and cxx must be set to the correct architecture by overriding with one
2231
+ # of cl_x86 or cl_x64 below.
2232
+ cc = "UNSET"
2233
+ cxx = "UNSET"
2234
+ ld = "link.exe"
2235
+ ld_host = "$ld"
2236
+ else:
2237
+ ar = "ar"
2238
+ cc = "cc"
2239
+ cxx = "c++"
2240
+ ld = "$cc"
2241
+ ldxx = "$cxx"
2242
+ ld_host = "$cc_host"
2243
+ ldxx_host = "$cxx_host"
2244
+
2245
+ ar_host = ar
2246
+ cc_host = None
2247
+ cxx_host = None
2248
+ cc_host_global_setting = None
2249
+ cxx_host_global_setting = None
2250
+ clang_cl = None
2251
+ nm = "nm"
2252
+ nm_host = "nm"
2253
+ readelf = "readelf"
2254
+ readelf_host = "readelf"
2255
+
2256
+ build_file, _, _ = gyp.common.ParseQualifiedTarget(target_list[0])
2257
+ make_global_settings = data[build_file].get("make_global_settings", [])
2258
+ build_to_root = gyp.common.InvertRelativePath(build_dir, options.toplevel_dir)
2259
+ wrappers = {}
2260
+ for key, value in make_global_settings:
2261
+ if key == "AR":
2262
+ ar = os.path.join(build_to_root, value)
2263
+ if key == "AR.host":
2264
+ ar_host = os.path.join(build_to_root, value)
2265
+ if key == "CC":
2266
+ cc = os.path.join(build_to_root, value)
2267
+ if cc.endswith("clang-cl"):
2268
+ clang_cl = cc
2269
+ if key == "CXX":
2270
+ cxx = os.path.join(build_to_root, value)
2271
+ if key == "CC.host":
2272
+ cc_host = os.path.join(build_to_root, value)
2273
+ cc_host_global_setting = value
2274
+ if key == "CXX.host":
2275
+ cxx_host = os.path.join(build_to_root, value)
2276
+ cxx_host_global_setting = value
2277
+ if key == "LD":
2278
+ ld = os.path.join(build_to_root, value)
2279
+ if key == "LD.host":
2280
+ ld_host = os.path.join(build_to_root, value)
2281
+ if key == "LDXX":
2282
+ ldxx = os.path.join(build_to_root, value)
2283
+ if key == "LDXX.host":
2284
+ ldxx_host = os.path.join(build_to_root, value)
2285
+ if key == "NM":
2286
+ nm = os.path.join(build_to_root, value)
2287
+ if key == "NM.host":
2288
+ nm_host = os.path.join(build_to_root, value)
2289
+ if key == "READELF":
2290
+ readelf = os.path.join(build_to_root, value)
2291
+ if key == "READELF.host":
2292
+ readelf_host = os.path.join(build_to_root, value)
2293
+ if key.endswith("_wrapper"):
2294
+ wrappers[key[: -len("_wrapper")]] = os.path.join(build_to_root, value)
2295
+
2296
+ # Support wrappers from environment variables too.
2297
+ for key, value in os.environ.items():
2298
+ if key.lower().endswith("_wrapper"):
2299
+ key_prefix = key[: -len("_wrapper")]
2300
+ key_prefix = re.sub(r"\.HOST$", ".host", key_prefix)
2301
+ wrappers[key_prefix] = os.path.join(build_to_root, value)
2302
+
2303
+ if mac_toolchain_dir := generator_flags.get("mac_toolchain_dir", None):
2304
+ wrappers["LINK"] = "export DEVELOPER_DIR='%s' &&" % mac_toolchain_dir
2305
+
2306
+ if flavor == "win":
2307
+ configs = [
2308
+ target_dicts[qualified_target]["configurations"][config_name]
2309
+ for qualified_target in target_list
2310
+ ]
2311
+ shared_system_includes = None
2312
+ if not generator_flags.get("ninja_use_custom_environment_files", 0):
2313
+ shared_system_includes = gyp.msvs_emulation.ExtractSharedMSVSSystemIncludes(
2314
+ configs, generator_flags
2315
+ )
2316
+ cl_paths = gyp.msvs_emulation.GenerateEnvironmentFiles(
2317
+ toplevel_build, generator_flags, shared_system_includes, OpenOutput
2318
+ )
2319
+ for arch, path in sorted(cl_paths.items()):
2320
+ if clang_cl:
2321
+ # If we have selected clang-cl, use that instead.
2322
+ path = clang_cl
2323
+ command = CommandWithWrapper(
2324
+ "CC", wrappers, QuoteShellArgument(path, "win")
2325
+ )
2326
+ if clang_cl:
2327
+ # Use clang-cl to cross-compile for x86 or x86_64.
2328
+ command += " -m32" if arch == "x86" else " -m64"
2329
+ master_ninja.variable("cl_" + arch, command)
2330
+
2331
+ cc = GetEnvironFallback(["CC_target", "CC"], cc)
2332
+ master_ninja.variable("cc", CommandWithWrapper("CC", wrappers, cc))
2333
+ cxx = GetEnvironFallback(["CXX_target", "CXX"], cxx)
2334
+ master_ninja.variable("cxx", CommandWithWrapper("CXX", wrappers, cxx))
2335
+
2336
+ if flavor == "win":
2337
+ master_ninja.variable("ld", ld)
2338
+ master_ninja.variable("idl", "midl.exe")
2339
+ master_ninja.variable("ar", ar)
2340
+ master_ninja.variable("rc", "rc.exe")
2341
+ master_ninja.variable("ml_x86", "ml.exe")
2342
+ master_ninja.variable("ml_x64", "ml64.exe")
2343
+ master_ninja.variable("mt", "mt.exe")
2344
+ else:
2345
+ master_ninja.variable("ld", CommandWithWrapper("LINK", wrappers, ld))
2346
+ master_ninja.variable("ldxx", CommandWithWrapper("LINK", wrappers, ldxx))
2347
+ master_ninja.variable("ar", GetEnvironFallback(["AR_target", "AR"], ar))
2348
+ if flavor != "mac":
2349
+ # Mac does not use readelf/nm for .TOC generation, so avoiding polluting
2350
+ # the master ninja with extra unused variables.
2351
+ master_ninja.variable("nm", GetEnvironFallback(["NM_target", "NM"], nm))
2352
+ master_ninja.variable(
2353
+ "readelf", GetEnvironFallback(["READELF_target", "READELF"], readelf)
2354
+ )
2355
+
2356
+ if generator_supports_multiple_toolsets:
2357
+ if not cc_host:
2358
+ cc_host = cc
2359
+ if not cxx_host:
2360
+ cxx_host = cxx
2361
+
2362
+ master_ninja.variable("ar_host", GetEnvironFallback(["AR_host"], ar_host))
2363
+ master_ninja.variable("nm_host", GetEnvironFallback(["NM_host"], nm_host))
2364
+ master_ninja.variable(
2365
+ "readelf_host", GetEnvironFallback(["READELF_host"], readelf_host)
2366
+ )
2367
+ cc_host = GetEnvironFallback(["CC_host"], cc_host)
2368
+ cxx_host = GetEnvironFallback(["CXX_host"], cxx_host)
2369
+
2370
+ # The environment variable could be used in 'make_global_settings', like
2371
+ # ['CC.host', '$(CC)'] or ['CXX.host', '$(CXX)'], transform them here.
2372
+ if "$(CC)" in cc_host and cc_host_global_setting:
2373
+ cc_host = cc_host_global_setting.replace("$(CC)", cc)
2374
+ if "$(CXX)" in cxx_host and cxx_host_global_setting:
2375
+ cxx_host = cxx_host_global_setting.replace("$(CXX)", cxx)
2376
+ master_ninja.variable(
2377
+ "cc_host", CommandWithWrapper("CC.host", wrappers, cc_host)
2378
+ )
2379
+ master_ninja.variable(
2380
+ "cxx_host", CommandWithWrapper("CXX.host", wrappers, cxx_host)
2381
+ )
2382
+ if flavor == "win":
2383
+ master_ninja.variable("ld_host", ld_host)
2384
+ else:
2385
+ master_ninja.variable(
2386
+ "ld_host", CommandWithWrapper("LINK", wrappers, ld_host)
2387
+ )
2388
+ master_ninja.variable(
2389
+ "ldxx_host", CommandWithWrapper("LINK", wrappers, ldxx_host)
2390
+ )
2391
+
2392
+ master_ninja.newline()
2393
+
2394
+ master_ninja.pool("link_pool", depth=GetDefaultConcurrentLinks())
2395
+ master_ninja.newline()
2396
+
2397
+ deps = "msvc" if flavor == "win" else "gcc"
2398
+
2399
+ if flavor != "win":
2400
+ master_ninja.rule(
2401
+ "cc",
2402
+ description="CC $out",
2403
+ command=(
2404
+ "$cc -MMD -MF $out.d $defines $includes $cflags $cflags_c "
2405
+ "$cflags_pch_c -c $in -o $out"
2406
+ ),
2407
+ depfile="$out.d",
2408
+ deps=deps,
2409
+ )
2410
+ master_ninja.rule(
2411
+ "cc_s",
2412
+ description="CC $out",
2413
+ command=(
2414
+ "$cc $defines $includes $cflags $cflags_c $cflags_pch_c -c $in -o $out"
2415
+ ),
2416
+ )
2417
+ master_ninja.rule(
2418
+ "cxx",
2419
+ description="CXX $out",
2420
+ command=(
2421
+ "$cxx -MMD -MF $out.d $defines $includes $cflags $cflags_cc "
2422
+ "$cflags_pch_cc -c $in -o $out"
2423
+ ),
2424
+ depfile="$out.d",
2425
+ deps=deps,
2426
+ )
2427
+ else:
2428
+ # TODO(scottmg) Separate pdb names is a test to see if it works around
2429
+ # http://crbug.com/142362. It seems there's a race between the creation of
2430
+ # the .pdb by the precompiled header step for .cc and the compilation of
2431
+ # .c files. This should be handled by mspdbsrv, but rarely errors out with
2432
+ # c1xx : fatal error C1033: cannot open program database
2433
+ # By making the rules target separate pdb files this might be avoided.
2434
+ cc_command = (
2435
+ "ninja -t msvc -e $arch " + "-- "
2436
+ "$cc /nologo /showIncludes /FC "
2437
+ "@$out.rsp /c $in /Fo$out /Fd$pdbname_c "
2438
+ )
2439
+ cxx_command = (
2440
+ "ninja -t msvc -e $arch " + "-- "
2441
+ "$cxx /nologo /showIncludes /FC "
2442
+ "@$out.rsp /c $in /Fo$out /Fd$pdbname_cc "
2443
+ )
2444
+ master_ninja.rule(
2445
+ "cc",
2446
+ description="CC $out",
2447
+ command=cc_command,
2448
+ rspfile="$out.rsp",
2449
+ rspfile_content="$defines $includes $cflags $cflags_c",
2450
+ deps=deps,
2451
+ )
2452
+ master_ninja.rule(
2453
+ "cxx",
2454
+ description="CXX $out",
2455
+ command=cxx_command,
2456
+ rspfile="$out.rsp",
2457
+ rspfile_content="$defines $includes $cflags $cflags_cc",
2458
+ deps=deps,
2459
+ )
2460
+ master_ninja.rule(
2461
+ "idl",
2462
+ description="IDL $in",
2463
+ command=(
2464
+ "%s gyp-win-tool midl-wrapper $arch $outdir "
2465
+ "$tlb $h $dlldata $iid $proxy $in "
2466
+ "$midl_includes $idlflags" % sys.executable
2467
+ ),
2468
+ )
2469
+ master_ninja.rule(
2470
+ "rc",
2471
+ description="RC $in",
2472
+ # Note: $in must be last otherwise rc.exe complains.
2473
+ command=(
2474
+ "%s gyp-win-tool rc-wrapper "
2475
+ "$arch $rc $defines $resource_includes $rcflags /fo$out $in"
2476
+ % sys.executable
2477
+ ),
2478
+ )
2479
+ master_ninja.rule(
2480
+ "asm",
2481
+ description="ASM $out",
2482
+ command=(
2483
+ "%s gyp-win-tool asm-wrapper "
2484
+ "$arch $asm $defines $includes $asmflags /c /Fo $out $in"
2485
+ % sys.executable
2486
+ ),
2487
+ )
2488
+
2489
+ if flavor not in ("ios", "mac", "win"):
2490
+ master_ninja.rule(
2491
+ "alink",
2492
+ description="AR $out",
2493
+ command="rm -f $out && $ar rcs $arflags $out $in",
2494
+ )
2495
+ master_ninja.rule(
2496
+ "alink_thin",
2497
+ description="AR $out",
2498
+ command="rm -f $out && $ar rcsT $arflags $out $in",
2499
+ )
2500
+
2501
+ # This allows targets that only need to depend on $lib's API to declare an
2502
+ # order-only dependency on $lib.TOC and avoid relinking such downstream
2503
+ # dependencies when $lib changes only in non-public ways.
2504
+ # The resulting string leaves an uninterpolated %{suffix} which
2505
+ # is used in the final substitution below.
2506
+ mtime_preserving_solink_base = (
2507
+ "if [ ! -e $lib -o ! -e $lib.TOC ]; then "
2508
+ "%(solink)s && %(extract_toc)s > $lib.TOC; else "
2509
+ "%(solink)s && %(extract_toc)s > $lib.tmp && "
2510
+ "if ! cmp -s $lib.tmp $lib.TOC; then mv $lib.tmp $lib.TOC ; "
2511
+ "fi; fi"
2512
+ % {
2513
+ "solink": "$ld -shared $ldflags -o $lib -Wl,-soname=$soname %(suffix)s",
2514
+ "extract_toc": (
2515
+ "{ $readelf -d $lib | grep SONAME ; "
2516
+ "$nm -gD -f p $lib | cut -f1-2 -d' '; }"
2517
+ ),
2518
+ }
2519
+ )
2520
+
2521
+ master_ninja.rule(
2522
+ "solink",
2523
+ description="SOLINK $lib",
2524
+ restat=True,
2525
+ command=mtime_preserving_solink_base % {"suffix": "@$link_file_list"},
2526
+ rspfile="$link_file_list",
2527
+ rspfile_content=(
2528
+ "-Wl,--whole-archive $in $solibs -Wl,--no-whole-archive $libs"
2529
+ ),
2530
+ pool="link_pool",
2531
+ )
2532
+ master_ninja.rule(
2533
+ "solink_module",
2534
+ description="SOLINK(module) $lib",
2535
+ restat=True,
2536
+ command=mtime_preserving_solink_base % {"suffix": "@$link_file_list"},
2537
+ rspfile="$link_file_list",
2538
+ rspfile_content="-Wl,--start-group $in $solibs $libs -Wl,--end-group",
2539
+ pool="link_pool",
2540
+ )
2541
+ master_ninja.rule(
2542
+ "link",
2543
+ description="LINK $out",
2544
+ command=(
2545
+ "$ld $ldflags -o $out "
2546
+ "-Wl,--start-group $in $solibs $libs -Wl,--end-group"
2547
+ ),
2548
+ pool="link_pool",
2549
+ )
2550
+ elif flavor == "win":
2551
+ master_ninja.rule(
2552
+ "alink",
2553
+ description="LIB $out",
2554
+ command=(
2555
+ "%s gyp-win-tool link-wrapper $arch False "
2556
+ "$ar /nologo /ignore:4221 /OUT:$out @$out.rsp" % sys.executable
2557
+ ),
2558
+ rspfile="$out.rsp",
2559
+ rspfile_content="$in_newline $libflags",
2560
+ )
2561
+ _AddWinLinkRules(master_ninja, embed_manifest=True)
2562
+ _AddWinLinkRules(master_ninja, embed_manifest=False)
2563
+ else:
2564
+ master_ninja.rule(
2565
+ "objc",
2566
+ description="OBJC $out",
2567
+ command=(
2568
+ "$cc -MMD -MF $out.d $defines $includes $cflags $cflags_objc "
2569
+ "$cflags_pch_objc -c $in -o $out"
2570
+ ),
2571
+ depfile="$out.d",
2572
+ deps=deps,
2573
+ )
2574
+ master_ninja.rule(
2575
+ "objcxx",
2576
+ description="OBJCXX $out",
2577
+ command=(
2578
+ "$cxx -MMD -MF $out.d $defines $includes $cflags $cflags_objcc "
2579
+ "$cflags_pch_objcc -c $in -o $out"
2580
+ ),
2581
+ depfile="$out.d",
2582
+ deps=deps,
2583
+ )
2584
+ master_ninja.rule(
2585
+ "alink",
2586
+ description="LIBTOOL-STATIC $out, POSTBUILDS",
2587
+ command="rm -f $out && "
2588
+ "%s gyp-mac-tool filter-libtool libtool $libtool_flags "
2589
+ "-static -o $out $in"
2590
+ "$postbuilds" % sys.executable,
2591
+ )
2592
+ master_ninja.rule(
2593
+ "lipo",
2594
+ description="LIPO $out, POSTBUILDS",
2595
+ command="rm -f $out && lipo -create $in -output $out$postbuilds",
2596
+ )
2597
+ master_ninja.rule(
2598
+ "solipo",
2599
+ description="SOLIPO $out, POSTBUILDS",
2600
+ command=(
2601
+ "rm -f $lib $lib.TOC && lipo -create $in -output $lib$postbuilds &&"
2602
+ "%(extract_toc)s > $lib.TOC"
2603
+ % {
2604
+ "extract_toc": "{ otool -l $lib | grep LC_ID_DYLIB -A 5; "
2605
+ "nm -gP $lib | cut -f1-2 -d' ' | grep -v U$$; true; }"
2606
+ }
2607
+ ),
2608
+ )
2609
+
2610
+ # Record the public interface of $lib in $lib.TOC. See the corresponding
2611
+ # comment in the posix section above for details.
2612
+ solink_base = "$ld %(type)s $ldflags -o $lib %(suffix)s"
2613
+ mtime_preserving_solink_base = (
2614
+ "if [ ! -e $lib -o ! -e $lib.TOC ] || "
2615
+ # Always force dependent targets to relink if this library
2616
+ # reexports something. Handling this correctly would require
2617
+ # recursive TOC dumping but this is rare in practice, so punt.
2618
+ "otool -l $lib | grep -q LC_REEXPORT_DYLIB ; then "
2619
+ "%(solink)s && %(extract_toc)s > $lib.TOC; "
2620
+ "else "
2621
+ "%(solink)s && %(extract_toc)s > $lib.tmp && "
2622
+ "if ! cmp -s $lib.tmp $lib.TOC; then "
2623
+ "mv $lib.tmp $lib.TOC ; "
2624
+ "fi; "
2625
+ "fi"
2626
+ % {
2627
+ "solink": solink_base,
2628
+ "extract_toc": "{ otool -l $lib | grep LC_ID_DYLIB -A 5; "
2629
+ "nm -gP $lib | cut -f1-2 -d' ' | grep -v U$$; true; }",
2630
+ }
2631
+ )
2632
+
2633
+ solink_suffix = "@$link_file_list$postbuilds"
2634
+ master_ninja.rule(
2635
+ "solink",
2636
+ description="SOLINK $lib, POSTBUILDS",
2637
+ restat=True,
2638
+ command=mtime_preserving_solink_base
2639
+ % {"suffix": solink_suffix, "type": "-shared"},
2640
+ rspfile="$link_file_list",
2641
+ rspfile_content="$in $solibs $libs",
2642
+ pool="link_pool",
2643
+ )
2644
+ master_ninja.rule(
2645
+ "solink_notoc",
2646
+ description="SOLINK $lib, POSTBUILDS",
2647
+ restat=True,
2648
+ command=solink_base % {"suffix": solink_suffix, "type": "-shared"},
2649
+ rspfile="$link_file_list",
2650
+ rspfile_content="$in $solibs $libs",
2651
+ pool="link_pool",
2652
+ )
2653
+
2654
+ master_ninja.rule(
2655
+ "solink_module",
2656
+ description="SOLINK(module) $lib, POSTBUILDS",
2657
+ restat=True,
2658
+ command=mtime_preserving_solink_base
2659
+ % {"suffix": solink_suffix, "type": "-bundle"},
2660
+ rspfile="$link_file_list",
2661
+ rspfile_content="$in $solibs $libs",
2662
+ pool="link_pool",
2663
+ )
2664
+ master_ninja.rule(
2665
+ "solink_module_notoc",
2666
+ description="SOLINK(module) $lib, POSTBUILDS",
2667
+ restat=True,
2668
+ command=solink_base % {"suffix": solink_suffix, "type": "-bundle"},
2669
+ rspfile="$link_file_list",
2670
+ rspfile_content="$in $solibs $libs",
2671
+ pool="link_pool",
2672
+ )
2673
+
2674
+ master_ninja.rule(
2675
+ "link",
2676
+ description="LINK $out, POSTBUILDS",
2677
+ command=("$ld $ldflags -o $out $in $solibs $libs$postbuilds"),
2678
+ pool="link_pool",
2679
+ )
2680
+ master_ninja.rule(
2681
+ "preprocess_infoplist",
2682
+ description="PREPROCESS INFOPLIST $out",
2683
+ command=(
2684
+ "$cc -E -P -Wno-trigraphs -x c $defines $in -o $out && "
2685
+ "plutil -convert xml1 $out $out"
2686
+ ),
2687
+ )
2688
+ master_ninja.rule(
2689
+ "copy_infoplist",
2690
+ description="COPY INFOPLIST $in",
2691
+ command="$env %s gyp-mac-tool copy-info-plist $in $out $binary $keys"
2692
+ % sys.executable,
2693
+ )
2694
+ master_ninja.rule(
2695
+ "merge_infoplist",
2696
+ description="MERGE INFOPLISTS $in",
2697
+ command="$env %s gyp-mac-tool merge-info-plist $out $in" % sys.executable,
2698
+ )
2699
+ master_ninja.rule(
2700
+ "compile_xcassets",
2701
+ description="COMPILE XCASSETS $in",
2702
+ command="$env %s gyp-mac-tool compile-xcassets $keys $in" % sys.executable,
2703
+ )
2704
+ master_ninja.rule(
2705
+ "compile_ios_framework_headers",
2706
+ description="COMPILE HEADER MAPS AND COPY FRAMEWORK HEADERS $in",
2707
+ command="$env %(python)s gyp-mac-tool compile-ios-framework-header-map "
2708
+ "$out $framework $in && $env %(python)s gyp-mac-tool "
2709
+ "copy-ios-framework-headers $framework $copy_headers"
2710
+ % {"python": sys.executable},
2711
+ )
2712
+ master_ninja.rule(
2713
+ "mac_tool",
2714
+ description="MACTOOL $mactool_cmd $in",
2715
+ command="$env %s gyp-mac-tool $mactool_cmd $in $out $binary"
2716
+ % sys.executable,
2717
+ )
2718
+ master_ninja.rule(
2719
+ "package_framework",
2720
+ description="PACKAGE FRAMEWORK $out, POSTBUILDS",
2721
+ command="%s gyp-mac-tool package-framework $out $version$postbuilds "
2722
+ "&& touch $out" % sys.executable,
2723
+ )
2724
+ master_ninja.rule(
2725
+ "package_ios_framework",
2726
+ description="PACKAGE IOS FRAMEWORK $out, POSTBUILDS",
2727
+ command="%s gyp-mac-tool package-ios-framework $out $postbuilds "
2728
+ "&& touch $out" % sys.executable,
2729
+ )
2730
+ if flavor == "win":
2731
+ master_ninja.rule(
2732
+ "stamp",
2733
+ description="STAMP $out",
2734
+ command="%s gyp-win-tool stamp $out" % sys.executable,
2735
+ )
2736
+ else:
2737
+ master_ninja.rule(
2738
+ "stamp", description="STAMP $out", command="${postbuilds}touch $out"
2739
+ )
2740
+ if flavor == "win":
2741
+ master_ninja.rule(
2742
+ "copy",
2743
+ description="COPY $in $out",
2744
+ command="%s gyp-win-tool recursive-mirror $in $out" % sys.executable,
2745
+ )
2746
+ elif flavor == "zos":
2747
+ master_ninja.rule(
2748
+ "copy",
2749
+ description="COPY $in $out",
2750
+ command="rm -rf $out && cp -fRP $in $out",
2751
+ )
2752
+ else:
2753
+ master_ninja.rule(
2754
+ "copy",
2755
+ description="COPY $in $out",
2756
+ command="ln -f $in $out 2>/dev/null || (rm -rf $out && cp -af $in $out)",
2757
+ )
2758
+ master_ninja.newline()
2759
+
2760
+ all_targets = set()
2761
+ for build_file in params["build_files"]:
2762
+ for target in gyp.common.AllTargets(
2763
+ target_list, target_dicts, os.path.normpath(build_file)
2764
+ ):
2765
+ all_targets.add(target)
2766
+ all_outputs = set()
2767
+
2768
+ # target_outputs is a map from qualified target name to a Target object.
2769
+ target_outputs = {}
2770
+ # target_short_names is a map from target short name to a list of Target
2771
+ # objects.
2772
+ target_short_names = {}
2773
+
2774
+ # short name of targets that were skipped because they didn't contain anything
2775
+ # interesting.
2776
+ # NOTE: there may be overlap between this an non_empty_target_names.
2777
+ empty_target_names = set()
2778
+
2779
+ # Set of non-empty short target names.
2780
+ # NOTE: there may be overlap between this an empty_target_names.
2781
+ non_empty_target_names = set()
2782
+
2783
+ for qualified_target in target_list:
2784
+ # qualified_target is like: third_party/icu/icu.gyp:icui18n#target
2785
+ build_file, name, toolset = gyp.common.ParseQualifiedTarget(qualified_target)
2786
+
2787
+ this_make_global_settings = data[build_file].get("make_global_settings", [])
2788
+ assert make_global_settings == this_make_global_settings, (
2789
+ "make_global_settings needs to be the same for all targets. "
2790
+ f"{this_make_global_settings} vs. {make_global_settings}"
2791
+ )
2792
+
2793
+ spec = target_dicts[qualified_target]
2794
+ if flavor == "mac":
2795
+ gyp.xcode_emulation.MergeGlobalXcodeSettingsToSpec(data[build_file], spec)
2796
+
2797
+ # If build_file is a symlink, we must not follow it because there's a chance
2798
+ # it could point to a path above toplevel_dir, and we cannot correctly deal
2799
+ # with that case at the moment.
2800
+ build_file = gyp.common.RelativePath(build_file, options.toplevel_dir, False)
2801
+
2802
+ qualified_target_for_hash = gyp.common.QualifiedTarget(
2803
+ build_file, name, toolset
2804
+ )
2805
+ qualified_target_for_hash = qualified_target_for_hash.encode("utf-8")
2806
+ hash_for_rules = hashlib.md5(qualified_target_for_hash).hexdigest()
2807
+
2808
+ base_path = os.path.dirname(build_file)
2809
+ obj = "obj"
2810
+ if toolset != "target":
2811
+ obj += "." + toolset
2812
+ output_file = os.path.join(obj, base_path, name + ".ninja")
2813
+
2814
+ ninja_output = StringIO()
2815
+ writer = NinjaWriter(
2816
+ hash_for_rules,
2817
+ target_outputs,
2818
+ base_path,
2819
+ build_dir,
2820
+ ninja_output,
2821
+ toplevel_build,
2822
+ output_file,
2823
+ flavor,
2824
+ toplevel_dir=options.toplevel_dir,
2825
+ )
2826
+
2827
+ target = writer.WriteSpec(spec, config_name, generator_flags)
2828
+
2829
+ if ninja_output.tell() > 0:
2830
+ # Only create files for ninja files that actually have contents.
2831
+ with OpenOutput(os.path.join(toplevel_build, output_file)) as ninja_file:
2832
+ ninja_file.write(ninja_output.getvalue())
2833
+ ninja_output.close()
2834
+ master_ninja.subninja(output_file)
2835
+
2836
+ if target:
2837
+ if name != target.FinalOutput() and spec["toolset"] == "target":
2838
+ target_short_names.setdefault(name, []).append(target)
2839
+ target_outputs[qualified_target] = target
2840
+ if qualified_target in all_targets:
2841
+ all_outputs.add(target.FinalOutput())
2842
+ non_empty_target_names.add(name)
2843
+ else:
2844
+ empty_target_names.add(name)
2845
+
2846
+ if target_short_names:
2847
+ # Write a short name to build this target. This benefits both the
2848
+ # "build chrome" case as well as the gyp tests, which expect to be
2849
+ # able to run actions and build libraries by their short name.
2850
+ master_ninja.newline()
2851
+ master_ninja.comment("Short names for targets.")
2852
+ for short_name in sorted(target_short_names):
2853
+ master_ninja.build(
2854
+ short_name,
2855
+ "phony",
2856
+ [x.FinalOutput() for x in target_short_names[short_name]],
2857
+ )
2858
+
2859
+ # Write phony targets for any empty targets that weren't written yet. As
2860
+ # short names are not necessarily unique only do this for short names that
2861
+ # haven't already been output for another target.
2862
+ empty_target_names = empty_target_names - non_empty_target_names
2863
+ if empty_target_names:
2864
+ master_ninja.newline()
2865
+ master_ninja.comment("Empty targets (output for completeness).")
2866
+ for name in sorted(empty_target_names):
2867
+ master_ninja.build(name, "phony")
2868
+
2869
+ if all_outputs:
2870
+ master_ninja.newline()
2871
+ master_ninja.build("all", "phony", sorted(all_outputs))
2872
+ master_ninja.default(generator_flags.get("default_target", "all"))
2873
+
2874
+ master_ninja_file.close()
2875
+
2876
+ if generate_compile_commands:
2877
+ compile_db = GenerateCompileDBWithNinja(toplevel_build)
2878
+ compile_db_file = OpenOutput(
2879
+ os.path.join(toplevel_build, "compile_commands.json")
2880
+ )
2881
+ compile_db_file.write(json.dumps(compile_db, indent=2))
2882
+ compile_db_file.close()
2883
+
2884
+
2885
+ def GenerateCompileDBWithNinja(path, targets=["all"]):
2886
+ """Generates a compile database using ninja.
2887
+
2888
+ Args:
2889
+ path: The build directory to generate a compile database for.
2890
+ targets: Additional targets to pass to ninja.
2891
+
2892
+ Returns:
2893
+ List of the contents of the compile database.
2894
+ """
2895
+ ninja_path = shutil.which("ninja")
2896
+ if ninja_path is None:
2897
+ raise Exception("ninja not found in PATH")
2898
+ json_compile_db = subprocess.check_output(
2899
+ [ninja_path, "-C", path]
2900
+ + targets
2901
+ + ["-t", "compdb", "cc", "cxx", "objc", "objcxx"]
2902
+ )
2903
+ return json.loads(json_compile_db)
2904
+
2905
+
2906
+ def PerformBuild(data, configurations, params):
2907
+ options = params["options"]
2908
+ for config in configurations:
2909
+ builddir = os.path.join(options.toplevel_dir, "out", config)
2910
+ arguments = ["ninja", "-C", builddir]
2911
+ print(f"Building [{config}]: {arguments}")
2912
+ subprocess.check_call(arguments)
2913
+
2914
+
2915
+ def CallGenerateOutputForConfig(arglist):
2916
+ # Ignore the interrupt signal so that the parent process catches it and
2917
+ # kills all multiprocessing children.
2918
+ signal.signal(signal.SIGINT, signal.SIG_IGN)
2919
+
2920
+ (target_list, target_dicts, data, params, config_name) = arglist
2921
+ GenerateOutputForConfig(target_list, target_dicts, data, params, config_name)
2922
+
2923
+
2924
+ def GenerateOutput(target_list, target_dicts, data, params):
2925
+ # Update target_dicts for iOS device builds.
2926
+ target_dicts = gyp.xcode_emulation.CloneConfigurationForDeviceAndEmulator(
2927
+ target_dicts
2928
+ )
2929
+
2930
+ user_config = params.get("generator_flags", {}).get("config", None)
2931
+ if gyp.common.GetFlavor(params) == "win":
2932
+ target_list, target_dicts = MSVSUtil.ShardTargets(target_list, target_dicts)
2933
+ target_list, target_dicts = MSVSUtil.InsertLargePdbShims(
2934
+ target_list, target_dicts, generator_default_variables
2935
+ )
2936
+
2937
+ if user_config:
2938
+ GenerateOutputForConfig(target_list, target_dicts, data, params, user_config)
2939
+ else:
2940
+ config_names = target_dicts[target_list[0]]["configurations"]
2941
+ if params["parallel"]:
2942
+ try:
2943
+ pool = multiprocessing.Pool(len(config_names))
2944
+ arglists = []
2945
+ for config_name in config_names:
2946
+ arglists.append(
2947
+ (target_list, target_dicts, data, params, config_name)
2948
+ )
2949
+ pool.map(CallGenerateOutputForConfig, arglists)
2950
+ except KeyboardInterrupt as e:
2951
+ pool.terminate()
2952
+ raise e
2953
+ else:
2954
+ for config_name in config_names:
2955
+ GenerateOutputForConfig(
2956
+ target_list, target_dicts, data, params, config_name
2957
+ )