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