@kubb/agent 4.28.1 → 4.29.1

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 (290) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/server/chunks/nitro/nitro.mjs +416 -682
  3. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  4. package/.output/server/chunks/routes/api/health.get.mjs +4 -6
  5. package/.output/server/chunks/routes/api/health.get.mjs.map +1 -1
  6. package/.output/server/index.mjs +4 -6
  7. package/.output/server/index.mjs.map +1 -1
  8. package/.output/server/node_modules/@kubb/fabric-core/dist/{defaultParser-BD_N68Bo.js → defaultParser-C1atU7yU.js} +2 -3
  9. package/.output/server/node_modules/@kubb/fabric-core/dist/{getRelativePath-C4Au07ON.js → getRelativePath-BcieQL5M.js} +1 -2
  10. package/.output/server/node_modules/@kubb/fabric-core/dist/index.js +8 -9
  11. package/.output/server/node_modules/@kubb/fabric-core/dist/{Root-BQX3eHqb.js → onProcessExit-CF200hsz.js} +109 -190
  12. package/.output/server/node_modules/@kubb/fabric-core/dist/parsers/typescript.js +3 -4
  13. package/.output/server/node_modules/@kubb/fabric-core/dist/parsers.js +2 -3
  14. package/.output/server/node_modules/@kubb/fabric-core/dist/plugins.js +58 -298
  15. package/.output/server/node_modules/@kubb/fabric-core/package.json +8 -18
  16. package/.output/server/node_modules/@kubb/react-fabric/dist/{chunk-DbZtQ4qb.js → chunk-Cnw5r_-A.js} +1 -5
  17. package/.output/server/node_modules/@kubb/react-fabric/dist/index.js +39 -41
  18. package/.output/server/node_modules/@kubb/react-fabric/dist/{jsx-runtime-CQFBnRKx.js → jsx-runtime-Dm7PKVbc.js} +6 -24
  19. package/.output/server/node_modules/@kubb/react-fabric/dist/jsx-runtime.js +5 -4
  20. package/.output/server/node_modules/@kubb/react-fabric/dist/plugins.js +3 -3
  21. package/.output/server/node_modules/@kubb/react-fabric/dist/{react--draJ5Pm.js → react-D652OKii.js} +31 -91
  22. package/.output/server/node_modules/@kubb/react-fabric/dist/{reactPlugin-DqJsInTf.js → reactPlugin-BkDkx1cs.js} +410 -1650
  23. package/.output/server/node_modules/@kubb/react-fabric/package.json +8 -11
  24. package/.output/server/node_modules/empathic/access.js +39 -0
  25. package/.output/server/node_modules/empathic/access.mjs +34 -0
  26. package/.output/server/node_modules/empathic/find.js +81 -0
  27. package/.output/server/node_modules/empathic/find.mjs +76 -0
  28. package/.output/server/node_modules/empathic/package.json +49 -0
  29. package/.output/server/node_modules/empathic/package.mjs +52 -0
  30. package/.output/server/node_modules/empathic/resolve.js +31 -0
  31. package/.output/server/node_modules/empathic/resolve.mjs +27 -0
  32. package/.output/server/node_modules/empathic/walk.js +22 -0
  33. package/.output/server/node_modules/empathic/walk.mjs +20 -0
  34. package/.output/server/node_modules/tinyexec/dist/main.js +633 -0
  35. package/.output/server/node_modules/tinyexec/package.json +61 -0
  36. package/.output/server/package.json +6 -44
  37. package/package.json +19 -21
  38. package/.output/server/node_modules/.nitro/path-key@3.1.1/index.js +0 -16
  39. package/.output/server/node_modules/.nitro/path-key@3.1.1/package.json +0 -39
  40. package/.output/server/node_modules/.nitro/path-key@4.0.0/index.js +0 -12
  41. package/.output/server/node_modules/.nitro/path-key@4.0.0/package.json +0 -41
  42. package/.output/server/node_modules/.nitro/path-to-regexp@3.3.0/index.js +0 -421
  43. package/.output/server/node_modules/.nitro/path-to-regexp@3.3.0/package.json +0 -46
  44. package/.output/server/node_modules/@kubb/fabric-core/dist/chunk-BVHe6Par.js +0 -22
  45. package/.output/server/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.js +0 -89
  46. package/.output/server/node_modules/@sec-ant/readable-stream/dist/ponyfill/fromAnyIterable.js +0 -34
  47. package/.output/server/node_modules/@sec-ant/readable-stream/dist/ponyfill/index.js +0 -6
  48. package/.output/server/node_modules/@sec-ant/readable-stream/package.json +0 -98
  49. package/.output/server/node_modules/@sindresorhus/merge-streams/index.js +0 -265
  50. package/.output/server/node_modules/@sindresorhus/merge-streams/package.json +0 -49
  51. package/.output/server/node_modules/balanced-match/index.js +0 -62
  52. package/.output/server/node_modules/balanced-match/package.json +0 -48
  53. package/.output/server/node_modules/brace-expansion/index.js +0 -201
  54. package/.output/server/node_modules/brace-expansion/package.json +0 -50
  55. package/.output/server/node_modules/bytes/index.js +0 -159
  56. package/.output/server/node_modules/bytes/package.json +0 -39
  57. package/.output/server/node_modules/concat-map/index.js +0 -13
  58. package/.output/server/node_modules/concat-map/package.json +0 -59
  59. package/.output/server/node_modules/content-disposition/index.js +0 -445
  60. package/.output/server/node_modules/content-disposition/package.json +0 -39
  61. package/.output/server/node_modules/cross-spawn/index.js +0 -39
  62. package/.output/server/node_modules/cross-spawn/lib/enoent.js +0 -59
  63. package/.output/server/node_modules/cross-spawn/lib/parse.js +0 -91
  64. package/.output/server/node_modules/cross-spawn/lib/util/escape.js +0 -47
  65. package/.output/server/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
  66. package/.output/server/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
  67. package/.output/server/node_modules/cross-spawn/package.json +0 -73
  68. package/.output/server/node_modules/execa/index.js +0 -28
  69. package/.output/server/node_modules/execa/lib/arguments/command.js +0 -20
  70. package/.output/server/node_modules/execa/lib/arguments/cwd.js +0 -39
  71. package/.output/server/node_modules/execa/lib/arguments/encoding-option.js +0 -50
  72. package/.output/server/node_modules/execa/lib/arguments/escape.js +0 -88
  73. package/.output/server/node_modules/execa/lib/arguments/fd-options.js +0 -108
  74. package/.output/server/node_modules/execa/lib/arguments/file-url.js +0 -25
  75. package/.output/server/node_modules/execa/lib/arguments/options.js +0 -96
  76. package/.output/server/node_modules/execa/lib/arguments/shell.js +0 -11
  77. package/.output/server/node_modules/execa/lib/arguments/specific.js +0 -111
  78. package/.output/server/node_modules/execa/lib/convert/add.js +0 -15
  79. package/.output/server/node_modules/execa/lib/convert/concurrent.js +0 -33
  80. package/.output/server/node_modules/execa/lib/convert/duplex.js +0 -69
  81. package/.output/server/node_modules/execa/lib/convert/iterable.js +0 -34
  82. package/.output/server/node_modules/execa/lib/convert/readable.js +0 -113
  83. package/.output/server/node_modules/execa/lib/convert/shared.js +0 -46
  84. package/.output/server/node_modules/execa/lib/convert/writable.js +0 -90
  85. package/.output/server/node_modules/execa/lib/io/contents.js +0 -116
  86. package/.output/server/node_modules/execa/lib/io/input-sync.js +0 -44
  87. package/.output/server/node_modules/execa/lib/io/iterate.js +0 -110
  88. package/.output/server/node_modules/execa/lib/io/max-buffer.js +0 -89
  89. package/.output/server/node_modules/execa/lib/io/output-async.js +0 -80
  90. package/.output/server/node_modules/execa/lib/io/output-sync.js +0 -135
  91. package/.output/server/node_modules/execa/lib/io/pipeline.js +0 -48
  92. package/.output/server/node_modules/execa/lib/io/strip-newline.js +0 -12
  93. package/.output/server/node_modules/execa/lib/ipc/array.js +0 -4
  94. package/.output/server/node_modules/execa/lib/ipc/buffer-messages.js +0 -47
  95. package/.output/server/node_modules/execa/lib/ipc/forward.js +0 -56
  96. package/.output/server/node_modules/execa/lib/ipc/get-each.js +0 -89
  97. package/.output/server/node_modules/execa/lib/ipc/get-one.js +0 -69
  98. package/.output/server/node_modules/execa/lib/ipc/graceful.js +0 -72
  99. package/.output/server/node_modules/execa/lib/ipc/incoming.js +0 -79
  100. package/.output/server/node_modules/execa/lib/ipc/ipc-input.js +0 -44
  101. package/.output/server/node_modules/execa/lib/ipc/methods.js +0 -49
  102. package/.output/server/node_modules/execa/lib/ipc/outgoing.js +0 -47
  103. package/.output/server/node_modules/execa/lib/ipc/reference.js +0 -44
  104. package/.output/server/node_modules/execa/lib/ipc/send.js +0 -91
  105. package/.output/server/node_modules/execa/lib/ipc/strict.js +0 -113
  106. package/.output/server/node_modules/execa/lib/ipc/validation.js +0 -111
  107. package/.output/server/node_modules/execa/lib/methods/bind.js +0 -23
  108. package/.output/server/node_modules/execa/lib/methods/command.js +0 -43
  109. package/.output/server/node_modules/execa/lib/methods/create.js +0 -65
  110. package/.output/server/node_modules/execa/lib/methods/main-async.js +0 -194
  111. package/.output/server/node_modules/execa/lib/methods/main-sync.js +0 -163
  112. package/.output/server/node_modules/execa/lib/methods/node.js +0 -51
  113. package/.output/server/node_modules/execa/lib/methods/parameters.js +0 -31
  114. package/.output/server/node_modules/execa/lib/methods/promise.js +0 -15
  115. package/.output/server/node_modules/execa/lib/methods/script.js +0 -22
  116. package/.output/server/node_modules/execa/lib/methods/template.js +0 -153
  117. package/.output/server/node_modules/execa/lib/pipe/abort.js +0 -20
  118. package/.output/server/node_modules/execa/lib/pipe/pipe-arguments.js +0 -91
  119. package/.output/server/node_modules/execa/lib/pipe/sequence.js +0 -24
  120. package/.output/server/node_modules/execa/lib/pipe/setup.js +0 -72
  121. package/.output/server/node_modules/execa/lib/pipe/streaming.js +0 -51
  122. package/.output/server/node_modules/execa/lib/pipe/throw.js +0 -58
  123. package/.output/server/node_modules/execa/lib/resolve/all-async.js +0 -46
  124. package/.output/server/node_modules/execa/lib/resolve/all-sync.js +0 -33
  125. package/.output/server/node_modules/execa/lib/resolve/exit-async.js +0 -54
  126. package/.output/server/node_modules/execa/lib/resolve/exit-sync.js +0 -25
  127. package/.output/server/node_modules/execa/lib/resolve/stdio.js +0 -47
  128. package/.output/server/node_modules/execa/lib/resolve/wait-stream.js +0 -96
  129. package/.output/server/node_modules/execa/lib/resolve/wait-subprocess.js +0 -146
  130. package/.output/server/node_modules/execa/lib/return/duration.js +0 -8
  131. package/.output/server/node_modules/execa/lib/return/early-error.js +0 -60
  132. package/.output/server/node_modules/execa/lib/return/final-error.js +0 -40
  133. package/.output/server/node_modules/execa/lib/return/message.js +0 -157
  134. package/.output/server/node_modules/execa/lib/return/reject.js +0 -13
  135. package/.output/server/node_modules/execa/lib/return/result.js +0 -186
  136. package/.output/server/node_modules/execa/lib/stdio/direction.js +0 -76
  137. package/.output/server/node_modules/execa/lib/stdio/duplicate.js +0 -116
  138. package/.output/server/node_modules/execa/lib/stdio/handle-async.js +0 -52
  139. package/.output/server/node_modules/execa/lib/stdio/handle-sync.js +0 -57
  140. package/.output/server/node_modules/execa/lib/stdio/handle.js +0 -214
  141. package/.output/server/node_modules/execa/lib/stdio/input-option.js +0 -50
  142. package/.output/server/node_modules/execa/lib/stdio/native.js +0 -106
  143. package/.output/server/node_modules/execa/lib/stdio/stdio-option.js +0 -60
  144. package/.output/server/node_modules/execa/lib/stdio/type.js +0 -173
  145. package/.output/server/node_modules/execa/lib/terminate/cancel.js +0 -20
  146. package/.output/server/node_modules/execa/lib/terminate/cleanup.js +0 -16
  147. package/.output/server/node_modules/execa/lib/terminate/graceful.js +0 -71
  148. package/.output/server/node_modules/execa/lib/terminate/kill.js +0 -93
  149. package/.output/server/node_modules/execa/lib/terminate/signal.js +0 -70
  150. package/.output/server/node_modules/execa/lib/terminate/timeout.js +0 -21
  151. package/.output/server/node_modules/execa/lib/transform/encoding-transform.js +0 -51
  152. package/.output/server/node_modules/execa/lib/transform/generator.js +0 -107
  153. package/.output/server/node_modules/execa/lib/transform/normalize.js +0 -111
  154. package/.output/server/node_modules/execa/lib/transform/object-mode.js +0 -41
  155. package/.output/server/node_modules/execa/lib/transform/run-async.js +0 -60
  156. package/.output/server/node_modules/execa/lib/transform/run-sync.js +0 -50
  157. package/.output/server/node_modules/execa/lib/transform/split.js +0 -110
  158. package/.output/server/node_modules/execa/lib/transform/validate.js +0 -43
  159. package/.output/server/node_modules/execa/lib/utils/abort-signal.js +0 -8
  160. package/.output/server/node_modules/execa/lib/utils/deferred.js +0 -7
  161. package/.output/server/node_modules/execa/lib/utils/max-listeners.js +0 -14
  162. package/.output/server/node_modules/execa/lib/utils/standard-stream.js +0 -6
  163. package/.output/server/node_modules/execa/lib/utils/uint-array.js +0 -69
  164. package/.output/server/node_modules/execa/lib/verbose/complete.js +0 -24
  165. package/.output/server/node_modules/execa/lib/verbose/custom.js +0 -26
  166. package/.output/server/node_modules/execa/lib/verbose/default.js +0 -54
  167. package/.output/server/node_modules/execa/lib/verbose/error.js +0 -13
  168. package/.output/server/node_modules/execa/lib/verbose/info.js +0 -39
  169. package/.output/server/node_modules/execa/lib/verbose/ipc.js +0 -15
  170. package/.output/server/node_modules/execa/lib/verbose/log.js +0 -54
  171. package/.output/server/node_modules/execa/lib/verbose/output.js +0 -60
  172. package/.output/server/node_modules/execa/lib/verbose/start.js +0 -15
  173. package/.output/server/node_modules/execa/lib/verbose/values.js +0 -33
  174. package/.output/server/node_modules/execa/package.json +0 -105
  175. package/.output/server/node_modules/figures/index.js +0 -292
  176. package/.output/server/node_modules/figures/package.json +0 -49
  177. package/.output/server/node_modules/fs-extra/lib/copy/copy-sync.js +0 -176
  178. package/.output/server/node_modules/fs-extra/lib/copy/copy.js +0 -180
  179. package/.output/server/node_modules/fs-extra/lib/copy/index.js +0 -7
  180. package/.output/server/node_modules/fs-extra/lib/empty/index.js +0 -39
  181. package/.output/server/node_modules/fs-extra/lib/ensure/file.js +0 -66
  182. package/.output/server/node_modules/fs-extra/lib/ensure/index.js +0 -23
  183. package/.output/server/node_modules/fs-extra/lib/ensure/link.js +0 -64
  184. package/.output/server/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -101
  185. package/.output/server/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -34
  186. package/.output/server/node_modules/fs-extra/lib/ensure/symlink.js +0 -67
  187. package/.output/server/node_modules/fs-extra/lib/fs/index.js +0 -146
  188. package/.output/server/node_modules/fs-extra/lib/index.js +0 -16
  189. package/.output/server/node_modules/fs-extra/lib/json/index.js +0 -16
  190. package/.output/server/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
  191. package/.output/server/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
  192. package/.output/server/node_modules/fs-extra/lib/json/output-json.js +0 -12
  193. package/.output/server/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
  194. package/.output/server/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -27
  195. package/.output/server/node_modules/fs-extra/lib/mkdirs/utils.js +0 -21
  196. package/.output/server/node_modules/fs-extra/lib/move/index.js +0 -7
  197. package/.output/server/node_modules/fs-extra/lib/move/move-sync.js +0 -55
  198. package/.output/server/node_modules/fs-extra/lib/move/move.js +0 -59
  199. package/.output/server/node_modules/fs-extra/lib/output-file/index.js +0 -31
  200. package/.output/server/node_modules/fs-extra/lib/path-exists/index.js +0 -12
  201. package/.output/server/node_modules/fs-extra/lib/remove/index.js +0 -17
  202. package/.output/server/node_modules/fs-extra/lib/util/async.js +0 -29
  203. package/.output/server/node_modules/fs-extra/lib/util/stat.js +0 -159
  204. package/.output/server/node_modules/fs-extra/lib/util/utimes.js +0 -36
  205. package/.output/server/node_modules/fs-extra/package.json +0 -71
  206. package/.output/server/node_modules/get-stream/package.json +0 -60
  207. package/.output/server/node_modules/get-stream/source/array-buffer.js +0 -84
  208. package/.output/server/node_modules/get-stream/source/array.js +0 -32
  209. package/.output/server/node_modules/get-stream/source/buffer.js +0 -19
  210. package/.output/server/node_modules/get-stream/source/contents.js +0 -121
  211. package/.output/server/node_modules/get-stream/source/exports.js +0 -5
  212. package/.output/server/node_modules/get-stream/source/index.js +0 -13
  213. package/.output/server/node_modules/get-stream/source/stream.js +0 -65
  214. package/.output/server/node_modules/get-stream/source/string.js +0 -41
  215. package/.output/server/node_modules/get-stream/source/utils.js +0 -11
  216. package/.output/server/node_modules/graceful-fs/clone.js +0 -23
  217. package/.output/server/node_modules/graceful-fs/graceful-fs.js +0 -448
  218. package/.output/server/node_modules/graceful-fs/legacy-streams.js +0 -118
  219. package/.output/server/node_modules/graceful-fs/package.json +0 -53
  220. package/.output/server/node_modules/graceful-fs/polyfills.js +0 -355
  221. package/.output/server/node_modules/human-signals/build/src/core.js +0 -273
  222. package/.output/server/node_modules/human-signals/build/src/main.js +0 -70
  223. package/.output/server/node_modules/human-signals/build/src/realtime.js +0 -16
  224. package/.output/server/node_modules/human-signals/build/src/signals.js +0 -34
  225. package/.output/server/node_modules/human-signals/package.json +0 -66
  226. package/.output/server/node_modules/is-plain-obj/index.js +0 -8
  227. package/.output/server/node_modules/is-plain-obj/package.json +0 -41
  228. package/.output/server/node_modules/is-stream/index.js +0 -37
  229. package/.output/server/node_modules/is-stream/package.json +0 -48
  230. package/.output/server/node_modules/is-unicode-supported/index.js +0 -21
  231. package/.output/server/node_modules/is-unicode-supported/package.json +0 -47
  232. package/.output/server/node_modules/isexe/index.js +0 -57
  233. package/.output/server/node_modules/isexe/mode.js +0 -41
  234. package/.output/server/node_modules/isexe/package.json +0 -31
  235. package/.output/server/node_modules/isexe/windows.js +0 -42
  236. package/.output/server/node_modules/js-runtime/dist/index.js +0 -5
  237. package/.output/server/node_modules/js-runtime/package.json +0 -72
  238. package/.output/server/node_modules/jsonfile/index.js +0 -88
  239. package/.output/server/node_modules/jsonfile/package.json +0 -40
  240. package/.output/server/node_modules/jsonfile/utils.js +0 -14
  241. package/.output/server/node_modules/mime-db/db.json +0 -7088
  242. package/.output/server/node_modules/mime-db/index.js +0 -11
  243. package/.output/server/node_modules/mime-db/package.json +0 -57
  244. package/.output/server/node_modules/mime-types/index.js +0 -188
  245. package/.output/server/node_modules/mime-types/package.json +0 -43
  246. package/.output/server/node_modules/minimatch/minimatch.js +0 -947
  247. package/.output/server/node_modules/minimatch/package.json +0 -33
  248. package/.output/server/node_modules/natural-orderby/dist/main.js +0 -19
  249. package/.output/server/node_modules/natural-orderby/dist/umd/natural-orderby.development.js +0 -420
  250. package/.output/server/node_modules/natural-orderby/dist/umd/natural-orderby.production.min.js +0 -11
  251. package/.output/server/node_modules/natural-orderby/package.json +0 -119
  252. package/.output/server/node_modules/npm-run-path/index.js +0 -55
  253. package/.output/server/node_modules/npm-run-path/package.json +0 -52
  254. package/.output/server/node_modules/parse-ms/index.js +0 -45
  255. package/.output/server/node_modules/parse-ms/package.json +0 -47
  256. package/.output/server/node_modules/path-is-inside/lib/path-is-inside.js +0 -28
  257. package/.output/server/node_modules/path-is-inside/package.json +0 -27
  258. package/.output/server/node_modules/pretty-ms/index.js +0 -149
  259. package/.output/server/node_modules/pretty-ms/package.json +0 -55
  260. package/.output/server/node_modules/range-parser/index.js +0 -158
  261. package/.output/server/node_modules/range-parser/package.json +0 -40
  262. package/.output/server/node_modules/serve-handler/package.json +0 -68
  263. package/.output/server/node_modules/serve-handler/src/directory.js +0 -16
  264. package/.output/server/node_modules/serve-handler/src/error.js +0 -10
  265. package/.output/server/node_modules/serve-handler/src/glob-slash.js +0 -9
  266. package/.output/server/node_modules/serve-handler/src/index.js +0 -769
  267. package/.output/server/node_modules/shebang-command/index.js +0 -19
  268. package/.output/server/node_modules/shebang-command/package.json +0 -34
  269. package/.output/server/node_modules/shebang-regex/index.js +0 -2
  270. package/.output/server/node_modules/shebang-regex/package.json +0 -35
  271. package/.output/server/node_modules/signal-exit/dist/mjs/index.js +0 -275
  272. package/.output/server/node_modules/signal-exit/dist/mjs/package.json +0 -3
  273. package/.output/server/node_modules/signal-exit/dist/mjs/signals.js +0 -39
  274. package/.output/server/node_modules/signal-exit/package.json +0 -106
  275. package/.output/server/node_modules/string-argv/index.js +0 -41
  276. package/.output/server/node_modules/string-argv/package.json +0 -51
  277. package/.output/server/node_modules/strip-final-newline/index.js +0 -26
  278. package/.output/server/node_modules/strip-final-newline/package.json +0 -49
  279. package/.output/server/node_modules/unicorn-magic/default.js +0 -14
  280. package/.output/server/node_modules/unicorn-magic/node.js +0 -49
  281. package/.output/server/node_modules/unicorn-magic/package.json +0 -62
  282. package/.output/server/node_modules/universalify/index.js +0 -24
  283. package/.output/server/node_modules/universalify/package.json +0 -34
  284. package/.output/server/node_modules/which/package.json +0 -43
  285. package/.output/server/node_modules/which/which.js +0 -125
  286. package/.output/server/node_modules/yoctocolors/base.js +0 -94
  287. package/.output/server/node_modules/yoctocolors/index.js +0 -2
  288. package/.output/server/node_modules/yoctocolors/package.json +0 -69
  289. /package/.output/server/node_modules/{.nitro/path-to-regexp@8.3.0 → path-to-regexp}/dist/index.js +0 -0
  290. /package/.output/server/node_modules/{.nitro/path-to-regexp@8.3.0 → path-to-regexp}/package.json +0 -0
