@uides/stepwise 2.0.3 → 2.0.4-platform-162.23-01-26-13-03

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 (565) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
  3. package/generators/node_modules/@isaacs/cliui/build/lib/index.js +0 -211
  4. package/generators/node_modules/@pkgjs/parseargs/examples/is-default-value.js +0 -31
  5. package/generators/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +0 -33
  6. package/generators/node_modules/@pkgjs/parseargs/examples/negate.js +0 -48
  7. package/generators/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +0 -38
  8. package/generators/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +0 -36
  9. package/generators/node_modules/@pkgjs/parseargs/index.js +0 -263
  10. package/generators/node_modules/@pkgjs/parseargs/internal/errors.js +0 -55
  11. package/generators/node_modules/@pkgjs/parseargs/internal/primordials.js +0 -258
  12. package/generators/node_modules/@pkgjs/parseargs/internal/util.js +0 -24
  13. package/generators/node_modules/@pkgjs/parseargs/internal/validators.js +0 -61
  14. package/generators/node_modules/@pkgjs/parseargs/utils.js +0 -86
  15. package/generators/node_modules/ansi-regex/index.js +0 -5
  16. package/generators/node_modules/ansi-styles/index.js +0 -304
  17. package/generators/node_modules/balanced-match/index.js +0 -70
  18. package/generators/node_modules/brace-expansion/index.js +0 -153
  19. package/generators/node_modules/change-case/dist/index.js +0 -135
  20. package/generators/node_modules/change-case/dist/keys.js +0 -28
  21. package/generators/node_modules/color-convert/conversions.js +0 -840
  22. package/generators/node_modules/color-convert/index.js +0 -66
  23. package/generators/node_modules/color-convert/route.js +0 -81
  24. package/generators/node_modules/color-name/index.js +0 -757
  25. package/generators/node_modules/cross-spawn/index.js +0 -47
  26. package/generators/node_modules/cross-spawn/lib/enoent.js +0 -50
  27. package/generators/node_modules/cross-spawn/lib/parse.js +0 -91
  28. package/generators/node_modules/cross-spawn/lib/util/escape.js +0 -31
  29. package/generators/node_modules/cross-spawn/lib/util/readShebang.js +0 -37
  30. package/generators/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -56
  31. package/generators/node_modules/eastasianwidth/eastasianwidth.js +0 -66
  32. package/generators/node_modules/emoji-regex/RGI_Emoji.js +0 -18
  33. package/generators/node_modules/emoji-regex/es2015/RGI_Emoji.js +0 -16
  34. package/generators/node_modules/emoji-regex/es2015/index.js +0 -16
  35. package/generators/node_modules/emoji-regex/es2015/text.js +0 -16
  36. package/generators/node_modules/emoji-regex/index.js +0 -18
  37. package/generators/node_modules/emoji-regex/text.js +0 -18
  38. package/generators/node_modules/flat/cli.js +0 -31
  39. package/generators/node_modules/flat/index.js +0 -83
  40. package/generators/node_modules/foreground-child/dist/cjs/all-signals.js +0 -30
  41. package/generators/node_modules/foreground-child/dist/cjs/index.js +0 -156
  42. package/generators/node_modules/foreground-child/dist/cjs/watchdog.js +0 -63
  43. package/generators/node_modules/foreground-child/dist/mjs/all-signals.js +0 -3
  44. package/generators/node_modules/foreground-child/dist/mjs/index.js +0 -111
  45. package/generators/node_modules/foreground-child/dist/mjs/watchdog.js +0 -39
  46. package/generators/node_modules/glob/dist/commonjs/glob.js +0 -205
  47. package/generators/node_modules/glob/dist/commonjs/has-magic.js +0 -33
  48. package/generators/node_modules/glob/dist/commonjs/ignore.js +0 -87
  49. package/generators/node_modules/glob/dist/commonjs/index.js +0 -114
  50. package/generators/node_modules/glob/dist/commonjs/pattern.js +0 -154
  51. package/generators/node_modules/glob/dist/commonjs/processor.js +0 -214
  52. package/generators/node_modules/glob/dist/commonjs/walker.js +0 -271
  53. package/generators/node_modules/glob/dist/esm/glob.js +0 -165
  54. package/generators/node_modules/glob/dist/esm/has-magic.js +0 -9
  55. package/generators/node_modules/glob/dist/esm/ignore.js +0 -59
  56. package/generators/node_modules/glob/dist/esm/index.js +0 -52
  57. package/generators/node_modules/glob/dist/esm/pattern.js +0 -130
  58. package/generators/node_modules/glob/dist/esm/processor.js +0 -187
  59. package/generators/node_modules/glob/dist/esm/walker.js +0 -237
  60. package/generators/node_modules/is-fullwidth-code-point/index.js +0 -22
  61. package/generators/node_modules/isexe/index.js +0 -64
  62. package/generators/node_modules/isexe/mode.js +0 -46
  63. package/generators/node_modules/isexe/test/basic.js +0 -229
  64. package/generators/node_modules/isexe/windows.js +0 -45
  65. package/generators/node_modules/jackspeak/dist/commonjs/index.js +0 -683
  66. package/generators/node_modules/jackspeak/dist/commonjs/parse-args.js +0 -65
  67. package/generators/node_modules/jackspeak/dist/esm/index.js +0 -640
  68. package/generators/node_modules/jackspeak/dist/esm/parse-args.js +0 -127
  69. package/generators/node_modules/lru-cache/dist/commonjs/index.js +0 -889
  70. package/generators/node_modules/lru-cache/dist/esm/index.js +0 -881
  71. package/generators/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  72. package/generators/node_modules/minimatch/dist/cjs/ast.js +0 -389
  73. package/generators/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -169
  74. package/generators/node_modules/minimatch/dist/cjs/escape.js +0 -10
  75. package/generators/node_modules/minimatch/dist/cjs/index.js +0 -680
  76. package/generators/node_modules/minimatch/dist/cjs/unescape.js +0 -10
  77. package/generators/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -6
  78. package/generators/node_modules/minimatch/dist/mjs/ast.js +0 -361
  79. package/generators/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -161
  80. package/generators/node_modules/minimatch/dist/mjs/escape.js +0 -2
  81. package/generators/node_modules/minimatch/dist/mjs/index.js +0 -612
  82. package/generators/node_modules/minimatch/dist/mjs/unescape.js +0 -2
  83. package/generators/node_modules/minipass/dist/commonjs/index.js +0 -623
  84. package/generators/node_modules/minipass/dist/esm/index.js +0 -584
  85. package/generators/node_modules/path-key/index.js +0 -23
  86. package/generators/node_modules/path-scurry/dist/cjs/index.js +0 -1161
  87. package/generators/node_modules/path-scurry/dist/mjs/index.js +0 -1078
  88. package/generators/node_modules/shebang-command/index.js +0 -28
  89. package/generators/node_modules/shebang-regex/index.js +0 -16
  90. package/generators/node_modules/signal-exit/dist/cjs/browser.js +0 -14
  91. package/generators/node_modules/signal-exit/dist/cjs/index.js +0 -176
  92. package/generators/node_modules/signal-exit/dist/cjs/signals.js +0 -14
  93. package/generators/node_modules/signal-exit/dist/mjs/browser.js +0 -4
  94. package/generators/node_modules/signal-exit/dist/mjs/index.js +0 -146
  95. package/generators/node_modules/signal-exit/dist/mjs/signals.js +0 -5
  96. package/generators/node_modules/string-width/index.js +0 -34
  97. package/generators/node_modules/string-width-cjs/index.js +0 -49
  98. package/generators/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +0 -19
  99. package/generators/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/index.js +0 -16
  100. package/generators/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/text.js +0 -16
  101. package/generators/node_modules/string-width-cjs/node_modules/emoji-regex/index.js +0 -18
  102. package/generators/node_modules/string-width-cjs/node_modules/emoji-regex/text.js +0 -18
  103. package/generators/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +0 -21
  104. package/generators/node_modules/strip-ansi/index.js +0 -7
  105. package/generators/node_modules/strip-ansi-cjs/index.js +0 -21
  106. package/generators/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +0 -19
  107. package/generators/node_modules/which/which.js +0 -108
  108. package/generators/node_modules/wrap-ansi/index.js +0 -134
  109. package/generators/node_modules/wrap-ansi-cjs/index.js +0 -158
  110. package/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +0 -19
  111. package/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/index.js +0 -281
  112. package/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/index.js +0 -16
  113. package/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/text.js +0 -16
  114. package/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.js +0 -18
  115. package/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/text.js +0 -18
  116. package/generators/node_modules/wrap-ansi-cjs/node_modules/string-width/index.js +0 -49
  117. package/generators/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +0 -21
  118. package/src/generators/node_modules/.package-lock.json +0 -458
  119. package/src/generators/node_modules/@isaacs/cliui/LICENSE.txt +0 -14
  120. package/src/generators/node_modules/@isaacs/cliui/README.md +0 -143
  121. package/src/generators/node_modules/@isaacs/cliui/build/index.cjs +0 -317
  122. package/src/generators/node_modules/@isaacs/cliui/build/index.d.cts +0 -43
  123. package/src/generators/node_modules/@isaacs/cliui/build/lib/index.js +0 -302
  124. package/src/generators/node_modules/@isaacs/cliui/index.mjs +0 -14
  125. package/src/generators/node_modules/@isaacs/cliui/package.json +0 -86
  126. package/src/generators/node_modules/@pkgjs/parseargs/.editorconfig +0 -14
  127. package/src/generators/node_modules/@pkgjs/parseargs/CHANGELOG.md +0 -147
  128. package/src/generators/node_modules/@pkgjs/parseargs/LICENSE +0 -201
  129. package/src/generators/node_modules/@pkgjs/parseargs/README.md +0 -413
  130. package/src/generators/node_modules/@pkgjs/parseargs/examples/is-default-value.js +0 -25
  131. package/src/generators/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +0 -35
  132. package/src/generators/node_modules/@pkgjs/parseargs/examples/negate.js +0 -43
  133. package/src/generators/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +0 -31
  134. package/src/generators/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +0 -41
  135. package/src/generators/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +0 -26
  136. package/src/generators/node_modules/@pkgjs/parseargs/index.js +0 -396
  137. package/src/generators/node_modules/@pkgjs/parseargs/internal/errors.js +0 -47
  138. package/src/generators/node_modules/@pkgjs/parseargs/internal/primordials.js +0 -393
  139. package/src/generators/node_modules/@pkgjs/parseargs/internal/util.js +0 -14
  140. package/src/generators/node_modules/@pkgjs/parseargs/internal/validators.js +0 -89
  141. package/src/generators/node_modules/@pkgjs/parseargs/package.json +0 -36
  142. package/src/generators/node_modules/@pkgjs/parseargs/utils.js +0 -198
  143. package/src/generators/node_modules/ansi-regex/index.d.ts +0 -33
  144. package/src/generators/node_modules/ansi-regex/index.js +0 -8
  145. package/src/generators/node_modules/ansi-regex/license +0 -9
  146. package/src/generators/node_modules/ansi-regex/package.json +0 -58
  147. package/src/generators/node_modules/ansi-regex/readme.md +0 -72
  148. package/src/generators/node_modules/ansi-styles/index.d.ts +0 -236
  149. package/src/generators/node_modules/ansi-styles/index.js +0 -223
  150. package/src/generators/node_modules/ansi-styles/license +0 -9
  151. package/src/generators/node_modules/ansi-styles/package.json +0 -54
  152. package/src/generators/node_modules/ansi-styles/readme.md +0 -173
  153. package/src/generators/node_modules/balanced-match/.github/FUNDING.yml +0 -2
  154. package/src/generators/node_modules/balanced-match/LICENSE.md +0 -21
  155. package/src/generators/node_modules/balanced-match/README.md +0 -97
  156. package/src/generators/node_modules/balanced-match/index.js +0 -62
  157. package/src/generators/node_modules/balanced-match/package.json +0 -48
  158. package/src/generators/node_modules/brace-expansion/.github/FUNDING.yml +0 -2
  159. package/src/generators/node_modules/brace-expansion/LICENSE +0 -21
  160. package/src/generators/node_modules/brace-expansion/README.md +0 -135
  161. package/src/generators/node_modules/brace-expansion/index.js +0 -203
  162. package/src/generators/node_modules/brace-expansion/package.json +0 -46
  163. package/src/generators/node_modules/change-case/README.md +0 -78
  164. package/src/generators/node_modules/change-case/dist/index.d.ts +0 -78
  165. package/src/generators/node_modules/change-case/dist/index.js +0 -206
  166. package/src/generators/node_modules/change-case/dist/index.js.map +0 -1
  167. package/src/generators/node_modules/change-case/dist/keys.d.ts +0 -11
  168. package/src/generators/node_modules/change-case/dist/keys.js +0 -31
  169. package/src/generators/node_modules/change-case/dist/keys.js.map +0 -1
  170. package/src/generators/node_modules/change-case/package.json +0 -56
  171. package/src/generators/node_modules/color-convert/CHANGELOG.md +0 -54
  172. package/src/generators/node_modules/color-convert/LICENSE +0 -21
  173. package/src/generators/node_modules/color-convert/README.md +0 -68
  174. package/src/generators/node_modules/color-convert/conversions.js +0 -839
  175. package/src/generators/node_modules/color-convert/index.js +0 -81
  176. package/src/generators/node_modules/color-convert/package.json +0 -48
  177. package/src/generators/node_modules/color-convert/route.js +0 -97
  178. package/src/generators/node_modules/color-name/LICENSE +0 -8
  179. package/src/generators/node_modules/color-name/README.md +0 -11
  180. package/src/generators/node_modules/color-name/index.js +0 -152
  181. package/src/generators/node_modules/color-name/package.json +0 -28
  182. package/src/generators/node_modules/cross-spawn/CHANGELOG.md +0 -130
  183. package/src/generators/node_modules/cross-spawn/LICENSE +0 -21
  184. package/src/generators/node_modules/cross-spawn/README.md +0 -96
  185. package/src/generators/node_modules/cross-spawn/index.js +0 -39
  186. package/src/generators/node_modules/cross-spawn/lib/enoent.js +0 -59
  187. package/src/generators/node_modules/cross-spawn/lib/parse.js +0 -91
  188. package/src/generators/node_modules/cross-spawn/lib/util/escape.js +0 -45
  189. package/src/generators/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
  190. package/src/generators/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
  191. package/src/generators/node_modules/cross-spawn/package.json +0 -73
  192. package/src/generators/node_modules/eastasianwidth/README.md +0 -32
  193. package/src/generators/node_modules/eastasianwidth/eastasianwidth.js +0 -311
  194. package/src/generators/node_modules/eastasianwidth/package.json +0 -18
  195. package/src/generators/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  196. package/src/generators/node_modules/emoji-regex/README.md +0 -137
  197. package/src/generators/node_modules/emoji-regex/RGI_Emoji.d.ts +0 -5
  198. package/src/generators/node_modules/emoji-regex/RGI_Emoji.js +0 -6
  199. package/src/generators/node_modules/emoji-regex/es2015/RGI_Emoji.d.ts +0 -5
  200. package/src/generators/node_modules/emoji-regex/es2015/RGI_Emoji.js +0 -6
  201. package/src/generators/node_modules/emoji-regex/es2015/index.d.ts +0 -5
  202. package/src/generators/node_modules/emoji-regex/es2015/index.js +0 -6
  203. package/src/generators/node_modules/emoji-regex/es2015/text.d.ts +0 -5
  204. package/src/generators/node_modules/emoji-regex/es2015/text.js +0 -6
  205. package/src/generators/node_modules/emoji-regex/index.d.ts +0 -5
  206. package/src/generators/node_modules/emoji-regex/index.js +0 -6
  207. package/src/generators/node_modules/emoji-regex/package.json +0 -52
  208. package/src/generators/node_modules/emoji-regex/text.d.ts +0 -5
  209. package/src/generators/node_modules/emoji-regex/text.js +0 -6
  210. package/src/generators/node_modules/flat/LICENSE +0 -12
  211. package/src/generators/node_modules/flat/README.md +0 -234
  212. package/src/generators/node_modules/flat/cli.js +0 -40
  213. package/src/generators/node_modules/flat/index.d.ts +0 -17
  214. package/src/generators/node_modules/flat/index.js +0 -157
  215. package/src/generators/node_modules/flat/package.json +0 -49
  216. package/src/generators/node_modules/foreground-child/LICENSE +0 -15
  217. package/src/generators/node_modules/foreground-child/README.md +0 -90
  218. package/src/generators/node_modules/foreground-child/dist/cjs/all-signals.d.ts +0 -3
  219. package/src/generators/node_modules/foreground-child/dist/cjs/all-signals.d.ts.map +0 -1
  220. package/src/generators/node_modules/foreground-child/dist/cjs/all-signals.js +0 -58
  221. package/src/generators/node_modules/foreground-child/dist/cjs/all-signals.js.map +0 -1
  222. package/src/generators/node_modules/foreground-child/dist/cjs/index.d.ts +0 -54
  223. package/src/generators/node_modules/foreground-child/dist/cjs/index.d.ts.map +0 -1
  224. package/src/generators/node_modules/foreground-child/dist/cjs/index.js +0 -154
  225. package/src/generators/node_modules/foreground-child/dist/cjs/index.js.map +0 -1
  226. package/src/generators/node_modules/foreground-child/dist/cjs/package.json +0 -3
  227. package/src/generators/node_modules/foreground-child/dist/cjs/watchdog.d.ts +0 -4
  228. package/src/generators/node_modules/foreground-child/dist/cjs/watchdog.d.ts.map +0 -1
  229. package/src/generators/node_modules/foreground-child/dist/cjs/watchdog.js +0 -43
  230. package/src/generators/node_modules/foreground-child/dist/cjs/watchdog.js.map +0 -1
  231. package/src/generators/node_modules/foreground-child/dist/mjs/all-signals.d.ts +0 -3
  232. package/src/generators/node_modules/foreground-child/dist/mjs/all-signals.d.ts.map +0 -1
  233. package/src/generators/node_modules/foreground-child/dist/mjs/all-signals.js +0 -52
  234. package/src/generators/node_modules/foreground-child/dist/mjs/all-signals.js.map +0 -1
  235. package/src/generators/node_modules/foreground-child/dist/mjs/index.d.ts +0 -54
  236. package/src/generators/node_modules/foreground-child/dist/mjs/index.d.ts.map +0 -1
  237. package/src/generators/node_modules/foreground-child/dist/mjs/index.js +0 -146
  238. package/src/generators/node_modules/foreground-child/dist/mjs/index.js.map +0 -1
  239. package/src/generators/node_modules/foreground-child/dist/mjs/package.json +0 -3
  240. package/src/generators/node_modules/foreground-child/dist/mjs/watchdog.d.ts +0 -4
  241. package/src/generators/node_modules/foreground-child/dist/mjs/watchdog.d.ts.map +0 -1
  242. package/src/generators/node_modules/foreground-child/dist/mjs/watchdog.js +0 -39
  243. package/src/generators/node_modules/foreground-child/dist/mjs/watchdog.js.map +0 -1
  244. package/src/generators/node_modules/foreground-child/package.json +0 -83
  245. package/src/generators/node_modules/glob/LICENSE +0 -15
  246. package/src/generators/node_modules/glob/README.md +0 -1214
  247. package/src/generators/node_modules/glob/dist/commonjs/glob.d.ts +0 -344
  248. package/src/generators/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  249. package/src/generators/node_modules/glob/dist/commonjs/glob.js +0 -243
  250. package/src/generators/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  251. package/src/generators/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  252. package/src/generators/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  253. package/src/generators/node_modules/glob/dist/commonjs/has-magic.js +0 -27
  254. package/src/generators/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  255. package/src/generators/node_modules/glob/dist/commonjs/ignore.d.ts +0 -20
  256. package/src/generators/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  257. package/src/generators/node_modules/glob/dist/commonjs/ignore.js +0 -108
  258. package/src/generators/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  259. package/src/generators/node_modules/glob/dist/commonjs/index.d.ts +0 -96
  260. package/src/generators/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  261. package/src/generators/node_modules/glob/dist/commonjs/index.js +0 -68
  262. package/src/generators/node_modules/glob/dist/commonjs/index.js.map +0 -1
  263. package/src/generators/node_modules/glob/dist/commonjs/package.json +0 -1
  264. package/src/generators/node_modules/glob/dist/commonjs/pattern.d.ts +0 -77
  265. package/src/generators/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  266. package/src/generators/node_modules/glob/dist/commonjs/pattern.js +0 -219
  267. package/src/generators/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  268. package/src/generators/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  269. package/src/generators/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  270. package/src/generators/node_modules/glob/dist/commonjs/processor.js +0 -302
  271. package/src/generators/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  272. package/src/generators/node_modules/glob/dist/commonjs/walker.d.ts +0 -96
  273. package/src/generators/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  274. package/src/generators/node_modules/glob/dist/commonjs/walker.js +0 -358
  275. package/src/generators/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  276. package/src/generators/node_modules/glob/dist/esm/bin.d.mts +0 -3
  277. package/src/generators/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
  278. package/src/generators/node_modules/glob/dist/esm/bin.mjs +0 -275
  279. package/src/generators/node_modules/glob/dist/esm/bin.mjs.map +0 -1
  280. package/src/generators/node_modules/glob/dist/esm/glob.d.ts +0 -344
  281. package/src/generators/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  282. package/src/generators/node_modules/glob/dist/esm/glob.js +0 -239
  283. package/src/generators/node_modules/glob/dist/esm/glob.js.map +0 -1
  284. package/src/generators/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  285. package/src/generators/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  286. package/src/generators/node_modules/glob/dist/esm/has-magic.js +0 -23
  287. package/src/generators/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  288. package/src/generators/node_modules/glob/dist/esm/ignore.d.ts +0 -20
  289. package/src/generators/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  290. package/src/generators/node_modules/glob/dist/esm/ignore.js +0 -104
  291. package/src/generators/node_modules/glob/dist/esm/ignore.js.map +0 -1
  292. package/src/generators/node_modules/glob/dist/esm/index.d.ts +0 -96
  293. package/src/generators/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  294. package/src/generators/node_modules/glob/dist/esm/index.js +0 -56
  295. package/src/generators/node_modules/glob/dist/esm/index.js.map +0 -1
  296. package/src/generators/node_modules/glob/dist/esm/package.json +0 -1
  297. package/src/generators/node_modules/glob/dist/esm/pattern.d.ts +0 -77
  298. package/src/generators/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  299. package/src/generators/node_modules/glob/dist/esm/pattern.js +0 -215
  300. package/src/generators/node_modules/glob/dist/esm/pattern.js.map +0 -1
  301. package/src/generators/node_modules/glob/dist/esm/processor.d.ts +0 -59
  302. package/src/generators/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  303. package/src/generators/node_modules/glob/dist/esm/processor.js +0 -295
  304. package/src/generators/node_modules/glob/dist/esm/processor.js.map +0 -1
  305. package/src/generators/node_modules/glob/dist/esm/walker.d.ts +0 -96
  306. package/src/generators/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  307. package/src/generators/node_modules/glob/dist/esm/walker.js +0 -352
  308. package/src/generators/node_modules/glob/dist/esm/walker.js.map +0 -1
  309. package/src/generators/node_modules/glob/package.json +0 -97
  310. package/src/generators/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  311. package/src/generators/node_modules/is-fullwidth-code-point/index.js +0 -50
  312. package/src/generators/node_modules/is-fullwidth-code-point/license +0 -9
  313. package/src/generators/node_modules/is-fullwidth-code-point/package.json +0 -42
  314. package/src/generators/node_modules/is-fullwidth-code-point/readme.md +0 -39
  315. package/src/generators/node_modules/isexe/LICENSE +0 -15
  316. package/src/generators/node_modules/isexe/README.md +0 -51
  317. package/src/generators/node_modules/isexe/index.js +0 -57
  318. package/src/generators/node_modules/isexe/mode.js +0 -41
  319. package/src/generators/node_modules/isexe/package.json +0 -31
  320. package/src/generators/node_modules/isexe/test/basic.js +0 -221
  321. package/src/generators/node_modules/isexe/windows.js +0 -42
  322. package/src/generators/node_modules/jackspeak/LICENSE.md +0 -55
  323. package/src/generators/node_modules/jackspeak/README.md +0 -348
  324. package/src/generators/node_modules/jackspeak/dist/commonjs/index.d.ts +0 -292
  325. package/src/generators/node_modules/jackspeak/dist/commonjs/index.d.ts.map +0 -1
  326. package/src/generators/node_modules/jackspeak/dist/commonjs/index.js +0 -850
  327. package/src/generators/node_modules/jackspeak/dist/commonjs/index.js.map +0 -1
  328. package/src/generators/node_modules/jackspeak/dist/commonjs/package.json +0 -1
  329. package/src/generators/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +0 -1
  330. package/src/generators/node_modules/jackspeak/dist/commonjs/parse-args-cjs.d.cts.map +0 -1
  331. package/src/generators/node_modules/jackspeak/dist/commonjs/parse-args.d.ts +0 -4
  332. package/src/generators/node_modules/jackspeak/dist/commonjs/parse-args.d.ts.map +0 -1
  333. package/src/generators/node_modules/jackspeak/dist/commonjs/parse-args.js +0 -50
  334. package/src/generators/node_modules/jackspeak/dist/commonjs/parse-args.js.map +0 -1
  335. package/src/generators/node_modules/jackspeak/dist/esm/index.d.ts +0 -292
  336. package/src/generators/node_modules/jackspeak/dist/esm/index.d.ts.map +0 -1
  337. package/src/generators/node_modules/jackspeak/dist/esm/index.js +0 -840
  338. package/src/generators/node_modules/jackspeak/dist/esm/index.js.map +0 -1
  339. package/src/generators/node_modules/jackspeak/dist/esm/package.json +0 -1
  340. package/src/generators/node_modules/jackspeak/dist/esm/parse-args.d.ts +0 -4
  341. package/src/generators/node_modules/jackspeak/dist/esm/parse-args.d.ts.map +0 -1
  342. package/src/generators/node_modules/jackspeak/dist/esm/parse-args.js +0 -26
  343. package/src/generators/node_modules/jackspeak/dist/esm/parse-args.js.map +0 -1
  344. package/src/generators/node_modules/jackspeak/package.json +0 -94
  345. package/src/generators/node_modules/lru-cache/LICENSE +0 -15
  346. package/src/generators/node_modules/lru-cache/README.md +0 -1204
  347. package/src/generators/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -851
  348. package/src/generators/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
  349. package/src/generators/node_modules/lru-cache/dist/commonjs/index.js +0 -1441
  350. package/src/generators/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
  351. package/src/generators/node_modules/lru-cache/dist/commonjs/package.json +0 -3
  352. package/src/generators/node_modules/lru-cache/dist/esm/index.d.ts +0 -851
  353. package/src/generators/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
  354. package/src/generators/node_modules/lru-cache/dist/esm/index.js +0 -1437
  355. package/src/generators/node_modules/lru-cache/dist/esm/index.js.map +0 -1
  356. package/src/generators/node_modules/lru-cache/dist/esm/package.json +0 -3
  357. package/src/generators/node_modules/lru-cache/package.json +0 -118
  358. package/src/generators/node_modules/minimatch/LICENSE +0 -15
  359. package/src/generators/node_modules/minimatch/README.md +0 -454
  360. package/src/generators/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  361. package/src/generators/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  362. package/src/generators/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  363. package/src/generators/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  364. package/src/generators/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  365. package/src/generators/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  366. package/src/generators/node_modules/minimatch/dist/cjs/ast.js +0 -589
  367. package/src/generators/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  368. package/src/generators/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  369. package/src/generators/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  370. package/src/generators/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  371. package/src/generators/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  372. package/src/generators/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  373. package/src/generators/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  374. package/src/generators/node_modules/minimatch/dist/cjs/escape.js +0 -22
  375. package/src/generators/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  376. package/src/generators/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  377. package/src/generators/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  378. package/src/generators/node_modules/minimatch/dist/cjs/index.js +0 -1011
  379. package/src/generators/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  380. package/src/generators/node_modules/minimatch/dist/cjs/package.json +0 -3
  381. package/src/generators/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  382. package/src/generators/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  383. package/src/generators/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  384. package/src/generators/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  385. package/src/generators/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  386. package/src/generators/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  387. package/src/generators/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  388. package/src/generators/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  389. package/src/generators/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  390. package/src/generators/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  391. package/src/generators/node_modules/minimatch/dist/mjs/ast.js +0 -585
  392. package/src/generators/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  393. package/src/generators/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  394. package/src/generators/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  395. package/src/generators/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  396. package/src/generators/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  397. package/src/generators/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  398. package/src/generators/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  399. package/src/generators/node_modules/minimatch/dist/mjs/escape.js +0 -18
  400. package/src/generators/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  401. package/src/generators/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  402. package/src/generators/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  403. package/src/generators/node_modules/minimatch/dist/mjs/index.js +0 -995
  404. package/src/generators/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  405. package/src/generators/node_modules/minimatch/dist/mjs/package.json +0 -3
  406. package/src/generators/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  407. package/src/generators/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  408. package/src/generators/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  409. package/src/generators/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  410. package/src/generators/node_modules/minimatch/package.json +0 -86
  411. package/src/generators/node_modules/minipass/LICENSE +0 -15
  412. package/src/generators/node_modules/minipass/README.md +0 -825
  413. package/src/generators/node_modules/minipass/dist/commonjs/index.d.ts +0 -549
  414. package/src/generators/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  415. package/src/generators/node_modules/minipass/dist/commonjs/index.js +0 -1028
  416. package/src/generators/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  417. package/src/generators/node_modules/minipass/dist/commonjs/package.json +0 -1
  418. package/src/generators/node_modules/minipass/dist/esm/index.d.ts +0 -549
  419. package/src/generators/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  420. package/src/generators/node_modules/minipass/dist/esm/index.js +0 -1018
  421. package/src/generators/node_modules/minipass/dist/esm/index.js.map +0 -1
  422. package/src/generators/node_modules/minipass/dist/esm/package.json +0 -1
  423. package/src/generators/node_modules/minipass/package.json +0 -82
  424. package/src/generators/node_modules/path-key/index.d.ts +0 -40
  425. package/src/generators/node_modules/path-key/index.js +0 -16
  426. package/src/generators/node_modules/path-key/license +0 -9
  427. package/src/generators/node_modules/path-key/package.json +0 -39
  428. package/src/generators/node_modules/path-key/readme.md +0 -61
  429. package/src/generators/node_modules/path-scurry/LICENSE.md +0 -55
  430. package/src/generators/node_modules/path-scurry/README.md +0 -631
  431. package/src/generators/node_modules/path-scurry/dist/cjs/index.d.ts +0 -1107
  432. package/src/generators/node_modules/path-scurry/dist/cjs/index.d.ts.map +0 -1
  433. package/src/generators/node_modules/path-scurry/dist/cjs/index.js +0 -2018
  434. package/src/generators/node_modules/path-scurry/dist/cjs/index.js.map +0 -1
  435. package/src/generators/node_modules/path-scurry/dist/cjs/package.json +0 -3
  436. package/src/generators/node_modules/path-scurry/dist/mjs/index.d.ts +0 -1107
  437. package/src/generators/node_modules/path-scurry/dist/mjs/index.d.ts.map +0 -1
  438. package/src/generators/node_modules/path-scurry/dist/mjs/index.js +0 -1983
  439. package/src/generators/node_modules/path-scurry/dist/mjs/index.js.map +0 -1
  440. package/src/generators/node_modules/path-scurry/dist/mjs/package.json +0 -3
  441. package/src/generators/node_modules/path-scurry/package.json +0 -87
  442. package/src/generators/node_modules/shebang-command/index.js +0 -19
  443. package/src/generators/node_modules/shebang-command/license +0 -9
  444. package/src/generators/node_modules/shebang-command/package.json +0 -34
  445. package/src/generators/node_modules/shebang-command/readme.md +0 -34
  446. package/src/generators/node_modules/shebang-regex/index.d.ts +0 -22
  447. package/src/generators/node_modules/shebang-regex/index.js +0 -2
  448. package/src/generators/node_modules/shebang-regex/license +0 -9
  449. package/src/generators/node_modules/shebang-regex/package.json +0 -35
  450. package/src/generators/node_modules/shebang-regex/readme.md +0 -33
  451. package/src/generators/node_modules/signal-exit/LICENSE.txt +0 -16
  452. package/src/generators/node_modules/signal-exit/README.md +0 -74
  453. package/src/generators/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
  454. package/src/generators/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
  455. package/src/generators/node_modules/signal-exit/dist/cjs/browser.js +0 -10
  456. package/src/generators/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
  457. package/src/generators/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
  458. package/src/generators/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
  459. package/src/generators/node_modules/signal-exit/dist/cjs/index.js +0 -279
  460. package/src/generators/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
  461. package/src/generators/node_modules/signal-exit/dist/cjs/package.json +0 -3
  462. package/src/generators/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
  463. package/src/generators/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
  464. package/src/generators/node_modules/signal-exit/dist/cjs/signals.js +0 -42
  465. package/src/generators/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
  466. package/src/generators/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
  467. package/src/generators/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
  468. package/src/generators/node_modules/signal-exit/dist/mjs/browser.js +0 -4
  469. package/src/generators/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
  470. package/src/generators/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
  471. package/src/generators/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
  472. package/src/generators/node_modules/signal-exit/dist/mjs/index.js +0 -275
  473. package/src/generators/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
  474. package/src/generators/node_modules/signal-exit/dist/mjs/package.json +0 -3
  475. package/src/generators/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
  476. package/src/generators/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
  477. package/src/generators/node_modules/signal-exit/dist/mjs/signals.js +0 -39
  478. package/src/generators/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
  479. package/src/generators/node_modules/signal-exit/package.json +0 -106
  480. package/src/generators/node_modules/string-width/index.d.ts +0 -29
  481. package/src/generators/node_modules/string-width/index.js +0 -54
  482. package/src/generators/node_modules/string-width/license +0 -9
  483. package/src/generators/node_modules/string-width/package.json +0 -59
  484. package/src/generators/node_modules/string-width/readme.md +0 -67
  485. package/src/generators/node_modules/string-width-cjs/index.d.ts +0 -29
  486. package/src/generators/node_modules/string-width-cjs/index.js +0 -47
  487. package/src/generators/node_modules/string-width-cjs/license +0 -9
  488. package/src/generators/node_modules/string-width-cjs/node_modules/ansi-regex/index.d.ts +0 -37
  489. package/src/generators/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +0 -10
  490. package/src/generators/node_modules/string-width-cjs/node_modules/ansi-regex/license +0 -9
  491. package/src/generators/node_modules/string-width-cjs/node_modules/ansi-regex/package.json +0 -55
  492. package/src/generators/node_modules/string-width-cjs/node_modules/ansi-regex/readme.md +0 -78
  493. package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  494. package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/README.md +0 -73
  495. package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/index.js +0 -6
  496. package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/text.js +0 -6
  497. package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/index.d.ts +0 -23
  498. package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/index.js +0 -6
  499. package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/package.json +0 -50
  500. package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/text.js +0 -6
  501. package/src/generators/node_modules/string-width-cjs/node_modules/strip-ansi/index.d.ts +0 -17
  502. package/src/generators/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +0 -4
  503. package/src/generators/node_modules/string-width-cjs/node_modules/strip-ansi/license +0 -9
  504. package/src/generators/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +0 -54
  505. package/src/generators/node_modules/string-width-cjs/node_modules/strip-ansi/readme.md +0 -46
  506. package/src/generators/node_modules/string-width-cjs/package.json +0 -56
  507. package/src/generators/node_modules/string-width-cjs/readme.md +0 -50
  508. package/src/generators/node_modules/strip-ansi/index.d.ts +0 -15
  509. package/src/generators/node_modules/strip-ansi/index.js +0 -14
  510. package/src/generators/node_modules/strip-ansi/license +0 -9
  511. package/src/generators/node_modules/strip-ansi/package.json +0 -57
  512. package/src/generators/node_modules/strip-ansi/readme.md +0 -41
  513. package/src/generators/node_modules/strip-ansi-cjs/index.d.ts +0 -17
  514. package/src/generators/node_modules/strip-ansi-cjs/index.js +0 -4
  515. package/src/generators/node_modules/strip-ansi-cjs/license +0 -9
  516. package/src/generators/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.d.ts +0 -37
  517. package/src/generators/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +0 -10
  518. package/src/generators/node_modules/strip-ansi-cjs/node_modules/ansi-regex/license +0 -9
  519. package/src/generators/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +0 -55
  520. package/src/generators/node_modules/strip-ansi-cjs/node_modules/ansi-regex/readme.md +0 -78
  521. package/src/generators/node_modules/strip-ansi-cjs/package.json +0 -54
  522. package/src/generators/node_modules/strip-ansi-cjs/readme.md +0 -46
  523. package/src/generators/node_modules/which/CHANGELOG.md +0 -166
  524. package/src/generators/node_modules/which/LICENSE +0 -15
  525. package/src/generators/node_modules/which/README.md +0 -54
  526. package/src/generators/node_modules/which/bin/node-which +0 -52
  527. package/src/generators/node_modules/which/package.json +0 -43
  528. package/src/generators/node_modules/which/which.js +0 -125
  529. package/src/generators/node_modules/wrap-ansi/index.d.ts +0 -41
  530. package/src/generators/node_modules/wrap-ansi/index.js +0 -214
  531. package/src/generators/node_modules/wrap-ansi/license +0 -9
  532. package/src/generators/node_modules/wrap-ansi/package.json +0 -69
  533. package/src/generators/node_modules/wrap-ansi/readme.md +0 -91
  534. package/src/generators/node_modules/wrap-ansi-cjs/index.js +0 -216
  535. package/src/generators/node_modules/wrap-ansi-cjs/license +0 -9
  536. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.d.ts +0 -37
  537. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +0 -10
  538. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/license +0 -9
  539. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/package.json +0 -55
  540. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/readme.md +0 -78
  541. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/index.d.ts +0 -345
  542. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/index.js +0 -163
  543. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/license +0 -9
  544. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/package.json +0 -56
  545. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/readme.md +0 -152
  546. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  547. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/README.md +0 -73
  548. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/index.js +0 -6
  549. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/text.js +0 -6
  550. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.d.ts +0 -23
  551. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.js +0 -6
  552. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/package.json +0 -50
  553. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/text.js +0 -6
  554. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/string-width/index.d.ts +0 -29
  555. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/string-width/index.js +0 -47
  556. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/string-width/license +0 -9
  557. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/string-width/package.json +0 -56
  558. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/string-width/readme.md +0 -50
  559. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.d.ts +0 -17
  560. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +0 -4
  561. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/license +0 -9
  562. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +0 -54
  563. package/src/generators/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/readme.md +0 -46
  564. package/src/generators/node_modules/wrap-ansi-cjs/package.json +0 -62
  565. package/src/generators/node_modules/wrap-ansi-cjs/readme.md +0 -91
