karajan-code 3.4.1 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (716) hide show
  1. package/README.md +1 -1
  2. package/node_modules/@karajan/core/package.json +12 -1
  3. package/package.json +4 -2
  4. package/scripts/verify-pack.mjs +108 -0
  5. package/src/cli/register-meta.js +37 -0
  6. package/src/cli/register-pipeline.js +1 -0
  7. package/src/commands/check.js +22 -0
  8. package/src/commands/harden.js +107 -0
  9. package/src/commands/init.js +15 -0
  10. package/src/harden/check.js +70 -0
  11. package/src/harden/config-engine.js +75 -0
  12. package/src/harden/config-templates.js +112 -0
  13. package/src/harden/guidelines-engine.js +48 -0
  14. package/src/harden/guidelines-templates.js +36 -0
  15. package/src/harden/harden-engine.js +66 -0
  16. package/src/harden/hook-commands.js +20 -0
  17. package/src/harden/hook-templates.js +69 -0
  18. package/src/harden/stack-roots.js +74 -0
  19. package/src/harden/workflow-engine.js +64 -0
  20. package/src/harden/workflow-templates.js +152 -0
  21. package/src/utils/managed-markers.js +93 -0
  22. package/node_modules/@sec-ant/readable-stream/LICENSE +0 -21
  23. package/node_modules/@sec-ant/readable-stream/README.md +0 -230
  24. package/node_modules/@sec-ant/readable-stream/dist/core/asyncIterablePrototype.d.ts +0 -1
  25. package/node_modules/@sec-ant/readable-stream/dist/core/asyncIterator.d.ts +0 -27
  26. package/node_modules/@sec-ant/readable-stream/dist/core/fromAnyIterable.d.ts +0 -6
  27. package/node_modules/@sec-ant/readable-stream/dist/index/asyncIterator.d.ts +0 -2
  28. package/node_modules/@sec-ant/readable-stream/dist/index/asyncIterator.js +0 -5
  29. package/node_modules/@sec-ant/readable-stream/dist/index/fromAnyIterable.d.ts +0 -2
  30. package/node_modules/@sec-ant/readable-stream/dist/index/fromAnyIterable.js +0 -5
  31. package/node_modules/@sec-ant/readable-stream/dist/index/index.d.ts +0 -2
  32. package/node_modules/@sec-ant/readable-stream/dist/index/index.js +0 -8
  33. package/node_modules/@sec-ant/readable-stream/dist/polyfill/asyncIterator.d.ts +0 -1
  34. package/node_modules/@sec-ant/readable-stream/dist/polyfill/asyncIterator.js +0 -3
  35. package/node_modules/@sec-ant/readable-stream/dist/polyfill/fromAnyIterable.d.ts +0 -1
  36. package/node_modules/@sec-ant/readable-stream/dist/polyfill/fromAnyIterable.js +0 -2
  37. package/node_modules/@sec-ant/readable-stream/dist/polyfill/index.d.ts +0 -2
  38. package/node_modules/@sec-ant/readable-stream/dist/polyfill/index.js +0 -4
  39. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.d.ts +0 -1
  40. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.js +0 -89
  41. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/fromAnyIterable.d.ts +0 -1
  42. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/fromAnyIterable.js +0 -34
  43. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/index.d.ts +0 -2
  44. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/index.js +0 -6
  45. package/node_modules/@sec-ant/readable-stream/dist/types/async-iterator.d.ts +0 -11
  46. package/node_modules/@sec-ant/readable-stream/package.json +0 -96
  47. package/node_modules/@sindresorhus/merge-streams/index.d.ts +0 -44
  48. package/node_modules/@sindresorhus/merge-streams/index.js +0 -265
  49. package/node_modules/@sindresorhus/merge-streams/license +0 -9
  50. package/node_modules/@sindresorhus/merge-streams/package.json +0 -49
  51. package/node_modules/@sindresorhus/merge-streams/readme.md +0 -53
  52. package/node_modules/base64-js/LICENSE +0 -21
  53. package/node_modules/base64-js/README.md +0 -34
  54. package/node_modules/base64-js/base64js.min.js +0 -1
  55. package/node_modules/base64-js/index.d.ts +0 -3
  56. package/node_modules/base64-js/index.js +0 -150
  57. package/node_modules/base64-js/package.json +0 -47
  58. package/node_modules/better-sqlite3/LICENSE +0 -21
  59. package/node_modules/better-sqlite3/README.md +0 -99
  60. package/node_modules/better-sqlite3/binding.gyp +0 -38
  61. package/node_modules/better-sqlite3/deps/common.gypi +0 -68
  62. package/node_modules/better-sqlite3/deps/copy.js +0 -31
  63. package/node_modules/better-sqlite3/deps/defines.gypi +0 -42
  64. package/node_modules/better-sqlite3/deps/download.sh +0 -123
  65. package/node_modules/better-sqlite3/deps/patches/1208.patch +0 -15
  66. package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.c +0 -268879
  67. package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.h +0 -14335
  68. package/node_modules/better-sqlite3/deps/sqlite3/sqlite3ext.h +0 -739
  69. package/node_modules/better-sqlite3/deps/sqlite3.gyp +0 -80
  70. package/node_modules/better-sqlite3/deps/test_extension.c +0 -21
  71. package/node_modules/better-sqlite3/lib/database.js +0 -90
  72. package/node_modules/better-sqlite3/lib/index.js +0 -3
  73. package/node_modules/better-sqlite3/lib/methods/aggregate.js +0 -43
  74. package/node_modules/better-sqlite3/lib/methods/backup.js +0 -67
  75. package/node_modules/better-sqlite3/lib/methods/function.js +0 -31
  76. package/node_modules/better-sqlite3/lib/methods/inspect.js +0 -7
  77. package/node_modules/better-sqlite3/lib/methods/pragma.js +0 -12
  78. package/node_modules/better-sqlite3/lib/methods/serialize.js +0 -16
  79. package/node_modules/better-sqlite3/lib/methods/table.js +0 -189
  80. package/node_modules/better-sqlite3/lib/methods/transaction.js +0 -78
  81. package/node_modules/better-sqlite3/lib/methods/wrappers.js +0 -54
  82. package/node_modules/better-sqlite3/lib/sqlite-error.js +0 -20
  83. package/node_modules/better-sqlite3/lib/util.js +0 -12
  84. package/node_modules/better-sqlite3/package.json +0 -59
  85. package/node_modules/better-sqlite3/src/addon.cpp +0 -47
  86. package/node_modules/better-sqlite3/src/better_sqlite3.cpp +0 -74
  87. package/node_modules/better-sqlite3/src/objects/backup.cpp +0 -120
  88. package/node_modules/better-sqlite3/src/objects/backup.hpp +0 -36
  89. package/node_modules/better-sqlite3/src/objects/database.cpp +0 -417
  90. package/node_modules/better-sqlite3/src/objects/database.hpp +0 -103
  91. package/node_modules/better-sqlite3/src/objects/statement-iterator.cpp +0 -113
  92. package/node_modules/better-sqlite3/src/objects/statement-iterator.hpp +0 -50
  93. package/node_modules/better-sqlite3/src/objects/statement.cpp +0 -383
  94. package/node_modules/better-sqlite3/src/objects/statement.hpp +0 -58
  95. package/node_modules/better-sqlite3/src/util/bind-map.cpp +0 -73
  96. package/node_modules/better-sqlite3/src/util/binder.cpp +0 -193
  97. package/node_modules/better-sqlite3/src/util/constants.cpp +0 -172
  98. package/node_modules/better-sqlite3/src/util/custom-aggregate.cpp +0 -121
  99. package/node_modules/better-sqlite3/src/util/custom-function.cpp +0 -59
  100. package/node_modules/better-sqlite3/src/util/custom-table.cpp +0 -409
  101. package/node_modules/better-sqlite3/src/util/data-converter.cpp +0 -17
  102. package/node_modules/better-sqlite3/src/util/data.cpp +0 -194
  103. package/node_modules/better-sqlite3/src/util/helpers.cpp +0 -109
  104. package/node_modules/better-sqlite3/src/util/macros.cpp +0 -83
  105. package/node_modules/better-sqlite3/src/util/query-macros.cpp +0 -71
  106. package/node_modules/better-sqlite3/src/util/row-builder.cpp +0 -49
  107. package/node_modules/bindings/LICENSE.md +0 -22
  108. package/node_modules/bindings/README.md +0 -98
  109. package/node_modules/bindings/bindings.js +0 -221
  110. package/node_modules/bindings/package.json +0 -28
  111. package/node_modules/bl/.travis.yml +0 -17
  112. package/node_modules/bl/BufferList.js +0 -396
  113. package/node_modules/bl/LICENSE.md +0 -13
  114. package/node_modules/bl/README.md +0 -247
  115. package/node_modules/bl/bl.js +0 -84
  116. package/node_modules/bl/package.json +0 -37
  117. package/node_modules/bl/test/convert.js +0 -21
  118. package/node_modules/bl/test/indexOf.js +0 -492
  119. package/node_modules/bl/test/isBufferList.js +0 -32
  120. package/node_modules/bl/test/test.js +0 -869
  121. package/node_modules/buffer/AUTHORS.md +0 -70
  122. package/node_modules/buffer/LICENSE +0 -21
  123. package/node_modules/buffer/README.md +0 -410
  124. package/node_modules/buffer/index.d.ts +0 -186
  125. package/node_modules/buffer/index.js +0 -1817
  126. package/node_modules/buffer/package.json +0 -96
  127. package/node_modules/chownr/LICENSE +0 -15
  128. package/node_modules/chownr/README.md +0 -3
  129. package/node_modules/chownr/chownr.js +0 -167
  130. package/node_modules/chownr/package.json +0 -29
  131. package/node_modules/cross-spawn/LICENSE +0 -21
  132. package/node_modules/cross-spawn/README.md +0 -89
  133. package/node_modules/cross-spawn/index.js +0 -39
  134. package/node_modules/cross-spawn/lib/enoent.js +0 -59
  135. package/node_modules/cross-spawn/lib/parse.js +0 -91
  136. package/node_modules/cross-spawn/lib/util/escape.js +0 -47
  137. package/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
  138. package/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
  139. package/node_modules/cross-spawn/package.json +0 -73
  140. package/node_modules/decompress-response/index.d.ts +0 -22
  141. package/node_modules/decompress-response/index.js +0 -58
  142. package/node_modules/decompress-response/license +0 -9
  143. package/node_modules/decompress-response/package.json +0 -56
  144. package/node_modules/decompress-response/readme.md +0 -48
  145. package/node_modules/deep-extend/LICENSE +0 -20
  146. package/node_modules/deep-extend/README.md +0 -91
  147. package/node_modules/deep-extend/index.js +0 -1
  148. package/node_modules/deep-extend/lib/deep-extend.js +0 -150
  149. package/node_modules/deep-extend/package.json +0 -62
  150. package/node_modules/detect-libc/LICENSE +0 -201
  151. package/node_modules/detect-libc/README.md +0 -163
  152. package/node_modules/detect-libc/index.d.ts +0 -14
  153. package/node_modules/detect-libc/lib/detect-libc.js +0 -313
  154. package/node_modules/detect-libc/lib/elf.js +0 -39
  155. package/node_modules/detect-libc/lib/filesystem.js +0 -51
  156. package/node_modules/detect-libc/lib/process.js +0 -24
  157. package/node_modules/detect-libc/package.json +0 -44
  158. package/node_modules/end-of-stream/LICENSE +0 -21
  159. package/node_modules/end-of-stream/README.md +0 -54
  160. package/node_modules/end-of-stream/index.js +0 -96
  161. package/node_modules/end-of-stream/package.json +0 -37
  162. package/node_modules/execa/index.d.ts +0 -27
  163. package/node_modules/execa/index.js +0 -28
  164. package/node_modules/execa/lib/arguments/command.js +0 -20
  165. package/node_modules/execa/lib/arguments/cwd.js +0 -39
  166. package/node_modules/execa/lib/arguments/encoding-option.js +0 -50
  167. package/node_modules/execa/lib/arguments/escape.js +0 -88
  168. package/node_modules/execa/lib/arguments/fd-options.js +0 -108
  169. package/node_modules/execa/lib/arguments/file-url.js +0 -25
  170. package/node_modules/execa/lib/arguments/options.js +0 -96
  171. package/node_modules/execa/lib/arguments/shell.js +0 -11
  172. package/node_modules/execa/lib/arguments/specific.js +0 -111
  173. package/node_modules/execa/lib/convert/add.js +0 -15
  174. package/node_modules/execa/lib/convert/concurrent.js +0 -33
  175. package/node_modules/execa/lib/convert/duplex.js +0 -69
  176. package/node_modules/execa/lib/convert/iterable.js +0 -34
  177. package/node_modules/execa/lib/convert/readable.js +0 -113
  178. package/node_modules/execa/lib/convert/shared.js +0 -46
  179. package/node_modules/execa/lib/convert/writable.js +0 -90
  180. package/node_modules/execa/lib/io/contents.js +0 -116
  181. package/node_modules/execa/lib/io/input-sync.js +0 -44
  182. package/node_modules/execa/lib/io/iterate.js +0 -110
  183. package/node_modules/execa/lib/io/max-buffer.js +0 -89
  184. package/node_modules/execa/lib/io/output-async.js +0 -80
  185. package/node_modules/execa/lib/io/output-sync.js +0 -135
  186. package/node_modules/execa/lib/io/pipeline.js +0 -48
  187. package/node_modules/execa/lib/io/strip-newline.js +0 -12
  188. package/node_modules/execa/lib/ipc/array.js +0 -4
  189. package/node_modules/execa/lib/ipc/buffer-messages.js +0 -47
  190. package/node_modules/execa/lib/ipc/forward.js +0 -56
  191. package/node_modules/execa/lib/ipc/get-each.js +0 -89
  192. package/node_modules/execa/lib/ipc/get-one.js +0 -69
  193. package/node_modules/execa/lib/ipc/graceful.js +0 -72
  194. package/node_modules/execa/lib/ipc/incoming.js +0 -79
  195. package/node_modules/execa/lib/ipc/ipc-input.js +0 -44
  196. package/node_modules/execa/lib/ipc/methods.js +0 -49
  197. package/node_modules/execa/lib/ipc/outgoing.js +0 -47
  198. package/node_modules/execa/lib/ipc/reference.js +0 -44
  199. package/node_modules/execa/lib/ipc/send.js +0 -91
  200. package/node_modules/execa/lib/ipc/strict.js +0 -113
  201. package/node_modules/execa/lib/ipc/validation.js +0 -111
  202. package/node_modules/execa/lib/methods/bind.js +0 -23
  203. package/node_modules/execa/lib/methods/command.js +0 -43
  204. package/node_modules/execa/lib/methods/create.js +0 -65
  205. package/node_modules/execa/lib/methods/main-async.js +0 -194
  206. package/node_modules/execa/lib/methods/main-sync.js +0 -163
  207. package/node_modules/execa/lib/methods/node.js +0 -51
  208. package/node_modules/execa/lib/methods/parameters.js +0 -31
  209. package/node_modules/execa/lib/methods/promise.js +0 -15
  210. package/node_modules/execa/lib/methods/script.js +0 -22
  211. package/node_modules/execa/lib/methods/template.js +0 -153
  212. package/node_modules/execa/lib/pipe/abort.js +0 -20
  213. package/node_modules/execa/lib/pipe/pipe-arguments.js +0 -91
  214. package/node_modules/execa/lib/pipe/sequence.js +0 -24
  215. package/node_modules/execa/lib/pipe/setup.js +0 -72
  216. package/node_modules/execa/lib/pipe/streaming.js +0 -51
  217. package/node_modules/execa/lib/pipe/throw.js +0 -58
  218. package/node_modules/execa/lib/resolve/all-async.js +0 -46
  219. package/node_modules/execa/lib/resolve/all-sync.js +0 -33
  220. package/node_modules/execa/lib/resolve/exit-async.js +0 -54
  221. package/node_modules/execa/lib/resolve/exit-sync.js +0 -25
  222. package/node_modules/execa/lib/resolve/stdio.js +0 -47
  223. package/node_modules/execa/lib/resolve/wait-stream.js +0 -96
  224. package/node_modules/execa/lib/resolve/wait-subprocess.js +0 -146
  225. package/node_modules/execa/lib/return/duration.js +0 -8
  226. package/node_modules/execa/lib/return/early-error.js +0 -60
  227. package/node_modules/execa/lib/return/final-error.js +0 -40
  228. package/node_modules/execa/lib/return/message.js +0 -157
  229. package/node_modules/execa/lib/return/reject.js +0 -13
  230. package/node_modules/execa/lib/return/result.js +0 -186
  231. package/node_modules/execa/lib/stdio/direction.js +0 -76
  232. package/node_modules/execa/lib/stdio/duplicate.js +0 -116
  233. package/node_modules/execa/lib/stdio/handle-async.js +0 -52
  234. package/node_modules/execa/lib/stdio/handle-sync.js +0 -57
  235. package/node_modules/execa/lib/stdio/handle.js +0 -214
  236. package/node_modules/execa/lib/stdio/input-option.js +0 -50
  237. package/node_modules/execa/lib/stdio/native.js +0 -106
  238. package/node_modules/execa/lib/stdio/stdio-option.js +0 -60
  239. package/node_modules/execa/lib/stdio/type.js +0 -173
  240. package/node_modules/execa/lib/terminate/cancel.js +0 -20
  241. package/node_modules/execa/lib/terminate/cleanup.js +0 -16
  242. package/node_modules/execa/lib/terminate/graceful.js +0 -71
  243. package/node_modules/execa/lib/terminate/kill.js +0 -93
  244. package/node_modules/execa/lib/terminate/signal.js +0 -70
  245. package/node_modules/execa/lib/terminate/timeout.js +0 -21
  246. package/node_modules/execa/lib/transform/encoding-transform.js +0 -51
  247. package/node_modules/execa/lib/transform/generator.js +0 -107
  248. package/node_modules/execa/lib/transform/normalize.js +0 -111
  249. package/node_modules/execa/lib/transform/object-mode.js +0 -41
  250. package/node_modules/execa/lib/transform/run-async.js +0 -60
  251. package/node_modules/execa/lib/transform/run-sync.js +0 -50
  252. package/node_modules/execa/lib/transform/split.js +0 -110
  253. package/node_modules/execa/lib/transform/validate.js +0 -43
  254. package/node_modules/execa/lib/utils/abort-signal.js +0 -8
  255. package/node_modules/execa/lib/utils/deferred.js +0 -7
  256. package/node_modules/execa/lib/utils/max-listeners.js +0 -14
  257. package/node_modules/execa/lib/utils/standard-stream.js +0 -6
  258. package/node_modules/execa/lib/utils/uint-array.js +0 -69
  259. package/node_modules/execa/lib/verbose/complete.js +0 -24
  260. package/node_modules/execa/lib/verbose/custom.js +0 -26
  261. package/node_modules/execa/lib/verbose/default.js +0 -54
  262. package/node_modules/execa/lib/verbose/error.js +0 -13
  263. package/node_modules/execa/lib/verbose/info.js +0 -39
  264. package/node_modules/execa/lib/verbose/ipc.js +0 -15
  265. package/node_modules/execa/lib/verbose/log.js +0 -54
  266. package/node_modules/execa/lib/verbose/output.js +0 -60
  267. package/node_modules/execa/lib/verbose/start.js +0 -15
  268. package/node_modules/execa/lib/verbose/values.js +0 -33
  269. package/node_modules/execa/license +0 -9
  270. package/node_modules/execa/package.json +0 -105
  271. package/node_modules/execa/readme.md +0 -461
  272. package/node_modules/execa/types/arguments/encoding-option.d.ts +0 -19
  273. package/node_modules/execa/types/arguments/fd-options.d.ts +0 -8
  274. package/node_modules/execa/types/arguments/options.d.ts +0 -400
  275. package/node_modules/execa/types/arguments/specific.d.ts +0 -52
  276. package/node_modules/execa/types/convert.d.ts +0 -58
  277. package/node_modules/execa/types/ipc.d.ts +0 -156
  278. package/node_modules/execa/types/methods/command.d.ts +0 -114
  279. package/node_modules/execa/types/methods/main-async.d.ts +0 -379
  280. package/node_modules/execa/types/methods/main-sync.d.ts +0 -59
  281. package/node_modules/execa/types/methods/node.d.ts +0 -62
  282. package/node_modules/execa/types/methods/script.d.ts +0 -115
  283. package/node_modules/execa/types/methods/template.d.ts +0 -18
  284. package/node_modules/execa/types/pipe.d.ts +0 -58
  285. package/node_modules/execa/types/return/final-error.d.ts +0 -51
  286. package/node_modules/execa/types/return/ignore.d.ts +0 -26
  287. package/node_modules/execa/types/return/result-all.d.ts +0 -30
  288. package/node_modules/execa/types/return/result-ipc.d.ts +0 -27
  289. package/node_modules/execa/types/return/result-stdio.d.ts +0 -17
  290. package/node_modules/execa/types/return/result-stdout.d.ts +0 -50
  291. package/node_modules/execa/types/return/result.d.ts +0 -203
  292. package/node_modules/execa/types/stdio/array.d.ts +0 -16
  293. package/node_modules/execa/types/stdio/direction.d.ts +0 -12
  294. package/node_modules/execa/types/stdio/option.d.ts +0 -40
  295. package/node_modules/execa/types/stdio/type.d.ts +0 -170
  296. package/node_modules/execa/types/subprocess/all.d.ts +0 -17
  297. package/node_modules/execa/types/subprocess/stdio.d.ts +0 -18
  298. package/node_modules/execa/types/subprocess/stdout.d.ts +0 -22
  299. package/node_modules/execa/types/subprocess/subprocess.d.ts +0 -117
  300. package/node_modules/execa/types/transform/normalize.d.ts +0 -57
  301. package/node_modules/execa/types/transform/object-mode.d.ts +0 -21
  302. package/node_modules/execa/types/utils.d.ts +0 -13
  303. package/node_modules/execa/types/verbose.d.ts +0 -98
  304. package/node_modules/expand-template/.travis.yml +0 -6
  305. package/node_modules/expand-template/LICENSE +0 -21
  306. package/node_modules/expand-template/README.md +0 -43
  307. package/node_modules/expand-template/index.js +0 -26
  308. package/node_modules/expand-template/package.json +0 -29
  309. package/node_modules/expand-template/test.js +0 -67
  310. package/node_modules/figures/index.d.ts +0 -279
  311. package/node_modules/figures/index.js +0 -292
  312. package/node_modules/figures/license +0 -9
  313. package/node_modules/figures/package.json +0 -49
  314. package/node_modules/figures/readme.md +0 -337
  315. package/node_modules/file-uri-to-path/.npmignore +0 -1
  316. package/node_modules/file-uri-to-path/.travis.yml +0 -30
  317. package/node_modules/file-uri-to-path/History.md +0 -21
  318. package/node_modules/file-uri-to-path/LICENSE +0 -20
  319. package/node_modules/file-uri-to-path/README.md +0 -74
  320. package/node_modules/file-uri-to-path/index.d.ts +0 -2
  321. package/node_modules/file-uri-to-path/index.js +0 -66
  322. package/node_modules/file-uri-to-path/package.json +0 -32
  323. package/node_modules/file-uri-to-path/test/test.js +0 -24
  324. package/node_modules/file-uri-to-path/test/tests.json +0 -13
  325. package/node_modules/fs-constants/LICENSE +0 -21
  326. package/node_modules/fs-constants/README.md +0 -26
  327. package/node_modules/fs-constants/browser.js +0 -1
  328. package/node_modules/fs-constants/index.js +0 -1
  329. package/node_modules/fs-constants/package.json +0 -19
  330. package/node_modules/get-stream/license +0 -9
  331. package/node_modules/get-stream/package.json +0 -60
  332. package/node_modules/get-stream/readme.md +0 -303
  333. package/node_modules/get-stream/source/array-buffer.js +0 -84
  334. package/node_modules/get-stream/source/array.js +0 -32
  335. package/node_modules/get-stream/source/buffer.js +0 -19
  336. package/node_modules/get-stream/source/contents.js +0 -121
  337. package/node_modules/get-stream/source/exports.js +0 -5
  338. package/node_modules/get-stream/source/index.d.ts +0 -121
  339. package/node_modules/get-stream/source/index.js +0 -13
  340. package/node_modules/get-stream/source/stream.js +0 -65
  341. package/node_modules/get-stream/source/string.js +0 -41
  342. package/node_modules/get-stream/source/utils.js +0 -11
  343. package/node_modules/github-from-package/.travis.yml +0 -4
  344. package/node_modules/github-from-package/LICENSE +0 -18
  345. package/node_modules/github-from-package/example/package.json +0 -8
  346. package/node_modules/github-from-package/example/url.js +0 -3
  347. package/node_modules/github-from-package/index.js +0 -17
  348. package/node_modules/github-from-package/package.json +0 -30
  349. package/node_modules/github-from-package/readme.markdown +0 -53
  350. package/node_modules/github-from-package/test/a.json +0 -8
  351. package/node_modules/github-from-package/test/b.json +0 -5
  352. package/node_modules/github-from-package/test/c.json +0 -5
  353. package/node_modules/github-from-package/test/d.json +0 -7
  354. package/node_modules/github-from-package/test/e.json +0 -5
  355. package/node_modules/github-from-package/test/url.js +0 -19
  356. package/node_modules/human-signals/LICENSE +0 -201
  357. package/node_modules/human-signals/README.md +0 -171
  358. package/node_modules/human-signals/build/src/core.js +0 -273
  359. package/node_modules/human-signals/build/src/main.d.ts +0 -206
  360. package/node_modules/human-signals/build/src/main.js +0 -70
  361. package/node_modules/human-signals/build/src/realtime.js +0 -16
  362. package/node_modules/human-signals/build/src/signals.js +0 -34
  363. package/node_modules/human-signals/package.json +0 -66
  364. package/node_modules/ieee754/LICENSE +0 -11
  365. package/node_modules/ieee754/README.md +0 -51
  366. package/node_modules/ieee754/index.d.ts +0 -10
  367. package/node_modules/ieee754/index.js +0 -85
  368. package/node_modules/ieee754/package.json +0 -52
  369. package/node_modules/inherits/LICENSE +0 -16
  370. package/node_modules/inherits/README.md +0 -42
  371. package/node_modules/inherits/inherits.js +0 -9
  372. package/node_modules/inherits/inherits_browser.js +0 -27
  373. package/node_modules/inherits/package.json +0 -29
  374. package/node_modules/ini/LICENSE +0 -15
  375. package/node_modules/ini/README.md +0 -102
  376. package/node_modules/ini/ini.js +0 -206
  377. package/node_modules/ini/package.json +0 -33
  378. package/node_modules/is-plain-obj/index.d.ts +0 -35
  379. package/node_modules/is-plain-obj/index.js +0 -8
  380. package/node_modules/is-plain-obj/license +0 -9
  381. package/node_modules/is-plain-obj/package.json +0 -41
  382. package/node_modules/is-plain-obj/readme.md +0 -58
  383. package/node_modules/is-stream/index.d.ts +0 -90
  384. package/node_modules/is-stream/index.js +0 -37
  385. package/node_modules/is-stream/license +0 -9
  386. package/node_modules/is-stream/package.json +0 -48
  387. package/node_modules/is-stream/readme.md +0 -57
  388. package/node_modules/is-unicode-supported/index.d.ts +0 -12
  389. package/node_modules/is-unicode-supported/index.js +0 -21
  390. package/node_modules/is-unicode-supported/license +0 -9
  391. package/node_modules/is-unicode-supported/package.json +0 -47
  392. package/node_modules/is-unicode-supported/readme.md +0 -35
  393. package/node_modules/isexe/.npmignore +0 -2
  394. package/node_modules/isexe/LICENSE +0 -15
  395. package/node_modules/isexe/README.md +0 -51
  396. package/node_modules/isexe/index.js +0 -57
  397. package/node_modules/isexe/mode.js +0 -41
  398. package/node_modules/isexe/package.json +0 -31
  399. package/node_modules/isexe/test/basic.js +0 -221
  400. package/node_modules/isexe/windows.js +0 -42
  401. package/node_modules/mimic-response/index.d.ts +0 -17
  402. package/node_modules/mimic-response/index.js +0 -77
  403. package/node_modules/mimic-response/license +0 -9
  404. package/node_modules/mimic-response/package.json +0 -42
  405. package/node_modules/mimic-response/readme.md +0 -78
  406. package/node_modules/minimist/.eslintrc +0 -29
  407. package/node_modules/minimist/.github/FUNDING.yml +0 -12
  408. package/node_modules/minimist/.nycrc +0 -14
  409. package/node_modules/minimist/CHANGELOG.md +0 -298
  410. package/node_modules/minimist/LICENSE +0 -18
  411. package/node_modules/minimist/README.md +0 -121
  412. package/node_modules/minimist/example/parse.js +0 -4
  413. package/node_modules/minimist/index.js +0 -263
  414. package/node_modules/minimist/package.json +0 -75
  415. package/node_modules/minimist/test/all_bool.js +0 -34
  416. package/node_modules/minimist/test/bool.js +0 -177
  417. package/node_modules/minimist/test/dash.js +0 -43
  418. package/node_modules/minimist/test/default_bool.js +0 -37
  419. package/node_modules/minimist/test/dotted.js +0 -24
  420. package/node_modules/minimist/test/kv_short.js +0 -32
  421. package/node_modules/minimist/test/long.js +0 -33
  422. package/node_modules/minimist/test/num.js +0 -38
  423. package/node_modules/minimist/test/parse.js +0 -209
  424. package/node_modules/minimist/test/parse_modified.js +0 -11
  425. package/node_modules/minimist/test/proto.js +0 -64
  426. package/node_modules/minimist/test/short.js +0 -69
  427. package/node_modules/minimist/test/stop_early.js +0 -17
  428. package/node_modules/minimist/test/unknown.js +0 -104
  429. package/node_modules/minimist/test/whitespace.js +0 -10
  430. package/node_modules/mkdirp-classic/LICENSE +0 -21
  431. package/node_modules/mkdirp-classic/README.md +0 -18
  432. package/node_modules/mkdirp-classic/index.js +0 -98
  433. package/node_modules/mkdirp-classic/package.json +0 -18
  434. package/node_modules/napi-build-utils/.github/workflows/run-npm-tests.yml +0 -31
  435. package/node_modules/napi-build-utils/LICENSE +0 -21
  436. package/node_modules/napi-build-utils/README.md +0 -52
  437. package/node_modules/napi-build-utils/index.js +0 -214
  438. package/node_modules/napi-build-utils/index.md +0 -0
  439. package/node_modules/napi-build-utils/package.json +0 -42
  440. package/node_modules/node-abi/LICENSE +0 -21
  441. package/node_modules/node-abi/README.md +0 -54
  442. package/node_modules/node-abi/abi_registry.json +0 -446
  443. package/node_modules/node-abi/index.js +0 -179
  444. package/node_modules/node-abi/package.json +0 -45
  445. package/node_modules/npm-run-path/index.d.ts +0 -90
  446. package/node_modules/npm-run-path/index.js +0 -55
  447. package/node_modules/npm-run-path/license +0 -9
  448. package/node_modules/npm-run-path/node_modules/path-key/index.d.ts +0 -31
  449. package/node_modules/npm-run-path/node_modules/path-key/index.js +0 -12
  450. package/node_modules/npm-run-path/node_modules/path-key/license +0 -9
  451. package/node_modules/npm-run-path/node_modules/path-key/package.json +0 -41
  452. package/node_modules/npm-run-path/node_modules/path-key/readme.md +0 -57
  453. package/node_modules/npm-run-path/package.json +0 -52
  454. package/node_modules/npm-run-path/readme.md +0 -104
  455. package/node_modules/once/LICENSE +0 -15
  456. package/node_modules/once/README.md +0 -79
  457. package/node_modules/once/once.js +0 -42
  458. package/node_modules/once/package.json +0 -33
  459. package/node_modules/parse-ms/index.d.ts +0 -30
  460. package/node_modules/parse-ms/index.js +0 -45
  461. package/node_modules/parse-ms/license +0 -9
  462. package/node_modules/parse-ms/package.json +0 -47
  463. package/node_modules/parse-ms/readme.md +0 -46
  464. package/node_modules/path-key/index.d.ts +0 -40
  465. package/node_modules/path-key/index.js +0 -16
  466. package/node_modules/path-key/license +0 -9
  467. package/node_modules/path-key/package.json +0 -39
  468. package/node_modules/path-key/readme.md +0 -61
  469. package/node_modules/prebuild-install/CHANGELOG.md +0 -131
  470. package/node_modules/prebuild-install/CONTRIBUTING.md +0 -6
  471. package/node_modules/prebuild-install/LICENSE +0 -21
  472. package/node_modules/prebuild-install/README.md +0 -163
  473. package/node_modules/prebuild-install/asset.js +0 -44
  474. package/node_modules/prebuild-install/bin.js +0 -78
  475. package/node_modules/prebuild-install/download.js +0 -142
  476. package/node_modules/prebuild-install/error.js +0 -14
  477. package/node_modules/prebuild-install/help.txt +0 -16
  478. package/node_modules/prebuild-install/index.js +0 -1
  479. package/node_modules/prebuild-install/log.js +0 -33
  480. package/node_modules/prebuild-install/package.json +0 -67
  481. package/node_modules/prebuild-install/proxy.js +0 -35
  482. package/node_modules/prebuild-install/rc.js +0 -64
  483. package/node_modules/prebuild-install/util.js +0 -143
  484. package/node_modules/pretty-ms/index.d.ts +0 -157
  485. package/node_modules/pretty-ms/index.js +0 -149
  486. package/node_modules/pretty-ms/license +0 -9
  487. package/node_modules/pretty-ms/package.json +0 -55
  488. package/node_modules/pretty-ms/readme.md +0 -179
  489. package/node_modules/pump/.github/FUNDING.yml +0 -2
  490. package/node_modules/pump/.travis.yml +0 -5
  491. package/node_modules/pump/LICENSE +0 -21
  492. package/node_modules/pump/README.md +0 -74
  493. package/node_modules/pump/SECURITY.md +0 -5
  494. package/node_modules/pump/empty.js +0 -1
  495. package/node_modules/pump/index.js +0 -86
  496. package/node_modules/pump/package.json +0 -30
  497. package/node_modules/pump/test-browser.js +0 -66
  498. package/node_modules/pump/test-node.js +0 -53
  499. package/node_modules/rc/LICENSE.APACHE2 +0 -15
  500. package/node_modules/rc/LICENSE.BSD +0 -26
  501. package/node_modules/rc/LICENSE.MIT +0 -24
  502. package/node_modules/rc/README.md +0 -227
  503. package/node_modules/rc/browser.js +0 -7
  504. package/node_modules/rc/cli.js +0 -4
  505. package/node_modules/rc/index.js +0 -53
  506. package/node_modules/rc/lib/utils.js +0 -104
  507. package/node_modules/rc/package.json +0 -29
  508. package/node_modules/rc/test/ini.js +0 -16
  509. package/node_modules/rc/test/nested-env-vars.js +0 -50
  510. package/node_modules/rc/test/test.js +0 -59
  511. package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  512. package/node_modules/readable-stream/GOVERNANCE.md +0 -136
  513. package/node_modules/readable-stream/LICENSE +0 -47
  514. package/node_modules/readable-stream/README.md +0 -106
  515. package/node_modules/readable-stream/errors-browser.js +0 -127
  516. package/node_modules/readable-stream/errors.js +0 -116
  517. package/node_modules/readable-stream/experimentalWarning.js +0 -17
  518. package/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  519. package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  520. package/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  521. package/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  522. package/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  523. package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  524. package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  525. package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  526. package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  527. package/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  528. package/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  529. package/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  530. package/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  531. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  532. package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  533. package/node_modules/readable-stream/package.json +0 -68
  534. package/node_modules/readable-stream/readable-browser.js +0 -9
  535. package/node_modules/readable-stream/readable.js +0 -16
  536. package/node_modules/safe-buffer/LICENSE +0 -21
  537. package/node_modules/safe-buffer/README.md +0 -584
  538. package/node_modules/safe-buffer/index.d.ts +0 -187
  539. package/node_modules/safe-buffer/index.js +0 -65
  540. package/node_modules/safe-buffer/package.json +0 -51
  541. package/node_modules/semver/LICENSE +0 -15
  542. package/node_modules/semver/README.md +0 -665
  543. package/node_modules/semver/bin/semver.js +0 -191
  544. package/node_modules/semver/classes/comparator.js +0 -143
  545. package/node_modules/semver/classes/index.js +0 -7
  546. package/node_modules/semver/classes/range.js +0 -557
  547. package/node_modules/semver/classes/semver.js +0 -333
  548. package/node_modules/semver/functions/clean.js +0 -8
  549. package/node_modules/semver/functions/cmp.js +0 -54
  550. package/node_modules/semver/functions/coerce.js +0 -62
  551. package/node_modules/semver/functions/compare-build.js +0 -9
  552. package/node_modules/semver/functions/compare-loose.js +0 -5
  553. package/node_modules/semver/functions/compare.js +0 -7
  554. package/node_modules/semver/functions/diff.js +0 -60
  555. package/node_modules/semver/functions/eq.js +0 -5
  556. package/node_modules/semver/functions/gt.js +0 -5
  557. package/node_modules/semver/functions/gte.js +0 -5
  558. package/node_modules/semver/functions/inc.js +0 -21
  559. package/node_modules/semver/functions/lt.js +0 -5
  560. package/node_modules/semver/functions/lte.js +0 -5
  561. package/node_modules/semver/functions/major.js +0 -5
  562. package/node_modules/semver/functions/minor.js +0 -5
  563. package/node_modules/semver/functions/neq.js +0 -5
  564. package/node_modules/semver/functions/parse.js +0 -18
  565. package/node_modules/semver/functions/patch.js +0 -5
  566. package/node_modules/semver/functions/prerelease.js +0 -8
  567. package/node_modules/semver/functions/rcompare.js +0 -5
  568. package/node_modules/semver/functions/rsort.js +0 -5
  569. package/node_modules/semver/functions/satisfies.js +0 -12
  570. package/node_modules/semver/functions/sort.js +0 -5
  571. package/node_modules/semver/functions/valid.js +0 -8
  572. package/node_modules/semver/index.js +0 -91
  573. package/node_modules/semver/internal/constants.js +0 -37
  574. package/node_modules/semver/internal/debug.js +0 -11
  575. package/node_modules/semver/internal/identifiers.js +0 -29
  576. package/node_modules/semver/internal/lrucache.js +0 -42
  577. package/node_modules/semver/internal/parse-options.js +0 -17
  578. package/node_modules/semver/internal/re.js +0 -223
  579. package/node_modules/semver/package.json +0 -78
  580. package/node_modules/semver/preload.js +0 -4
  581. package/node_modules/semver/range.bnf +0 -16
  582. package/node_modules/semver/ranges/gtr.js +0 -6
  583. package/node_modules/semver/ranges/intersects.js +0 -9
  584. package/node_modules/semver/ranges/ltr.js +0 -6
  585. package/node_modules/semver/ranges/max-satisfying.js +0 -27
  586. package/node_modules/semver/ranges/min-satisfying.js +0 -26
  587. package/node_modules/semver/ranges/min-version.js +0 -63
  588. package/node_modules/semver/ranges/outside.js +0 -82
  589. package/node_modules/semver/ranges/simplify.js +0 -49
  590. package/node_modules/semver/ranges/subset.js +0 -249
  591. package/node_modules/semver/ranges/to-comparators.js +0 -10
  592. package/node_modules/semver/ranges/valid.js +0 -13
  593. package/node_modules/shebang-command/index.js +0 -19
  594. package/node_modules/shebang-command/license +0 -9
  595. package/node_modules/shebang-command/package.json +0 -34
  596. package/node_modules/shebang-command/readme.md +0 -34
  597. package/node_modules/shebang-regex/index.d.ts +0 -22
  598. package/node_modules/shebang-regex/index.js +0 -2
  599. package/node_modules/shebang-regex/license +0 -9
  600. package/node_modules/shebang-regex/package.json +0 -35
  601. package/node_modules/shebang-regex/readme.md +0 -33
  602. package/node_modules/signal-exit/LICENSE.txt +0 -16
  603. package/node_modules/signal-exit/README.md +0 -74
  604. package/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
  605. package/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
  606. package/node_modules/signal-exit/dist/cjs/browser.js +0 -10
  607. package/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
  608. package/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
  609. package/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
  610. package/node_modules/signal-exit/dist/cjs/index.js +0 -279
  611. package/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
  612. package/node_modules/signal-exit/dist/cjs/package.json +0 -3
  613. package/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
  614. package/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
  615. package/node_modules/signal-exit/dist/cjs/signals.js +0 -42
  616. package/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
  617. package/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
  618. package/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
  619. package/node_modules/signal-exit/dist/mjs/browser.js +0 -4
  620. package/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
  621. package/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
  622. package/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
  623. package/node_modules/signal-exit/dist/mjs/index.js +0 -275
  624. package/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
  625. package/node_modules/signal-exit/dist/mjs/package.json +0 -3
  626. package/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
  627. package/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
  628. package/node_modules/signal-exit/dist/mjs/signals.js +0 -39
  629. package/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
  630. package/node_modules/signal-exit/package.json +0 -106
  631. package/node_modules/simple-concat/.travis.yml +0 -3
  632. package/node_modules/simple-concat/LICENSE +0 -20
  633. package/node_modules/simple-concat/README.md +0 -44
  634. package/node_modules/simple-concat/index.js +0 -15
  635. package/node_modules/simple-concat/package.json +0 -47
  636. package/node_modules/simple-concat/test/basic.js +0 -41
  637. package/node_modules/simple-get/.github/dependabot.yml +0 -15
  638. package/node_modules/simple-get/.github/workflows/ci.yml +0 -23
  639. package/node_modules/simple-get/LICENSE +0 -20
  640. package/node_modules/simple-get/README.md +0 -333
  641. package/node_modules/simple-get/index.js +0 -108
  642. package/node_modules/simple-get/package.json +0 -67
  643. package/node_modules/sqlite-vec/README.md +0 -1
  644. package/node_modules/sqlite-vec/package.json +0 -1
  645. package/node_modules/sqlite-vec-linux-x64/README.md +0 -1
  646. package/node_modules/sqlite-vec-linux-x64/package.json +0 -1
  647. package/node_modules/string_decoder/LICENSE +0 -48
  648. package/node_modules/string_decoder/README.md +0 -47
  649. package/node_modules/string_decoder/lib/string_decoder.js +0 -296
  650. package/node_modules/string_decoder/package.json +0 -34
  651. package/node_modules/strip-final-newline/index.d.ts +0 -18
  652. package/node_modules/strip-final-newline/index.js +0 -26
  653. package/node_modules/strip-final-newline/license +0 -9
  654. package/node_modules/strip-final-newline/package.json +0 -49
  655. package/node_modules/strip-final-newline/readme.md +0 -34
  656. package/node_modules/strip-json-comments/index.js +0 -70
  657. package/node_modules/strip-json-comments/license +0 -21
  658. package/node_modules/strip-json-comments/package.json +0 -42
  659. package/node_modules/strip-json-comments/readme.md +0 -64
  660. package/node_modules/tar-fs/.travis.yml +0 -6
  661. package/node_modules/tar-fs/LICENSE +0 -21
  662. package/node_modules/tar-fs/README.md +0 -165
  663. package/node_modules/tar-fs/index.js +0 -363
  664. package/node_modules/tar-fs/package.json +0 -41
  665. package/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
  666. package/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
  667. package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
  668. package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
  669. package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
  670. package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
  671. package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
  672. package/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
  673. package/node_modules/tar-fs/test/fixtures/e/file +0 -0
  674. package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
  675. package/node_modules/tar-fs/test/index.js +0 -346
  676. package/node_modules/tar-stream/LICENSE +0 -21
  677. package/node_modules/tar-stream/README.md +0 -168
  678. package/node_modules/tar-stream/extract.js +0 -257
  679. package/node_modules/tar-stream/headers.js +0 -295
  680. package/node_modules/tar-stream/index.js +0 -2
  681. package/node_modules/tar-stream/pack.js +0 -255
  682. package/node_modules/tar-stream/package.json +0 -58
  683. package/node_modules/tar-stream/sandbox.js +0 -11
  684. package/node_modules/tunnel-agent/LICENSE +0 -55
  685. package/node_modules/tunnel-agent/README.md +0 -4
  686. package/node_modules/tunnel-agent/index.js +0 -244
  687. package/node_modules/tunnel-agent/package.json +0 -22
  688. package/node_modules/unicorn-magic/default.d.ts +0 -13
  689. package/node_modules/unicorn-magic/default.js +0 -14
  690. package/node_modules/unicorn-magic/license +0 -9
  691. package/node_modules/unicorn-magic/node.d.ts +0 -125
  692. package/node_modules/unicorn-magic/node.js +0 -49
  693. package/node_modules/unicorn-magic/package.json +0 -62
  694. package/node_modules/unicorn-magic/readme.md +0 -25
  695. package/node_modules/util-deprecate/History.md +0 -16
  696. package/node_modules/util-deprecate/LICENSE +0 -24
  697. package/node_modules/util-deprecate/README.md +0 -53
  698. package/node_modules/util-deprecate/browser.js +0 -67
  699. package/node_modules/util-deprecate/node.js +0 -6
  700. package/node_modules/util-deprecate/package.json +0 -27
  701. package/node_modules/which/LICENSE +0 -15
  702. package/node_modules/which/README.md +0 -54
  703. package/node_modules/which/bin/node-which +0 -52
  704. package/node_modules/which/package.json +0 -43
  705. package/node_modules/which/which.js +0 -125
  706. package/node_modules/wrappy/LICENSE +0 -15
  707. package/node_modules/wrappy/README.md +0 -36
  708. package/node_modules/wrappy/package.json +0 -29
  709. package/node_modules/wrappy/wrappy.js +0 -33
  710. package/node_modules/yoctocolors/base.d.ts +0 -47
  711. package/node_modules/yoctocolors/base.js +0 -94
  712. package/node_modules/yoctocolors/index.d.ts +0 -2
  713. package/node_modules/yoctocolors/index.js +0 -2
  714. package/node_modules/yoctocolors/license +0 -9
  715. package/node_modules/yoctocolors/package.json +0 -69
  716. package/node_modules/yoctocolors/readme.md +0 -138