@@ -1,34 +0,0 @@
1
- import{constants}from"node:os";
2
-
3
- import{SIGNALS}from"./core.js";
4
- import{getRealtimeSignals}from"./realtime.js";
5
-
6
-
7
-
8
- export const getSignals=()=>{
9
- const realtimeSignals=getRealtimeSignals();
10
- const signals=[...SIGNALS,...realtimeSignals].map(normalizeSignal);
11
- return signals
12
- };
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
- const normalizeSignal=({
21
- name,
22
- number:defaultNumber,
23
- description,
24
- action,
25
- forced=false,
26
- standard
27
- })=>{
28
- const{
29
- signals:{[name]:constantSignal}
30
- }=constants;
31
- const supported=constantSignal!==undefined;
32
- const number=supported?constantSignal:defaultNumber;
33
- return{name,number,description,supported,action,forced,standard}
34
- };
@@ -1,66 +0,0 @@
1
- {
2
- "name": "human-signals",
3
- "version": "8.0.1",
4
- "type": "module",
5
- "exports": {
6
- "types": "./build/src/main.d.ts",
7
- "default": "./build/src/main.js"
8
- },
9
- "main": "./build/src/main.js",
10
- "types": "./build/src/main.d.ts",
11
- "files": [
12
- "build/src/**/*.{js,json,d.ts}",
13
- "!build/src/**/*.test.js",
14
- "!build/src/{helpers,fixtures}"
15
- ],
16
- "sideEffects": false,
17
- "scripts": {
18
- "test": "gulp test"
19
- },
20
- "description": "Human-friendly process signals",
21
- "keywords": [
22
- "signal",
23
- "signals",
24
- "handlers",
25
- "error-handling",
26
- "interrupts",
27
- "sigterm",
28
- "sigint",
29
- "irq",
30
- "process",
31
- "exit",
32
- "exit-code",
33
- "status",
34
- "operating-system",
35
- "es6",
36
- "javascript",
37
- "typescript",
38
- "linux",
39
- "macos",
40
- "windows",
41
- "nodejs"
42
- ],
43
- "license": "Apache-2.0",
44
- "homepage": "https://www.github.com/ehmicky/human-signals",
45
- "repository": {
46
- "type": "git",
47
- "url": "git+https://github.com/ehmicky/human-signals.git"
48
- },
49
- "bugs": {
50
- "url": "https://github.com/ehmicky/human-signals/issues"
51
- },
52
- "author": "ehmicky <ehmicky@gmail.com> (https://github.com/ehmicky)",
53
- "directories": {
54
- "lib": "src"
55
- },
56
- "devDependencies": {
57
- "@ehmicky/dev-tasks": "^3.0.33",
58
- "@ehmicky/eslint-config": "^20.0.31",
59
- "@ehmicky/prettier-config": "^1.0.6",
60
- "ajv": "^8.17.1",
61
- "test-each": "^7.0.1"
62
- },
63
- "engines": {
64
- "node": ">=18.18.0"
65
- }
66
- }
@@ -1,8 +0,0 @@
1
- export default function isPlainObject(value) {
2
- if (typeof value !== 'object' || value === null) {
3
- return false;
4
- }
5
-
6
- const prototype = Object.getPrototypeOf(value);
7
- return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
8
- }
@@ -1,41 +0,0 @@
1
- {
2
- "name": "is-plain-obj",
3
- "version": "4.1.0",
4
- "description": "Check if a value is a plain object",
5
- "license": "MIT",
6
- "repository": "sindresorhus/is-plain-obj",
7
- "funding": "https://github.com/sponsors/sindresorhus",
8
- "author": {
9
- "name": "Sindre Sorhus",
10
- "email": "sindresorhus@gmail.com",
11
- "url": "https://sindresorhus.com"
12
- },
13
- "type": "module",
14
- "exports": "./index.js",
15
- "engines": {
16
- "node": ">=12"
17
- },
18
- "scripts": {
19
- "test": "xo && ava && tsd"
20
- },
21
- "files": [
22
- "index.js",
23
- "index.d.ts"
24
- ],
25
- "keywords": [
26
- "object",
27
- "is",
28
- "check",
29
- "test",
30
- "type",
31
- "plain",
32
- "vanilla",
33
- "pure",
34
- "simple"
35
- ],
36
- "devDependencies": {
37
- "ava": "^3.15.0",
38
- "tsd": "^0.14.0",
39
- "xo": "^0.38.2"
40
- }
41
- }
@@ -1,37 +0,0 @@
1
- export function isStream(stream, {checkOpen = true} = {}) {
2
- return stream !== null
3
- && typeof stream === 'object'
4
- && (stream.writable || stream.readable || !checkOpen || (stream.writable === undefined && stream.readable === undefined))
5
- && typeof stream.pipe === 'function';
6
- }
7
-
8
- export function isWritableStream(stream, {checkOpen = true} = {}) {
9
- return isStream(stream, {checkOpen})
10
- && (stream.writable || !checkOpen)
11
- && typeof stream.write === 'function'
12
- && typeof stream.end === 'function'
13
- && typeof stream.writable === 'boolean'
14
- && typeof stream.writableObjectMode === 'boolean'
15
- && typeof stream.destroy === 'function'
16
- && typeof stream.destroyed === 'boolean';
17
- }
18
-
19
- export function isReadableStream(stream, {checkOpen = true} = {}) {
20
- return isStream(stream, {checkOpen})
21
- && (stream.readable || !checkOpen)
22
- && typeof stream.read === 'function'
23
- && typeof stream.readable === 'boolean'
24
- && typeof stream.readableObjectMode === 'boolean'
25
- && typeof stream.destroy === 'function'
26
- && typeof stream.destroyed === 'boolean';
27
- }
28
-
29
- export function isDuplexStream(stream, options) {
30
- return isWritableStream(stream, options)
31
- && isReadableStream(stream, options);
32
- }
33
-
34
- export function isTransformStream(stream, options) {
35
- return isDuplexStream(stream, options)
36
- && typeof stream._transform === 'function';
37
- }
@@ -1,48 +0,0 @@
1
- {
2
- "name": "is-stream",
3
- "version": "4.0.1",
4
- "description": "Check if something is a Node.js stream",
5
- "license": "MIT",
6
- "repository": "sindresorhus/is-stream",
7
- "funding": "https://github.com/sponsors/sindresorhus",
8
- "author": {
9
- "name": "Sindre Sorhus",
10
- "email": "sindresorhus@gmail.com",
11
- "url": "https://sindresorhus.com"
12
- },
13
- "type": "module",
14
- "exports": {
15
- "types": "./index.d.ts",
16
- "default": "./index.js"
17
- },
18
- "sideEffects": false,
19
- "engines": {
20
- "node": ">=18"
21
- },
22
- "scripts": {
23
- "test": "xo && ava && tsd"
24
- },
25
- "files": [
26
- "index.js",
27
- "index.d.ts"
28
- ],
29
- "keywords": [
30
- "stream",
31
- "type",
32
- "streams",
33
- "writable",
34
- "readable",
35
- "duplex",
36
- "transform",
37
- "check",
38
- "detect",
39
- "is"
40
- ],
41
- "devDependencies": {
42
- "@types/node": "^20.11.19",
43
- "ava": "^5.3.1",
44
- "tempy": "^3.1.0",
45
- "tsd": "^0.30.5",
46
- "xo": "^0.57.0"
47
- }
48
- }
@@ -1,21 +0,0 @@
1
- import process from 'node:process';
2
-
3
- export default function isUnicodeSupported() {
4
- const {env} = process;
5
- const {TERM, TERM_PROGRAM} = env;
6
-
7
- if (process.platform !== 'win32') {
8
- return TERM !== 'linux'; // Linux console (kernel)
9
- }
10
-
11
- return Boolean(env.WT_SESSION) // Windows Terminal
12
- || Boolean(env.TERMINUS_SUBLIME) // Terminus (<0.2.27)
13
- || env.ConEmuTask === '{cmd::Cmder}' // ConEmu and cmder
14
- || TERM_PROGRAM === 'Terminus-Sublime'
15
- || TERM_PROGRAM === 'vscode'
16
- || TERM === 'xterm-256color'
17
- || TERM === 'alacritty'
18
- || TERM === 'rxvt-unicode'
19
- || TERM === 'rxvt-unicode-256color'
20
- || env.TERMINAL_EMULATOR === 'JetBrains-JediTerm';
21
- }
@@ -1,47 +0,0 @@
1
- {
2
- "name": "is-unicode-supported",
3
- "version": "2.1.0",
4
- "description": "Detect whether the terminal supports Unicode",
5
- "license": "MIT",
6
- "repository": "sindresorhus/is-unicode-supported",
7
- "funding": "https://github.com/sponsors/sindresorhus",
8
- "author": {
9
- "name": "Sindre Sorhus",
10
- "email": "sindresorhus@gmail.com",
11
- "url": "https://sindresorhus.com"
12
- },
13
- "type": "module",
14
- "exports": {
15
- "types": "./index.d.ts",
16
- "default": "./index.js"
17
- },
18
- "sideEffects": false,
19
- "engines": {
20
- "node": ">=18"
21
- },
22
- "scripts": {
23
- "test": "xo && ava && tsd"
24
- },
25
- "files": [
26
- "index.js",
27
- "index.d.ts"
28
- ],
29
- "keywords": [
30
- "terminal",
31
- "unicode",
32
- "detect",
33
- "utf8",
34
- "console",
35
- "shell",
36
- "support",
37
- "supports",
38
- "supported",
39
- "check",
40
- "detection"
41
- ],
42
- "devDependencies": {
43
- "ava": "^6.1.3",
44
- "tsd": "^0.31.2",
45
- "xo": "^0.59.3"
46
- }
47
- }
@@ -1,57 +0,0 @@
1
- var fs = require('fs')
2
- var core
3
- if (process.platform === 'win32' || global.TESTING_WINDOWS) {
4
- core = require('./windows.js')
5
- } else {
6
- core = require('./mode.js')
7
- }
8
-
9
- module.exports = isexe
10
- isexe.sync = sync
11
-
12
- function isexe (path, options, cb) {
13
- if (typeof options === 'function') {
14
- cb = options
15
- options = {}
16
- }
17
-
18
- if (!cb) {
19
- if (typeof Promise !== 'function') {
20
- throw new TypeError('callback not provided')
21
- }
22
-
23
- return new Promise(function (resolve, reject) {
24
- isexe(path, options || {}, function (er, is) {
25
- if (er) {
26
- reject(er)
27
- } else {
28
- resolve(is)
29
- }
30
- })
31
- })
32
- }
33
-
34
- core(path, options || {}, function (er, is) {
35
- // ignore EACCES because that just means we aren't allowed to run it
36
- if (er) {
37
- if (er.code === 'EACCES' || options && options.ignoreErrors) {
38
- er = null
39
- is = false
40
- }
41
- }
42
- cb(er, is)
43
- })
44
- }
45
-
46
- function sync (path, options) {
47
- // my kingdom for a filtered catch
48
- try {
49
- return core.sync(path, options || {})
50
- } catch (er) {
51
- if (options && options.ignoreErrors || er.code === 'EACCES') {
52
- return false
53
- } else {
54
- throw er
55
- }
56
- }
57
- }
@@ -1,41 +0,0 @@
1
- module.exports = isexe
2
- isexe.sync = sync
3
-
4
- var fs = require('fs')
5
-
6
- function isexe (path, options, cb) {
7
- fs.stat(path, function (er, stat) {
8
- cb(er, er ? false : checkStat(stat, options))
9
- })
10
- }
11
-
12
- function sync (path, options) {
13
- return checkStat(fs.statSync(path), options)
14
- }
15
-
16
- function checkStat (stat, options) {
17
- return stat.isFile() && checkMode(stat, options)
18
- }
19
-
20
- function checkMode (stat, options) {
21
- var mod = stat.mode
22
- var uid = stat.uid
23
- var gid = stat.gid
24
-
25
- var myUid = options.uid !== undefined ?
26
- options.uid : process.getuid && process.getuid()
27
- var myGid = options.gid !== undefined ?
28
- options.gid : process.getgid && process.getgid()
29
-
30
- var u = parseInt('100', 8)
31
- var g = parseInt('010', 8)
32
- var o = parseInt('001', 8)
33
- var ug = u | g
34
-
35
- var ret = (mod & o) ||
36
- (mod & g) && gid === myGid ||
37
- (mod & u) && uid === myUid ||
38
- (mod & ug) && myUid === 0
39
-
40
- return ret
41
- }
@@ -1,31 +0,0 @@
1
- {
2
- "name": "isexe",
3
- "version": "2.0.0",
4
- "description": "Minimal module to check if a file is executable.",
5
- "main": "index.js",
6
- "directories": {
7
- "test": "test"
8
- },
9
- "devDependencies": {
10
- "mkdirp": "^0.5.1",
11
- "rimraf": "^2.5.0",
12
- "tap": "^10.3.0"
13
- },
14
- "scripts": {
15
- "test": "tap test/*.js --100",
16
- "preversion": "npm test",
17
- "postversion": "npm publish",
18
- "postpublish": "git push origin --all; git push origin --tags"
19
- },
20
- "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
21
- "license": "ISC",
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/isaacs/isexe.git"
25
- },
26
- "keywords": [],
27
- "bugs": {
28
- "url": "https://github.com/isaacs/isexe/issues"
29
- },
30
- "homepage": "https://github.com/isaacs/isexe#readme"
31
- }
@@ -1,42 +0,0 @@
1
- module.exports = isexe
2
- isexe.sync = sync
3
-
4
- var fs = require('fs')
5
-
6
- function checkPathExt (path, options) {
7
- var pathext = options.pathExt !== undefined ?
8
- options.pathExt : process.env.PATHEXT
9
-
10
- if (!pathext) {
11
- return true
12
- }
13
-
14
- pathext = pathext.split(';')
15
- if (pathext.indexOf('') !== -1) {
16
- return true
17
- }
18
- for (var i = 0; i < pathext.length; i++) {
19
- var p = pathext[i].toLowerCase()
20
- if (p && path.substr(-p.length).toLowerCase() === p) {
21
- return true
22
- }
23
- }
24
- return false
25
- }
26
-
27
- function checkStat (stat, path, options) {
28
- if (!stat.isSymbolicLink() && !stat.isFile()) {
29
- return false
30
- }
31
- return checkPathExt(path, options)
32
- }
33
-
34
- function isexe (path, options, cb) {
35
- fs.stat(path, function (er, stat) {
36
- cb(er, er ? false : checkStat(stat, path, options))
37
- })
38
- }
39
-
40
- function sync (path, options) {
41
- return checkStat(fs.statSync(path), path, options)
42
- }
@@ -1,5 +0,0 @@
1
- var i=Object.defineProperty;var s=(t,n)=>{for(var r in n)i(t,r,{get:n[r],enumerable:!0});};var u={};s(u,{get:()=>e,getVersion:()=>d,importer:()=>f,isBun:()=>a,isDeno:()=>c,isJest:()=>l,isNode:()=>p,runtimes:()=>o,switcher:()=>m});var o={bun:globalThis.Bun,deno:globalThis.Deno,node:void 0,jest:globalThis.jest};function e(){return o.bun?"bun":o.deno?"deno":o.jest?"jest":"node"}function a(){return e()==="bun"}function c(){return e()==="deno"}function p(){return e()==="node"}function l(){return e()==="jest"}function d(){let t=e();switch(t){case"bun":return globalThis.Bun.version;case"deno":return globalThis.Deno.version.deno;case"node":return globalThis.process.version.substring(1);default:throw new Error(`No runtime version found for ${t}`)}}function m(t,n){let r=e();return t[n??r]}async function f(t,n){let r=e();return import(t[n??r])}var b=u;
2
-
3
- export { b as default, e as get, d as getVersion, f as importer, a as isBun, c as isDeno, l as isJest, p as isNode, u as runtime, o as runtimes, m as switcher };
4
- //# sourceMappingURL=out.js.map
5
- //# sourceMappingURL=index.js.map
@@ -1,72 +0,0 @@
1
- {
2
- "name": "js-runtime",
3
- "version": "0.0.8",
4
- "description": "Detect which JavaScript runtime is being used.",
5
- "keywords": [
6
- "bun",
7
- "node",
8
- "deno",
9
- "jest",
10
- "runtime"
11
- ],
12
- "repository": {
13
- "type": "git",
14
- "url": "git://github.com/stijnvanhulle/js-runtime.git"
15
- },
16
- "license": "MIT",
17
- "author": "Stijn Van Hulle <stijn@stijnvanhulle.be",
18
- "sideEffects": false,
19
- "type": "module",
20
- "exports": {
21
- ".": {
22
- "import": "./dist/index.js",
23
- "module": "./dist/index.js",
24
- "default": "./dist/index.cjs"
25
- },
26
- "./package.json": "./package.json",
27
- "./*": "./*"
28
- },
29
- "main": "dist/index.js",
30
- "module": "dist/index.js",
31
- "types": "./dist/index.d.ts",
32
- "files": [
33
- "dist"
34
- ],
35
- "scripts": {
36
- "build": "tsup",
37
- "build:bun": "bun run ./scripts/build.ts",
38
- "format": "prettier --write .",
39
- "lint": "ESLINT_USE_FLAT_CONFIG=true eslint --format pretty .",
40
- "lint-fix": "bun run lint --quiet --fix",
41
- "release": "npm publish --no-git-check",
42
- "start": "tsup --watch",
43
- "start:bun": "bun run build.ts --watch",
44
- "test": "bun test",
45
- "typecheck": "tsc -p ./tsconfig.json --noEmit --emitDeclarationOnly false"
46
- },
47
- "devDependencies": {
48
- "@eslint/js": "^9.0.0",
49
- "@types/eslint": "~8.56.7",
50
- "@types/node": "^20.12.5",
51
- "@typescript-eslint/eslint-plugin": "^7.6.0",
52
- "@typescript-eslint/parser": "~7.6.0",
53
- "bun-types": "^1.1.3",
54
- "eslint-config-prettier": "~9.1.0",
55
- "eslint-formatter-pretty": "^6.0.1",
56
- "eslint-plugin-eslint-plugin": "^5.5.1",
57
- "globals": "^15.0.0",
58
- "bun": "^1.1.3",
59
- "prettier": "^3.2.5",
60
- "tsup": "^8.0.2",
61
- "typescript": "^5.4.4"
62
- },
63
- "packageManager": "pnpm@8.3.0",
64
- "engines": {
65
- "node": ">=18",
66
- "pnpm": ">=8.3.0"
67
- },
68
- "publishConfig": {
69
- "access": "public",
70
- "registry": "https://registry.npmjs.org/"
71
- }
72
- }
@@ -1,88 +0,0 @@
1
- let _fs
2
- try {
3
- _fs = require('graceful-fs')
4
- } catch (_) {
5
- _fs = require('fs')
6
- }
7
- const universalify = require('universalify')
8
- const { stringify, stripBom } = require('./utils')
9
-
10
- async function _readFile (file, options = {}) {
11
- if (typeof options === 'string') {
12
- options = { encoding: options }
13
- }
14
-
15
- const fs = options.fs || _fs
16
-
17
- const shouldThrow = 'throws' in options ? options.throws : true
18
-
19
- let data = await universalify.fromCallback(fs.readFile)(file, options)
20
-
21
- data = stripBom(data)
22
-
23
- let obj
24
- try {
25
- obj = JSON.parse(data, options ? options.reviver : null)
26
- } catch (err) {
27
- if (shouldThrow) {
28
- err.message = `${file}: ${err.message}`
29
- throw err
30
- } else {
31
- return null
32
- }
33
- }
34
-
35
- return obj
36
- }
37
-
38
- const readFile = universalify.fromPromise(_readFile)
39
-
40
- function readFileSync (file, options = {}) {
41
- if (typeof options === 'string') {
42
- options = { encoding: options }
43
- }
44
-
45
- const fs = options.fs || _fs
46
-
47
- const shouldThrow = 'throws' in options ? options.throws : true
48
-
49
- try {
50
- let content = fs.readFileSync(file, options)
51
- content = stripBom(content)
52
- return JSON.parse(content, options.reviver)
53
- } catch (err) {
54
- if (shouldThrow) {
55
- err.message = `${file}: ${err.message}`
56
- throw err
57
- } else {
58
- return null
59
- }
60
- }
61
- }
62
-
63
- async function _writeFile (file, obj, options = {}) {
64
- const fs = options.fs || _fs
65
-
66
- const str = stringify(obj, options)
67
-
68
- await universalify.fromCallback(fs.writeFile)(file, str, options)
69
- }
70
-
71
- const writeFile = universalify.fromPromise(_writeFile)
72
-
73
- function writeFileSync (file, obj, options = {}) {
74
- const fs = options.fs || _fs
75
-
76
- const str = stringify(obj, options)
77
- // not sure if fs.writeFileSync returns anything, but just in case
78
- return fs.writeFileSync(file, str, options)
79
- }
80
-
81
- // NOTE: do not change this export format; required for ESM compat
82
- // see https://github.com/jprichardson/node-jsonfile/pull/162 for details
83
- module.exports = {
84
- readFile,
85
- readFileSync,
86
- writeFile,
87
- writeFileSync
88
- }