@@ -1,49 +0,0 @@
1
- {
2
- "name": "flat",
3
- "version": "6.0.1",
4
- "type": "module",
5
- "bin": {
6
- "flat": "cli.js"
7
- },
8
- "exports": {
9
- ".": {
10
- "types": "./index.d.ts",
11
- "default": "./index.js"
12
- }
13
- },
14
- "files": [
15
- "cli.js",
16
- "index.js",
17
- "index.d.ts"
18
- ],
19
- "sideEffects": false,
20
- "engines": {
21
- "node": ">=18"
22
- },
23
- "scripts": {
24
- "test": "node --test && standard cli.js index.js test/test.js"
25
- },
26
- "license": "BSD-3-Clause",
27
- "description": "Take a nested Javascript object and flatten it, or unflatten an object with delimited keys",
28
- "devDependencies": {
29
- "standard": "^17.1.0"
30
- },
31
- "repository": {
32
- "type": "git",
33
- "url": "git://github.com/hughsk/flat.git"
34
- },
35
- "keywords": [
36
- "flat",
37
- "json",
38
- "flatten",
39
- "unflatten",
40
- "split",
41
- "object",
42
- "nested"
43
- ],
44
- "author": "Hugh Kennedy <hughskennedy@gmail.com> (https://hughsk.io)",
45
- "bugs": {
46
- "url": "https://github.com/hughsk/flat/issues"
47
- },
48
- "homepage": "https://github.com/hughsk/flat"
49
- }
@@ -1,15 +0,0 @@
1
- The ISC License
2
-
3
- Copyright (c) 2015-2023 Isaac Z. Schlueter and Contributors
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted, provided that the above
7
- copyright notice and this permission notice appear in all copies.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15
- IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -1,90 +0,0 @@
1
- # foreground-child
2
-
3
- Run a child as if it's the foreground process. Give it stdio. Exit
4
- when it exits.
5
-
6
- Mostly this module is here to support some use cases around
7
- wrapping child processes for test coverage and such. But it's
8
- also generally useful any time you want one program to execute
9
- another as if it's the "main" process, for example, if a program
10
- takes a `--cmd` argument to execute in some way.
11
-
12
- ## USAGE
13
-
14
- ```js
15
- import { foregroundChild } from 'foreground-child'
16
- // hybrid module, this also works:
17
- // const { foregroundChild } = require('foreground-child')
18
-
19
- // cats out this file
20
- const child = foregroundChild('cat', [__filename])
21
-
22
- // At this point, it's best to just do nothing else.
23
- // return or whatever.
24
- // If the child gets a signal, or just exits, then this
25
- // parent process will exit in the same way.
26
- ```
27
-
28
- You can provide custom spawn options by passing an object after
29
- the program and arguments:
30
-
31
- ```js
32
- const child = foregroundChild(`cat ${__filename}`, { shell: true })
33
- ```
34
-
35
- A callback can optionally be provided, if you want to perform an
36
- action before your foreground-child exits:
37
-
38
- ```js
39
- const child = foregroundChild('cat', [__filename], spawnOptions, () => {
40
- doSomeActions()
41
- })
42
- ```
43
-
44
- The callback can return a Promise in order to perform
45
- asynchronous actions. If the callback does not return a promise,
46
- then it must complete its actions within a single JavaScript
47
- tick.
48
-
49
- ```js
50
- const child = foregroundChild('cat', [__filename], async () => {
51
- await doSomeAsyncActions()
52
- })
53
- ```
54
-
55
- If the callback throws or rejects, then it will be unhandled, and
56
- node will exit in error.
57
-
58
- If the callback returns a string value, then that will be used as
59
- the signal to exit the parent process. If it returns a number,
60
- then that number will be used as the parent exit status code. If
61
- it returns boolean `false`, then the parent process will not be
62
- terminated. If it returns `undefined`, then it will exit with the
63
- same signal/code as the child process.
64
-
65
- ## Caveats
66
-
67
- The "normal" standard IO file descriptors (0, 1, and 2 for stdin,
68
- stdout, and stderr respectively) are shared with the child process.
69
- Additionally, if there is an IPC channel set up in the parent, then
70
- messages are proxied to the child on file descriptor 3.
71
-
72
- In Node, it's possible to also map arbitrary file descriptors
73
- into a child process. In these cases, foreground-child will not
74
- map the file descriptors into the child. If file descriptors 0,
75
- 1, or 2 are used for the IPC channel, then strange behavior may
76
- happen (like printing IPC messages to stderr, for example).
77
-
78
- Note that a SIGKILL will always kill the parent process, but
79
- will not proxy the signal to the child process, because SIGKILL
80
- cannot be caught. In order to address this, a special "watchdog"
81
- child process is spawned which will send a SIGKILL to the child
82
- process if it does not terminate within half a second after the
83
- watchdog receives a SIGHUP due to its parent terminating.
84
-
85
- On Windows, issuing a `process.kill(process.pid, signal)` with a
86
- fatal termination signal may cause the process to exit with a `1`
87
- status code rather than reporting the signal properly. This
88
- module tries to do the right thing, but on Windows systems, you
89
- may see that incorrect result. There is as far as I'm aware no
90
- workaround for this.
@@ -1,3 +0,0 @@
1
- /// <reference types="node" />
2
- export declare const allSignals: NodeJS.Signals[];
3
- //# sourceMappingURL=all-signals.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"all-signals.d.ts","sourceRoot":"","sources":["../../src/all-signals.ts"],"names":[],"mappings":";AACA,eAAO,MAAM,UAAU,kBASA,CAAA"}
@@ -1,58 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.allSignals = void 0;
7
- const node_constants_1 = __importDefault(require("node:constants"));
8
- exports.allSignals =
9
- // this is the full list of signals that Node will let us do anything with
10
- Object.keys(node_constants_1.default).filter(k => k.startsWith('SIG') &&
11
- // https://github.com/tapjs/signal-exit/issues/21
12
- k !== 'SIGPROF' &&
13
- // no sense trying to listen for SIGKILL, it's impossible
14
- k !== 'SIGKILL');
15
- // These are some obscure signals that are reported by kill -l
16
- // on macOS, Linux, or Windows, but which don't have any mapping
17
- // in Node.js. No sense trying if they're just going to throw
18
- // every time on every platform.
19
- //
20
- // 'SIGEMT',
21
- // 'SIGLOST',
22
- // 'SIGPOLL',
23
- // 'SIGRTMAX',
24
- // 'SIGRTMAX-1',
25
- // 'SIGRTMAX-10',
26
- // 'SIGRTMAX-11',
27
- // 'SIGRTMAX-12',
28
- // 'SIGRTMAX-13',
29
- // 'SIGRTMAX-14',
30
- // 'SIGRTMAX-15',
31
- // 'SIGRTMAX-2',
32
- // 'SIGRTMAX-3',
33
- // 'SIGRTMAX-4',
34
- // 'SIGRTMAX-5',
35
- // 'SIGRTMAX-6',
36
- // 'SIGRTMAX-7',
37
- // 'SIGRTMAX-8',
38
- // 'SIGRTMAX-9',
39
- // 'SIGRTMIN',
40
- // 'SIGRTMIN+1',
41
- // 'SIGRTMIN+10',
42
- // 'SIGRTMIN+11',
43
- // 'SIGRTMIN+12',
44
- // 'SIGRTMIN+13',
45
- // 'SIGRTMIN+14',
46
- // 'SIGRTMIN+15',
47
- // 'SIGRTMIN+16',
48
- // 'SIGRTMIN+2',
49
- // 'SIGRTMIN+3',
50
- // 'SIGRTMIN+4',
51
- // 'SIGRTMIN+5',
52
- // 'SIGRTMIN+6',
53
- // 'SIGRTMIN+7',
54
- // 'SIGRTMIN+8',
55
- // 'SIGRTMIN+9',
56
- // 'SIGSTKFLT',
57
- // 'SIGUNUSED',
58
- //# sourceMappingURL=all-signals.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"all-signals.js","sourceRoot":"","sources":["../../src/all-signals.ts"],"names":[],"mappings":";;;;;;AAAA,oEAAsC;AACzB,QAAA,UAAU;AACrB,0EAA0E;AAC1E,MAAM,CAAC,IAAI,CAAC,wBAAS,CAAC,CAAC,MAAM,CAC3B,CAAC,CAAC,EAAE,CACF,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC;IACnB,iDAAiD;IACjD,CAAC,KAAK,SAAS;IACf,yDAAyD;IACzD,CAAC,KAAK,SAAS,CACE,CAAA;AAEvB,8DAA8D;AAC9D,gEAAgE;AAChE,6DAA6D;AAC7D,gCAAgC;AAChC,EAAE;AACF,YAAY;AACZ,aAAa;AACb,aAAa;AACb,cAAc;AACd,gBAAgB;AAChB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,cAAc;AACd,gBAAgB;AAChB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,eAAe;AACf,eAAe","sourcesContent":["import constants from 'node:constants'\nexport const allSignals =\n // this is the full list of signals that Node will let us do anything with\n Object.keys(constants).filter(\n k =>\n k.startsWith('SIG') &&\n // https://github.com/tapjs/signal-exit/issues/21\n k !== 'SIGPROF' &&\n // no sense trying to listen for SIGKILL, it's impossible\n k !== 'SIGKILL'\n ) as NodeJS.Signals[]\n\n// These are some obscure signals that are reported by kill -l\n// on macOS, Linux, or Windows, but which don't have any mapping\n// in Node.js. No sense trying if they're just going to throw\n// every time on every platform.\n//\n// 'SIGEMT',\n// 'SIGLOST',\n// 'SIGPOLL',\n// 'SIGRTMAX',\n// 'SIGRTMAX-1',\n// 'SIGRTMAX-10',\n// 'SIGRTMAX-11',\n// 'SIGRTMAX-12',\n// 'SIGRTMAX-13',\n// 'SIGRTMAX-14',\n// 'SIGRTMAX-15',\n// 'SIGRTMAX-2',\n// 'SIGRTMAX-3',\n// 'SIGRTMAX-4',\n// 'SIGRTMAX-5',\n// 'SIGRTMAX-6',\n// 'SIGRTMAX-7',\n// 'SIGRTMAX-8',\n// 'SIGRTMAX-9',\n// 'SIGRTMIN',\n// 'SIGRTMIN+1',\n// 'SIGRTMIN+10',\n// 'SIGRTMIN+11',\n// 'SIGRTMIN+12',\n// 'SIGRTMIN+13',\n// 'SIGRTMIN+14',\n// 'SIGRTMIN+15',\n// 'SIGRTMIN+16',\n// 'SIGRTMIN+2',\n// 'SIGRTMIN+3',\n// 'SIGRTMIN+4',\n// 'SIGRTMIN+5',\n// 'SIGRTMIN+6',\n// 'SIGRTMIN+7',\n// 'SIGRTMIN+8',\n// 'SIGRTMIN+9',\n// 'SIGSTKFLT',\n// 'SIGUNUSED',\n"]}
@@ -1,54 +0,0 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
- import { ChildProcess, SpawnOptions } from 'child_process';
4
- /**
5
- * The signature for the cleanup method.
6
- *
7
- * Arguments indicate the exit status of the child process.
8
- *
9
- * If a Promise is returned, then the process is not terminated
10
- * until it resolves, and the resolution value is treated as the
11
- * exit status (if a number) or signal exit (if a signal string).
12
- *
13
- * If `undefined` is returned, then no change is made, and the parent
14
- * exits in the same way that the child exited.
15
- *
16
- * If boolean `false` is returned, then the parent's exit is canceled.
17
- *
18
- * If a number is returned, then the parent process exits with the number
19
- * as its exitCode.
20
- *
21
- * If a signal string is returned, then the parent process is killed with
22
- * the same signal that caused the child to exit.
23
- */
24
- export type Cleanup = (code: number | null, signal: null | NodeJS.Signals) => void | undefined | number | NodeJS.Signals | false | Promise<void | undefined | number | NodeJS.Signals | false>;
25
- export type FgArgs = [program: string | string[], cleanup?: Cleanup] | [program: string[], opts?: SpawnOptions, cleanup?: Cleanup] | [program: string, cleanup?: Cleanup] | [program: string, opts?: SpawnOptions, cleanup?: Cleanup] | [program: string, args?: string[], cleanup?: Cleanup] | [
26
- program: string,
27
- args?: string[],
28
- opts?: SpawnOptions,
29
- cleanup?: Cleanup
30
- ];
31
- /**
32
- * Normalizes the arguments passed to `foregroundChild`.
33
- *
34
- * Exposed for testing.
35
- *
36
- * @internal
37
- */
38
- export declare const normalizeFgArgs: (fgArgs: FgArgs) => [program: string, args: string[], spawnOpts: SpawnOptions, cleanup: Cleanup];
39
- /**
40
- * Spawn the specified program as a "foreground" process, or at least as
41
- * close as is possible given node's lack of exec-without-fork.
42
- *
43
- * Cleanup method may be used to modify or ignore the result of the child's
44
- * exit code or signal. If cleanup returns undefined (or a Promise that
45
- * resolves to undefined), then the parent will exit in the same way that
46
- * the child did.
47
- *
48
- * Return boolean `false` to prevent the parent's exit entirely.
49
- */
50
- export declare function foregroundChild(cmd: string | string[], cleanup?: Cleanup): ChildProcess;
51
- export declare function foregroundChild(program: string, args?: string[], cleanup?: Cleanup): ChildProcess;
52
- export declare function foregroundChild(program: string, spawnOpts?: SpawnOptions, cleanup?: Cleanup): ChildProcess;
53
- export declare function foregroundChild(program: string, args?: string[], spawnOpts?: SpawnOptions, cleanup?: Cleanup): ChildProcess;
54
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;AAAA,OAAO,EACL,YAAY,EAIZ,YAAY,EACb,MAAM,eAAe,CAAA;AAUtB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,OAAO,GAAG,CACpB,IAAI,EAAE,MAAM,GAAG,IAAI,EACnB,MAAM,EAAE,IAAI,GAAG,MAAM,CAAC,OAAO,KAE3B,IAAI,GACJ,SAAS,GACT,MAAM,GACN,MAAM,CAAC,OAAO,GACd,KAAK,GACL,OAAO,CAAC,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC,OAAO,GAAG,KAAK,CAAC,CAAA;AAE/D,MAAM,MAAM,MAAM,GACd,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,GAC/C,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,GAC3D,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,GACpC,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,GACzD,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,GACrD;IACE,OAAO,EAAE,MAAM;IACf,IAAI,CAAC,EAAE,MAAM,EAAE;IACf,IAAI,CAAC,EAAE,YAAY;IACnB,OAAO,CAAC,EAAE,OAAO;CAClB,CAAA;AAEL;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,WAClB,MAAM,iFA0Bf,CAAA;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,EACtB,OAAO,CAAC,EAAE,OAAO,GAChB,YAAY,CAAA;AACf,wBAAgB,eAAe,CAC7B,OAAO,EAAE,MAAM,EACf,IAAI,CAAC,EAAE,MAAM,EAAE,EACf,OAAO,CAAC,EAAE,OAAO,GAChB,YAAY,CAAA;AACf,wBAAgB,eAAe,CAC7B,OAAO,EAAE,MAAM,EACf,SAAS,CAAC,EAAE,YAAY,EACxB,OAAO,CAAC,EAAE,OAAO,GAChB,YAAY,CAAA;AACf,wBAAgB,eAAe,CAC7B,OAAO,EAAE,MAAM,EACf,IAAI,CAAC,EAAE,MAAM,EAAE,EACf,SAAS,CAAC,EAAE,YAAY,EACxB,OAAO,CAAC,EAAE,OAAO,GAChB,YAAY,CAAA"}
@@ -1,154 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.foregroundChild = exports.normalizeFgArgs = void 0;
7
- const child_process_1 = require("child_process");
8
- const cross_spawn_1 = __importDefault(require("cross-spawn"));
9
- const signal_exit_1 = require("signal-exit");
10
- const all_signals_js_1 = require("./all-signals.js");
11
- const watchdog_js_1 = require("./watchdog.js");
12
- /* c8 ignore start */
13
- const spawn = process?.platform === 'win32' ? cross_spawn_1.default : child_process_1.spawn;
14
- /**
15
- * Normalizes the arguments passed to `foregroundChild`.
16
- *
17
- * Exposed for testing.
18
- *
19
- * @internal
20
- */
21
- const normalizeFgArgs = (fgArgs) => {
22
- let [program, args = [], spawnOpts = {}, cleanup = () => { }] = fgArgs;
23
- if (typeof args === 'function') {
24
- cleanup = args;
25
- spawnOpts = {};
26
- args = [];
27
- }
28
- else if (!!args && typeof args === 'object' && !Array.isArray(args)) {
29
- if (typeof spawnOpts === 'function')
30
- cleanup = spawnOpts;
31
- spawnOpts = args;
32
- args = [];
33
- }
34
- else if (typeof spawnOpts === 'function') {
35
- cleanup = spawnOpts;
36
- spawnOpts = {};
37
- }
38
- if (Array.isArray(program)) {
39
- const [pp, ...pa] = program;
40
- program = pp;
41
- args = pa;
42
- }
43
- return [program, args, { ...spawnOpts }, cleanup];
44
- };
45
- exports.normalizeFgArgs = normalizeFgArgs;
46
- function foregroundChild(...fgArgs) {
47
- const [program, args, spawnOpts, cleanup] = (0, exports.normalizeFgArgs)(fgArgs);
48
- spawnOpts.stdio = [0, 1, 2];
49
- if (process.send) {
50
- spawnOpts.stdio.push('ipc');
51
- }
52
- const child = spawn(program, args, spawnOpts);
53
- const unproxySignals = proxySignals(child);
54
- const childHangup = () => {
55
- try {
56
- child.kill('SIGHUP');
57
- /* c8 ignore start */
58
- }
59
- catch (_) {
60
- // SIGHUP is weird on windows
61
- child.kill('SIGTERM');
62
- }
63
- /* c8 ignore stop */
64
- };
65
- const removeOnExit = (0, signal_exit_1.onExit)(childHangup);
66
- const dog = (0, watchdog_js_1.watchdog)(child);
67
- let done = false;
68
- child.on('close', async (code, signal) => {
69
- dog.kill('SIGKILL');
70
- /* c8 ignore start */
71
- if (done) {
72
- return;
73
- }
74
- /* c8 ignore stop */
75
- done = true;
76
- const result = cleanup(code, signal);
77
- const res = isPromise(result) ? await result : result;
78
- removeOnExit();
79
- unproxySignals();
80
- if (res === false)
81
- return;
82
- else if (typeof res === 'string') {
83
- signal = res;
84
- code = null;
85
- }
86
- else if (typeof res === 'number') {
87
- code = res;
88
- signal = null;
89
- }
90
- if (signal) {
91
- // If there is nothing else keeping the event loop alive,
92
- // then there's a race between a graceful exit and getting
93
- // the signal to this process. Put this timeout here to
94
- // make sure we're still alive to get the signal, and thus
95
- // exit with the intended signal code.
96
- /* istanbul ignore next */
97
- setTimeout(() => { }, 2000);
98
- try {
99
- process.kill(process.pid, signal);
100
- /* c8 ignore start */
101
- }
102
- catch (_) {
103
- process.kill(process.pid, 'SIGTERM');
104
- }
105
- /* c8 ignore stop */
106
- }
107
- else {
108
- process.exit(code || 0);
109
- }
110
- });
111
- if (process.send) {
112
- process.removeAllListeners('message');
113
- child.on('message', (message, sendHandle) => {
114
- process.send?.(message, sendHandle);
115
- });
116
- process.on('message', (message, sendHandle) => {
117
- child.send(message, sendHandle);
118
- });
119
- }
120
- return child;
121
- }
122
- exports.foregroundChild = foregroundChild;
123
- /**
124
- * Starts forwarding signals to `child` through `parent`.
125
- */
126
- const proxySignals = (child) => {
127
- const listeners = new Map();
128
- for (const sig of all_signals_js_1.allSignals) {
129
- const listener = () => {
130
- // some signals can only be received, not sent
131
- try {
132
- child.kill(sig);
133
- /* c8 ignore start */
134
- }
135
- catch (_) { }
136
- /* c8 ignore stop */
137
- };
138
- try {
139
- // if it's a signal this system doesn't recognize, skip it
140
- process.on(sig, listener);
141
- listeners.set(sig, listener);
142
- /* c8 ignore start */
143
- }
144
- catch (_) { }
145
- /* c8 ignore stop */
146
- }
147
- return () => {
148
- for (const [sig, listener] of listeners) {
149
- process.removeListener(sig, listener);
150
- }
151
- };
152
- };
153
- const isPromise = (o) => !!o && typeof o === 'object' && typeof o.then === 'function';
154
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,iDAMsB;AACtB,8DAAoC;AACpC,6CAAoC;AACpC,qDAA6C;AAC7C,+CAAwC;AAExC,qBAAqB;AACrB,MAAM,KAAK,GAAG,OAAO,EAAE,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,qBAAU,CAAC,CAAC,CAAC,qBAAS,CAAA;AA+CpE;;;;;;GAMG;AACI,MAAM,eAAe,GAAG,CAC7B,MAAc,EAMd,EAAE;IACF,IAAI,CAAC,OAAO,EAAE,IAAI,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC,GAAG,MAAM,CAAA;IACrE,IAAI,OAAO,IAAI,KAAK,UAAU,EAAE;QAC9B,OAAO,GAAG,IAAI,CAAA;QACd,SAAS,GAAG,EAAE,CAAA;QACd,IAAI,GAAG,EAAE,CAAA;KACV;SAAM,IAAI,CAAC,CAAC,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;QACrE,IAAI,OAAO,SAAS,KAAK,UAAU;YAAE,OAAO,GAAG,SAAS,CAAA;QACxD,SAAS,GAAG,IAAI,CAAA;QAChB,IAAI,GAAG,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,SAAS,KAAK,UAAU,EAAE;QAC1C,OAAO,GAAG,SAAS,CAAA;QACnB,SAAS,GAAG,EAAE,CAAA;KACf;IACD,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;QAC1B,MAAM,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC,GAAG,OAAO,CAAA;QAC3B,OAAO,GAAG,EAAE,CAAA;QACZ,IAAI,GAAG,EAAE,CAAA;KACV;IACD,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE,GAAG,SAAS,EAAE,EAAE,OAAO,CAAC,CAAA;AACnD,CAAC,CAAA;AA3BY,QAAA,eAAe,mBA2B3B;AAiCD,SAAgB,eAAe,CAAC,GAAG,MAAc;IAC/C,MAAM,CAAC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,GAAG,IAAA,uBAAe,EAAC,MAAM,CAAC,CAAA;IAEnE,SAAS,CAAC,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;IAC3B,IAAI,OAAO,CAAC,IAAI,EAAE;QAChB,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;KAC5B;IAED,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,CAAA;IAE7C,MAAM,cAAc,GAAG,YAAY,CAAC,KAAK,CAAC,CAAA;IAC1C,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,IAAI;YACF,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;YAEpB,qBAAqB;SACtB;QAAC,OAAO,CAAC,EAAE;YACV,6BAA6B;YAC7B,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;SACtB;QACD,oBAAoB;IACtB,CAAC,CAAA;IACD,MAAM,YAAY,GAAG,IAAA,oBAAM,EAAC,WAAW,CAAC,CAAA;IAExC,MAAM,GAAG,GAAG,IAAA,sBAAQ,EAAC,KAAK,CAAC,CAAA;IAE3B,IAAI,IAAI,GAAG,KAAK,CAAA;IAChB,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QACvC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QACnB,qBAAqB;QACrB,IAAI,IAAI,EAAE;YACR,OAAM;SACP;QACD,oBAAoB;QACpB,IAAI,GAAG,IAAI,CAAA;QACX,MAAM,MAAM,GAAG,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAA;QACpC,MAAM,GAAG,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,MAAM,CAAC,CAAC,CAAC,MAAM,CAAA;QACrD,YAAY,EAAE,CAAA;QACd,cAAc,EAAE,CAAA;QAEhB,IAAI,GAAG,KAAK,KAAK;YAAE,OAAM;aACpB,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;YAChC,MAAM,GAAG,GAAG,CAAA;YACZ,IAAI,GAAG,IAAI,CAAA;SACZ;aAAM,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;YAClC,IAAI,GAAG,GAAG,CAAA;YACV,MAAM,GAAG,IAAI,CAAA;SACd;QAED,IAAI,MAAM,EAAE;YACV,yDAAyD;YACzD,0DAA0D;YAC1D,wDAAwD;YACxD,0DAA0D;YAC1D,sCAAsC;YACtC,0BAA0B;YAC1B,UAAU,CAAC,GAAG,EAAE,GAAE,CAAC,EAAE,IAAI,CAAC,CAAA;YAC1B,IAAI;gBACF,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAA;gBACjC,qBAAqB;aACtB;YAAC,OAAO,CAAC,EAAE;gBACV,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,SAAS,CAAC,CAAA;aACrC;YACD,oBAAoB;SACrB;aAAM;YACL,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAA;SACxB;IACH,CAAC,CAAC,CAAA;IAEF,IAAI,OAAO,CAAC,IAAI,EAAE;QAChB,OAAO,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAA;QAErC,KAAK,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,EAAE;YAC1C,OAAO,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,CAAA;QACrC,CAAC,CAAC,CAAA;QAEF,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,EAAE;YAC5C,KAAK,CAAC,IAAI,CACR,OAAuB,EACvB,UAAoC,CACrC,CAAA;QACH,CAAC,CAAC,CAAA;KACH;IAED,OAAO,KAAK,CAAA;AACd,CAAC;AArFD,0CAqFC;AAED;;GAEG;AACH,MAAM,YAAY,GAAG,CAAC,KAAmB,EAAE,EAAE;IAC3C,MAAM,SAAS,GAAG,IAAI,GAAG,EAAE,CAAA;IAE3B,KAAK,MAAM,GAAG,IAAI,2BAAU,EAAE;QAC5B,MAAM,QAAQ,GAAG,GAAG,EAAE;YACpB,8CAA8C;YAC9C,IAAI;gBACF,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;gBACf,qBAAqB;aACtB;YAAC,OAAO,CAAC,EAAE,GAAE;YACd,oBAAoB;QACtB,CAAC,CAAA;QACD,IAAI;YACF,0DAA0D;YAC1D,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;YACzB,SAAS,CAAC,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;YAC5B,qBAAqB;SACtB;QAAC,OAAO,CAAC,EAAE,GAAE;QACd,oBAAoB;KACrB;IAED,OAAO,GAAG,EAAE;QACV,KAAK,MAAM,CAAC,GAAG,EAAE,QAAQ,CAAC,IAAI,SAAS,EAAE;YACvC,OAAO,CAAC,cAAc,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;SACtC;IACH,CAAC,CAAA;AACH,CAAC,CAAA;AAED,MAAM,SAAS,GAAG,CAAC,CAAM,EAAqB,EAAE,CAC9C,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,KAAK,QAAQ,IAAI,OAAO,CAAC,CAAC,IAAI,KAAK,UAAU,CAAA","sourcesContent":["import {\n ChildProcess,\n SendHandle,\n Serializable,\n spawn as nodeSpawn,\n SpawnOptions,\n} from 'child_process'\nimport crossSpawn from 'cross-spawn'\nimport { onExit } from 'signal-exit'\nimport { allSignals } from './all-signals.js'\nimport { watchdog } from './watchdog.js'\n\n/* c8 ignore start */\nconst spawn = process?.platform === 'win32' ? crossSpawn : nodeSpawn\n/* c8 ignore stop */\n\n/**\n * The signature for the cleanup method.\n *\n * Arguments indicate the exit status of the child process.\n *\n * If a Promise is returned, then the process is not terminated\n * until it resolves, and the resolution value is treated as the\n * exit status (if a number) or signal exit (if a signal string).\n *\n * If `undefined` is returned, then no change is made, and the parent\n * exits in the same way that the child exited.\n *\n * If boolean `false` is returned, then the parent's exit is canceled.\n *\n * If a number is returned, then the parent process exits with the number\n * as its exitCode.\n *\n * If a signal string is returned, then the parent process is killed with\n * the same signal that caused the child to exit.\n */\nexport type Cleanup = (\n code: number | null,\n signal: null | NodeJS.Signals\n) =>\n | void\n | undefined\n | number\n | NodeJS.Signals\n | false\n | Promise<void | undefined | number | NodeJS.Signals | false>\n\nexport type FgArgs =\n | [program: string | string[], cleanup?: Cleanup]\n | [program: string[], opts?: SpawnOptions, cleanup?: Cleanup]\n | [program: string, cleanup?: Cleanup]\n | [program: string, opts?: SpawnOptions, cleanup?: Cleanup]\n | [program: string, args?: string[], cleanup?: Cleanup]\n | [\n program: string,\n args?: string[],\n opts?: SpawnOptions,\n cleanup?: Cleanup\n ]\n\n/**\n * Normalizes the arguments passed to `foregroundChild`.\n *\n * Exposed for testing.\n *\n * @internal\n */\nexport const normalizeFgArgs = (\n fgArgs: FgArgs\n): [\n program: string,\n args: string[],\n spawnOpts: SpawnOptions,\n cleanup: Cleanup\n] => {\n let [program, args = [], spawnOpts = {}, cleanup = () => {}] = fgArgs\n if (typeof args === 'function') {\n cleanup = args\n spawnOpts = {}\n args = []\n } else if (!!args && typeof args === 'object' && !Array.isArray(args)) {\n if (typeof spawnOpts === 'function') cleanup = spawnOpts\n spawnOpts = args\n args = []\n } else if (typeof spawnOpts === 'function') {\n cleanup = spawnOpts\n spawnOpts = {}\n }\n if (Array.isArray(program)) {\n const [pp, ...pa] = program\n program = pp\n args = pa\n }\n return [program, args, { ...spawnOpts }, cleanup]\n}\n\n/**\n * Spawn the specified program as a \"foreground\" process, or at least as\n * close as is possible given node's lack of exec-without-fork.\n *\n * Cleanup method may be used to modify or ignore the result of the child's\n * exit code or signal. If cleanup returns undefined (or a Promise that\n * resolves to undefined), then the parent will exit in the same way that\n * the child did.\n *\n * Return boolean `false` to prevent the parent's exit entirely.\n */\nexport function foregroundChild(\n cmd: string | string[],\n cleanup?: Cleanup\n): ChildProcess\nexport function foregroundChild(\n program: string,\n args?: string[],\n cleanup?: Cleanup\n): ChildProcess\nexport function foregroundChild(\n program: string,\n spawnOpts?: SpawnOptions,\n cleanup?: Cleanup\n): ChildProcess\nexport function foregroundChild(\n program: string,\n args?: string[],\n spawnOpts?: SpawnOptions,\n cleanup?: Cleanup\n): ChildProcess\nexport function foregroundChild(...fgArgs: FgArgs): ChildProcess {\n const [program, args, spawnOpts, cleanup] = normalizeFgArgs(fgArgs)\n\n spawnOpts.stdio = [0, 1, 2]\n if (process.send) {\n spawnOpts.stdio.push('ipc')\n }\n\n const child = spawn(program, args, spawnOpts)\n\n const unproxySignals = proxySignals(child)\n const childHangup = () => {\n try {\n child.kill('SIGHUP')\n\n /* c8 ignore start */\n } catch (_) {\n // SIGHUP is weird on windows\n child.kill('SIGTERM')\n }\n /* c8 ignore stop */\n }\n const removeOnExit = onExit(childHangup)\n\n const dog = watchdog(child)\n\n let done = false\n child.on('close', async (code, signal) => {\n dog.kill('SIGKILL')\n /* c8 ignore start */\n if (done) {\n return\n }\n /* c8 ignore stop */\n done = true\n const result = cleanup(code, signal)\n const res = isPromise(result) ? await result : result\n removeOnExit()\n unproxySignals()\n\n if (res === false) return\n else if (typeof res === 'string') {\n signal = res\n code = null\n } else if (typeof res === 'number') {\n code = res\n signal = null\n }\n\n if (signal) {\n // If there is nothing else keeping the event loop alive,\n // then there's a race between a graceful exit and getting\n // the signal to this process. Put this timeout here to\n // make sure we're still alive to get the signal, and thus\n // exit with the intended signal code.\n /* istanbul ignore next */\n setTimeout(() => {}, 2000)\n try {\n process.kill(process.pid, signal)\n /* c8 ignore start */\n } catch (_) {\n process.kill(process.pid, 'SIGTERM')\n }\n /* c8 ignore stop */\n } else {\n process.exit(code || 0)\n }\n })\n\n if (process.send) {\n process.removeAllListeners('message')\n\n child.on('message', (message, sendHandle) => {\n process.send?.(message, sendHandle)\n })\n\n process.on('message', (message, sendHandle) => {\n child.send(\n message as Serializable,\n sendHandle as SendHandle | undefined\n )\n })\n }\n\n return child\n}\n\n/**\n * Starts forwarding signals to `child` through `parent`.\n */\nconst proxySignals = (child: ChildProcess) => {\n const listeners = new Map()\n\n for (const sig of allSignals) {\n const listener = () => {\n // some signals can only be received, not sent\n try {\n child.kill(sig)\n /* c8 ignore start */\n } catch (_) {}\n /* c8 ignore stop */\n }\n try {\n // if it's a signal this system doesn't recognize, skip it\n process.on(sig, listener)\n listeners.set(sig, listener)\n /* c8 ignore start */\n } catch (_) {}\n /* c8 ignore stop */\n }\n\n return () => {\n for (const [sig, listener] of listeners) {\n process.removeListener(sig, listener)\n }\n }\n}\n\nconst isPromise = (o: any): o is Promise<any> =>\n !!o && typeof o === 'object' && typeof o.then === 'function'\n"]}
@@ -1,3 +0,0 @@
1
- {
2
- "type": "commonjs"
3
- }
@@ -1,4 +0,0 @@
1
- /// <reference types="node" />
2
- import { ChildProcess } from 'child_process';
3
- export declare const watchdog: (child: ChildProcess) => ChildProcess;
4
- //# sourceMappingURL=watchdog.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"watchdog.d.ts","sourceRoot":"","sources":["../../src/watchdog.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAS,MAAM,eAAe,CAAA;AAyBnD,eAAO,MAAM,QAAQ,UAAW,YAAY,iBAc3C,CAAA"}
@@ -1,43 +0,0 @@
1
- "use strict";
2
- // this spawns a child process that listens for SIGHUP when the
3
- // parent process exits, and after 200ms, sends a SIGKILL to the
4
- // child, in case it did not terminate.
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.watchdog = void 0;
7
- const child_process_1 = require("child_process");
8
- const watchdogCode = String.raw `
9
- const pid = parseInt(process.argv[1], 10)
10
- process.title = 'node (foreground-child watchdog pid=' + pid + ')'
11
- if (!isNaN(pid)) {
12
- let barked = false
13
- // keepalive
14
- const interval = setInterval(() => {}, 60000)
15
- const bark = () => {
16
- clearInterval(interval)
17
- if (barked) return
18
- barked = true
19
- process.removeListener('SIGHUP', bark)
20
- setTimeout(() => {
21
- try {
22
- process.kill(pid, 'SIGKILL')
23
- setTimeout(() => process.exit(), 200)
24
- } catch (_) {}
25
- }, 500)
26
- })
27
- process.on('SIGHUP', bark)
28
- }
29
- `;
30
- const watchdog = (child) => {
31
- let dogExited = false;
32
- const dog = (0, child_process_1.spawn)(process.execPath, ['-e', watchdogCode, String(child.pid)], {
33
- stdio: 'ignore',
34
- });
35
- dog.on('exit', () => (dogExited = true));
36
- child.on('exit', () => {
37
- if (!dogExited)
38
- dog.kill('SIGTERM');
39
- });
40
- return dog;
41
- };
42
- exports.watchdog = watchdog;
43
- //# sourceMappingURL=watchdog.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"watchdog.js","sourceRoot":"","sources":["../../src/watchdog.ts"],"names":[],"mappings":";AAAA,+DAA+D;AAC/D,gEAAgE;AAChE,uCAAuC;;;AAEvC,iDAAmD;AAEnD,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;CAqB9B,CAAA;AAEM,MAAM,QAAQ,GAAG,CAAC,KAAmB,EAAE,EAAE;IAC9C,IAAI,SAAS,GAAG,KAAK,CAAA;IACrB,MAAM,GAAG,GAAG,IAAA,qBAAK,EACf,OAAO,CAAC,QAAQ,EAChB,CAAC,IAAI,EAAE,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EACvC;QACE,KAAK,EAAE,QAAQ;KAChB,CACF,CAAA;IACD,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC,CAAC,CAAA;IACxC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE;QACpB,IAAI,CAAC,SAAS;YAAE,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;IACrC,CAAC,CAAC,CAAA;IACF,OAAO,GAAG,CAAA;AACZ,CAAC,CAAA;AAdY,QAAA,QAAQ,YAcpB","sourcesContent":["// this spawns a child process that listens for SIGHUP when the\n// parent process exits, and after 200ms, sends a SIGKILL to the\n// child, in case it did not terminate.\n\nimport { ChildProcess, spawn } from 'child_process'\n\nconst watchdogCode = String.raw`\nconst pid = parseInt(process.argv[1], 10)\nprocess.title = 'node (foreground-child watchdog pid=' + pid + ')'\nif (!isNaN(pid)) {\n let barked = false\n // keepalive\n const interval = setInterval(() => {}, 60000)\n const bark = () => {\n clearInterval(interval)\n if (barked) return\n barked = true\n process.removeListener('SIGHUP', bark)\n setTimeout(() => {\n try {\n process.kill(pid, 'SIGKILL')\n setTimeout(() => process.exit(), 200)\n } catch (_) {}\n }, 500)\n })\n process.on('SIGHUP', bark)\n}\n`\n\nexport const watchdog = (child: ChildProcess) => {\n let dogExited = false\n const dog = spawn(\n process.execPath,\n ['-e', watchdogCode, String(child.pid)],\n {\n stdio: 'ignore',\n }\n )\n dog.on('exit', () => (dogExited = true))\n child.on('exit', () => {\n if (!dogExited) dog.kill('SIGTERM')\n })\n return dog\n}\n"]}
@@ -1,3 +0,0 @@
1
- /// <reference types="node" />
2
- export declare const allSignals: NodeJS.Signals[];
3
- //# sourceMappingURL=all-signals.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"all-signals.d.ts","sourceRoot":"","sources":["../../src/all-signals.ts"],"names":[],"mappings":";AACA,eAAO,MAAM,UAAU,kBASA,CAAA"}
@@ -1,52 +0,0 @@
1
- import constants from 'node:constants';
2
- export const allSignals =
3
- // this is the full list of signals that Node will let us do anything with
4
- Object.keys(constants).filter(k => k.startsWith('SIG') &&
5
- // https://github.com/tapjs/signal-exit/issues/21
6
- k !== 'SIGPROF' &&
7
- // no sense trying to listen for SIGKILL, it's impossible
8
- k !== 'SIGKILL');
9
- // These are some obscure signals that are reported by kill -l
10
- // on macOS, Linux, or Windows, but which don't have any mapping
11
- // in Node.js. No sense trying if they're just going to throw
12
- // every time on every platform.
13
- //
14
- // 'SIGEMT',
15
- // 'SIGLOST',
16
- // 'SIGPOLL',
17
- // 'SIGRTMAX',
18
- // 'SIGRTMAX-1',
19
- // 'SIGRTMAX-10',
20
- // 'SIGRTMAX-11',
21
- // 'SIGRTMAX-12',
22
- // 'SIGRTMAX-13',
23
- // 'SIGRTMAX-14',
24
- // 'SIGRTMAX-15',
25
- // 'SIGRTMAX-2',
26
- // 'SIGRTMAX-3',
27
- // 'SIGRTMAX-4',
28
- // 'SIGRTMAX-5',
29
- // 'SIGRTMAX-6',
30
- // 'SIGRTMAX-7',
31
- // 'SIGRTMAX-8',
32
- // 'SIGRTMAX-9',
33
- // 'SIGRTMIN',
34
- // 'SIGRTMIN+1',
35
- // 'SIGRTMIN+10',
36
- // 'SIGRTMIN+11',
37
- // 'SIGRTMIN+12',
38
- // 'SIGRTMIN+13',
39
- // 'SIGRTMIN+14',
40
- // 'SIGRTMIN+15',
41
- // 'SIGRTMIN+16',
42
- // 'SIGRTMIN+2',
43
- // 'SIGRTMIN+3',
44
- // 'SIGRTMIN+4',
45
- // 'SIGRTMIN+5',
46
- // 'SIGRTMIN+6',
47
- // 'SIGRTMIN+7',
48
- // 'SIGRTMIN+8',
49
- // 'SIGRTMIN+9',
50
- // 'SIGSTKFLT',
51
- // 'SIGUNUSED',
52
- //# sourceMappingURL=all-signals.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"all-signals.js","sourceRoot":"","sources":["../../src/all-signals.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gBAAgB,CAAA;AACtC,MAAM,CAAC,MAAM,UAAU;AACrB,0EAA0E;AAC1E,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,CAC3B,CAAC,CAAC,EAAE,CACF,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC;IACnB,iDAAiD;IACjD,CAAC,KAAK,SAAS;IACf,yDAAyD;IACzD,CAAC,KAAK,SAAS,CACE,CAAA;AAEvB,8DAA8D;AAC9D,gEAAgE;AAChE,6DAA6D;AAC7D,gCAAgC;AAChC,EAAE;AACF,YAAY;AACZ,aAAa;AACb,aAAa;AACb,cAAc;AACd,gBAAgB;AAChB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,cAAc;AACd,gBAAgB;AAChB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,iBAAiB;AACjB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,gBAAgB;AAChB,eAAe;AACf,eAAe","sourcesContent":["import constants from 'node:constants'\nexport const allSignals =\n // this is the full list of signals that Node will let us do anything with\n Object.keys(constants).filter(\n k =>\n k.startsWith('SIG') &&\n // https://github.com/tapjs/signal-exit/issues/21\n k !== 'SIGPROF' &&\n // no sense trying to listen for SIGKILL, it's impossible\n k !== 'SIGKILL'\n ) as NodeJS.Signals[]\n\n// These are some obscure signals that are reported by kill -l\n// on macOS, Linux, or Windows, but which don't have any mapping\n// in Node.js. No sense trying if they're just going to throw\n// every time on every platform.\n//\n// 'SIGEMT',\n// 'SIGLOST',\n// 'SIGPOLL',\n// 'SIGRTMAX',\n// 'SIGRTMAX-1',\n// 'SIGRTMAX-10',\n// 'SIGRTMAX-11',\n// 'SIGRTMAX-12',\n// 'SIGRTMAX-13',\n// 'SIGRTMAX-14',\n// 'SIGRTMAX-15',\n// 'SIGRTMAX-2',\n// 'SIGRTMAX-3',\n// 'SIGRTMAX-4',\n// 'SIGRTMAX-5',\n// 'SIGRTMAX-6',\n// 'SIGRTMAX-7',\n// 'SIGRTMAX-8',\n// 'SIGRTMAX-9',\n// 'SIGRTMIN',\n// 'SIGRTMIN+1',\n// 'SIGRTMIN+10',\n// 'SIGRTMIN+11',\n// 'SIGRTMIN+12',\n// 'SIGRTMIN+13',\n// 'SIGRTMIN+14',\n// 'SIGRTMIN+15',\n// 'SIGRTMIN+16',\n// 'SIGRTMIN+2',\n// 'SIGRTMIN+3',\n// 'SIGRTMIN+4',\n// 'SIGRTMIN+5',\n// 'SIGRTMIN+6',\n// 'SIGRTMIN+7',\n// 'SIGRTMIN+8',\n// 'SIGRTMIN+9',\n// 'SIGSTKFLT',\n// 'SIGUNUSED',\n"]}