@@ -1,45 +0,0 @@
1
- const toZeroIfInfinity = value => Number.isFinite(value) ? value : 0;
2
-
3
- function parseNumber(milliseconds) {
4
- return {
5
- days: Math.trunc(milliseconds / 86_400_000),
6
- hours: Math.trunc(milliseconds / 3_600_000 % 24),
7
- minutes: Math.trunc(milliseconds / 60_000 % 60),
8
- seconds: Math.trunc(milliseconds / 1000 % 60),
9
- milliseconds: Math.trunc(milliseconds % 1000),
10
- microseconds: Math.trunc(toZeroIfInfinity(milliseconds * 1000) % 1000),
11
- nanoseconds: Math.trunc(toZeroIfInfinity(milliseconds * 1e6) % 1000),
12
- };
13
- }
14
-
15
- function parseBigint(milliseconds) {
16
- return {
17
- days: milliseconds / 86_400_000n,
18
- hours: milliseconds / 3_600_000n % 24n,
19
- minutes: milliseconds / 60_000n % 60n,
20
- seconds: milliseconds / 1000n % 60n,
21
- milliseconds: milliseconds % 1000n,
22
- microseconds: 0n,
23
- nanoseconds: 0n,
24
- };
25
- }
26
-
27
- export default function parseMilliseconds(milliseconds) {
28
- switch (typeof milliseconds) {
29
- case 'number': {
30
- if (Number.isFinite(milliseconds)) {
31
- return parseNumber(milliseconds);
32
- }
33
-
34
- break;
35
- }
36
-
37
- case 'bigint': {
38
- return parseBigint(milliseconds);
39
- }
40
-
41
- // No default
42
- }
43
-
44
- throw new TypeError('Expected a finite number or bigint');
45
- }
@@ -1,9 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,47 +0,0 @@
1
- {
2
- "name": "parse-ms",
3
- "version": "4.0.0",
4
- "description": "Parse milliseconds into an object",
5
- "license": "MIT",
6
- "repository": "sindresorhus/parse-ms",
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
- "browser",
31
- "parse",
32
- "time",
33
- "ms",
34
- "milliseconds",
35
- "microseconds",
36
- "nanoseconds",
37
- "duration",
38
- "period",
39
- "range",
40
- "interval"
41
- ],
42
- "devDependencies": {
43
- "ava": "^6.0.1",
44
- "tsd": "^0.30.3",
45
- "xo": "^0.56.0"
46
- }
47
- }
@@ -1,46 +0,0 @@
1
- # parse-ms
2
-
3
- > Parse milliseconds into an object
4
-
5
- ## Install
6
-
7
- ```sh
8
- npm install parse-ms
9
- ```
10
-
11
- ## Usage
12
-
13
- ```js
14
- import parseMilliseconds from 'parse-ms';
15
-
16
- parseMilliseconds(1337000001);
17
- /*
18
- {
19
- days: 15,
20
- hours: 11,
21
- minutes: 23,
22
- seconds: 20,
23
- milliseconds: 1,
24
- microseconds: 0,
25
- nanoseconds: 0
26
- }
27
- */
28
-
29
- parseMilliseconds(1337000001n);
30
- /*
31
- {
32
- days: 15n,
33
- hours: 11n,
34
- minutes: 23n,
35
- seconds: 20n,
36
- milliseconds: 1n,
37
- microseconds: 0n,
38
- nanoseconds: 0n
39
- }
40
- */
41
- ```
42
-
43
- ## Related
44
-
45
- - [to-milliseconds](https://github.com/sindresorhus/to-milliseconds) - The inverse of this module
46
- - [pretty-ms](https://github.com/sindresorhus/pretty-ms) - Convert milliseconds to a human readable string
@@ -1,40 +0,0 @@
1
- /// <reference types="node" />
2
-
3
- declare namespace pathKey {
4
- interface Options {
5
- /**
6
- Use a custom environment variables object. Default: [`process.env`](https://nodejs.org/api/process.html#process_process_env).
7
- */
8
- readonly env?: {[key: string]: string | undefined};
9
-
10
- /**
11
- Get the PATH key for a specific platform. Default: [`process.platform`](https://nodejs.org/api/process.html#process_process_platform).
12
- */
13
- readonly platform?: NodeJS.Platform;
14
- }
15
- }
16
-
17
- declare const pathKey: {
18
- /**
19
- Get the [PATH](https://en.wikipedia.org/wiki/PATH_(variable)) environment variable key cross-platform.
20
-
21
- @example
22
- ```
23
- import pathKey = require('path-key');
24
-
25
- const key = pathKey();
26
- //=> 'PATH'
27
-
28
- const PATH = process.env[key];
29
- //=> '/usr/local/bin:/usr/bin:/bin'
30
- ```
31
- */
32
- (options?: pathKey.Options): string;
33
-
34
- // TODO: Remove this for the next major release, refactor the whole definition to:
35
- // declare function pathKey(options?: pathKey.Options): string;
36
- // export = pathKey;
37
- default: typeof pathKey;
38
- };
39
-
40
- export = pathKey;
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- const pathKey = (options = {}) => {
4
- const environment = options.env || process.env;
5
- const platform = options.platform || process.platform;
6
-
7
- if (platform !== 'win32') {
8
- return 'PATH';
9
- }
10
-
11
- return Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';
12
- };
13
-
14
- module.exports = pathKey;
15
- // TODO: Remove this for the next major release
16
- module.exports.default = pathKey;
@@ -1,9 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,39 +0,0 @@
1
- {
2
- "name": "path-key",
3
- "version": "3.1.1",
4
- "description": "Get the PATH environment variable key cross-platform",
5
- "license": "MIT",
6
- "repository": "sindresorhus/path-key",
7
- "author": {
8
- "name": "Sindre Sorhus",
9
- "email": "sindresorhus@gmail.com",
10
- "url": "sindresorhus.com"
11
- },
12
- "engines": {
13
- "node": ">=8"
14
- },
15
- "scripts": {
16
- "test": "xo && ava && tsd"
17
- },
18
- "files": [
19
- "index.js",
20
- "index.d.ts"
21
- ],
22
- "keywords": [
23
- "path",
24
- "key",
25
- "environment",
26
- "env",
27
- "variable",
28
- "var",
29
- "get",
30
- "cross-platform",
31
- "windows"
32
- ],
33
- "devDependencies": {
34
- "@types/node": "^11.13.0",
35
- "ava": "^1.4.1",
36
- "tsd": "^0.7.2",
37
- "xo": "^0.24.0"
38
- }
39
- }
@@ -1,61 +0,0 @@
1
- # path-key [![Build Status](https://travis-ci.org/sindresorhus/path-key.svg?branch=master)](https://travis-ci.org/sindresorhus/path-key)
2
-
3
- > Get the [PATH](https://en.wikipedia.org/wiki/PATH_(variable)) environment variable key cross-platform
4
-
5
- It's usually `PATH`, but on Windows it can be any casing like `Path`...
6
-
7
-
8
- ## Install
9
-
10
- ```
11
- $ npm install path-key
12
- ```
13
-
14
-
15
- ## Usage
16
-
17
- ```js
18
- const pathKey = require('path-key');
19
-
20
- const key = pathKey();
21
- //=> 'PATH'
22
-
23
- const PATH = process.env[key];
24
- //=> '/usr/local/bin:/usr/bin:/bin'
25
- ```
26
-
27
-
28
- ## API
29
-
30
- ### pathKey(options?)
31
-
32
- #### options
33
-
34
- Type: `object`
35
-
36
- ##### env
37
-
38
- Type: `object`<br>
39
- Default: [`process.env`](https://nodejs.org/api/process.html#process_process_env)
40
-
41
- Use a custom environment variables object.
42
-
43
- #### platform
44
-
45
- Type: `string`<br>
46
- Default: [`process.platform`](https://nodejs.org/api/process.html#process_process_platform)
47
-
48
- Get the PATH key for a specific platform.
49
-
50
-
51
- ---
52
-
53
- <div align="center">
54
- <b>
55
- <a href="https://tidelift.com/subscription/pkg/npm-path-key?utm_source=npm-path-key&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
56
- </b>
57
- <br>
58
- <sub>
59
- Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
60
- </sub>
61
- </div>
@@ -1,131 +0,0 @@
1
- # Changelog
2
-
3
- ## [7.1.3] - 2025-01-22
4
-
5
- ### Fixed
6
-
7
- - Bump napi-build-utils from 1 to 2 ([#204](https://github.com/prebuild/prebuild-install/issues/204)) ([`1bf4a15`](https://github.com/prebuild/prebuild-install/commit/1bf4a15)) (Bailey Pearson)
8
-
9
- ## [7.1.2] - 2024-02-29
10
-
11
- ### Fixed
12
-
13
- - Support environments where MD5 is prohibited ([#191](https://github.com/prebuild/prebuild-install/issues/191)) ([`9140468`](https://github.com/prebuild/prebuild-install/commit/9140468)) (Tomasz Szuba)
14
-
15
- ## [7.1.1] - 2022-06-07
16
-
17
- ### Fixed
18
-
19
- - Replace use of npmlog dependency with console.error ([#182](https://github.com/prebuild/prebuild-install/issues/182)) ([`4e2284c`](https://github.com/prebuild/prebuild-install/commit/4e2284c)) (Lovell Fuller)
20
- - Ensure script output can be captured by tests ([#181](https://github.com/prebuild/prebuild-install/issues/181)) ([`d1853cb`](https://github.com/prebuild/prebuild-install/commit/d1853cb)) (Lovell Fuller)
21
-
22
- ## [7.1.0] - 2022-04-20
23
-
24
- ### Changed
25
-
26
- - Allow setting libc to glibc on non-glibc platform ([#176](https://github.com/prebuild/prebuild-install/issues/176)) ([`f729abb`](https://github.com/prebuild/prebuild-install/commit/f729abb)) (Joona Heinikoski)
27
-
28
- ## [7.0.1] - 2022-01-28
29
-
30
- ### Changed
31
-
32
- - Upgrade to the latest version of `detect-libc` ([#166](https://github.com/prebuild/prebuild-install/issues/166)) ([`f71c6b9`](https://github.com/prebuild/prebuild-install/commit/f71c6b9)) (Lovell Fuller)
33
-
34
- ## [7.0.0] - 2021-11-12
35
-
36
- ### Changed
37
-
38
- - **Breaking:** bump `node-abi` so that Electron 14+ gets correct ABI ([#161](https://github.com/prebuild/prebuild-install/issues/161)) ([`477f347`](https://github.com/prebuild/prebuild-install/commit/477f347)) (csett86). Drops support of Node.js < 10.
39
- - Bump `simple-get` ([`7468c14`](https://github.com/prebuild/prebuild-install/commit/7468c14)) (Vincent Weevers).
40
-
41
- ## [6.1.4] - 2021-08-11
42
-
43
- ### Fixed
44
-
45
- - Move auth token to header instead of query param ([#160](https://github.com/prebuild/prebuild-install/issues/160)) ([`b3fad76`](https://github.com/prebuild/prebuild-install/commit/b3fad76)) (nicolai-nordic)
46
- - Remove `_` prefix as it isn't allowed by npm config ([#153](https://github.com/prebuild/prebuild-install/issues/153)) ([`a964e5b`](https://github.com/prebuild/prebuild-install/commit/a964e5b)) (Tom Boothman)
47
- - Make `rc.path` absolute ([#158](https://github.com/prebuild/prebuild-install/issues/158)) ([`57bcc06`](https://github.com/prebuild/prebuild-install/commit/57bcc06)) (George Waters).
48
-
49
- ## [6.1.3] - 2021-06-03
50
-
51
- ### Changed
52
-
53
- - Inline no longer maintained `noop-logger` ([#155](https://github.com/prebuild/prebuild-install/issues/155)) ([`e08d75a`](https://github.com/prebuild/prebuild-install/commit/e08d75a)) (Alexandru Dima)
54
- - Point users towards `prebuildify` in README ([#150](https://github.com/prebuild/prebuild-install/issues/150)) ([`5ee1a2f`](https://github.com/prebuild/prebuild-install/commit/5ee1a2f)) (Vincent Weevers)
55
-
56
- ## [6.1.2] - 2021-04-24
57
-
58
- ### Fixed
59
-
60
- - Support URL-safe strings in scoped packages ([#148](https://github.com/prebuild/prebuild-install/issues/148)) ([`db36c7a`](https://github.com/prebuild/prebuild-install/commit/db36c7a)) (Marco)
61
-
62
- ## [6.1.1] - 2021-04-04
63
-
64
- ### Fixed
65
-
66
- - Support `force` & `buildFromSource` options in yarn ([#140](https://github.com/prebuild/prebuild-install/issues/140)) ([`8cb1ced`](https://github.com/prebuild/prebuild-install/commit/8cb1ced)) (João Moreno)
67
- - Bump `node-abi` to prevent dedupe (closes [#135](https://github.com/prebuild/prebuild-install/issues/135)) ([`2950fb2`](https://github.com/prebuild/prebuild-install/commit/2950fb2)) (Vincent Weevers)
68
-
69
- ## [6.1.0] - 2021-04-03
70
-
71
- ### Added
72
-
73
- - Restore local prebuilds feature ([#137](https://github.com/prebuild/prebuild-install/issues/137)) ([`dc4e5ea`](https://github.com/prebuild/prebuild-install/commit/dc4e5ea)) (Wes Roberts). Previously removed in [#81](https://github.com/prebuild/prebuild-install/issues/81) / [`a069253`](https://github.com/prebuild/prebuild-install/commit/a06925378d38ca821bfa93aa4c1fdedc253b2420).
74
-
75
- ## [6.0.1] - 2021-02-14
76
-
77
- ### Fixed
78
-
79
- - Fixes empty `--tag-prefix` ([#143](https://github.com/prebuild/prebuild-install/issues/143)) ([**@mathiask88**](https://github.com/mathiask88))
80
-
81
- ## [6.0.0] - 2020-10-23
82
-
83
- ### Changed
84
-
85
- - **Breaking:** don't skip downloads in standalone mode ([`b6f3b36`](https://github.com/prebuild/prebuild-install/commit/b6f3b36)) ([**@vweevers**](https://github.com/vweevers))
86
-
87
- ### Added
88
-
89
- - Document cross platform options ([`e5c9a5a`](https://github.com/prebuild/prebuild-install/commit/e5c9a5a)) ([**@fishbone1**](https://github.com/fishbone1))
90
-
91
- ### Removed
92
-
93
- - **Breaking:** remove `--compile` and `--prebuild` options ([`94f2492`](https://github.com/prebuild/prebuild-install/commit/94f2492)) ([**@vweevers**](https://github.com/vweevers))
94
-
95
- ### Fixed
96
-
97
- - Support npm 7 ([`8acccac`](https://github.com/prebuild/prebuild-install/commit/8acccac), [`08eaf6d`](https://github.com/prebuild/prebuild-install/commit/08eaf6d), [`22175b8`](https://github.com/prebuild/prebuild-install/commit/22175b8)) ([**@vweevers**](https://github.com/vweevers))
98
-
99
- ## [5.3.6] - 2020-10-20
100
-
101
- ### Changed
102
-
103
- - Replace `mkdirp` dependency with `mkdirp-classic` ([**@ralphtheninja**](https://github.com/ralphtheninja))
104
-
105
- [7.1.3]: https://github.com/prebuild/prebuild-install/releases/tag/v7.1.3
106
-
107
- [7.1.2]: https://github.com/prebuild/prebuild-install/releases/tag/v7.1.2
108
-
109
- [7.1.1]: https://github.com/prebuild/prebuild-install/releases/tag/v7.1.1
110
-
111
- [7.1.0]: https://github.com/prebuild/prebuild-install/releases/tag/v7.1.0
112
-
113
- [7.0.1]: https://github.com/prebuild/prebuild-install/releases/tag/v7.0.1
114
-
115
- [7.0.0]: https://github.com/prebuild/prebuild-install/releases/tag/v7.0.0
116
-
117
- [6.1.4]: https://github.com/prebuild/prebuild-install/releases/tag/v6.1.4
118
-
119
- [6.1.3]: https://github.com/prebuild/prebuild-install/releases/tag/v6.1.3
120
-
121
- [6.1.2]: https://github.com/prebuild/prebuild-install/releases/tag/v6.1.2
122
-
123
- [6.1.1]: https://github.com/prebuild/prebuild-install/releases/tag/v6.1.1
124
-
125
- [6.1.0]: https://github.com/prebuild/prebuild-install/releases/tag/v6.1.0
126
-
127
- [6.0.1]: https://github.com/prebuild/prebuild-install/releases/tag/v6.0.1
128
-
129
- [6.0.0]: https://github.com/prebuild/prebuild-install/releases/tag/v6.0.0
130
-
131
- [5.3.6]: https://github.com/prebuild/prebuild-install/releases/tag/v5.3.6
@@ -1,6 +0,0 @@
1
- # Contributing to prebuild
2
-
3
- - no commits direct to master
4
- - all commits as pull requests (one or several per PR)
5
- - each commit solves one identifiable problem
6
- - never merge one's own PRs, another contributor does this
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015 Mathias Buus
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
@@ -1,163 +0,0 @@
1
- # prebuild-install
2
-
3
- > **A command line tool to easily install prebuilt binaries for multiple versions of Node.js & Electron on a specific platform.**
4
- > By default it downloads prebuilt binaries from a GitHub release.
5
-
6
- [![npm](https://img.shields.io/npm/v/prebuild-install.svg)](https://www.npmjs.com/package/prebuild-install)
7
- ![Node version](https://img.shields.io/node/v/prebuild-install.svg)
8
- [![Test](https://img.shields.io/github/workflow/status/prebuild/prebuild-install/Test?label=test)](https://github.com/prebuild/prebuild-install/actions/workflows/test.yml)
9
- [![Standard](https://img.shields.io/badge/standard-informational?logo=javascript\&logoColor=fff)](https://standardjs.com)
10
- [![Common Changelog](https://common-changelog.org/badge.svg)](https://common-changelog.org)
11
-
12
- ## Note
13
-
14
- **Instead of [`prebuild`](https://github.com/prebuild/prebuild) paired with [`prebuild-install`](https://github.com/prebuild/prebuild-install), we recommend [`prebuildify`](https://github.com/prebuild/prebuildify) paired with [`node-gyp-build`](https://github.com/prebuild/node-gyp-build).**
15
-
16
- With `prebuildify`, all prebuilt binaries are shipped inside the package that is published to npm, which means there's no need for a separate download step like you find in `prebuild`. The irony of this approach is that it is faster to download all prebuilt binaries for every platform when they are bundled than it is to download a single prebuilt binary as an install script.
17
-
18
- Upsides:
19
-
20
- 1. No extra download step, making it more reliable and faster to install.
21
- 2. Supports changing runtime versions locally and using the same install between Node.js and Electron. Reinstalling or rebuilding is not necessary, as all prebuilt binaries are in the npm tarball and the correct one is simply picked on runtime.
22
- 3. The `node-gyp-build` runtime dependency is dependency-free and will remain so out of principle, because introducing dependencies would negate the shorter install time.
23
- 4. Prebuilt binaries work even if npm install scripts are disabled.
24
- 5. The npm package checksum covers prebuilt binaries too.
25
-
26
- Downsides:
27
-
28
- 1. The installed npm package is larger on disk. Using [Node-API](https://nodejs.org/api/n-api.html) alleviates this because Node-API binaries are runtime-agnostic and forward-compatible.
29
- 2. Publishing is mildly more complicated, because `npm publish` must be done after compiling and fetching prebuilt binaries (typically in CI).
30
-
31
- ## Usage
32
-
33
- Use [`prebuild`](https://github.com/prebuild/prebuild) to create and upload prebuilt binaries. Then change your package.json install script to:
34
-
35
- ```json
36
- {
37
- "scripts": {
38
- "install": "prebuild-install || node-gyp rebuild"
39
- }
40
- }
41
- ```
42
-
43
- When a consumer then installs your package with npm thus triggering the above install script, `prebuild-install` will download a suitable prebuilt binary, or exit with a non-zero exit code if there is none, which triggers `node-gyp rebuild` in order to build from source.
44
-
45
- Options (see below) can be passed to `prebuild-install` like so:
46
-
47
- ```json
48
- {
49
- "scripts": {
50
- "install": "prebuild-install -r napi || node-gyp rebuild"
51
- }
52
- }
53
- ```
54
-
55
- ### Help
56
-
57
- ```
58
- prebuild-install [options]
59
-
60
- --download -d [url] (download prebuilds, no url means github)
61
- --target -t version (version to install for)
62
- --runtime -r runtime (Node runtime [node, napi or electron] to build or install for, default is node)
63
- --path -p path (make a prebuild-install here)
64
- --token -T gh-token (github token for private repos)
65
- --arch arch (target CPU architecture, see Node OS module docs, default is current arch)
66
- --platform platform (target platform, see Node OS module docs, default is current platform)
67
- --tag-prefix <prefix> (github tag prefix, default is "v")
68
- --build-from-source (skip prebuild download)
69
- --verbose (log verbosely)
70
- --libc (use provided libc rather than system default)
71
- --debug (set Debug or Release configuration)
72
- --version (print prebuild-install version and exit)
73
- ```
74
-
75
- When `prebuild-install` is run via an `npm` script, options `--build-from-source`, `--debug`, `--download`, `--target`, `--runtime`, `--arch` `--platform` and `--libc` may be passed through via arguments given to the `npm` command.
76
-
77
- Alternatively you can set environment variables `npm_config_build_from_source=true`, `npm_config_platform`, `npm_config_arch`, `npm_config_target` `npm_config_runtime` and `npm_config_libc`.
78
-
79
- ### Libc
80
-
81
- On non-glibc Linux platforms, the Libc name is appended to platform name. For example, musl-based environments are called `linuxmusl`. If `--libc=glibc` is passed as option, glibc is discarded and platform is called as just `linux`. This can be used for example to build cross-platform packages on Alpine Linux.
82
-
83
- ### Private Repositories
84
-
85
- `prebuild-install` supports downloading prebuilds from private GitHub repositories using the `-T <github-token>`:
86
-
87
- ```
88
- $ prebuild-install -T <github-token>
89
- ```
90
-
91
- If you don't want to use the token on cli you can put it in `~/.prebuild-installrc`:
92
-
93
- ```
94
- token=<github-token>
95
- ```
96
-
97
- Alternatively you can specify it in the `prebuild-install_token` environment variable.
98
-
99
- Note that using a GitHub token uses the API to resolve the correct release meaning that you are subject to the ([GitHub Rate Limit](https://developer.github.com/v3/rate_limit/)).
100
-
101
- ### Create GitHub Token
102
-
103
- To create a token:
104
-
105
- - Go to [this page](https://github.com/settings/tokens)
106
- - Click the `Generate new token` button
107
- - Give the token a name and click the `Generate token` button, see below
108
-
109
- ![prebuild-token](https://cloud.githubusercontent.com/assets/13285808/20844584/d0b85268-b8c0-11e6-8b08-2b19522165a9.png)
110
-
111
- The default scopes should be fine.
112
-
113
- ### Custom binaries
114
-
115
- The end user can override binary download location through environment variables in their .npmrc file.
116
- The variable needs to meet the mask `% your package name %_binary_host` or `% your package name %_binary_host_mirror`. For example:
117
-
118
- ```
119
- leveldown_binary_host=http://overriden-host.com/overriden-path
120
- ```
121
-
122
- Note that the package version subpath and file name will still be appended.
123
- So if you are installing `leveldown@1.2.3` the resulting url will be:
124
-
125
- ```
126
- http://overriden-host.com/overriden-path/v1.2.3/leveldown-v1.2.3-node-v57-win32-x64.tar.gz
127
- ```
128
-
129
- #### Local prebuilds
130
-
131
- If you want to use prebuilds from your local filesystem, you can use the `% your package name %_local_prebuilds` .npmrc variable to set a path to the folder containing prebuilds. For example:
132
-
133
- ```
134
- leveldown_local_prebuilds=/path/to/prebuilds
135
- ```
136
-
137
- This option will look directly in that folder for bundles created with `prebuild`, for example:
138
-
139
- ```
140
- /path/to/prebuilds/leveldown-v1.2.3-node-v57-win32-x64.tar.gz
141
- ```
142
-
143
- Non-absolute paths resolve relative to the directory of the package invoking prebuild-install, e.g. for nested dependencies.
144
-
145
- ### Cache
146
-
147
- All prebuilt binaries are cached to minimize traffic. So first `prebuild-install` picks binaries from the cache and if no binary could be found, it will be downloaded. Depending on the environment, the cache folder is determined in the following order:
148
-
149
- - `${npm_config_cache}/_prebuilds`
150
- - `${APP_DATA}/npm-cache/_prebuilds`
151
- - `${HOME}/.npm/_prebuilds`
152
-
153
- ## Install
154
-
155
- With [npm](https://npmjs.org) do:
156
-
157
- ```
158
- npm install prebuild-install
159
- ```
160
-
161
- ## License
162
-
163
- [MIT](./LICENSE)