pnpm 11.23.0 → 11.24.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 (440) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +12 -0
  3. package/dist/pnpm.mjs +1334 -1180
  4. package/package.json +1 -1
  5. package/artifacts/exe/dist/node-gyp-bin/node-gyp +0 -6
  6. package/artifacts/exe/dist/node-gyp-bin/node-gyp.cmd +0 -5
  7. package/artifacts/exe/dist/node_modules/.bin/node-gyp +0 -50
  8. package/artifacts/exe/dist/node_modules/.bin/node-which +0 -50
  9. package/artifacts/exe/dist/node_modules/.bin/nopt +0 -50
  10. package/artifacts/exe/dist/node_modules/.bin/semver +0 -50
  11. package/artifacts/exe/dist/node_modules/.package-map.json +0 -1
  12. package/artifacts/exe/dist/node_modules/@isaacs/fs-minipass/LICENSE +0 -15
  13. package/artifacts/exe/dist/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +0 -430
  14. package/artifacts/exe/dist/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +0 -3
  15. package/artifacts/exe/dist/node_modules/@isaacs/fs-minipass/dist/esm/index.js +0 -420
  16. package/artifacts/exe/dist/node_modules/@isaacs/fs-minipass/dist/esm/package.json +0 -3
  17. package/artifacts/exe/dist/node_modules/@isaacs/fs-minipass/package.json +0 -72
  18. package/artifacts/exe/dist/node_modules/abbrev/LICENSE +0 -46
  19. package/artifacts/exe/dist/node_modules/abbrev/lib/index.js +0 -53
  20. package/artifacts/exe/dist/node_modules/abbrev/package.json +0 -41
  21. package/artifacts/exe/dist/node_modules/chownr/dist/commonjs/index.js +0 -93
  22. package/artifacts/exe/dist/node_modules/chownr/dist/commonjs/package.json +0 -3
  23. package/artifacts/exe/dist/node_modules/chownr/dist/esm/index.js +0 -85
  24. package/artifacts/exe/dist/node_modules/chownr/dist/esm/package.json +0 -3
  25. package/artifacts/exe/dist/node_modules/chownr/package.json +0 -69
  26. package/artifacts/exe/dist/node_modules/env-paths/index.js +0 -74
  27. package/artifacts/exe/dist/node_modules/env-paths/license +0 -9
  28. package/artifacts/exe/dist/node_modules/env-paths/package.json +0 -45
  29. package/artifacts/exe/dist/node_modules/exponential-backoff/LICENSE +0 -202
  30. package/artifacts/exe/dist/node_modules/exponential-backoff/dist/backoff.js +0 -124
  31. package/artifacts/exe/dist/node_modules/exponential-backoff/dist/delay/always/always.delay.js +0 -25
  32. package/artifacts/exe/dist/node_modules/exponential-backoff/dist/delay/delay.base.js +0 -45
  33. package/artifacts/exe/dist/node_modules/exponential-backoff/dist/delay/delay.factory.js +0 -17
  34. package/artifacts/exe/dist/node_modules/exponential-backoff/dist/delay/delay.interface.js +0 -3
  35. package/artifacts/exe/dist/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +0 -82
  36. package/artifacts/exe/dist/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +0 -8
  37. package/artifacts/exe/dist/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +0 -15
  38. package/artifacts/exe/dist/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +0 -7
  39. package/artifacts/exe/dist/node_modules/exponential-backoff/dist/options.js +0 -31
  40. package/artifacts/exe/dist/node_modules/exponential-backoff/package.json +0 -62
  41. package/artifacts/exe/dist/node_modules/fdir/LICENSE +0 -7
  42. package/artifacts/exe/dist/node_modules/fdir/dist/index.cjs +0 -588
  43. package/artifacts/exe/dist/node_modules/fdir/dist/index.d.cts +0 -155
  44. package/artifacts/exe/dist/node_modules/fdir/dist/index.d.mts +0 -155
  45. package/artifacts/exe/dist/node_modules/fdir/dist/index.mjs +0 -570
  46. package/artifacts/exe/dist/node_modules/fdir/package.json +0 -103
  47. package/artifacts/exe/dist/node_modules/graceful-fs/LICENSE +0 -15
  48. package/artifacts/exe/dist/node_modules/graceful-fs/clone.js +0 -23
  49. package/artifacts/exe/dist/node_modules/graceful-fs/graceful-fs.js +0 -448
  50. package/artifacts/exe/dist/node_modules/graceful-fs/legacy-streams.js +0 -118
  51. package/artifacts/exe/dist/node_modules/graceful-fs/package.json +0 -53
  52. package/artifacts/exe/dist/node_modules/graceful-fs/polyfills.js +0 -355
  53. package/artifacts/exe/dist/node_modules/isexe/dist/commonjs/index.js +0 -56
  54. package/artifacts/exe/dist/node_modules/isexe/dist/commonjs/index.min.js +0 -2
  55. package/artifacts/exe/dist/node_modules/isexe/dist/commonjs/options.js +0 -3
  56. package/artifacts/exe/dist/node_modules/isexe/dist/commonjs/package.json +0 -3
  57. package/artifacts/exe/dist/node_modules/isexe/dist/commonjs/posix.js +0 -67
  58. package/artifacts/exe/dist/node_modules/isexe/dist/commonjs/win32.js +0 -63
  59. package/artifacts/exe/dist/node_modules/isexe/dist/esm/index.js +0 -16
  60. package/artifacts/exe/dist/node_modules/isexe/dist/esm/index.min.js +0 -2
  61. package/artifacts/exe/dist/node_modules/isexe/dist/esm/options.js +0 -2
  62. package/artifacts/exe/dist/node_modules/isexe/dist/esm/package.json +0 -3
  63. package/artifacts/exe/dist/node_modules/isexe/dist/esm/posix.js +0 -62
  64. package/artifacts/exe/dist/node_modules/isexe/dist/esm/win32.js +0 -58
  65. package/artifacts/exe/dist/node_modules/isexe/package.json +0 -78
  66. package/artifacts/exe/dist/node_modules/minipass/dist/commonjs/index.js +0 -1038
  67. package/artifacts/exe/dist/node_modules/minipass/dist/commonjs/package.json +0 -3
  68. package/artifacts/exe/dist/node_modules/minipass/dist/esm/index.js +0 -1020
  69. package/artifacts/exe/dist/node_modules/minipass/dist/esm/package.json +0 -3
  70. package/artifacts/exe/dist/node_modules/minipass/package.json +0 -77
  71. package/artifacts/exe/dist/node_modules/minizlib/LICENSE +0 -26
  72. package/artifacts/exe/dist/node_modules/minizlib/dist/commonjs/constants.js +0 -123
  73. package/artifacts/exe/dist/node_modules/minizlib/dist/commonjs/index.js +0 -416
  74. package/artifacts/exe/dist/node_modules/minizlib/dist/commonjs/package.json +0 -3
  75. package/artifacts/exe/dist/node_modules/minizlib/dist/esm/constants.js +0 -117
  76. package/artifacts/exe/dist/node_modules/minizlib/dist/esm/index.js +0 -363
  77. package/artifacts/exe/dist/node_modules/minizlib/dist/esm/package.json +0 -3
  78. package/artifacts/exe/dist/node_modules/minizlib/package.json +0 -80
  79. package/artifacts/exe/dist/node_modules/node-gyp/.release-please-manifest.json +0 -3
  80. package/artifacts/exe/dist/node_modules/node-gyp/LICENSE +0 -24
  81. package/artifacts/exe/dist/node_modules/node-gyp/addon.gypi +0 -204
  82. package/artifacts/exe/dist/node_modules/node-gyp/bin/node-gyp.js +0 -145
  83. package/artifacts/exe/dist/node_modules/node-gyp/eslint.config.js +0 -3
  84. package/artifacts/exe/dist/node_modules/node-gyp/gyp/.release-please-manifest.json +0 -3
  85. package/artifacts/exe/dist/node_modules/node-gyp/gyp/LICENSE +0 -28
  86. package/artifacts/exe/dist/node_modules/node-gyp/gyp/data/ninja/build.ninja +0 -4
  87. package/artifacts/exe/dist/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  88. package/artifacts/exe/dist/node_modules/node-gyp/gyp/gyp +0 -8
  89. package/artifacts/exe/dist/node_modules/node-gyp/gyp/gyp.bat +0 -5
  90. package/artifacts/exe/dist/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  91. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  92. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  93. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1283
  94. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1545
  95. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  96. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  97. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  98. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -607
  99. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -706
  100. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -725
  101. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -186
  102. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -170
  103. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  104. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  105. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  106. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  107. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1169
  108. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1316
  109. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  110. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  111. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -461
  112. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -88
  113. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -55
  114. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2755
  115. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3970
  116. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  117. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2957
  118. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -77
  119. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1389
  120. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  121. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3097
  122. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  123. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -765
  124. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1255
  125. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  126. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  127. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -371
  128. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1936
  129. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  130. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -301
  131. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3180
  132. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -64
  133. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +0 -3
  134. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +0 -177
  135. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +0 -23
  136. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  137. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -107
  138. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  139. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  140. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  141. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  142. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  143. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -251
  144. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -807
  145. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  146. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  147. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  148. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -541
  149. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  150. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  151. package/artifacts/exe/dist/node_modules/node-gyp/gyp/pyproject.toml +0 -116
  152. package/artifacts/exe/dist/node_modules/node-gyp/gyp/release-please-config.json +0 -11
  153. package/artifacts/exe/dist/node_modules/node-gyp/gyp/test_gyp.py +0 -260
  154. package/artifacts/exe/dist/node_modules/node-gyp/lib/Find-VisualStudio.cs +0 -250
  155. package/artifacts/exe/dist/node_modules/node-gyp/lib/build.js +0 -230
  156. package/artifacts/exe/dist/node_modules/node-gyp/lib/clean.js +0 -15
  157. package/artifacts/exe/dist/node_modules/node-gyp/lib/configure.js +0 -328
  158. package/artifacts/exe/dist/node_modules/node-gyp/lib/create-config-gypi.js +0 -153
  159. package/artifacts/exe/dist/node_modules/node-gyp/lib/download.js +0 -86
  160. package/artifacts/exe/dist/node_modules/node-gyp/lib/find-node-directory.js +0 -63
  161. package/artifacts/exe/dist/node_modules/node-gyp/lib/find-python.js +0 -304
  162. package/artifacts/exe/dist/node_modules/node-gyp/lib/find-visualstudio.js +0 -606
  163. package/artifacts/exe/dist/node_modules/node-gyp/lib/install.js +0 -411
  164. package/artifacts/exe/dist/node_modules/node-gyp/lib/list.js +0 -26
  165. package/artifacts/exe/dist/node_modules/node-gyp/lib/log.js +0 -168
  166. package/artifacts/exe/dist/node_modules/node-gyp/lib/node-gyp.js +0 -199
  167. package/artifacts/exe/dist/node_modules/node-gyp/lib/process-release.js +0 -144
  168. package/artifacts/exe/dist/node_modules/node-gyp/lib/rebuild.js +0 -12
  169. package/artifacts/exe/dist/node_modules/node-gyp/lib/remove.js +0 -43
  170. package/artifacts/exe/dist/node_modules/node-gyp/lib/util.js +0 -81
  171. package/artifacts/exe/dist/node_modules/node-gyp/macOS_Catalina_acid_test.sh +0 -21
  172. package/artifacts/exe/dist/node_modules/node-gyp/package.json +0 -52
  173. package/artifacts/exe/dist/node_modules/node-gyp/release-please-config.json +0 -40
  174. package/artifacts/exe/dist/node_modules/node-gyp/src/win_delay_load_hook.cc +0 -41
  175. package/artifacts/exe/dist/node_modules/nopt/LICENSE +0 -15
  176. package/artifacts/exe/dist/node_modules/nopt/bin/nopt.js +0 -29
  177. package/artifacts/exe/dist/node_modules/nopt/lib/debug.js +0 -5
  178. package/artifacts/exe/dist/node_modules/nopt/lib/nopt-lib.js +0 -514
  179. package/artifacts/exe/dist/node_modules/nopt/lib/nopt.js +0 -34
  180. package/artifacts/exe/dist/node_modules/nopt/lib/type-defs.js +0 -91
  181. package/artifacts/exe/dist/node_modules/nopt/package.json +0 -52
  182. package/artifacts/exe/dist/node_modules/picomatch/LICENSE +0 -21
  183. package/artifacts/exe/dist/node_modules/picomatch/index.js +0 -17
  184. package/artifacts/exe/dist/node_modules/picomatch/lib/constants.js +0 -184
  185. package/artifacts/exe/dist/node_modules/picomatch/lib/parse.js +0 -1416
  186. package/artifacts/exe/dist/node_modules/picomatch/lib/picomatch.js +0 -361
  187. package/artifacts/exe/dist/node_modules/picomatch/lib/scan.js +0 -391
  188. package/artifacts/exe/dist/node_modules/picomatch/lib/utils.js +0 -72
  189. package/artifacts/exe/dist/node_modules/picomatch/package.json +0 -83
  190. package/artifacts/exe/dist/node_modules/picomatch/posix.js +0 -3
  191. package/artifacts/exe/dist/node_modules/proc-log/LICENSE +0 -15
  192. package/artifacts/exe/dist/node_modules/proc-log/lib/index.js +0 -158
  193. package/artifacts/exe/dist/node_modules/proc-log/package.json +0 -46
  194. package/artifacts/exe/dist/node_modules/semver/LICENSE +0 -15
  195. package/artifacts/exe/dist/node_modules/semver/bin/semver.js +0 -195
  196. package/artifacts/exe/dist/node_modules/semver/classes/comparator.js +0 -143
  197. package/artifacts/exe/dist/node_modules/semver/classes/index.js +0 -7
  198. package/artifacts/exe/dist/node_modules/semver/classes/range.js +0 -577
  199. package/artifacts/exe/dist/node_modules/semver/classes/semver.js +0 -350
  200. package/artifacts/exe/dist/node_modules/semver/functions/clean.js +0 -8
  201. package/artifacts/exe/dist/node_modules/semver/functions/cmp.js +0 -54
  202. package/artifacts/exe/dist/node_modules/semver/functions/coerce.js +0 -62
  203. package/artifacts/exe/dist/node_modules/semver/functions/compare-build.js +0 -9
  204. package/artifacts/exe/dist/node_modules/semver/functions/compare-loose.js +0 -5
  205. package/artifacts/exe/dist/node_modules/semver/functions/compare.js +0 -7
  206. package/artifacts/exe/dist/node_modules/semver/functions/diff.js +0 -60
  207. package/artifacts/exe/dist/node_modules/semver/functions/eq.js +0 -5
  208. package/artifacts/exe/dist/node_modules/semver/functions/gt.js +0 -5
  209. package/artifacts/exe/dist/node_modules/semver/functions/gte.js +0 -5
  210. package/artifacts/exe/dist/node_modules/semver/functions/inc.js +0 -21
  211. package/artifacts/exe/dist/node_modules/semver/functions/lt.js +0 -5
  212. package/artifacts/exe/dist/node_modules/semver/functions/lte.js +0 -5
  213. package/artifacts/exe/dist/node_modules/semver/functions/major.js +0 -5
  214. package/artifacts/exe/dist/node_modules/semver/functions/minor.js +0 -5
  215. package/artifacts/exe/dist/node_modules/semver/functions/neq.js +0 -5
  216. package/artifacts/exe/dist/node_modules/semver/functions/parse.js +0 -18
  217. package/artifacts/exe/dist/node_modules/semver/functions/patch.js +0 -5
  218. package/artifacts/exe/dist/node_modules/semver/functions/prerelease.js +0 -8
  219. package/artifacts/exe/dist/node_modules/semver/functions/rcompare.js +0 -5
  220. package/artifacts/exe/dist/node_modules/semver/functions/rsort.js +0 -5
  221. package/artifacts/exe/dist/node_modules/semver/functions/satisfies.js +0 -12
  222. package/artifacts/exe/dist/node_modules/semver/functions/sort.js +0 -5
  223. package/artifacts/exe/dist/node_modules/semver/functions/truncate.js +0 -48
  224. package/artifacts/exe/dist/node_modules/semver/functions/valid.js +0 -8
  225. package/artifacts/exe/dist/node_modules/semver/index.js +0 -93
  226. package/artifacts/exe/dist/node_modules/semver/internal/constants.js +0 -37
  227. package/artifacts/exe/dist/node_modules/semver/internal/debug.js +0 -11
  228. package/artifacts/exe/dist/node_modules/semver/internal/identifiers.js +0 -29
  229. package/artifacts/exe/dist/node_modules/semver/internal/lrucache.js +0 -42
  230. package/artifacts/exe/dist/node_modules/semver/internal/parse-options.js +0 -17
  231. package/artifacts/exe/dist/node_modules/semver/internal/re.js +0 -223
  232. package/artifacts/exe/dist/node_modules/semver/package.json +0 -78
  233. package/artifacts/exe/dist/node_modules/semver/preload.js +0 -4
  234. package/artifacts/exe/dist/node_modules/semver/range.bnf +0 -17
  235. package/artifacts/exe/dist/node_modules/semver/ranges/gtr.js +0 -6
  236. package/artifacts/exe/dist/node_modules/semver/ranges/intersects.js +0 -9
  237. package/artifacts/exe/dist/node_modules/semver/ranges/ltr.js +0 -6
  238. package/artifacts/exe/dist/node_modules/semver/ranges/max-satisfying.js +0 -27
  239. package/artifacts/exe/dist/node_modules/semver/ranges/min-satisfying.js +0 -26
  240. package/artifacts/exe/dist/node_modules/semver/ranges/min-version.js +0 -63
  241. package/artifacts/exe/dist/node_modules/semver/ranges/outside.js +0 -82
  242. package/artifacts/exe/dist/node_modules/semver/ranges/simplify.js +0 -49
  243. package/artifacts/exe/dist/node_modules/semver/ranges/subset.js +0 -249
  244. package/artifacts/exe/dist/node_modules/semver/ranges/to-comparators.js +0 -10
  245. package/artifacts/exe/dist/node_modules/semver/ranges/valid.js +0 -13
  246. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/create.js +0 -82
  247. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/cwd-error.js +0 -18
  248. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/extract.js +0 -88
  249. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/get-write-flag.js +0 -32
  250. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/header.js +0 -348
  251. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/index.js +0 -64
  252. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/index.min.js +0 -4
  253. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/large-numbers.js +0 -99
  254. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/list.js +0 -153
  255. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/make-command.js +0 -52
  256. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/mkdir.js +0 -187
  257. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/mode-fix.js +0 -29
  258. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/normalize-unicode.js +0 -38
  259. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/normalize-windows-path.js +0 -12
  260. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/options.js +0 -66
  261. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/pack.js +0 -544
  262. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/package.json +0 -3
  263. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/parse.js +0 -655
  264. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/path-reservations.js +0 -170
  265. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/pax.js +0 -182
  266. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/process-umask.js +0 -7
  267. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/read-entry.js +0 -136
  268. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/replace.js +0 -227
  269. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/strip-absolute-path.js +0 -29
  270. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +0 -18
  271. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/symlink-error.js +0 -19
  272. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/types.js +0 -70
  273. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/unpack.js +0 -932
  274. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/update.js +0 -33
  275. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/warn-method.js +0 -31
  276. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/winchars.js +0 -14
  277. package/artifacts/exe/dist/node_modules/tar/dist/commonjs/write-entry.js +0 -698
  278. package/artifacts/exe/dist/node_modules/tar/dist/esm/create.js +0 -76
  279. package/artifacts/exe/dist/node_modules/tar/dist/esm/cwd-error.js +0 -14
  280. package/artifacts/exe/dist/node_modules/tar/dist/esm/extract.js +0 -49
  281. package/artifacts/exe/dist/node_modules/tar/dist/esm/get-write-flag.js +0 -26
  282. package/artifacts/exe/dist/node_modules/tar/dist/esm/header.js +0 -311
  283. package/artifacts/exe/dist/node_modules/tar/dist/esm/index.js +0 -20
  284. package/artifacts/exe/dist/node_modules/tar/dist/esm/index.min.js +0 -4
  285. package/artifacts/exe/dist/node_modules/tar/dist/esm/large-numbers.js +0 -94
  286. package/artifacts/exe/dist/node_modules/tar/dist/esm/list.js +0 -113
  287. package/artifacts/exe/dist/node_modules/tar/dist/esm/make-command.js +0 -48
  288. package/artifacts/exe/dist/node_modules/tar/dist/esm/mkdir.js +0 -179
  289. package/artifacts/exe/dist/node_modules/tar/dist/esm/mode-fix.js +0 -25
  290. package/artifacts/exe/dist/node_modules/tar/dist/esm/normalize-unicode.js +0 -34
  291. package/artifacts/exe/dist/node_modules/tar/dist/esm/normalize-windows-path.js +0 -9
  292. package/artifacts/exe/dist/node_modules/tar/dist/esm/options.js +0 -54
  293. package/artifacts/exe/dist/node_modules/tar/dist/esm/pack.js +0 -502
  294. package/artifacts/exe/dist/node_modules/tar/dist/esm/package.json +0 -3
  295. package/artifacts/exe/dist/node_modules/tar/dist/esm/parse.js +0 -651
  296. package/artifacts/exe/dist/node_modules/tar/dist/esm/path-reservations.js +0 -166
  297. package/artifacts/exe/dist/node_modules/tar/dist/esm/pax.js +0 -178
  298. package/artifacts/exe/dist/node_modules/tar/dist/esm/process-umask.js +0 -3
  299. package/artifacts/exe/dist/node_modules/tar/dist/esm/read-entry.js +0 -132
  300. package/artifacts/exe/dist/node_modules/tar/dist/esm/replace.js +0 -221
  301. package/artifacts/exe/dist/node_modules/tar/dist/esm/strip-absolute-path.js +0 -25
  302. package/artifacts/exe/dist/node_modules/tar/dist/esm/strip-trailing-slashes.js +0 -14
  303. package/artifacts/exe/dist/node_modules/tar/dist/esm/symlink-error.js +0 -15
  304. package/artifacts/exe/dist/node_modules/tar/dist/esm/types.js +0 -65
  305. package/artifacts/exe/dist/node_modules/tar/dist/esm/unpack.js +0 -891
  306. package/artifacts/exe/dist/node_modules/tar/dist/esm/update.js +0 -30
  307. package/artifacts/exe/dist/node_modules/tar/dist/esm/warn-method.js +0 -27
  308. package/artifacts/exe/dist/node_modules/tar/dist/esm/winchars.js +0 -9
  309. package/artifacts/exe/dist/node_modules/tar/dist/esm/write-entry.js +0 -656
  310. package/artifacts/exe/dist/node_modules/tar/package.json +0 -298
  311. package/artifacts/exe/dist/node_modules/tinyglobby/LICENSE +0 -21
  312. package/artifacts/exe/dist/node_modules/tinyglobby/dist/index.cjs +0 -335
  313. package/artifacts/exe/dist/node_modules/tinyglobby/dist/index.d.cts +0 -148
  314. package/artifacts/exe/dist/node_modules/tinyglobby/dist/index.d.mts +0 -148
  315. package/artifacts/exe/dist/node_modules/tinyglobby/dist/index.mjs +0 -307
  316. package/artifacts/exe/dist/node_modules/tinyglobby/package.json +0 -70
  317. package/artifacts/exe/dist/node_modules/undici/LICENSE +0 -21
  318. package/artifacts/exe/dist/node_modules/undici/index-fetch.js +0 -35
  319. package/artifacts/exe/dist/node_modules/undici/index.js +0 -169
  320. package/artifacts/exe/dist/node_modules/undici/lib/api/abort-signal.js +0 -57
  321. package/artifacts/exe/dist/node_modules/undici/lib/api/api-connect.js +0 -108
  322. package/artifacts/exe/dist/node_modules/undici/lib/api/api-pipeline.js +0 -251
  323. package/artifacts/exe/dist/node_modules/undici/lib/api/api-request.js +0 -214
  324. package/artifacts/exe/dist/node_modules/undici/lib/api/api-stream.js +0 -220
  325. package/artifacts/exe/dist/node_modules/undici/lib/api/api-upgrade.js +0 -108
  326. package/artifacts/exe/dist/node_modules/undici/lib/api/index.js +0 -7
  327. package/artifacts/exe/dist/node_modules/undici/lib/api/readable.js +0 -385
  328. package/artifacts/exe/dist/node_modules/undici/lib/api/util.js +0 -93
  329. package/artifacts/exe/dist/node_modules/undici/lib/core/connect.js +0 -240
  330. package/artifacts/exe/dist/node_modules/undici/lib/core/constants.js +0 -118
  331. package/artifacts/exe/dist/node_modules/undici/lib/core/diagnostics.js +0 -202
  332. package/artifacts/exe/dist/node_modules/undici/lib/core/errors.js +0 -425
  333. package/artifacts/exe/dist/node_modules/undici/lib/core/request.js +0 -416
  334. package/artifacts/exe/dist/node_modules/undici/lib/core/symbols.js +0 -67
  335. package/artifacts/exe/dist/node_modules/undici/lib/core/tree.js +0 -152
  336. package/artifacts/exe/dist/node_modules/undici/lib/core/util.js +0 -719
  337. package/artifacts/exe/dist/node_modules/undici/lib/dispatcher/agent.js +0 -129
  338. package/artifacts/exe/dist/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -209
  339. package/artifacts/exe/dist/node_modules/undici/lib/dispatcher/client-h1.js +0 -1496
  340. package/artifacts/exe/dist/node_modules/undici/lib/dispatcher/client-h2.js +0 -744
  341. package/artifacts/exe/dist/node_modules/undici/lib/dispatcher/client.js +0 -623
  342. package/artifacts/exe/dist/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -199
  343. package/artifacts/exe/dist/node_modules/undici/lib/dispatcher/dispatcher.js +0 -65
  344. package/artifacts/exe/dist/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -160
  345. package/artifacts/exe/dist/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -117
  346. package/artifacts/exe/dist/node_modules/undici/lib/dispatcher/pool-base.js +0 -194
  347. package/artifacts/exe/dist/node_modules/undici/lib/dispatcher/pool-stats.js +0 -34
  348. package/artifacts/exe/dist/node_modules/undici/lib/dispatcher/pool.js +0 -107
  349. package/artifacts/exe/dist/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -274
  350. package/artifacts/exe/dist/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
  351. package/artifacts/exe/dist/node_modules/undici/lib/global.js +0 -32
  352. package/artifacts/exe/dist/node_modules/undici/lib/handler/decorator-handler.js +0 -44
  353. package/artifacts/exe/dist/node_modules/undici/lib/handler/redirect-handler.js +0 -232
  354. package/artifacts/exe/dist/node_modules/undici/lib/handler/retry-handler.js +0 -408
  355. package/artifacts/exe/dist/node_modules/undici/lib/interceptor/dns.js +0 -375
  356. package/artifacts/exe/dist/node_modules/undici/lib/interceptor/dump.js +0 -123
  357. package/artifacts/exe/dist/node_modules/undici/lib/interceptor/redirect-interceptor.js +0 -21
  358. package/artifacts/exe/dist/node_modules/undici/lib/interceptor/redirect.js +0 -24
  359. package/artifacts/exe/dist/node_modules/undici/lib/interceptor/response-error.js +0 -86
  360. package/artifacts/exe/dist/node_modules/undici/lib/interceptor/retry.js +0 -19
  361. package/artifacts/exe/dist/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  362. package/artifacts/exe/dist/node_modules/undici/lib/llhttp/constants.js +0 -278
  363. package/artifacts/exe/dist/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -5
  364. package/artifacts/exe/dist/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -5
  365. package/artifacts/exe/dist/node_modules/undici/lib/llhttp/utils.js +0 -15
  366. package/artifacts/exe/dist/node_modules/undici/lib/mock/mock-agent.js +0 -160
  367. package/artifacts/exe/dist/node_modules/undici/lib/mock/mock-client.js +0 -59
  368. package/artifacts/exe/dist/node_modules/undici/lib/mock/mock-errors.js +0 -28
  369. package/artifacts/exe/dist/node_modules/undici/lib/mock/mock-interceptor.js +0 -207
  370. package/artifacts/exe/dist/node_modules/undici/lib/mock/mock-pool.js +0 -59
  371. package/artifacts/exe/dist/node_modules/undici/lib/mock/mock-symbols.js +0 -23
  372. package/artifacts/exe/dist/node_modules/undici/lib/mock/mock-utils.js +0 -367
  373. package/artifacts/exe/dist/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  374. package/artifacts/exe/dist/node_modules/undici/lib/mock/pluralizer.js +0 -29
  375. package/artifacts/exe/dist/node_modules/undici/lib/util/timers.js +0 -423
  376. package/artifacts/exe/dist/node_modules/undici/lib/web/cache/cache.js +0 -859
  377. package/artifacts/exe/dist/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  378. package/artifacts/exe/dist/node_modules/undici/lib/web/cache/symbols.js +0 -5
  379. package/artifacts/exe/dist/node_modules/undici/lib/web/cache/util.js +0 -45
  380. package/artifacts/exe/dist/node_modules/undici/lib/web/cookies/constants.js +0 -12
  381. package/artifacts/exe/dist/node_modules/undici/lib/web/cookies/index.js +0 -184
  382. package/artifacts/exe/dist/node_modules/undici/lib/web/cookies/parse.js +0 -310
  383. package/artifacts/exe/dist/node_modules/undici/lib/web/cookies/util.js +0 -352
  384. package/artifacts/exe/dist/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -398
  385. package/artifacts/exe/dist/node_modules/undici/lib/web/eventsource/eventsource.js +0 -480
  386. package/artifacts/exe/dist/node_modules/undici/lib/web/eventsource/util.js +0 -37
  387. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  388. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/body.js +0 -529
  389. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/constants.js +0 -124
  390. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/data-url.js +0 -744
  391. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/dispatcher-weakref.js +0 -46
  392. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/file.js +0 -126
  393. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -474
  394. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/formdata.js +0 -252
  395. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/global.js +0 -40
  396. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/headers.js +0 -687
  397. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/index.js +0 -2272
  398. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/request.js +0 -1037
  399. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/response.js +0 -610
  400. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/symbols.js +0 -9
  401. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/util.js +0 -1632
  402. package/artifacts/exe/dist/node_modules/undici/lib/web/fetch/webidl.js +0 -695
  403. package/artifacts/exe/dist/node_modules/undici/lib/web/fileapi/encoding.js +0 -290
  404. package/artifacts/exe/dist/node_modules/undici/lib/web/fileapi/filereader.js +0 -344
  405. package/artifacts/exe/dist/node_modules/undici/lib/web/fileapi/progressevent.js +0 -78
  406. package/artifacts/exe/dist/node_modules/undici/lib/web/fileapi/symbols.js +0 -10
  407. package/artifacts/exe/dist/node_modules/undici/lib/web/fileapi/util.js +0 -391
  408. package/artifacts/exe/dist/node_modules/undici/lib/web/websocket/connection.js +0 -371
  409. package/artifacts/exe/dist/node_modules/undici/lib/web/websocket/constants.js +0 -66
  410. package/artifacts/exe/dist/node_modules/undici/lib/web/websocket/events.js +0 -329
  411. package/artifacts/exe/dist/node_modules/undici/lib/web/websocket/frame.js +0 -96
  412. package/artifacts/exe/dist/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -100
  413. package/artifacts/exe/dist/node_modules/undici/lib/web/websocket/receiver.js +0 -513
  414. package/artifacts/exe/dist/node_modules/undici/lib/web/websocket/sender.js +0 -104
  415. package/artifacts/exe/dist/node_modules/undici/lib/web/websocket/symbols.js +0 -12
  416. package/artifacts/exe/dist/node_modules/undici/lib/web/websocket/util.js +0 -322
  417. package/artifacts/exe/dist/node_modules/undici/lib/web/websocket/websocket.js +0 -595
  418. package/artifacts/exe/dist/node_modules/undici/package.json +0 -160
  419. package/artifacts/exe/dist/node_modules/undici/scripts/strip-comments.js +0 -8
  420. package/artifacts/exe/dist/node_modules/v8-compile-cache/LICENSE +0 -21
  421. package/artifacts/exe/dist/node_modules/v8-compile-cache/package.json +0 -34
  422. package/artifacts/exe/dist/node_modules/v8-compile-cache/v8-compile-cache.js +0 -373
  423. package/artifacts/exe/dist/node_modules/which/LICENSE +0 -15
  424. package/artifacts/exe/dist/node_modules/which/bin/which.js +0 -52
  425. package/artifacts/exe/dist/node_modules/which/lib/index.js +0 -111
  426. package/artifacts/exe/dist/node_modules/which/package.json +0 -52
  427. package/artifacts/exe/dist/node_modules/yallist/dist/commonjs/index.js +0 -384
  428. package/artifacts/exe/dist/node_modules/yallist/dist/commonjs/package.json +0 -3
  429. package/artifacts/exe/dist/node_modules/yallist/dist/esm/index.js +0 -379
  430. package/artifacts/exe/dist/node_modules/yallist/dist/esm/package.json +0 -3
  431. package/artifacts/exe/dist/node_modules/yallist/package.json +0 -68
  432. package/artifacts/exe/dist/pnpm.mjs +0 -324459
  433. package/artifacts/exe/dist/pnpmrc +0 -2
  434. package/artifacts/exe/dist/templates/completion.bash +0 -31
  435. package/artifacts/exe/dist/templates/completion.fish +0 -22
  436. package/artifacts/exe/dist/templates/completion.ps1 +0 -193
  437. package/artifacts/exe/dist/templates/completion.zsh +0 -27
  438. package/artifacts/exe/dist/vendor/fastlist-0.3.0-x64.exe +0 -0
  439. package/artifacts/exe/dist/vendor/fastlist-0.3.0-x86.exe +0 -0
  440. package/artifacts/exe/dist/worker.js +0 -12149
@@ -1,128 +0,0 @@
1
- # Copyright (c) 2016 Ben Noordhuis <info@bnoordhuis.nl>. 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
- import json
6
- import os
7
-
8
- import gyp.common
9
- import gyp.xcode_emulation
10
-
11
- generator_additional_non_configuration_keys = []
12
- generator_additional_path_sections = []
13
- generator_extra_sources_for_rules = []
14
- generator_filelist_paths = None
15
- generator_supports_multiple_toolsets = True
16
- generator_wants_sorted_dependencies = False
17
-
18
- # Lifted from make.py. The actual values don't matter much.
19
- generator_default_variables = {
20
- "CONFIGURATION_NAME": "$(BUILDTYPE)",
21
- "EXECUTABLE_PREFIX": "",
22
- "EXECUTABLE_SUFFIX": "",
23
- "INTERMEDIATE_DIR": "$(obj).$(TOOLSET)/$(TARGET)/geni",
24
- "PRODUCT_DIR": "$(builddir)",
25
- "RULE_INPUT_DIRNAME": "%(INPUT_DIRNAME)s",
26
- "RULE_INPUT_EXT": "$(suffix $<)",
27
- "RULE_INPUT_NAME": "$(notdir $<)",
28
- "RULE_INPUT_PATH": "$(abspath $<)",
29
- "RULE_INPUT_ROOT": "%(INPUT_ROOT)s",
30
- "SHARED_INTERMEDIATE_DIR": "$(obj)/gen",
31
- "SHARED_LIB_PREFIX": "lib",
32
- "STATIC_LIB_PREFIX": "lib",
33
- "STATIC_LIB_SUFFIX": ".a",
34
- }
35
-
36
-
37
- def IsMac(params):
38
- return gyp.common.GetFlavor(params) == "mac"
39
-
40
-
41
- def CalculateVariables(default_variables, params):
42
- default_variables.setdefault("OS", gyp.common.GetFlavor(params))
43
-
44
-
45
- def AddCommandsForTarget(cwd, target, params, per_config_commands):
46
- output_dir = params["generator_flags"].get("output_dir", "out")
47
- for configuration_name, configuration in target["configurations"].items():
48
- if IsMac(params):
49
- xcode_settings = gyp.xcode_emulation.XcodeSettings(target)
50
- cflags = xcode_settings.GetCflags(configuration_name)
51
- cflags_c = xcode_settings.GetCflagsC(configuration_name)
52
- cflags_cc = xcode_settings.GetCflagsCC(configuration_name)
53
- else:
54
- cflags = configuration.get("cflags", [])
55
- cflags_c = configuration.get("cflags_c", [])
56
- cflags_cc = configuration.get("cflags_cc", [])
57
-
58
- cflags_c = cflags + cflags_c
59
- cflags_cc = cflags + cflags_cc
60
-
61
- defines = configuration.get("defines", [])
62
- defines = ["-D" + s for s in defines]
63
-
64
- # TODO(bnoordhuis) Handle generated source files.
65
- extensions = (".c", ".cc", ".cpp", ".cxx")
66
- sources = [s for s in target.get("sources", []) if s.endswith(extensions)]
67
-
68
- def resolve(filename):
69
- return os.path.abspath(os.path.join(cwd, filename))
70
-
71
- # TODO(bnoordhuis) Handle generated header files.
72
- include_dirs = configuration.get("include_dirs", [])
73
- include_dirs = [s for s in include_dirs if not s.startswith("$(obj)")]
74
- includes = ["-I" + resolve(s) for s in include_dirs]
75
-
76
- defines = gyp.common.EncodePOSIXShellList(defines)
77
- includes = gyp.common.EncodePOSIXShellList(includes)
78
- cflags_c = gyp.common.EncodePOSIXShellList(cflags_c)
79
- cflags_cc = gyp.common.EncodePOSIXShellList(cflags_cc)
80
-
81
- commands = per_config_commands.setdefault(configuration_name, [])
82
- for source in sources:
83
- file = resolve(source)
84
- isc = source.endswith(".c")
85
- cc = "cc" if isc else "c++"
86
- cflags = cflags_c if isc else cflags_cc
87
- command = " ".join(
88
- (
89
- cc,
90
- defines,
91
- includes,
92
- cflags,
93
- "-c",
94
- gyp.common.EncodePOSIXShellArgument(file),
95
- )
96
- )
97
- commands.append({"command": command, "directory": output_dir, "file": file})
98
-
99
-
100
- def GenerateOutput(target_list, target_dicts, data, params):
101
- per_config_commands = {}
102
- for qualified_target, target in target_dicts.items():
103
- build_file, _target_name, _toolset = gyp.common.ParseQualifiedTarget(
104
- qualified_target
105
- )
106
- if IsMac(params):
107
- settings = data[build_file]
108
- gyp.xcode_emulation.MergeGlobalXcodeSettingsToSpec(settings, target)
109
- cwd = os.path.dirname(build_file)
110
- AddCommandsForTarget(cwd, target, params, per_config_commands)
111
-
112
- output_dir = None
113
- try:
114
- # generator_output can be `None` on Windows machines, or even not
115
- # defined in other cases
116
- output_dir = params.get("options").generator_output
117
- except AttributeError:
118
- pass
119
- output_dir = output_dir or params["generator_flags"].get("output_dir", "out")
120
- for configuration_name, commands in per_config_commands.items():
121
- filename = os.path.join(output_dir, configuration_name, "compile_commands.json")
122
- gyp.common.EnsureDirExists(filename)
123
- fp = open(filename, "w")
124
- json.dump(commands, fp=fp, indent=0, check_circular=False)
125
-
126
-
127
- def PerformBuild(data, configurations, params):
128
- pass
@@ -1,104 +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 json
7
- import os
8
-
9
- import gyp
10
- import gyp.common
11
- import gyp.msvs_emulation
12
-
13
- generator_supports_multiple_toolsets = True
14
-
15
- generator_wants_static_library_dependencies_adjusted = False
16
-
17
- generator_filelist_paths = {}
18
-
19
- generator_default_variables = {}
20
- for dirname in [
21
- "INTERMEDIATE_DIR",
22
- "SHARED_INTERMEDIATE_DIR",
23
- "PRODUCT_DIR",
24
- "LIB_DIR",
25
- "SHARED_LIB_DIR",
26
- ]:
27
- # Some gyp steps fail if these are empty(!).
28
- generator_default_variables[dirname] = "dir"
29
- for unused in [
30
- "RULE_INPUT_PATH",
31
- "RULE_INPUT_ROOT",
32
- "RULE_INPUT_NAME",
33
- "RULE_INPUT_DIRNAME",
34
- "RULE_INPUT_EXT",
35
- "EXECUTABLE_PREFIX",
36
- "EXECUTABLE_SUFFIX",
37
- "STATIC_LIB_PREFIX",
38
- "STATIC_LIB_SUFFIX",
39
- "SHARED_LIB_PREFIX",
40
- "SHARED_LIB_SUFFIX",
41
- "CONFIGURATION_NAME",
42
- ]:
43
- generator_default_variables[unused] = ""
44
-
45
-
46
- def CalculateVariables(default_variables, params):
47
- generator_flags = params.get("generator_flags", {})
48
- for key, val in generator_flags.items():
49
- default_variables.setdefault(key, val)
50
- default_variables.setdefault("OS", gyp.common.GetFlavor(params))
51
-
52
- flavor = gyp.common.GetFlavor(params)
53
- if flavor == "win":
54
- gyp.msvs_emulation.CalculateCommonVariables(default_variables, params)
55
-
56
-
57
- def CalculateGeneratorInputInfo(params):
58
- """Calculate the generator specific info that gets fed to input (called by
59
- gyp)."""
60
- generator_flags = params.get("generator_flags", {})
61
- if generator_flags.get("adjust_static_libraries", False):
62
- global generator_wants_static_library_dependencies_adjusted
63
- generator_wants_static_library_dependencies_adjusted = True
64
-
65
- toplevel = params["options"].toplevel_dir
66
- generator_dir = os.path.relpath(params["options"].generator_output or ".")
67
- # output_dir: relative path from generator_dir to the build directory.
68
- output_dir = generator_flags.get("output_dir", "out")
69
- qualified_out_dir = os.path.normpath(
70
- os.path.join(toplevel, generator_dir, output_dir, "gypfiles")
71
- )
72
- global generator_filelist_paths
73
- generator_filelist_paths = {
74
- "toplevel": toplevel,
75
- "qualified_out_dir": qualified_out_dir,
76
- }
77
-
78
-
79
- def GenerateOutput(target_list, target_dicts, data, params):
80
- # Map of target -> list of targets it depends on.
81
- edges = {}
82
-
83
- # Queue of targets to visit.
84
- targets_to_visit = target_list[:]
85
-
86
- while len(targets_to_visit) > 0:
87
- target = targets_to_visit.pop()
88
- if target in edges:
89
- continue
90
- edges[target] = []
91
-
92
- for dep in target_dicts[target].get("dependencies", []):
93
- edges[target].append(dep)
94
- targets_to_visit.append(dep)
95
-
96
- try:
97
- filepath = params["generator_flags"]["output_dir"]
98
- except KeyError:
99
- filepath = "."
100
- filename = os.path.join(filepath, "dump.json")
101
- f = open(filename, "w")
102
- json.dump(edges, f)
103
- f.close()
104
- print("Wrote json to %s." % filename)
@@ -1,461 +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
- """GYP backend that generates Eclipse CDT settings files.
6
-
7
- This backend DOES NOT generate Eclipse CDT projects. Instead, it generates XML
8
- files that can be imported into an Eclipse CDT project. The XML file contains a
9
- list of include paths and symbols (i.e. defines).
10
-
11
- Because a full .cproject definition is not created by this generator, it's not
12
- possible to properly define the include dirs and symbols for each file
13
- individually. Instead, one set of includes/symbols is generated for the entire
14
- project. This works fairly well (and is a vast improvement in general), but may
15
- still result in a few indexer issues here and there.
16
-
17
- This generator has no automated tests, so expect it to be broken.
18
- """
19
-
20
- import os.path
21
- import shlex
22
- import subprocess
23
- import xml.etree.ElementTree as ET
24
- from xml.sax.saxutils import escape
25
-
26
- import gyp
27
- import gyp.common
28
- import gyp.msvs_emulation
29
-
30
- generator_wants_static_library_dependencies_adjusted = False
31
-
32
- generator_default_variables = {}
33
-
34
- for dirname in ["INTERMEDIATE_DIR", "PRODUCT_DIR", "LIB_DIR", "SHARED_LIB_DIR"]:
35
- # Some gyp steps fail if these are empty(!), so we convert them to variables
36
- generator_default_variables[dirname] = "$" + dirname
37
-
38
- for unused in [
39
- "RULE_INPUT_PATH",
40
- "RULE_INPUT_ROOT",
41
- "RULE_INPUT_NAME",
42
- "RULE_INPUT_DIRNAME",
43
- "RULE_INPUT_EXT",
44
- "EXECUTABLE_PREFIX",
45
- "EXECUTABLE_SUFFIX",
46
- "STATIC_LIB_PREFIX",
47
- "STATIC_LIB_SUFFIX",
48
- "SHARED_LIB_PREFIX",
49
- "SHARED_LIB_SUFFIX",
50
- "CONFIGURATION_NAME",
51
- ]:
52
- generator_default_variables[unused] = ""
53
-
54
- # Include dirs will occasionally use the SHARED_INTERMEDIATE_DIR variable as
55
- # part of the path when dealing with generated headers. This value will be
56
- # replaced dynamically for each configuration.
57
- generator_default_variables["SHARED_INTERMEDIATE_DIR"] = "$SHARED_INTERMEDIATE_DIR"
58
-
59
-
60
- def CalculateVariables(default_variables, params):
61
- generator_flags = params.get("generator_flags", {})
62
- for key, val in generator_flags.items():
63
- default_variables.setdefault(key, val)
64
- flavor = gyp.common.GetFlavor(params)
65
- default_variables.setdefault("OS", flavor)
66
- if flavor == "win":
67
- gyp.msvs_emulation.CalculateCommonVariables(default_variables, params)
68
-
69
-
70
- def CalculateGeneratorInputInfo(params):
71
- """Calculate the generator specific info that gets fed to input (called by
72
- gyp)."""
73
- generator_flags = params.get("generator_flags", {})
74
- if generator_flags.get("adjust_static_libraries", False):
75
- global generator_wants_static_library_dependencies_adjusted
76
- generator_wants_static_library_dependencies_adjusted = True
77
-
78
-
79
- def GetAllIncludeDirectories(
80
- target_list,
81
- target_dicts,
82
- shared_intermediate_dirs,
83
- config_name,
84
- params,
85
- compiler_path,
86
- ):
87
- """Calculate the set of include directories to be used.
88
-
89
- Returns:
90
- A list including all the include_dir's specified for every target followed
91
- by any include directories that were added as cflag compiler options.
92
- """
93
-
94
- gyp_includes_set = set()
95
- compiler_includes_list = []
96
-
97
- # Find compiler's default include dirs.
98
- if compiler_path:
99
- command = shlex.split(compiler_path)
100
- command.extend(["-E", "-xc++", "-v", "-"])
101
- proc = subprocess.Popen(
102
- args=command,
103
- stdin=subprocess.PIPE,
104
- stdout=subprocess.PIPE,
105
- stderr=subprocess.PIPE,
106
- )
107
- output = proc.communicate()[1].decode("utf-8")
108
- # Extract the list of include dirs from the output, which has this format:
109
- # ...
110
- # #include "..." search starts here:
111
- # #include <...> search starts here:
112
- # /usr/include/c++/4.6
113
- # /usr/local/include
114
- # End of search list.
115
- # ...
116
- in_include_list = False
117
- for line in output.splitlines():
118
- if line.startswith("#include"):
119
- in_include_list = True
120
- continue
121
- if line.startswith("End of search list."):
122
- break
123
- if in_include_list:
124
- include_dir = line.strip()
125
- if include_dir not in compiler_includes_list:
126
- compiler_includes_list.append(include_dir)
127
-
128
- flavor = gyp.common.GetFlavor(params)
129
- if flavor == "win":
130
- generator_flags = params.get("generator_flags", {})
131
- for target_name in target_list:
132
- target = target_dicts[target_name]
133
- if config_name in target["configurations"]:
134
- config = target["configurations"][config_name]
135
-
136
- # Look for any include dirs that were explicitly added via cflags. This
137
- # may be done in gyp files to force certain includes to come at the end.
138
- # TODO(jgreenwald): Change the gyp files to not abuse cflags for this, and
139
- # remove this.
140
- if flavor == "win":
141
- msvs_settings = gyp.msvs_emulation.MsvsSettings(target, generator_flags)
142
- cflags = msvs_settings.GetCflags(config_name)
143
- else:
144
- cflags = config["cflags"]
145
- for cflag in cflags:
146
- if cflag.startswith("-I"):
147
- include_dir = cflag[2:]
148
- if include_dir not in compiler_includes_list:
149
- compiler_includes_list.append(include_dir)
150
-
151
- # Find standard gyp include dirs.
152
- if "include_dirs" in config:
153
- include_dirs = config["include_dirs"]
154
- for shared_intermediate_dir in shared_intermediate_dirs:
155
- for include_dir in include_dirs:
156
- include_dir = include_dir.replace(
157
- "$SHARED_INTERMEDIATE_DIR", shared_intermediate_dir
158
- )
159
- if not os.path.isabs(include_dir):
160
- base_dir = os.path.dirname(target_name)
161
-
162
- include_dir = base_dir + "/" + include_dir
163
- include_dir = os.path.abspath(include_dir)
164
-
165
- gyp_includes_set.add(include_dir)
166
-
167
- # Generate a list that has all the include dirs.
168
- all_includes_list = list(gyp_includes_set)
169
- all_includes_list.sort()
170
- for compiler_include in compiler_includes_list:
171
- if compiler_include not in gyp_includes_set:
172
- all_includes_list.append(compiler_include)
173
-
174
- # All done.
175
- return all_includes_list
176
-
177
-
178
- def GetCompilerPath(target_list, data, options):
179
- """Determine a command that can be used to invoke the compiler.
180
-
181
- Returns:
182
- If this is a gyp project that has explicit make settings, try to determine
183
- the compiler from that. Otherwise, see if a compiler was specified via the
184
- CC_target environment variable.
185
- """
186
- # First, see if the compiler is configured in make's settings.
187
- build_file, _, _ = gyp.common.ParseQualifiedTarget(target_list[0])
188
- make_global_settings_dict = data[build_file].get("make_global_settings", {})
189
- for key, value in make_global_settings_dict:
190
- if key in ["CC", "CXX"]:
191
- return os.path.join(options.toplevel_dir, value)
192
-
193
- # Check to see if the compiler was specified as an environment variable.
194
- for key in ["CC_target", "CC", "CXX"]:
195
- compiler = os.environ.get(key)
196
- if compiler:
197
- return compiler
198
-
199
- return "gcc"
200
-
201
-
202
- def GetAllDefines(target_list, target_dicts, data, config_name, params, compiler_path):
203
- """Calculate the defines for a project.
204
-
205
- Returns:
206
- A dict that includes explicit defines declared in gyp files along with all
207
- of the default defines that the compiler uses.
208
- """
209
-
210
- # Get defines declared in the gyp files.
211
- all_defines = {}
212
- flavor = gyp.common.GetFlavor(params)
213
- if flavor == "win":
214
- generator_flags = params.get("generator_flags", {})
215
- for target_name in target_list:
216
- target = target_dicts[target_name]
217
-
218
- if flavor == "win":
219
- msvs_settings = gyp.msvs_emulation.MsvsSettings(target, generator_flags)
220
- extra_defines = msvs_settings.GetComputedDefines(config_name)
221
- else:
222
- extra_defines = []
223
- if config_name in target["configurations"]:
224
- config = target["configurations"][config_name]
225
- target_defines = config["defines"]
226
- else:
227
- target_defines = []
228
- for define in target_defines + extra_defines:
229
- split_define = define.split("=", 1)
230
- if len(split_define) == 1:
231
- split_define.append("1")
232
- if split_define[0].strip() in all_defines:
233
- # Already defined
234
- continue
235
- all_defines[split_define[0].strip()] = split_define[1].strip()
236
- # Get default compiler defines (if possible).
237
- if flavor == "win":
238
- return all_defines # Default defines already processed in the loop above.
239
- if compiler_path:
240
- command = shlex.split(compiler_path)
241
- command.extend(["-E", "-dM", "-"])
242
- cpp_proc = subprocess.Popen(
243
- args=command, cwd=".", stdin=subprocess.PIPE, stdout=subprocess.PIPE
244
- )
245
- cpp_output = cpp_proc.communicate()[0].decode("utf-8")
246
- cpp_lines = cpp_output.split("\n")
247
- for cpp_line in cpp_lines:
248
- if not cpp_line.strip():
249
- continue
250
- cpp_line_parts = cpp_line.split(" ", 2)
251
- key = cpp_line_parts[1]
252
- val = cpp_line_parts[2] if len(cpp_line_parts) >= 3 else "1"
253
- all_defines[key] = val
254
-
255
- return all_defines
256
-
257
-
258
- def WriteIncludePaths(out, eclipse_langs, include_dirs):
259
- """Write the includes section of a CDT settings export file."""
260
-
261
- out.write(
262
- ' <section name="org.eclipse.cdt.internal.ui.wizards.'
263
- 'settingswizards.IncludePaths">\n'
264
- )
265
- out.write(' <language name="holder for library settings"></language>\n')
266
- for lang in eclipse_langs:
267
- out.write(' <language name="%s">\n' % lang)
268
- for include_dir in include_dirs:
269
- out.write(
270
- ' <includepath workspace_path="false">%s</includepath>\n'
271
- % include_dir
272
- )
273
- out.write(" </language>\n")
274
- out.write(" </section>\n")
275
-
276
-
277
- def WriteMacros(out, eclipse_langs, defines):
278
- """Write the macros section of a CDT settings export file."""
279
-
280
- out.write(
281
- ' <section name="org.eclipse.cdt.internal.ui.wizards.'
282
- 'settingswizards.Macros">\n'
283
- )
284
- out.write(' <language name="holder for library settings"></language>\n')
285
- for lang in eclipse_langs:
286
- out.write(' <language name="%s">\n' % lang)
287
- for key in sorted(defines):
288
- out.write(
289
- " <macro><name>%s</name><value>%s</value></macro>\n"
290
- % (escape(key), escape(defines[key]))
291
- )
292
- out.write(" </language>\n")
293
- out.write(" </section>\n")
294
-
295
-
296
- def GenerateOutputForConfig(target_list, target_dicts, data, params, config_name):
297
- options = params["options"]
298
- generator_flags = params.get("generator_flags", {})
299
-
300
- # build_dir: relative path from source root to our output files.
301
- # e.g. "out/Debug"
302
- build_dir = os.path.join(generator_flags.get("output_dir", "out"), config_name)
303
-
304
- toplevel_build = os.path.join(options.toplevel_dir, build_dir)
305
- # Ninja uses out/Debug/gen while make uses out/Debug/obj/gen as the
306
- # SHARED_INTERMEDIATE_DIR. Include both possible locations.
307
- shared_intermediate_dirs = [
308
- os.path.join(toplevel_build, "obj", "gen"),
309
- os.path.join(toplevel_build, "gen"),
310
- ]
311
-
312
- GenerateCdtSettingsFile(
313
- target_list,
314
- target_dicts,
315
- data,
316
- params,
317
- config_name,
318
- os.path.join(toplevel_build, "eclipse-cdt-settings.xml"),
319
- options,
320
- shared_intermediate_dirs,
321
- )
322
- GenerateClasspathFile(
323
- target_list,
324
- target_dicts,
325
- options.toplevel_dir,
326
- toplevel_build,
327
- os.path.join(toplevel_build, "eclipse-classpath.xml"),
328
- )
329
-
330
-
331
- def GenerateCdtSettingsFile(
332
- target_list,
333
- target_dicts,
334
- data,
335
- params,
336
- config_name,
337
- out_name,
338
- options,
339
- shared_intermediate_dirs,
340
- ):
341
- gyp.common.EnsureDirExists(out_name)
342
- with open(out_name, "w") as out:
343
- out.write('<?xml version="1.0" encoding="UTF-8"?>\n')
344
- out.write("<cdtprojectproperties>\n")
345
-
346
- eclipse_langs = [
347
- "C++ Source File",
348
- "C Source File",
349
- "Assembly Source File",
350
- "GNU C++",
351
- "GNU C",
352
- "Assembly",
353
- ]
354
- compiler_path = GetCompilerPath(target_list, data, options)
355
- include_dirs = GetAllIncludeDirectories(
356
- target_list,
357
- target_dicts,
358
- shared_intermediate_dirs,
359
- config_name,
360
- params,
361
- compiler_path,
362
- )
363
- WriteIncludePaths(out, eclipse_langs, include_dirs)
364
- defines = GetAllDefines(
365
- target_list, target_dicts, data, config_name, params, compiler_path
366
- )
367
- WriteMacros(out, eclipse_langs, defines)
368
-
369
- out.write("</cdtprojectproperties>\n")
370
-
371
-
372
- def GenerateClasspathFile(
373
- target_list, target_dicts, toplevel_dir, toplevel_build, out_name
374
- ):
375
- """Generates a classpath file suitable for symbol navigation and code
376
- completion of Java code (such as in Android projects) by finding all
377
- .java and .jar files used as action inputs."""
378
- gyp.common.EnsureDirExists(out_name)
379
- result = ET.Element("classpath")
380
-
381
- def AddElements(kind, paths):
382
- # First, we need to normalize the paths so they are all relative to the
383
- # toplevel dir.
384
- rel_paths = set()
385
- for path in paths:
386
- if os.path.isabs(path):
387
- rel_paths.add(os.path.relpath(path, toplevel_dir))
388
- else:
389
- rel_paths.add(path)
390
-
391
- for path in sorted(rel_paths):
392
- entry_element = ET.SubElement(result, "classpathentry")
393
- entry_element.set("kind", kind)
394
- entry_element.set("path", path)
395
-
396
- AddElements("lib", GetJavaJars(target_list, target_dicts, toplevel_dir))
397
- AddElements("src", GetJavaSourceDirs(target_list, target_dicts, toplevel_dir))
398
- # Include the standard JRE container and a dummy out folder
399
- AddElements("con", ["org.eclipse.jdt.launching.JRE_CONTAINER"])
400
- # Include a dummy out folder so that Eclipse doesn't use the default /bin
401
- # folder in the root of the project.
402
- AddElements("output", [os.path.join(toplevel_build, ".eclipse-java-build")])
403
-
404
- ET.ElementTree(result).write(out_name)
405
-
406
-
407
- def GetJavaJars(target_list, target_dicts, toplevel_dir):
408
- """Generates a sequence of all .jars used as inputs."""
409
- for target_name in target_list:
410
- target = target_dicts[target_name]
411
- for action in target.get("actions", []):
412
- for input_ in action["inputs"]:
413
- if os.path.splitext(input_)[1] == ".jar" and not input_.startswith("$"):
414
- if os.path.isabs(input_):
415
- yield input_
416
- else:
417
- yield os.path.join(os.path.dirname(target_name), input_)
418
-
419
-
420
- def GetJavaSourceDirs(target_list, target_dicts, toplevel_dir):
421
- """Generates a sequence of all likely java package root directories."""
422
- for target_name in target_list:
423
- target = target_dicts[target_name]
424
- for action in target.get("actions", []):
425
- for input_ in action["inputs"]:
426
- if os.path.splitext(input_)[1] == ".java" and not input_.startswith(
427
- "$"
428
- ):
429
- dir_ = os.path.dirname(
430
- os.path.join(os.path.dirname(target_name), input_)
431
- )
432
- # If there is a parent 'src' or 'java' folder, navigate up to it -
433
- # these are canonical package root names in Chromium. This will
434
- # break if 'src' or 'java' exists in the package structure. This
435
- # could be further improved by inspecting the java file for the
436
- # package name if this proves to be too fragile in practice.
437
- parent_search = dir_
438
- while os.path.basename(parent_search) not in ["src", "java"]:
439
- parent_search, _ = os.path.split(parent_search)
440
- if not parent_search or parent_search == toplevel_dir:
441
- # Didn't find a known root, just return the original path
442
- yield dir_
443
- break
444
- else:
445
- yield parent_search
446
-
447
-
448
- def GenerateOutput(target_list, target_dicts, data, params):
449
- """Generate an XML settings file that can be imported into a CDT project."""
450
-
451
- if params["options"].generator_output:
452
- raise NotImplementedError("--generator_output not implemented for eclipse")
453
-
454
- if user_config := params.get("generator_flags", {}).get("config", None):
455
- GenerateOutputForConfig(target_list, target_dicts, data, params, user_config)
456
- else:
457
- config_names = target_dicts[target_list[0]]["configurations"]
458
- for config_name in config_names:
459
- GenerateOutputForConfig(
460
- target_list, target_dicts, data, params, config_name
461
- )