@flotte/cli 0.0.0-stage → 0.2.5

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 (1127) hide show
  1. package/flotte.mjs +380 -0
  2. package/node-run.mjs +11 -0
  3. package/package.json +20 -4
  4. package/pnpm/LICENSE +22 -0
  5. package/pnpm/README.md +239 -0
  6. package/pnpm/bin/pnpm.cjs +28 -0
  7. package/pnpm/bin/pnpx.cjs +5 -0
  8. package/pnpm/dist/node-gyp-bin/node-gyp +6 -0
  9. package/pnpm/dist/node-gyp-bin/node-gyp.cmd +5 -0
  10. package/pnpm/dist/node_modules/.bin/glob +88 -0
  11. package/pnpm/dist/node_modules/.bin/node-gyp +88 -0
  12. package/pnpm/dist/node_modules/.bin/node-which +88 -0
  13. package/pnpm/dist/node_modules/.bin/nopt +88 -0
  14. package/pnpm/dist/node_modules/.bin/semver +88 -0
  15. package/pnpm/dist/node_modules/.modules.yaml +299 -0
  16. package/pnpm/dist/node_modules/.pnpm/lock.yaml +823 -0
  17. package/pnpm/dist/node_modules/.pnpm-workspace-state-v1.json +35 -0
  18. package/pnpm/dist/node_modules/@isaacs/cliui/LICENSE.txt +14 -0
  19. package/pnpm/dist/node_modules/@isaacs/cliui/build/index.cjs +317 -0
  20. package/pnpm/dist/node_modules/@isaacs/cliui/build/index.d.cts +43 -0
  21. package/pnpm/dist/node_modules/@isaacs/cliui/build/lib/index.js +302 -0
  22. package/pnpm/dist/node_modules/@isaacs/cliui/index.mjs +14 -0
  23. package/pnpm/dist/node_modules/@isaacs/cliui/package.json +86 -0
  24. package/pnpm/dist/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
  25. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +1 -0
  26. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
  27. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +1 -0
  28. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
  29. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +1 -0
  30. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
  31. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +1 -0
  32. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
  33. package/pnpm/dist/node_modules/@isaacs/fs-minipass/package.json +72 -0
  34. package/pnpm/dist/node_modules/@npmcli/agent/lib/agents.js +206 -0
  35. package/pnpm/dist/node_modules/@npmcli/agent/lib/dns.js +53 -0
  36. package/pnpm/dist/node_modules/@npmcli/agent/lib/errors.js +61 -0
  37. package/pnpm/dist/node_modules/@npmcli/agent/lib/index.js +56 -0
  38. package/pnpm/dist/node_modules/@npmcli/agent/lib/options.js +86 -0
  39. package/pnpm/dist/node_modules/@npmcli/agent/lib/proxy.js +88 -0
  40. package/pnpm/dist/node_modules/@npmcli/agent/package.json +60 -0
  41. package/pnpm/dist/node_modules/@npmcli/fs/lib/common/get-options.js +20 -0
  42. package/pnpm/dist/node_modules/@npmcli/fs/lib/common/node.js +9 -0
  43. package/pnpm/dist/node_modules/@npmcli/fs/lib/cp/LICENSE +15 -0
  44. package/pnpm/dist/node_modules/@npmcli/fs/lib/cp/errors.js +129 -0
  45. package/pnpm/dist/node_modules/@npmcli/fs/lib/cp/index.js +22 -0
  46. package/pnpm/dist/node_modules/@npmcli/fs/lib/cp/polyfill.js +428 -0
  47. package/pnpm/dist/node_modules/@npmcli/fs/lib/index.js +13 -0
  48. package/pnpm/dist/node_modules/@npmcli/fs/lib/move-file.js +78 -0
  49. package/pnpm/dist/node_modules/@npmcli/fs/lib/readdir-scoped.js +20 -0
  50. package/pnpm/dist/node_modules/@npmcli/fs/lib/with-temp-dir.js +39 -0
  51. package/pnpm/dist/node_modules/@npmcli/fs/package.json +54 -0
  52. package/pnpm/dist/node_modules/@pkgjs/parseargs/LICENSE +201 -0
  53. package/pnpm/dist/node_modules/@pkgjs/parseargs/index.js +396 -0
  54. package/pnpm/dist/node_modules/@pkgjs/parseargs/internal/errors.js +47 -0
  55. package/pnpm/dist/node_modules/@pkgjs/parseargs/internal/primordials.js +393 -0
  56. package/pnpm/dist/node_modules/@pkgjs/parseargs/internal/util.js +14 -0
  57. package/pnpm/dist/node_modules/@pkgjs/parseargs/internal/validators.js +89 -0
  58. package/pnpm/dist/node_modules/@pkgjs/parseargs/package.json +36 -0
  59. package/pnpm/dist/node_modules/@pkgjs/parseargs/utils.js +198 -0
  60. package/pnpm/dist/node_modules/abbrev/LICENSE +46 -0
  61. package/pnpm/dist/node_modules/abbrev/lib/index.js +53 -0
  62. package/pnpm/dist/node_modules/abbrev/package.json +45 -0
  63. package/pnpm/dist/node_modules/agent-base/LICENSE +22 -0
  64. package/pnpm/dist/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
  65. package/pnpm/dist/node_modules/agent-base/dist/helpers.js +66 -0
  66. package/pnpm/dist/node_modules/agent-base/dist/helpers.js.map +1 -0
  67. package/pnpm/dist/node_modules/agent-base/dist/index.d.ts.map +1 -0
  68. package/pnpm/dist/node_modules/agent-base/dist/index.js +178 -0
  69. package/pnpm/dist/node_modules/agent-base/dist/index.js.map +1 -0
  70. package/pnpm/dist/node_modules/agent-base/package.json +46 -0
  71. package/pnpm/dist/node_modules/ansi-regex/index.js +15 -0
  72. package/pnpm/dist/node_modules/ansi-regex/license +9 -0
  73. package/pnpm/dist/node_modules/ansi-regex/package.json +61 -0
  74. package/pnpm/dist/node_modules/ansi-styles/index.js +223 -0
  75. package/pnpm/dist/node_modules/ansi-styles/license +9 -0
  76. package/pnpm/dist/node_modules/ansi-styles/package.json +54 -0
  77. package/pnpm/dist/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  78. package/pnpm/dist/node_modules/balanced-match/index.js +62 -0
  79. package/pnpm/dist/node_modules/balanced-match/package.json +48 -0
  80. package/pnpm/dist/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
  81. package/pnpm/dist/node_modules/brace-expansion/LICENSE +21 -0
  82. package/pnpm/dist/node_modules/brace-expansion/index.js +394 -0
  83. package/pnpm/dist/node_modules/brace-expansion/package.json +49 -0
  84. package/pnpm/dist/node_modules/cacache/lib/content/path.js +29 -0
  85. package/pnpm/dist/node_modules/cacache/lib/content/read.js +165 -0
  86. package/pnpm/dist/node_modules/cacache/lib/content/rm.js +18 -0
  87. package/pnpm/dist/node_modules/cacache/lib/content/write.js +206 -0
  88. package/pnpm/dist/node_modules/cacache/lib/entry-index.js +336 -0
  89. package/pnpm/dist/node_modules/cacache/lib/get.js +170 -0
  90. package/pnpm/dist/node_modules/cacache/lib/index.js +42 -0
  91. package/pnpm/dist/node_modules/cacache/lib/memoization.js +72 -0
  92. package/pnpm/dist/node_modules/cacache/lib/put.js +80 -0
  93. package/pnpm/dist/node_modules/cacache/lib/rm.js +31 -0
  94. package/pnpm/dist/node_modules/cacache/lib/util/glob.js +7 -0
  95. package/pnpm/dist/node_modules/cacache/lib/util/hash-to-segments.js +7 -0
  96. package/pnpm/dist/node_modules/cacache/lib/util/tmp.js +26 -0
  97. package/pnpm/dist/node_modules/cacache/lib/verify.js +258 -0
  98. package/pnpm/dist/node_modules/cacache/package.json +83 -0
  99. package/pnpm/dist/node_modules/chownr/dist/commonjs/index.d.ts.map +1 -0
  100. package/pnpm/dist/node_modules/chownr/dist/commonjs/index.js +93 -0
  101. package/pnpm/dist/node_modules/chownr/dist/commonjs/index.js.map +1 -0
  102. package/pnpm/dist/node_modules/chownr/dist/commonjs/package.json +3 -0
  103. package/pnpm/dist/node_modules/chownr/dist/esm/index.d.ts.map +1 -0
  104. package/pnpm/dist/node_modules/chownr/dist/esm/index.js +85 -0
  105. package/pnpm/dist/node_modules/chownr/dist/esm/index.js.map +1 -0
  106. package/pnpm/dist/node_modules/chownr/dist/esm/package.json +3 -0
  107. package/pnpm/dist/node_modules/chownr/package.json +69 -0
  108. package/pnpm/dist/node_modules/color-convert/LICENSE +21 -0
  109. package/pnpm/dist/node_modules/color-convert/conversions.js +839 -0
  110. package/pnpm/dist/node_modules/color-convert/index.js +81 -0
  111. package/pnpm/dist/node_modules/color-convert/package.json +48 -0
  112. package/pnpm/dist/node_modules/color-convert/route.js +97 -0
  113. package/pnpm/dist/node_modules/color-name/LICENSE +8 -0
  114. package/pnpm/dist/node_modules/color-name/index.js +152 -0
  115. package/pnpm/dist/node_modules/color-name/package.json +28 -0
  116. package/pnpm/dist/node_modules/content-type/LICENSE +22 -0
  117. package/pnpm/dist/node_modules/content-type/dist/index.js +176 -0
  118. package/pnpm/dist/node_modules/content-type/dist/index.js.map +1 -0
  119. package/pnpm/dist/node_modules/content-type/package.json +52 -0
  120. package/pnpm/dist/node_modules/cross-spawn/LICENSE +21 -0
  121. package/pnpm/dist/node_modules/cross-spawn/index.js +39 -0
  122. package/pnpm/dist/node_modules/cross-spawn/lib/enoent.js +59 -0
  123. package/pnpm/dist/node_modules/cross-spawn/lib/parse.js +91 -0
  124. package/pnpm/dist/node_modules/cross-spawn/lib/util/escape.js +47 -0
  125. package/pnpm/dist/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
  126. package/pnpm/dist/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
  127. package/pnpm/dist/node_modules/cross-spawn/package.json +73 -0
  128. package/pnpm/dist/node_modules/debug/LICENSE +20 -0
  129. package/pnpm/dist/node_modules/debug/package.json +64 -0
  130. package/pnpm/dist/node_modules/debug/src/browser.js +272 -0
  131. package/pnpm/dist/node_modules/debug/src/common.js +292 -0
  132. package/pnpm/dist/node_modules/debug/src/index.js +10 -0
  133. package/pnpm/dist/node_modules/debug/src/node.js +263 -0
  134. package/pnpm/dist/node_modules/eastasianwidth/eastasianwidth.js +311 -0
  135. package/pnpm/dist/node_modules/eastasianwidth/package.json +18 -0
  136. package/pnpm/dist/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  137. package/pnpm/dist/node_modules/emoji-regex/RGI_Emoji.js +6 -0
  138. package/pnpm/dist/node_modules/emoji-regex/es2015/RGI_Emoji.js +6 -0
  139. package/pnpm/dist/node_modules/emoji-regex/es2015/index.js +6 -0
  140. package/pnpm/dist/node_modules/emoji-regex/es2015/text.js +6 -0
  141. package/pnpm/dist/node_modules/emoji-regex/index.js +6 -0
  142. package/pnpm/dist/node_modules/emoji-regex/package.json +52 -0
  143. package/pnpm/dist/node_modules/emoji-regex/text.js +6 -0
  144. package/pnpm/dist/node_modules/encoding/.prettierrc.js +8 -0
  145. package/pnpm/dist/node_modules/encoding/LICENSE +16 -0
  146. package/pnpm/dist/node_modules/encoding/lib/encoding.js +83 -0
  147. package/pnpm/dist/node_modules/encoding/package.json +18 -0
  148. package/pnpm/dist/node_modules/env-paths/index.js +74 -0
  149. package/pnpm/dist/node_modules/env-paths/license +9 -0
  150. package/pnpm/dist/node_modules/env-paths/package.json +45 -0
  151. package/pnpm/dist/node_modules/err-code/.eslintrc.json +7 -0
  152. package/pnpm/dist/node_modules/err-code/bower.json +30 -0
  153. package/pnpm/dist/node_modules/err-code/index.js +47 -0
  154. package/pnpm/dist/node_modules/err-code/index.umd.js +51 -0
  155. package/pnpm/dist/node_modules/err-code/package.json +34 -0
  156. package/pnpm/dist/node_modules/exponential-backoff/LICENSE +202 -0
  157. package/pnpm/dist/node_modules/exponential-backoff/dist/backoff.js +124 -0
  158. package/pnpm/dist/node_modules/exponential-backoff/dist/backoff.js.map +1 -0
  159. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/always/always.delay.js +25 -0
  160. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/always/always.delay.js.map +1 -0
  161. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.base.js +45 -0
  162. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.base.js.map +1 -0
  163. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.factory.js +17 -0
  164. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.factory.js.map +1 -0
  165. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.interface.js +3 -0
  166. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.interface.js.map +1 -0
  167. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +82 -0
  168. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js.map +1 -0
  169. package/pnpm/dist/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +8 -0
  170. package/pnpm/dist/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js.map +1 -0
  171. package/pnpm/dist/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +15 -0
  172. package/pnpm/dist/node_modules/exponential-backoff/dist/jitter/jitter.factory.js.map +1 -0
  173. package/pnpm/dist/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +7 -0
  174. package/pnpm/dist/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js.map +1 -0
  175. package/pnpm/dist/node_modules/exponential-backoff/dist/options.js +31 -0
  176. package/pnpm/dist/node_modules/exponential-backoff/dist/options.js.map +1 -0
  177. package/pnpm/dist/node_modules/exponential-backoff/package.json +62 -0
  178. package/pnpm/dist/node_modules/fdir/LICENSE +7 -0
  179. package/pnpm/dist/node_modules/fdir/dist/index.cjs +588 -0
  180. package/pnpm/dist/node_modules/fdir/dist/index.d.cts +155 -0
  181. package/pnpm/dist/node_modules/fdir/dist/index.d.mts +155 -0
  182. package/pnpm/dist/node_modules/fdir/dist/index.mjs +570 -0
  183. package/pnpm/dist/node_modules/fdir/package.json +103 -0
  184. package/pnpm/dist/node_modules/foreground-child/LICENSE +15 -0
  185. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +1 -0
  186. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/all-signals.js +58 -0
  187. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/all-signals.js.map +1 -0
  188. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/index.d.ts.map +1 -0
  189. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/index.js +123 -0
  190. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/index.js.map +1 -0
  191. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/package.json +3 -0
  192. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +1 -0
  193. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/proxy-signals.js +38 -0
  194. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +1 -0
  195. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +1 -0
  196. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/watchdog.js +50 -0
  197. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/watchdog.js.map +1 -0
  198. package/pnpm/dist/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +1 -0
  199. package/pnpm/dist/node_modules/foreground-child/dist/esm/all-signals.js +52 -0
  200. package/pnpm/dist/node_modules/foreground-child/dist/esm/all-signals.js.map +1 -0
  201. package/pnpm/dist/node_modules/foreground-child/dist/esm/index.d.ts.map +1 -0
  202. package/pnpm/dist/node_modules/foreground-child/dist/esm/index.js +115 -0
  203. package/pnpm/dist/node_modules/foreground-child/dist/esm/index.js.map +1 -0
  204. package/pnpm/dist/node_modules/foreground-child/dist/esm/package.json +3 -0
  205. package/pnpm/dist/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +1 -0
  206. package/pnpm/dist/node_modules/foreground-child/dist/esm/proxy-signals.js +34 -0
  207. package/pnpm/dist/node_modules/foreground-child/dist/esm/proxy-signals.js.map +1 -0
  208. package/pnpm/dist/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +1 -0
  209. package/pnpm/dist/node_modules/foreground-child/dist/esm/watchdog.js +46 -0
  210. package/pnpm/dist/node_modules/foreground-child/dist/esm/watchdog.js.map +1 -0
  211. package/pnpm/dist/node_modules/foreground-child/package.json +106 -0
  212. package/pnpm/dist/node_modules/fs-minipass/LICENSE +15 -0
  213. package/pnpm/dist/node_modules/fs-minipass/lib/index.js +443 -0
  214. package/pnpm/dist/node_modules/fs-minipass/package.json +54 -0
  215. package/pnpm/dist/node_modules/glob/LICENSE +15 -0
  216. package/pnpm/dist/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
  217. package/pnpm/dist/node_modules/glob/dist/commonjs/glob.js +247 -0
  218. package/pnpm/dist/node_modules/glob/dist/commonjs/glob.js.map +1 -0
  219. package/pnpm/dist/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
  220. package/pnpm/dist/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  221. package/pnpm/dist/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
  222. package/pnpm/dist/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
  223. package/pnpm/dist/node_modules/glob/dist/commonjs/ignore.js +119 -0
  224. package/pnpm/dist/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
  225. package/pnpm/dist/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
  226. package/pnpm/dist/node_modules/glob/dist/commonjs/index.js +68 -0
  227. package/pnpm/dist/node_modules/glob/dist/commonjs/index.js.map +1 -0
  228. package/pnpm/dist/node_modules/glob/dist/commonjs/package.json +3 -0
  229. package/pnpm/dist/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
  230. package/pnpm/dist/node_modules/glob/dist/commonjs/pattern.js +219 -0
  231. package/pnpm/dist/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
  232. package/pnpm/dist/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
  233. package/pnpm/dist/node_modules/glob/dist/commonjs/processor.js +301 -0
  234. package/pnpm/dist/node_modules/glob/dist/commonjs/processor.js.map +1 -0
  235. package/pnpm/dist/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
  236. package/pnpm/dist/node_modules/glob/dist/commonjs/walker.js +387 -0
  237. package/pnpm/dist/node_modules/glob/dist/commonjs/walker.js.map +1 -0
  238. package/pnpm/dist/node_modules/glob/dist/esm/bin.d.mts +3 -0
  239. package/pnpm/dist/node_modules/glob/dist/esm/bin.d.mts.map +1 -0
  240. package/pnpm/dist/node_modules/glob/dist/esm/bin.mjs +346 -0
  241. package/pnpm/dist/node_modules/glob/dist/esm/bin.mjs.map +1 -0
  242. package/pnpm/dist/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
  243. package/pnpm/dist/node_modules/glob/dist/esm/glob.js +243 -0
  244. package/pnpm/dist/node_modules/glob/dist/esm/glob.js.map +1 -0
  245. package/pnpm/dist/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
  246. package/pnpm/dist/node_modules/glob/dist/esm/has-magic.js +23 -0
  247. package/pnpm/dist/node_modules/glob/dist/esm/has-magic.js.map +1 -0
  248. package/pnpm/dist/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
  249. package/pnpm/dist/node_modules/glob/dist/esm/ignore.js +115 -0
  250. package/pnpm/dist/node_modules/glob/dist/esm/ignore.js.map +1 -0
  251. package/pnpm/dist/node_modules/glob/dist/esm/index.d.ts.map +1 -0
  252. package/pnpm/dist/node_modules/glob/dist/esm/index.js +55 -0
  253. package/pnpm/dist/node_modules/glob/dist/esm/index.js.map +1 -0
  254. package/pnpm/dist/node_modules/glob/dist/esm/package.json +3 -0
  255. package/pnpm/dist/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
  256. package/pnpm/dist/node_modules/glob/dist/esm/pattern.js +215 -0
  257. package/pnpm/dist/node_modules/glob/dist/esm/pattern.js.map +1 -0
  258. package/pnpm/dist/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
  259. package/pnpm/dist/node_modules/glob/dist/esm/processor.js +294 -0
  260. package/pnpm/dist/node_modules/glob/dist/esm/processor.js.map +1 -0
  261. package/pnpm/dist/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
  262. package/pnpm/dist/node_modules/glob/dist/esm/walker.js +381 -0
  263. package/pnpm/dist/node_modules/glob/dist/esm/walker.js.map +1 -0
  264. package/pnpm/dist/node_modules/glob/package.json +99 -0
  265. package/pnpm/dist/node_modules/graceful-fs/LICENSE +15 -0
  266. package/pnpm/dist/node_modules/graceful-fs/clone.js +23 -0
  267. package/pnpm/dist/node_modules/graceful-fs/graceful-fs.js +448 -0
  268. package/pnpm/dist/node_modules/graceful-fs/legacy-streams.js +118 -0
  269. package/pnpm/dist/node_modules/graceful-fs/package.json +53 -0
  270. package/pnpm/dist/node_modules/graceful-fs/polyfills.js +355 -0
  271. package/pnpm/dist/node_modules/http-cache-semantics/LICENSE +9 -0
  272. package/pnpm/dist/node_modules/http-cache-semantics/index.js +928 -0
  273. package/pnpm/dist/node_modules/http-cache-semantics/package.json +22 -0
  274. package/pnpm/dist/node_modules/http-proxy-agent/LICENSE +22 -0
  275. package/pnpm/dist/node_modules/http-proxy-agent/dist/index.d.ts.map +1 -0
  276. package/pnpm/dist/node_modules/http-proxy-agent/dist/index.js +148 -0
  277. package/pnpm/dist/node_modules/http-proxy-agent/dist/index.js.map +1 -0
  278. package/pnpm/dist/node_modules/http-proxy-agent/package.json +47 -0
  279. package/pnpm/dist/node_modules/https-proxy-agent/LICENSE +22 -0
  280. package/pnpm/dist/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
  281. package/pnpm/dist/node_modules/https-proxy-agent/dist/index.js +180 -0
  282. package/pnpm/dist/node_modules/https-proxy-agent/dist/index.js.map +1 -0
  283. package/pnpm/dist/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
  284. package/pnpm/dist/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
  285. package/pnpm/dist/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
  286. package/pnpm/dist/node_modules/https-proxy-agent/package.json +50 -0
  287. package/pnpm/dist/node_modules/iconv-lite/.github/dependabot.yml +11 -0
  288. package/pnpm/dist/node_modules/iconv-lite/.idea/codeStyles/Project.xml +47 -0
  289. package/pnpm/dist/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +5 -0
  290. package/pnpm/dist/node_modules/iconv-lite/.idea/iconv-lite.iml +12 -0
  291. package/pnpm/dist/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +6 -0
  292. package/pnpm/dist/node_modules/iconv-lite/.idea/modules.xml +8 -0
  293. package/pnpm/dist/node_modules/iconv-lite/.idea/vcs.xml +6 -0
  294. package/pnpm/dist/node_modules/iconv-lite/LICENSE +21 -0
  295. package/pnpm/dist/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -0
  296. package/pnpm/dist/node_modules/iconv-lite/encodings/dbcs-data.js +188 -0
  297. package/pnpm/dist/node_modules/iconv-lite/encodings/index.js +23 -0
  298. package/pnpm/dist/node_modules/iconv-lite/encodings/internal.js +198 -0
  299. package/pnpm/dist/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  300. package/pnpm/dist/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  301. package/pnpm/dist/node_modules/iconv-lite/encodings/sbcs-data.js +179 -0
  302. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  303. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  304. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  305. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  306. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  307. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  308. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  309. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  310. package/pnpm/dist/node_modules/iconv-lite/encodings/utf16.js +197 -0
  311. package/pnpm/dist/node_modules/iconv-lite/encodings/utf32.js +319 -0
  312. package/pnpm/dist/node_modules/iconv-lite/encodings/utf7.js +290 -0
  313. package/pnpm/dist/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  314. package/pnpm/dist/node_modules/iconv-lite/lib/index.js +180 -0
  315. package/pnpm/dist/node_modules/iconv-lite/lib/streams.js +109 -0
  316. package/pnpm/dist/node_modules/iconv-lite/package.json +44 -0
  317. package/pnpm/dist/node_modules/imurmurhash/imurmurhash.js +138 -0
  318. package/pnpm/dist/node_modules/imurmurhash/imurmurhash.min.js +12 -0
  319. package/pnpm/dist/node_modules/imurmurhash/package.json +40 -0
  320. package/pnpm/dist/node_modules/ip-address/LICENSE +19 -0
  321. package/pnpm/dist/node_modules/ip-address/dist/address-error.js +12 -0
  322. package/pnpm/dist/node_modules/ip-address/dist/address-error.js.map +1 -0
  323. package/pnpm/dist/node_modules/ip-address/dist/common.js +154 -0
  324. package/pnpm/dist/node_modules/ip-address/dist/common.js.map +1 -0
  325. package/pnpm/dist/node_modules/ip-address/dist/ip-address.js +35 -0
  326. package/pnpm/dist/node_modules/ip-address/dist/ip-address.js.map +1 -0
  327. package/pnpm/dist/node_modules/ip-address/dist/ipv4.js +595 -0
  328. package/pnpm/dist/node_modules/ip-address/dist/ipv4.js.map +1 -0
  329. package/pnpm/dist/node_modules/ip-address/dist/ipv6.js +1458 -0
  330. package/pnpm/dist/node_modules/ip-address/dist/ipv6.js.map +1 -0
  331. package/pnpm/dist/node_modules/ip-address/dist/v4/constants.js +51 -0
  332. package/pnpm/dist/node_modules/ip-address/dist/v4/constants.js.map +1 -0
  333. package/pnpm/dist/node_modules/ip-address/dist/v6/constants.js +128 -0
  334. package/pnpm/dist/node_modules/ip-address/dist/v6/constants.js.map +1 -0
  335. package/pnpm/dist/node_modules/ip-address/dist/v6/helpers.js +54 -0
  336. package/pnpm/dist/node_modules/ip-address/dist/v6/helpers.js.map +1 -0
  337. package/pnpm/dist/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
  338. package/pnpm/dist/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -0
  339. package/pnpm/dist/node_modules/ip-address/package.json +90 -0
  340. package/pnpm/dist/node_modules/is-fullwidth-code-point/index.js +50 -0
  341. package/pnpm/dist/node_modules/is-fullwidth-code-point/license +9 -0
  342. package/pnpm/dist/node_modules/is-fullwidth-code-point/package.json +42 -0
  343. package/pnpm/dist/node_modules/isexe/LICENSE +15 -0
  344. package/pnpm/dist/node_modules/isexe/index.js +57 -0
  345. package/pnpm/dist/node_modules/isexe/mode.js +41 -0
  346. package/pnpm/dist/node_modules/isexe/package.json +31 -0
  347. package/pnpm/dist/node_modules/isexe/windows.js +42 -0
  348. package/pnpm/dist/node_modules/jackspeak/dist/commonjs/index.d.ts.map +1 -0
  349. package/pnpm/dist/node_modules/jackspeak/dist/commonjs/index.js +1010 -0
  350. package/pnpm/dist/node_modules/jackspeak/dist/commonjs/index.js.map +1 -0
  351. package/pnpm/dist/node_modules/jackspeak/dist/commonjs/package.json +3 -0
  352. package/pnpm/dist/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +1 -0
  353. package/pnpm/dist/node_modules/jackspeak/dist/commonjs/parse-args-cjs.d.cts.map +1 -0
  354. package/pnpm/dist/node_modules/jackspeak/dist/commonjs/parse-args.js +50 -0
  355. package/pnpm/dist/node_modules/jackspeak/dist/esm/index.d.ts.map +1 -0
  356. package/pnpm/dist/node_modules/jackspeak/dist/esm/index.js +1000 -0
  357. package/pnpm/dist/node_modules/jackspeak/dist/esm/index.js.map +1 -0
  358. package/pnpm/dist/node_modules/jackspeak/dist/esm/package.json +3 -0
  359. package/pnpm/dist/node_modules/jackspeak/dist/esm/parse-args.d.ts.map +1 -0
  360. package/pnpm/dist/node_modules/jackspeak/dist/esm/parse-args.js +26 -0
  361. package/pnpm/dist/node_modules/jackspeak/dist/esm/parse-args.js.map +1 -0
  362. package/pnpm/dist/node_modules/jackspeak/package.json +95 -0
  363. package/pnpm/dist/node_modules/lru-cache/LICENSE +15 -0
  364. package/pnpm/dist/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
  365. package/pnpm/dist/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
  366. package/pnpm/dist/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
  367. package/pnpm/dist/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  368. package/pnpm/dist/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
  369. package/pnpm/dist/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  370. package/pnpm/dist/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
  371. package/pnpm/dist/node_modules/lru-cache/dist/esm/index.js +1542 -0
  372. package/pnpm/dist/node_modules/lru-cache/dist/esm/index.js.map +1 -0
  373. package/pnpm/dist/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  374. package/pnpm/dist/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
  375. package/pnpm/dist/node_modules/lru-cache/dist/esm/package.json +3 -0
  376. package/pnpm/dist/node_modules/lru-cache/package.json +116 -0
  377. package/pnpm/dist/node_modules/make-fetch-happen/LICENSE +16 -0
  378. package/pnpm/dist/node_modules/make-fetch-happen/lib/cache/entry.js +471 -0
  379. package/pnpm/dist/node_modules/make-fetch-happen/lib/cache/errors.js +11 -0
  380. package/pnpm/dist/node_modules/make-fetch-happen/lib/cache/index.js +49 -0
  381. package/pnpm/dist/node_modules/make-fetch-happen/lib/cache/key.js +17 -0
  382. package/pnpm/dist/node_modules/make-fetch-happen/lib/cache/policy.js +161 -0
  383. package/pnpm/dist/node_modules/make-fetch-happen/lib/fetch.js +118 -0
  384. package/pnpm/dist/node_modules/make-fetch-happen/lib/index.js +41 -0
  385. package/pnpm/dist/node_modules/make-fetch-happen/lib/options.js +59 -0
  386. package/pnpm/dist/node_modules/make-fetch-happen/lib/pipeline.js +41 -0
  387. package/pnpm/dist/node_modules/make-fetch-happen/lib/remote.js +132 -0
  388. package/pnpm/dist/node_modules/make-fetch-happen/package.json +74 -0
  389. package/pnpm/dist/node_modules/minimatch/LICENSE +15 -0
  390. package/pnpm/dist/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
  391. package/pnpm/dist/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  392. package/pnpm/dist/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
  393. package/pnpm/dist/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
  394. package/pnpm/dist/node_modules/minimatch/dist/commonjs/ast.js +747 -0
  395. package/pnpm/dist/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
  396. package/pnpm/dist/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
  397. package/pnpm/dist/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
  398. package/pnpm/dist/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
  399. package/pnpm/dist/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
  400. package/pnpm/dist/node_modules/minimatch/dist/commonjs/escape.js +22 -0
  401. package/pnpm/dist/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
  402. package/pnpm/dist/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
  403. package/pnpm/dist/node_modules/minimatch/dist/commonjs/index.js +1023 -0
  404. package/pnpm/dist/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
  405. package/pnpm/dist/node_modules/minimatch/dist/commonjs/package.json +3 -0
  406. package/pnpm/dist/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
  407. package/pnpm/dist/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
  408. package/pnpm/dist/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
  409. package/pnpm/dist/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
  410. package/pnpm/dist/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  411. package/pnpm/dist/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
  412. package/pnpm/dist/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
  413. package/pnpm/dist/node_modules/minimatch/dist/esm/ast.js +743 -0
  414. package/pnpm/dist/node_modules/minimatch/dist/esm/ast.js.map +1 -0
  415. package/pnpm/dist/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
  416. package/pnpm/dist/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
  417. package/pnpm/dist/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
  418. package/pnpm/dist/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
  419. package/pnpm/dist/node_modules/minimatch/dist/esm/escape.js +18 -0
  420. package/pnpm/dist/node_modules/minimatch/dist/esm/escape.js.map +1 -0
  421. package/pnpm/dist/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
  422. package/pnpm/dist/node_modules/minimatch/dist/esm/index.js +1007 -0
  423. package/pnpm/dist/node_modules/minimatch/dist/esm/index.js.map +1 -0
  424. package/pnpm/dist/node_modules/minimatch/dist/esm/package.json +3 -0
  425. package/pnpm/dist/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
  426. package/pnpm/dist/node_modules/minimatch/dist/esm/unescape.js +20 -0
  427. package/pnpm/dist/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
  428. package/pnpm/dist/node_modules/minimatch/package.json +82 -0
  429. package/pnpm/dist/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
  430. package/pnpm/dist/node_modules/minipass/dist/commonjs/index.js +1038 -0
  431. package/pnpm/dist/node_modules/minipass/dist/commonjs/index.js.map +1 -0
  432. package/pnpm/dist/node_modules/minipass/dist/commonjs/package.json +3 -0
  433. package/pnpm/dist/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
  434. package/pnpm/dist/node_modules/minipass/dist/esm/index.js +1020 -0
  435. package/pnpm/dist/node_modules/minipass/dist/esm/index.js.map +1 -0
  436. package/pnpm/dist/node_modules/minipass/dist/esm/package.json +3 -0
  437. package/pnpm/dist/node_modules/minipass/package.json +77 -0
  438. package/pnpm/dist/node_modules/minipass-collect/LICENSE +15 -0
  439. package/pnpm/dist/node_modules/minipass-collect/index.js +71 -0
  440. package/pnpm/dist/node_modules/minipass-collect/package.json +30 -0
  441. package/pnpm/dist/node_modules/minipass-fetch/LICENSE +28 -0
  442. package/pnpm/dist/node_modules/minipass-fetch/lib/abort-error.js +17 -0
  443. package/pnpm/dist/node_modules/minipass-fetch/lib/blob.js +97 -0
  444. package/pnpm/dist/node_modules/minipass-fetch/lib/body.js +350 -0
  445. package/pnpm/dist/node_modules/minipass-fetch/lib/fetch-error.js +32 -0
  446. package/pnpm/dist/node_modules/minipass-fetch/lib/headers.js +267 -0
  447. package/pnpm/dist/node_modules/minipass-fetch/lib/index.js +376 -0
  448. package/pnpm/dist/node_modules/minipass-fetch/lib/request.js +282 -0
  449. package/pnpm/dist/node_modules/minipass-fetch/lib/response.js +90 -0
  450. package/pnpm/dist/node_modules/minipass-fetch/package.json +70 -0
  451. package/pnpm/dist/node_modules/minipass-flush/index.js +39 -0
  452. package/pnpm/dist/node_modules/minipass-flush/node_modules/minipass/LICENSE +15 -0
  453. package/pnpm/dist/node_modules/minipass-flush/node_modules/minipass/index.js +649 -0
  454. package/pnpm/dist/node_modules/minipass-flush/node_modules/minipass/package.json +56 -0
  455. package/pnpm/dist/node_modules/minipass-flush/package.json +42 -0
  456. package/pnpm/dist/node_modules/minipass-pipeline/LICENSE +15 -0
  457. package/pnpm/dist/node_modules/minipass-pipeline/index.js +128 -0
  458. package/pnpm/dist/node_modules/minipass-pipeline/node_modules/minipass/LICENSE +15 -0
  459. package/pnpm/dist/node_modules/minipass-pipeline/node_modules/minipass/index.js +649 -0
  460. package/pnpm/dist/node_modules/minipass-pipeline/node_modules/minipass/package.json +56 -0
  461. package/pnpm/dist/node_modules/minipass-pipeline/package.json +29 -0
  462. package/pnpm/dist/node_modules/minipass-sized/LICENSE +15 -0
  463. package/pnpm/dist/node_modules/minipass-sized/index.js +67 -0
  464. package/pnpm/dist/node_modules/minipass-sized/node_modules/minipass/LICENSE +15 -0
  465. package/pnpm/dist/node_modules/minipass-sized/node_modules/minipass/index.js +649 -0
  466. package/pnpm/dist/node_modules/minipass-sized/node_modules/minipass/package.json +56 -0
  467. package/pnpm/dist/node_modules/minipass-sized/package.json +39 -0
  468. package/pnpm/dist/node_modules/minizlib/LICENSE +26 -0
  469. package/pnpm/dist/node_modules/minizlib/dist/commonjs/constants.d.ts.map +1 -0
  470. package/pnpm/dist/node_modules/minizlib/dist/commonjs/constants.js +123 -0
  471. package/pnpm/dist/node_modules/minizlib/dist/commonjs/constants.js.map +1 -0
  472. package/pnpm/dist/node_modules/minizlib/dist/commonjs/index.d.ts.map +1 -0
  473. package/pnpm/dist/node_modules/minizlib/dist/commonjs/index.js +416 -0
  474. package/pnpm/dist/node_modules/minizlib/dist/commonjs/index.js.map +1 -0
  475. package/pnpm/dist/node_modules/minizlib/dist/commonjs/package.json +3 -0
  476. package/pnpm/dist/node_modules/minizlib/dist/esm/constants.d.ts.map +1 -0
  477. package/pnpm/dist/node_modules/minizlib/dist/esm/constants.js +117 -0
  478. package/pnpm/dist/node_modules/minizlib/dist/esm/constants.js.map +1 -0
  479. package/pnpm/dist/node_modules/minizlib/dist/esm/index.d.ts.map +1 -0
  480. package/pnpm/dist/node_modules/minizlib/dist/esm/index.js +363 -0
  481. package/pnpm/dist/node_modules/minizlib/dist/esm/index.js.map +1 -0
  482. package/pnpm/dist/node_modules/minizlib/dist/esm/package.json +3 -0
  483. package/pnpm/dist/node_modules/minizlib/package.json +80 -0
  484. package/pnpm/dist/node_modules/ms/index.js +162 -0
  485. package/pnpm/dist/node_modules/ms/package.json +38 -0
  486. package/pnpm/dist/node_modules/negotiator/LICENSE +24 -0
  487. package/pnpm/dist/node_modules/negotiator/index.js +83 -0
  488. package/pnpm/dist/node_modules/negotiator/lib/accept.js +54 -0
  489. package/pnpm/dist/node_modules/negotiator/lib/charset.js +145 -0
  490. package/pnpm/dist/node_modules/negotiator/lib/encoding.js +184 -0
  491. package/pnpm/dist/node_modules/negotiator/lib/language.js +158 -0
  492. package/pnpm/dist/node_modules/negotiator/lib/mediaType.js +176 -0
  493. package/pnpm/dist/node_modules/negotiator/package.json +49 -0
  494. package/pnpm/dist/node_modules/node-gyp/.release-please-manifest.json +3 -0
  495. package/pnpm/dist/node_modules/node-gyp/LICENSE +24 -0
  496. package/pnpm/dist/node_modules/node-gyp/addon.gypi +204 -0
  497. package/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js +138 -0
  498. package/pnpm/dist/node_modules/node-gyp/eslint.config.js +3 -0
  499. package/pnpm/dist/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -0
  500. package/pnpm/dist/node_modules/node-gyp/gyp/LICENSE +28 -0
  501. package/pnpm/dist/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -0
  502. package/pnpm/dist/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -0
  503. package/pnpm/dist/node_modules/node-gyp/gyp/gyp +8 -0
  504. package/pnpm/dist/node_modules/node-gyp/gyp/gyp.bat +5 -0
  505. package/pnpm/dist/node_modules/node-gyp/gyp/gyp_main.py +45 -0
  506. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +365 -0
  507. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +206 -0
  508. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1283 -0
  509. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1545 -0
  510. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +59 -0
  511. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +152 -0
  512. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +270 -0
  513. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +574 -0
  514. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +707 -0
  515. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/common.py +725 -0
  516. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +186 -0
  517. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +170 -0
  518. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +113 -0
  519. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +55 -0
  520. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  521. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +805 -0
  522. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1169 -0
  523. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +1316 -0
  524. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +128 -0
  525. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +104 -0
  526. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +461 -0
  527. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +88 -0
  528. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +55 -0
  529. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2755 -0
  530. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3970 -0
  531. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +44 -0
  532. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2957 -0
  533. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +67 -0
  534. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1389 -0
  535. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +26 -0
  536. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/input.py +3097 -0
  537. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +99 -0
  538. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +765 -0
  539. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +1255 -0
  540. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +174 -0
  541. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +61 -0
  542. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +371 -0
  543. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1936 -0
  544. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +54 -0
  545. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +301 -0
  546. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +3180 -0
  547. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +64 -0
  548. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -0
  549. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -0
  550. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -0
  551. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -0
  552. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +107 -0
  553. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -0
  554. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -0
  555. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -0
  556. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -0
  557. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -0
  558. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/markers.py +251 -0
  559. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +824 -0
  560. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  561. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -0
  562. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -0
  563. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/tags.py +553 -0
  564. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -0
  565. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -0
  566. package/pnpm/dist/node_modules/node-gyp/gyp/pyproject.toml +114 -0
  567. package/pnpm/dist/node_modules/node-gyp/gyp/release-please-config.json +11 -0
  568. package/pnpm/dist/node_modules/node-gyp/gyp/test_gyp.py +260 -0
  569. package/pnpm/dist/node_modules/node-gyp/lib/Find-VisualStudio.cs +250 -0
  570. package/pnpm/dist/node_modules/node-gyp/lib/build.js +230 -0
  571. package/pnpm/dist/node_modules/node-gyp/lib/clean.js +15 -0
  572. package/pnpm/dist/node_modules/node-gyp/lib/configure.js +328 -0
  573. package/pnpm/dist/node_modules/node-gyp/lib/create-config-gypi.js +153 -0
  574. package/pnpm/dist/node_modules/node-gyp/lib/download.js +39 -0
  575. package/pnpm/dist/node_modules/node-gyp/lib/find-node-directory.js +63 -0
  576. package/pnpm/dist/node_modules/node-gyp/lib/find-python.js +310 -0
  577. package/pnpm/dist/node_modules/node-gyp/lib/find-visualstudio.js +600 -0
  578. package/pnpm/dist/node_modules/node-gyp/lib/install.js +411 -0
  579. package/pnpm/dist/node_modules/node-gyp/lib/list.js +26 -0
  580. package/pnpm/dist/node_modules/node-gyp/lib/log.js +168 -0
  581. package/pnpm/dist/node_modules/node-gyp/lib/node-gyp.js +199 -0
  582. package/pnpm/dist/node_modules/node-gyp/lib/process-release.js +146 -0
  583. package/pnpm/dist/node_modules/node-gyp/lib/rebuild.js +12 -0
  584. package/pnpm/dist/node_modules/node-gyp/lib/remove.js +43 -0
  585. package/pnpm/dist/node_modules/node-gyp/lib/util.js +81 -0
  586. package/pnpm/dist/node_modules/node-gyp/macOS_Catalina_acid_test.sh +21 -0
  587. package/pnpm/dist/node_modules/node-gyp/node_modules/.bin/node-which +88 -0
  588. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/index.d.ts.map +1 -0
  589. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/index.js +56 -0
  590. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/index.js.map +1 -0
  591. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/index.min.js +2 -0
  592. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/index.min.js.map +7 -0
  593. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/options.d.ts.map +1 -0
  594. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/options.js +3 -0
  595. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/options.js.map +1 -0
  596. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/package.json +3 -0
  597. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/posix.d.ts.map +1 -0
  598. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/posix.js +67 -0
  599. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/posix.js.map +1 -0
  600. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/win32.d.ts.map +1 -0
  601. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/win32.js +63 -0
  602. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/win32.js.map +1 -0
  603. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/index.d.ts.map +1 -0
  604. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/index.js +16 -0
  605. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/index.js.map +1 -0
  606. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/index.min.js +2 -0
  607. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/index.min.js.map +7 -0
  608. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/options.d.ts.map +1 -0
  609. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/options.js +2 -0
  610. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/options.js.map +1 -0
  611. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/package.json +3 -0
  612. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/posix.d.ts.map +1 -0
  613. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/posix.js +62 -0
  614. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/posix.js.map +1 -0
  615. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/win32.d.ts.map +1 -0
  616. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/win32.js +58 -0
  617. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/win32.js.map +1 -0
  618. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/package.json +78 -0
  619. package/pnpm/dist/node_modules/node-gyp/node_modules/which/LICENSE +15 -0
  620. package/pnpm/dist/node_modules/node-gyp/node_modules/which/bin/which.js +52 -0
  621. package/pnpm/dist/node_modules/node-gyp/node_modules/which/lib/index.js +111 -0
  622. package/pnpm/dist/node_modules/node-gyp/node_modules/which/package.json +52 -0
  623. package/pnpm/dist/node_modules/node-gyp/package.json +52 -0
  624. package/pnpm/dist/node_modules/node-gyp/release-please-config.json +40 -0
  625. package/pnpm/dist/node_modules/node-gyp/src/win_delay_load_hook.cc +41 -0
  626. package/pnpm/dist/node_modules/nopt/LICENSE +15 -0
  627. package/pnpm/dist/node_modules/nopt/bin/nopt.js +29 -0
  628. package/pnpm/dist/node_modules/nopt/lib/debug.js +5 -0
  629. package/pnpm/dist/node_modules/nopt/lib/nopt-lib.js +514 -0
  630. package/pnpm/dist/node_modules/nopt/lib/nopt.js +34 -0
  631. package/pnpm/dist/node_modules/nopt/lib/type-defs.js +91 -0
  632. package/pnpm/dist/node_modules/nopt/package.json +52 -0
  633. package/pnpm/dist/node_modules/p-map/index.js +324 -0
  634. package/pnpm/dist/node_modules/p-map/license +9 -0
  635. package/pnpm/dist/node_modules/p-map/package.json +57 -0
  636. package/pnpm/dist/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +1 -0
  637. package/pnpm/dist/node_modules/package-json-from-dist/dist/commonjs/index.js +134 -0
  638. package/pnpm/dist/node_modules/package-json-from-dist/dist/commonjs/index.js.map +1 -0
  639. package/pnpm/dist/node_modules/package-json-from-dist/dist/commonjs/package.json +3 -0
  640. package/pnpm/dist/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +1 -0
  641. package/pnpm/dist/node_modules/package-json-from-dist/dist/esm/index.js +129 -0
  642. package/pnpm/dist/node_modules/package-json-from-dist/dist/esm/index.js.map +1 -0
  643. package/pnpm/dist/node_modules/package-json-from-dist/dist/esm/package.json +3 -0
  644. package/pnpm/dist/node_modules/package-json-from-dist/package.json +68 -0
  645. package/pnpm/dist/node_modules/path-key/index.js +16 -0
  646. package/pnpm/dist/node_modules/path-key/license +9 -0
  647. package/pnpm/dist/node_modules/path-key/package.json +39 -0
  648. package/pnpm/dist/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
  649. package/pnpm/dist/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
  650. package/pnpm/dist/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
  651. package/pnpm/dist/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  652. package/pnpm/dist/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
  653. package/pnpm/dist/node_modules/path-scurry/dist/esm/index.js +1979 -0
  654. package/pnpm/dist/node_modules/path-scurry/dist/esm/index.js.map +1 -0
  655. package/pnpm/dist/node_modules/path-scurry/dist/esm/package.json +3 -0
  656. package/pnpm/dist/node_modules/path-scurry/package.json +89 -0
  657. package/pnpm/dist/node_modules/picomatch/LICENSE +21 -0
  658. package/pnpm/dist/node_modules/picomatch/index.js +17 -0
  659. package/pnpm/dist/node_modules/picomatch/lib/constants.js +184 -0
  660. package/pnpm/dist/node_modules/picomatch/lib/parse.js +1425 -0
  661. package/pnpm/dist/node_modules/picomatch/lib/picomatch.js +361 -0
  662. package/pnpm/dist/node_modules/picomatch/lib/scan.js +403 -0
  663. package/pnpm/dist/node_modules/picomatch/lib/utils.js +72 -0
  664. package/pnpm/dist/node_modules/picomatch/package.json +83 -0
  665. package/pnpm/dist/node_modules/picomatch/posix.js +3 -0
  666. package/pnpm/dist/node_modules/proc-log/LICENSE +15 -0
  667. package/pnpm/dist/node_modules/proc-log/lib/index.js +153 -0
  668. package/pnpm/dist/node_modules/proc-log/package.json +46 -0
  669. package/pnpm/dist/node_modules/promise-retry/LICENSE +19 -0
  670. package/pnpm/dist/node_modules/promise-retry/index.js +52 -0
  671. package/pnpm/dist/node_modules/promise-retry/package.json +37 -0
  672. package/pnpm/dist/node_modules/retry/License +21 -0
  673. package/pnpm/dist/node_modules/retry/equation.gif +0 -0
  674. package/pnpm/dist/node_modules/retry/index.js +1 -0
  675. package/pnpm/dist/node_modules/retry/lib/retry.js +100 -0
  676. package/pnpm/dist/node_modules/retry/lib/retry_operation.js +158 -0
  677. package/pnpm/dist/node_modules/retry/package.json +32 -0
  678. package/pnpm/dist/node_modules/safer-buffer/LICENSE +21 -0
  679. package/pnpm/dist/node_modules/safer-buffer/dangerous.js +58 -0
  680. package/pnpm/dist/node_modules/safer-buffer/package.json +34 -0
  681. package/pnpm/dist/node_modules/safer-buffer/safer.js +77 -0
  682. package/pnpm/dist/node_modules/safer-buffer/tests.js +406 -0
  683. package/pnpm/dist/node_modules/semver/LICENSE +15 -0
  684. package/pnpm/dist/node_modules/semver/bin/semver.js +195 -0
  685. package/pnpm/dist/node_modules/semver/classes/comparator.js +143 -0
  686. package/pnpm/dist/node_modules/semver/classes/index.js +7 -0
  687. package/pnpm/dist/node_modules/semver/classes/range.js +577 -0
  688. package/pnpm/dist/node_modules/semver/classes/semver.js +350 -0
  689. package/pnpm/dist/node_modules/semver/functions/clean.js +8 -0
  690. package/pnpm/dist/node_modules/semver/functions/cmp.js +54 -0
  691. package/pnpm/dist/node_modules/semver/functions/coerce.js +62 -0
  692. package/pnpm/dist/node_modules/semver/functions/compare-build.js +9 -0
  693. package/pnpm/dist/node_modules/semver/functions/compare-loose.js +5 -0
  694. package/pnpm/dist/node_modules/semver/functions/compare.js +7 -0
  695. package/pnpm/dist/node_modules/semver/functions/diff.js +60 -0
  696. package/pnpm/dist/node_modules/semver/functions/eq.js +5 -0
  697. package/pnpm/dist/node_modules/semver/functions/gt.js +5 -0
  698. package/pnpm/dist/node_modules/semver/functions/gte.js +5 -0
  699. package/pnpm/dist/node_modules/semver/functions/inc.js +21 -0
  700. package/pnpm/dist/node_modules/semver/functions/lt.js +5 -0
  701. package/pnpm/dist/node_modules/semver/functions/lte.js +5 -0
  702. package/pnpm/dist/node_modules/semver/functions/major.js +5 -0
  703. package/pnpm/dist/node_modules/semver/functions/minor.js +5 -0
  704. package/pnpm/dist/node_modules/semver/functions/neq.js +5 -0
  705. package/pnpm/dist/node_modules/semver/functions/parse.js +18 -0
  706. package/pnpm/dist/node_modules/semver/functions/patch.js +5 -0
  707. package/pnpm/dist/node_modules/semver/functions/prerelease.js +8 -0
  708. package/pnpm/dist/node_modules/semver/functions/rcompare.js +5 -0
  709. package/pnpm/dist/node_modules/semver/functions/rsort.js +5 -0
  710. package/pnpm/dist/node_modules/semver/functions/satisfies.js +12 -0
  711. package/pnpm/dist/node_modules/semver/functions/sort.js +5 -0
  712. package/pnpm/dist/node_modules/semver/functions/truncate.js +48 -0
  713. package/pnpm/dist/node_modules/semver/functions/valid.js +8 -0
  714. package/pnpm/dist/node_modules/semver/index.js +93 -0
  715. package/pnpm/dist/node_modules/semver/internal/constants.js +37 -0
  716. package/pnpm/dist/node_modules/semver/internal/debug.js +11 -0
  717. package/pnpm/dist/node_modules/semver/internal/identifiers.js +29 -0
  718. package/pnpm/dist/node_modules/semver/internal/lrucache.js +42 -0
  719. package/pnpm/dist/node_modules/semver/internal/parse-options.js +17 -0
  720. package/pnpm/dist/node_modules/semver/internal/re.js +223 -0
  721. package/pnpm/dist/node_modules/semver/package.json +78 -0
  722. package/pnpm/dist/node_modules/semver/preload.js +4 -0
  723. package/pnpm/dist/node_modules/semver/range.bnf +17 -0
  724. package/pnpm/dist/node_modules/semver/ranges/gtr.js +6 -0
  725. package/pnpm/dist/node_modules/semver/ranges/intersects.js +9 -0
  726. package/pnpm/dist/node_modules/semver/ranges/ltr.js +6 -0
  727. package/pnpm/dist/node_modules/semver/ranges/max-satisfying.js +27 -0
  728. package/pnpm/dist/node_modules/semver/ranges/min-satisfying.js +26 -0
  729. package/pnpm/dist/node_modules/semver/ranges/min-version.js +63 -0
  730. package/pnpm/dist/node_modules/semver/ranges/outside.js +82 -0
  731. package/pnpm/dist/node_modules/semver/ranges/simplify.js +49 -0
  732. package/pnpm/dist/node_modules/semver/ranges/subset.js +249 -0
  733. package/pnpm/dist/node_modules/semver/ranges/to-comparators.js +10 -0
  734. package/pnpm/dist/node_modules/semver/ranges/valid.js +13 -0
  735. package/pnpm/dist/node_modules/shebang-command/index.js +19 -0
  736. package/pnpm/dist/node_modules/shebang-command/license +9 -0
  737. package/pnpm/dist/node_modules/shebang-command/package.json +34 -0
  738. package/pnpm/dist/node_modules/shebang-regex/index.js +2 -0
  739. package/pnpm/dist/node_modules/shebang-regex/license +9 -0
  740. package/pnpm/dist/node_modules/shebang-regex/package.json +35 -0
  741. package/pnpm/dist/node_modules/signal-exit/LICENSE.txt +16 -0
  742. package/pnpm/dist/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
  743. package/pnpm/dist/node_modules/signal-exit/dist/cjs/browser.js +10 -0
  744. package/pnpm/dist/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
  745. package/pnpm/dist/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
  746. package/pnpm/dist/node_modules/signal-exit/dist/cjs/index.js +279 -0
  747. package/pnpm/dist/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
  748. package/pnpm/dist/node_modules/signal-exit/dist/cjs/package.json +3 -0
  749. package/pnpm/dist/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
  750. package/pnpm/dist/node_modules/signal-exit/dist/cjs/signals.js +42 -0
  751. package/pnpm/dist/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
  752. package/pnpm/dist/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
  753. package/pnpm/dist/node_modules/signal-exit/dist/mjs/browser.js +4 -0
  754. package/pnpm/dist/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
  755. package/pnpm/dist/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
  756. package/pnpm/dist/node_modules/signal-exit/dist/mjs/index.js +275 -0
  757. package/pnpm/dist/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
  758. package/pnpm/dist/node_modules/signal-exit/dist/mjs/package.json +3 -0
  759. package/pnpm/dist/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
  760. package/pnpm/dist/node_modules/signal-exit/dist/mjs/signals.js +39 -0
  761. package/pnpm/dist/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
  762. package/pnpm/dist/node_modules/signal-exit/package.json +106 -0
  763. package/pnpm/dist/node_modules/smart-buffer/.prettierrc.yaml +5 -0
  764. package/pnpm/dist/node_modules/smart-buffer/LICENSE +20 -0
  765. package/pnpm/dist/node_modules/smart-buffer/build/smartbuffer.js +1233 -0
  766. package/pnpm/dist/node_modules/smart-buffer/build/smartbuffer.js.map +1 -0
  767. package/pnpm/dist/node_modules/smart-buffer/build/utils.js +108 -0
  768. package/pnpm/dist/node_modules/smart-buffer/build/utils.js.map +1 -0
  769. package/pnpm/dist/node_modules/smart-buffer/package.json +79 -0
  770. package/pnpm/dist/node_modules/socks/.prettierrc.yaml +7 -0
  771. package/pnpm/dist/node_modules/socks/LICENSE +20 -0
  772. package/pnpm/dist/node_modules/socks/build/client/socksclient.js +793 -0
  773. package/pnpm/dist/node_modules/socks/build/client/socksclient.js.map +1 -0
  774. package/pnpm/dist/node_modules/socks/build/common/constants.js +108 -0
  775. package/pnpm/dist/node_modules/socks/build/common/constants.js.map +1 -0
  776. package/pnpm/dist/node_modules/socks/build/common/helpers.js +166 -0
  777. package/pnpm/dist/node_modules/socks/build/common/helpers.js.map +1 -0
  778. package/pnpm/dist/node_modules/socks/build/common/receivebuffer.js +43 -0
  779. package/pnpm/dist/node_modules/socks/build/common/receivebuffer.js.map +1 -0
  780. package/pnpm/dist/node_modules/socks/build/common/util.js +25 -0
  781. package/pnpm/dist/node_modules/socks/build/common/util.js.map +1 -0
  782. package/pnpm/dist/node_modules/socks/build/index.js +18 -0
  783. package/pnpm/dist/node_modules/socks/build/index.js.map +1 -0
  784. package/pnpm/dist/node_modules/socks/package.json +58 -0
  785. package/pnpm/dist/node_modules/socks-proxy-agent/LICENSE +22 -0
  786. package/pnpm/dist/node_modules/socks-proxy-agent/dist/index.d.ts.map +1 -0
  787. package/pnpm/dist/node_modules/socks-proxy-agent/dist/index.js +195 -0
  788. package/pnpm/dist/node_modules/socks-proxy-agent/dist/index.js.map +1 -0
  789. package/pnpm/dist/node_modules/socks-proxy-agent/package.json +142 -0
  790. package/pnpm/dist/node_modules/ssri/lib/index.js +580 -0
  791. package/pnpm/dist/node_modules/ssri/package.json +66 -0
  792. package/pnpm/dist/node_modules/string-width/index.js +54 -0
  793. package/pnpm/dist/node_modules/string-width/license +9 -0
  794. package/pnpm/dist/node_modules/string-width/package.json +59 -0
  795. package/pnpm/dist/node_modules/string-width-cjs/index.js +47 -0
  796. package/pnpm/dist/node_modules/string-width-cjs/license +9 -0
  797. package/pnpm/dist/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +10 -0
  798. package/pnpm/dist/node_modules/string-width-cjs/node_modules/ansi-regex/license +9 -0
  799. package/pnpm/dist/node_modules/string-width-cjs/node_modules/ansi-regex/package.json +55 -0
  800. package/pnpm/dist/node_modules/string-width-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  801. package/pnpm/dist/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/index.js +6 -0
  802. package/pnpm/dist/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/text.js +6 -0
  803. package/pnpm/dist/node_modules/string-width-cjs/node_modules/emoji-regex/index.js +6 -0
  804. package/pnpm/dist/node_modules/string-width-cjs/node_modules/emoji-regex/package.json +50 -0
  805. package/pnpm/dist/node_modules/string-width-cjs/node_modules/emoji-regex/text.js +6 -0
  806. package/pnpm/dist/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +4 -0
  807. package/pnpm/dist/node_modules/string-width-cjs/node_modules/strip-ansi/license +9 -0
  808. package/pnpm/dist/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +54 -0
  809. package/pnpm/dist/node_modules/string-width-cjs/package.json +56 -0
  810. package/pnpm/dist/node_modules/strip-ansi/index.js +19 -0
  811. package/pnpm/dist/node_modules/strip-ansi/license +9 -0
  812. package/pnpm/dist/node_modules/strip-ansi/package.json +59 -0
  813. package/pnpm/dist/node_modules/strip-ansi-cjs/index.js +4 -0
  814. package/pnpm/dist/node_modules/strip-ansi-cjs/license +9 -0
  815. package/pnpm/dist/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +10 -0
  816. package/pnpm/dist/node_modules/strip-ansi-cjs/node_modules/ansi-regex/license +9 -0
  817. package/pnpm/dist/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +55 -0
  818. package/pnpm/dist/node_modules/strip-ansi-cjs/package.json +54 -0
  819. package/pnpm/dist/node_modules/tar/dist/commonjs/create.d.ts.map +1 -0
  820. package/pnpm/dist/node_modules/tar/dist/commonjs/create.js +82 -0
  821. package/pnpm/dist/node_modules/tar/dist/commonjs/create.js.map +1 -0
  822. package/pnpm/dist/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +1 -0
  823. package/pnpm/dist/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
  824. package/pnpm/dist/node_modules/tar/dist/commonjs/cwd-error.js.map +1 -0
  825. package/pnpm/dist/node_modules/tar/dist/commonjs/extract.d.ts.map +1 -0
  826. package/pnpm/dist/node_modules/tar/dist/commonjs/extract.js +88 -0
  827. package/pnpm/dist/node_modules/tar/dist/commonjs/extract.js.map +1 -0
  828. package/pnpm/dist/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +1 -0
  829. package/pnpm/dist/node_modules/tar/dist/commonjs/get-write-flag.js +32 -0
  830. package/pnpm/dist/node_modules/tar/dist/commonjs/get-write-flag.js.map +1 -0
  831. package/pnpm/dist/node_modules/tar/dist/commonjs/header.d.ts.map +1 -0
  832. package/pnpm/dist/node_modules/tar/dist/commonjs/header.js +348 -0
  833. package/pnpm/dist/node_modules/tar/dist/commonjs/header.js.map +1 -0
  834. package/pnpm/dist/node_modules/tar/dist/commonjs/index.d.ts.map +1 -0
  835. package/pnpm/dist/node_modules/tar/dist/commonjs/index.js +64 -0
  836. package/pnpm/dist/node_modules/tar/dist/commonjs/index.js.map +1 -0
  837. package/pnpm/dist/node_modules/tar/dist/commonjs/index.min.js +4 -0
  838. package/pnpm/dist/node_modules/tar/dist/commonjs/index.min.js.map +7 -0
  839. package/pnpm/dist/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +1 -0
  840. package/pnpm/dist/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
  841. package/pnpm/dist/node_modules/tar/dist/commonjs/large-numbers.js.map +1 -0
  842. package/pnpm/dist/node_modules/tar/dist/commonjs/list.d.ts.map +1 -0
  843. package/pnpm/dist/node_modules/tar/dist/commonjs/list.js +153 -0
  844. package/pnpm/dist/node_modules/tar/dist/commonjs/list.js.map +1 -0
  845. package/pnpm/dist/node_modules/tar/dist/commonjs/make-command.d.ts.map +1 -0
  846. package/pnpm/dist/node_modules/tar/dist/commonjs/make-command.js +52 -0
  847. package/pnpm/dist/node_modules/tar/dist/commonjs/make-command.js.map +1 -0
  848. package/pnpm/dist/node_modules/tar/dist/commonjs/mkdir.d.ts.map +1 -0
  849. package/pnpm/dist/node_modules/tar/dist/commonjs/mkdir.js +187 -0
  850. package/pnpm/dist/node_modules/tar/dist/commonjs/mkdir.js.map +1 -0
  851. package/pnpm/dist/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +1 -0
  852. package/pnpm/dist/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
  853. package/pnpm/dist/node_modules/tar/dist/commonjs/mode-fix.js.map +1 -0
  854. package/pnpm/dist/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +1 -0
  855. package/pnpm/dist/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
  856. package/pnpm/dist/node_modules/tar/dist/commonjs/normalize-unicode.js.map +1 -0
  857. package/pnpm/dist/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +1 -0
  858. package/pnpm/dist/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
  859. package/pnpm/dist/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +1 -0
  860. package/pnpm/dist/node_modules/tar/dist/commonjs/options.d.ts.map +1 -0
  861. package/pnpm/dist/node_modules/tar/dist/commonjs/options.js +66 -0
  862. package/pnpm/dist/node_modules/tar/dist/commonjs/options.js.map +1 -0
  863. package/pnpm/dist/node_modules/tar/dist/commonjs/pack.d.ts.map +1 -0
  864. package/pnpm/dist/node_modules/tar/dist/commonjs/pack.js +544 -0
  865. package/pnpm/dist/node_modules/tar/dist/commonjs/pack.js.map +1 -0
  866. package/pnpm/dist/node_modules/tar/dist/commonjs/package.json +3 -0
  867. package/pnpm/dist/node_modules/tar/dist/commonjs/parse.d.ts.map +1 -0
  868. package/pnpm/dist/node_modules/tar/dist/commonjs/parse.js +655 -0
  869. package/pnpm/dist/node_modules/tar/dist/commonjs/parse.js.map +1 -0
  870. package/pnpm/dist/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +1 -0
  871. package/pnpm/dist/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
  872. package/pnpm/dist/node_modules/tar/dist/commonjs/path-reservations.js.map +1 -0
  873. package/pnpm/dist/node_modules/tar/dist/commonjs/pax.d.ts.map +1 -0
  874. package/pnpm/dist/node_modules/tar/dist/commonjs/pax.js +182 -0
  875. package/pnpm/dist/node_modules/tar/dist/commonjs/pax.js.map +1 -0
  876. package/pnpm/dist/node_modules/tar/dist/commonjs/process-umask.d.ts.map +1 -0
  877. package/pnpm/dist/node_modules/tar/dist/commonjs/process-umask.js +7 -0
  878. package/pnpm/dist/node_modules/tar/dist/commonjs/process-umask.js.map +1 -0
  879. package/pnpm/dist/node_modules/tar/dist/commonjs/read-entry.d.ts.map +1 -0
  880. package/pnpm/dist/node_modules/tar/dist/commonjs/read-entry.js +136 -0
  881. package/pnpm/dist/node_modules/tar/dist/commonjs/read-entry.js.map +1 -0
  882. package/pnpm/dist/node_modules/tar/dist/commonjs/replace.d.ts.map +1 -0
  883. package/pnpm/dist/node_modules/tar/dist/commonjs/replace.js +227 -0
  884. package/pnpm/dist/node_modules/tar/dist/commonjs/replace.js.map +1 -0
  885. package/pnpm/dist/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +1 -0
  886. package/pnpm/dist/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
  887. package/pnpm/dist/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +1 -0
  888. package/pnpm/dist/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +1 -0
  889. package/pnpm/dist/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
  890. package/pnpm/dist/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +1 -0
  891. package/pnpm/dist/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +1 -0
  892. package/pnpm/dist/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
  893. package/pnpm/dist/node_modules/tar/dist/commonjs/symlink-error.js.map +1 -0
  894. package/pnpm/dist/node_modules/tar/dist/commonjs/types.d.ts.map +1 -0
  895. package/pnpm/dist/node_modules/tar/dist/commonjs/types.js +70 -0
  896. package/pnpm/dist/node_modules/tar/dist/commonjs/types.js.map +1 -0
  897. package/pnpm/dist/node_modules/tar/dist/commonjs/unpack.d.ts.map +1 -0
  898. package/pnpm/dist/node_modules/tar/dist/commonjs/unpack.js +932 -0
  899. package/pnpm/dist/node_modules/tar/dist/commonjs/unpack.js.map +1 -0
  900. package/pnpm/dist/node_modules/tar/dist/commonjs/update.d.ts.map +1 -0
  901. package/pnpm/dist/node_modules/tar/dist/commonjs/update.js +33 -0
  902. package/pnpm/dist/node_modules/tar/dist/commonjs/update.js.map +1 -0
  903. package/pnpm/dist/node_modules/tar/dist/commonjs/warn-method.d.ts.map +1 -0
  904. package/pnpm/dist/node_modules/tar/dist/commonjs/warn-method.js +31 -0
  905. package/pnpm/dist/node_modules/tar/dist/commonjs/warn-method.js.map +1 -0
  906. package/pnpm/dist/node_modules/tar/dist/commonjs/winchars.d.ts.map +1 -0
  907. package/pnpm/dist/node_modules/tar/dist/commonjs/winchars.js +14 -0
  908. package/pnpm/dist/node_modules/tar/dist/commonjs/winchars.js.map +1 -0
  909. package/pnpm/dist/node_modules/tar/dist/commonjs/write-entry.d.ts.map +1 -0
  910. package/pnpm/dist/node_modules/tar/dist/commonjs/write-entry.js +698 -0
  911. package/pnpm/dist/node_modules/tar/dist/commonjs/write-entry.js.map +1 -0
  912. package/pnpm/dist/node_modules/tar/dist/esm/create.d.ts.map +1 -0
  913. package/pnpm/dist/node_modules/tar/dist/esm/create.js +76 -0
  914. package/pnpm/dist/node_modules/tar/dist/esm/create.js.map +1 -0
  915. package/pnpm/dist/node_modules/tar/dist/esm/cwd-error.d.ts.map +1 -0
  916. package/pnpm/dist/node_modules/tar/dist/esm/cwd-error.js +14 -0
  917. package/pnpm/dist/node_modules/tar/dist/esm/cwd-error.js.map +1 -0
  918. package/pnpm/dist/node_modules/tar/dist/esm/extract.d.ts.map +1 -0
  919. package/pnpm/dist/node_modules/tar/dist/esm/extract.js +49 -0
  920. package/pnpm/dist/node_modules/tar/dist/esm/extract.js.map +1 -0
  921. package/pnpm/dist/node_modules/tar/dist/esm/get-write-flag.d.ts.map +1 -0
  922. package/pnpm/dist/node_modules/tar/dist/esm/get-write-flag.js +26 -0
  923. package/pnpm/dist/node_modules/tar/dist/esm/get-write-flag.js.map +1 -0
  924. package/pnpm/dist/node_modules/tar/dist/esm/header.d.ts.map +1 -0
  925. package/pnpm/dist/node_modules/tar/dist/esm/header.js +311 -0
  926. package/pnpm/dist/node_modules/tar/dist/esm/header.js.map +1 -0
  927. package/pnpm/dist/node_modules/tar/dist/esm/index.d.ts.map +1 -0
  928. package/pnpm/dist/node_modules/tar/dist/esm/index.js +20 -0
  929. package/pnpm/dist/node_modules/tar/dist/esm/index.js.map +1 -0
  930. package/pnpm/dist/node_modules/tar/dist/esm/index.min.js +4 -0
  931. package/pnpm/dist/node_modules/tar/dist/esm/index.min.js.map +7 -0
  932. package/pnpm/dist/node_modules/tar/dist/esm/large-numbers.d.ts.map +1 -0
  933. package/pnpm/dist/node_modules/tar/dist/esm/large-numbers.js +94 -0
  934. package/pnpm/dist/node_modules/tar/dist/esm/large-numbers.js.map +1 -0
  935. package/pnpm/dist/node_modules/tar/dist/esm/list.d.ts.map +1 -0
  936. package/pnpm/dist/node_modules/tar/dist/esm/list.js +113 -0
  937. package/pnpm/dist/node_modules/tar/dist/esm/list.js.map +1 -0
  938. package/pnpm/dist/node_modules/tar/dist/esm/make-command.d.ts.map +1 -0
  939. package/pnpm/dist/node_modules/tar/dist/esm/make-command.js +48 -0
  940. package/pnpm/dist/node_modules/tar/dist/esm/make-command.js.map +1 -0
  941. package/pnpm/dist/node_modules/tar/dist/esm/mkdir.d.ts.map +1 -0
  942. package/pnpm/dist/node_modules/tar/dist/esm/mkdir.js +179 -0
  943. package/pnpm/dist/node_modules/tar/dist/esm/mkdir.js.map +1 -0
  944. package/pnpm/dist/node_modules/tar/dist/esm/mode-fix.d.ts.map +1 -0
  945. package/pnpm/dist/node_modules/tar/dist/esm/mode-fix.js +25 -0
  946. package/pnpm/dist/node_modules/tar/dist/esm/mode-fix.js.map +1 -0
  947. package/pnpm/dist/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +1 -0
  948. package/pnpm/dist/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
  949. package/pnpm/dist/node_modules/tar/dist/esm/normalize-unicode.js.map +1 -0
  950. package/pnpm/dist/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +1 -0
  951. package/pnpm/dist/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
  952. package/pnpm/dist/node_modules/tar/dist/esm/normalize-windows-path.js.map +1 -0
  953. package/pnpm/dist/node_modules/tar/dist/esm/options.d.ts.map +1 -0
  954. package/pnpm/dist/node_modules/tar/dist/esm/options.js +54 -0
  955. package/pnpm/dist/node_modules/tar/dist/esm/options.js.map +1 -0
  956. package/pnpm/dist/node_modules/tar/dist/esm/pack.d.ts.map +1 -0
  957. package/pnpm/dist/node_modules/tar/dist/esm/pack.js +502 -0
  958. package/pnpm/dist/node_modules/tar/dist/esm/pack.js.map +1 -0
  959. package/pnpm/dist/node_modules/tar/dist/esm/package.json +3 -0
  960. package/pnpm/dist/node_modules/tar/dist/esm/parse.d.ts.map +1 -0
  961. package/pnpm/dist/node_modules/tar/dist/esm/parse.js +651 -0
  962. package/pnpm/dist/node_modules/tar/dist/esm/parse.js.map +1 -0
  963. package/pnpm/dist/node_modules/tar/dist/esm/path-reservations.d.ts.map +1 -0
  964. package/pnpm/dist/node_modules/tar/dist/esm/path-reservations.js +166 -0
  965. package/pnpm/dist/node_modules/tar/dist/esm/path-reservations.js.map +1 -0
  966. package/pnpm/dist/node_modules/tar/dist/esm/pax.d.ts.map +1 -0
  967. package/pnpm/dist/node_modules/tar/dist/esm/pax.js +178 -0
  968. package/pnpm/dist/node_modules/tar/dist/esm/pax.js.map +1 -0
  969. package/pnpm/dist/node_modules/tar/dist/esm/process-umask.d.ts.map +1 -0
  970. package/pnpm/dist/node_modules/tar/dist/esm/process-umask.js +3 -0
  971. package/pnpm/dist/node_modules/tar/dist/esm/process-umask.js.map +1 -0
  972. package/pnpm/dist/node_modules/tar/dist/esm/read-entry.d.ts.map +1 -0
  973. package/pnpm/dist/node_modules/tar/dist/esm/read-entry.js +132 -0
  974. package/pnpm/dist/node_modules/tar/dist/esm/read-entry.js.map +1 -0
  975. package/pnpm/dist/node_modules/tar/dist/esm/replace.d.ts.map +1 -0
  976. package/pnpm/dist/node_modules/tar/dist/esm/replace.js +221 -0
  977. package/pnpm/dist/node_modules/tar/dist/esm/replace.js.map +1 -0
  978. package/pnpm/dist/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +1 -0
  979. package/pnpm/dist/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
  980. package/pnpm/dist/node_modules/tar/dist/esm/strip-absolute-path.js.map +1 -0
  981. package/pnpm/dist/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +1 -0
  982. package/pnpm/dist/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
  983. package/pnpm/dist/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +1 -0
  984. package/pnpm/dist/node_modules/tar/dist/esm/symlink-error.d.ts.map +1 -0
  985. package/pnpm/dist/node_modules/tar/dist/esm/symlink-error.js +15 -0
  986. package/pnpm/dist/node_modules/tar/dist/esm/symlink-error.js.map +1 -0
  987. package/pnpm/dist/node_modules/tar/dist/esm/types.d.ts.map +1 -0
  988. package/pnpm/dist/node_modules/tar/dist/esm/types.js +65 -0
  989. package/pnpm/dist/node_modules/tar/dist/esm/types.js.map +1 -0
  990. package/pnpm/dist/node_modules/tar/dist/esm/unpack.d.ts.map +1 -0
  991. package/pnpm/dist/node_modules/tar/dist/esm/unpack.js +891 -0
  992. package/pnpm/dist/node_modules/tar/dist/esm/unpack.js.map +1 -0
  993. package/pnpm/dist/node_modules/tar/dist/esm/update.d.ts.map +1 -0
  994. package/pnpm/dist/node_modules/tar/dist/esm/update.js +30 -0
  995. package/pnpm/dist/node_modules/tar/dist/esm/update.js.map +1 -0
  996. package/pnpm/dist/node_modules/tar/dist/esm/warn-method.d.ts.map +1 -0
  997. package/pnpm/dist/node_modules/tar/dist/esm/warn-method.js +27 -0
  998. package/pnpm/dist/node_modules/tar/dist/esm/warn-method.js.map +1 -0
  999. package/pnpm/dist/node_modules/tar/dist/esm/winchars.d.ts.map +1 -0
  1000. package/pnpm/dist/node_modules/tar/dist/esm/winchars.js +9 -0
  1001. package/pnpm/dist/node_modules/tar/dist/esm/winchars.js.map +1 -0
  1002. package/pnpm/dist/node_modules/tar/dist/esm/write-entry.d.ts.map +1 -0
  1003. package/pnpm/dist/node_modules/tar/dist/esm/write-entry.js +656 -0
  1004. package/pnpm/dist/node_modules/tar/dist/esm/write-entry.js.map +1 -0
  1005. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/commonjs/index.d.ts.map +1 -0
  1006. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/commonjs/index.js +384 -0
  1007. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/commonjs/index.js.map +1 -0
  1008. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +3 -0
  1009. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/esm/index.d.ts.map +1 -0
  1010. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/esm/index.js +379 -0
  1011. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/esm/index.js.map +1 -0
  1012. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/esm/package.json +3 -0
  1013. package/pnpm/dist/node_modules/tar/node_modules/yallist/package.json +68 -0
  1014. package/pnpm/dist/node_modules/tar/package.json +298 -0
  1015. package/pnpm/dist/node_modules/tinyglobby/LICENSE +21 -0
  1016. package/pnpm/dist/node_modules/tinyglobby/dist/index.cjs +335 -0
  1017. package/pnpm/dist/node_modules/tinyglobby/dist/index.d.cts +148 -0
  1018. package/pnpm/dist/node_modules/tinyglobby/dist/index.d.mts +148 -0
  1019. package/pnpm/dist/node_modules/tinyglobby/dist/index.mjs +307 -0
  1020. package/pnpm/dist/node_modules/tinyglobby/package.json +70 -0
  1021. package/pnpm/dist/node_modules/unique-filename/LICENSE +5 -0
  1022. package/pnpm/dist/node_modules/unique-filename/lib/index.js +7 -0
  1023. package/pnpm/dist/node_modules/unique-filename/package.json +53 -0
  1024. package/pnpm/dist/node_modules/unique-slug/LICENSE +15 -0
  1025. package/pnpm/dist/node_modules/unique-slug/lib/index.js +11 -0
  1026. package/pnpm/dist/node_modules/unique-slug/package.json +49 -0
  1027. package/pnpm/dist/node_modules/v8-compile-cache/LICENSE +21 -0
  1028. package/pnpm/dist/node_modules/v8-compile-cache/package.json +34 -0
  1029. package/pnpm/dist/node_modules/v8-compile-cache/v8-compile-cache.js +373 -0
  1030. package/pnpm/dist/node_modules/which/LICENSE +15 -0
  1031. package/pnpm/dist/node_modules/which/bin/node-which +52 -0
  1032. package/pnpm/dist/node_modules/which/package.json +43 -0
  1033. package/pnpm/dist/node_modules/which/which.js +125 -0
  1034. package/pnpm/dist/node_modules/wrap-ansi/index.js +214 -0
  1035. package/pnpm/dist/node_modules/wrap-ansi/license +9 -0
  1036. package/pnpm/dist/node_modules/wrap-ansi/package.json +69 -0
  1037. package/pnpm/dist/node_modules/wrap-ansi-cjs/index.js +216 -0
  1038. package/pnpm/dist/node_modules/wrap-ansi-cjs/license +9 -0
  1039. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +10 -0
  1040. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/license +9 -0
  1041. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/package.json +55 -0
  1042. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/index.js +163 -0
  1043. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/license +9 -0
  1044. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/package.json +56 -0
  1045. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  1046. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/index.js +6 -0
  1047. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/text.js +6 -0
  1048. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.js +6 -0
  1049. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/package.json +50 -0
  1050. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/text.js +6 -0
  1051. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/string-width/index.js +47 -0
  1052. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/string-width/license +9 -0
  1053. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/string-width/package.json +56 -0
  1054. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +4 -0
  1055. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/license +9 -0
  1056. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +54 -0
  1057. package/pnpm/dist/node_modules/wrap-ansi-cjs/package.json +62 -0
  1058. package/pnpm/dist/node_modules/yallist/LICENSE +15 -0
  1059. package/pnpm/dist/node_modules/yallist/iterator.js +8 -0
  1060. package/pnpm/dist/node_modules/yallist/package.json +29 -0
  1061. package/pnpm/dist/node_modules/yallist/yallist.js +426 -0
  1062. package/pnpm/dist/pnpm.cjs +214359 -0
  1063. package/pnpm/dist/pnpmrc +2 -0
  1064. package/pnpm/dist/reflink.darwin-arm64-2HJ4WGO6.node +0 -0
  1065. package/pnpm/dist/reflink.darwin-x64-3G3H6IW4.node +0 -0
  1066. package/pnpm/dist/reflink.win32-arm64-msvc-Q6BARPPB.node +0 -0
  1067. package/pnpm/dist/reflink.win32-x64-msvc-J2TZHRQI.node +0 -0
  1068. package/pnpm/dist/templates/completion.bash +31 -0
  1069. package/pnpm/dist/templates/completion.fish +22 -0
  1070. package/pnpm/dist/templates/completion.ps1 +193 -0
  1071. package/pnpm/dist/templates/completion.zsh +27 -0
  1072. package/pnpm/dist/vendor/fastlist-0.3.0-x64.exe +0 -0
  1073. package/pnpm/dist/vendor/fastlist-0.3.0-x86.exe +0 -0
  1074. package/pnpm/dist/worker.js +11564 -0
  1075. package/pnpm/package.json +192 -0
  1076. package/skills/.claude/skills/.gitkeep +0 -0
  1077. package/skills/README.md +19 -0
  1078. package/web/assets/core-CIeAU5U4.js +13 -0
  1079. package/web/assets/core-CIeAU5U4.js.map +1 -0
  1080. package/web/assets/css-BsVw1vtW.js +2 -0
  1081. package/web/assets/css-BsVw1vtW.js.map +1 -0
  1082. package/web/assets/diff-woXpYk--.js +2 -0
  1083. package/web/assets/diff-woXpYk--.js.map +1 -0
  1084. package/web/assets/engine-javascript-vHStYFkU.js +142 -0
  1085. package/web/assets/engine-javascript-vHStYFkU.js.map +1 -0
  1086. package/web/assets/github-dark-default-DXG-b-1a.js +2 -0
  1087. package/web/assets/github-dark-default-DXG-b-1a.js.map +1 -0
  1088. package/web/assets/github-light-EUqPIrTm.js +2 -0
  1089. package/web/assets/github-light-EUqPIrTm.js.map +1 -0
  1090. package/web/assets/go-rLFTqkRN.js +2 -0
  1091. package/web/assets/go-rLFTqkRN.js.map +1 -0
  1092. package/web/assets/html-BY76lXLH.js +2 -0
  1093. package/web/assets/html-BY76lXLH.js.map +1 -0
  1094. package/web/assets/icon-app-BHyKF-1l.png +0 -0
  1095. package/web/assets/index-Bnebzkoc.js +122 -0
  1096. package/web/assets/index-Bnebzkoc.js.map +1 -0
  1097. package/web/assets/index-DxgjutLj.css +1 -0
  1098. package/web/assets/java-BXcb2rRD.js +2 -0
  1099. package/web/assets/java-BXcb2rRD.js.map +1 -0
  1100. package/web/assets/javascript-BgS3c2Ky.js +2 -0
  1101. package/web/assets/javascript-BgS3c2Ky.js.map +1 -0
  1102. package/web/assets/jetbrains-mono-latin-400-normal-6-qcROiO.woff +0 -0
  1103. package/web/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2 +0 -0
  1104. package/web/assets/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2 +0 -0
  1105. package/web/assets/jetbrains-mono-latin-500-normal-CJOVTJB7.woff +0 -0
  1106. package/web/assets/json-qhed-kSA.js +2 -0
  1107. package/web/assets/json-qhed-kSA.js.map +1 -0
  1108. package/web/assets/jsx-Bz0zcwM4.js +2 -0
  1109. package/web/assets/jsx-Bz0zcwM4.js.map +1 -0
  1110. package/web/assets/markdown-BYOwaDjH.js +2 -0
  1111. package/web/assets/markdown-BYOwaDjH.js.map +1 -0
  1112. package/web/assets/python-gzcpVVnB.js +2 -0
  1113. package/web/assets/python-gzcpVVnB.js.map +1 -0
  1114. package/web/assets/rust-Cfkwpbl8.js +2 -0
  1115. package/web/assets/rust-Cfkwpbl8.js.map +1 -0
  1116. package/web/assets/shellscript-CLZ0U2zV.js +2 -0
  1117. package/web/assets/shellscript-CLZ0U2zV.js.map +1 -0
  1118. package/web/assets/sql-BsFa4tDR.js +2 -0
  1119. package/web/assets/sql-BsFa4tDR.js.map +1 -0
  1120. package/web/assets/tsx-udAQXfEw.js +2 -0
  1121. package/web/assets/tsx-udAQXfEw.js.map +1 -0
  1122. package/web/assets/typescript-bsJCZSQ-.js +2 -0
  1123. package/web/assets/typescript-bsJCZSQ-.js.map +1 -0
  1124. package/web/assets/yaml-rwi0_p6S.js +2 -0
  1125. package/web/assets/yaml-rwi0_p6S.js.map +1 -0
  1126. package/web/index.html +29 -0
  1127. package/README.md +0 -3
@@ -0,0 +1,132 @@
1
+ import { Minipass } from 'minipass';
2
+ import { normalizeWindowsPath } from './normalize-windows-path.js';
3
+ export class ReadEntry extends Minipass {
4
+ extended;
5
+ globalExtended;
6
+ header;
7
+ startBlockSize;
8
+ blockRemain;
9
+ remain;
10
+ type;
11
+ meta = false;
12
+ ignore = false;
13
+ path;
14
+ mode;
15
+ uid;
16
+ gid;
17
+ uname;
18
+ gname;
19
+ size = 0;
20
+ mtime;
21
+ atime;
22
+ ctime;
23
+ linkpath;
24
+ dev;
25
+ ino;
26
+ nlink;
27
+ invalid = false;
28
+ absolute;
29
+ unsupported = false;
30
+ constructor(header, ex, gex) {
31
+ super({});
32
+ // read entries always start life paused. this is to avoid the
33
+ // situation where Minipass's auto-ending empty streams results
34
+ // in an entry ending before we're ready for it.
35
+ this.pause();
36
+ this.extended = ex;
37
+ this.globalExtended = gex;
38
+ this.header = header;
39
+ /* c8 ignore start */
40
+ this.remain = header.size ?? 0;
41
+ /* c8 ignore stop */
42
+ this.startBlockSize = 512 * Math.ceil(this.remain / 512);
43
+ this.blockRemain = this.startBlockSize;
44
+ this.type = header.type;
45
+ switch (this.type) {
46
+ case 'File':
47
+ case 'OldFile':
48
+ case 'Link':
49
+ case 'SymbolicLink':
50
+ case 'CharacterDevice':
51
+ case 'BlockDevice':
52
+ case 'Directory':
53
+ case 'FIFO':
54
+ case 'ContiguousFile':
55
+ case 'GNUDumpDir':
56
+ break;
57
+ case 'NextFileHasLongLinkpath':
58
+ case 'NextFileHasLongPath':
59
+ case 'OldGnuLongPath':
60
+ case 'GlobalExtendedHeader':
61
+ case 'ExtendedHeader':
62
+ case 'OldExtendedHeader':
63
+ this.meta = true;
64
+ break;
65
+ // NOTE: gnutar and bsdtar treat unrecognized types as 'File'
66
+ // it may be worth doing the same, but with a warning.
67
+ default:
68
+ this.ignore = true;
69
+ }
70
+ /* c8 ignore start */
71
+ if (!header.path) {
72
+ throw new Error('no path provided for tar.ReadEntry');
73
+ }
74
+ /* c8 ignore stop */
75
+ this.path = normalizeWindowsPath(header.path);
76
+ this.mode = header.mode;
77
+ if (this.mode) {
78
+ this.mode = this.mode & 0o7777;
79
+ }
80
+ this.uid = header.uid;
81
+ this.gid = header.gid;
82
+ this.uname = header.uname;
83
+ this.gname = header.gname;
84
+ this.size = this.remain;
85
+ this.mtime = header.mtime;
86
+ this.atime = header.atime;
87
+ this.ctime = header.ctime;
88
+ /* c8 ignore start */
89
+ this.linkpath =
90
+ header.linkpath ? normalizeWindowsPath(header.linkpath) : undefined;
91
+ /* c8 ignore stop */
92
+ this.uname = header.uname;
93
+ this.gname = header.gname;
94
+ if (ex) {
95
+ this.#slurp(ex);
96
+ }
97
+ if (gex) {
98
+ this.#slurp(gex, true);
99
+ }
100
+ }
101
+ write(data) {
102
+ const writeLen = data.length;
103
+ if (writeLen > this.blockRemain) {
104
+ throw new Error('writing more to entry than is appropriate');
105
+ }
106
+ const r = this.remain;
107
+ const br = this.blockRemain;
108
+ this.remain = Math.max(0, r - writeLen);
109
+ this.blockRemain = Math.max(0, br - writeLen);
110
+ if (this.ignore) {
111
+ return true;
112
+ }
113
+ if (r >= writeLen) {
114
+ return super.write(data);
115
+ }
116
+ // r < writeLen
117
+ return super.write(data.subarray(0, r));
118
+ }
119
+ #slurp(ex, gex = false) {
120
+ if (ex.path)
121
+ ex.path = normalizeWindowsPath(ex.path);
122
+ if (ex.linkpath)
123
+ ex.linkpath = normalizeWindowsPath(ex.linkpath);
124
+ Object.assign(this, Object.fromEntries(Object.entries(ex).filter(([k, v]) => {
125
+ // we slurp in everything except for the path attribute in
126
+ // a global extended header, because that's weird. Also, any
127
+ // null/undefined values are ignored.
128
+ return !(v === null || v === undefined || (k === 'path' && gex));
129
+ })));
130
+ }
131
+ }
132
+ //# sourceMappingURL=read-entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"read-entry.js","sourceRoot":"","sources":["../../src/read-entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAEnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAA;AAIlE,MAAM,OAAO,SAAU,SAAQ,QAAwB;IACrD,QAAQ,CAAM;IACd,cAAc,CAAM;IACpB,MAAM,CAAQ;IACd,cAAc,CAAQ;IACtB,WAAW,CAAQ;IACnB,MAAM,CAAQ;IACd,IAAI,CAAe;IACnB,IAAI,GAAY,KAAK,CAAA;IACrB,MAAM,GAAY,KAAK,CAAA;IACvB,IAAI,CAAQ;IACZ,IAAI,CAAS;IACb,GAAG,CAAS;IACZ,GAAG,CAAS;IACZ,KAAK,CAAS;IACd,KAAK,CAAS;IACd,IAAI,GAAW,CAAC,CAAA;IAChB,KAAK,CAAO;IACZ,KAAK,CAAO;IACZ,KAAK,CAAO;IACZ,QAAQ,CAAS;IAEjB,GAAG,CAAS;IACZ,GAAG,CAAS;IACZ,KAAK,CAAS;IACd,OAAO,GAAY,KAAK,CAAA;IACxB,QAAQ,CAAS;IACjB,WAAW,GAAY,KAAK,CAAA;IAE5B,YAAY,MAAc,EAAE,EAAQ,EAAE,GAAS;QAC7C,KAAK,CAAC,EAAE,CAAC,CAAA;QACT,+DAA+D;QAC/D,+DAA+D;QAC/D,gDAAgD;QAChD,IAAI,CAAC,KAAK,EAAE,CAAA;QACZ,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAA;QAClB,IAAI,CAAC,cAAc,GAAG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Content":["import { Minipass } from 'minipass'\nimport type { Header } from './header.js'\nimport { normalizeWindowsPath } from './normalize-windows-path.js'\nimport type { Pax } from './pax.js'\nimport type { EntryTypeName } from './types.js'\n\nexport class ReadEntry extends Minipass<Buffer, Buffer> {\n extended?: Pax\n globalExtended?: Pax\n header: Header\n startBlockSize: number\n blockRemain: number\n remain: number\n type: EntryTypeName\n meta: boolean = false\n ignore: boolean = false\n path: string\n mode?: number\n uid?: number\n gid?: number\n uname?: string\n gname?: string\n size: number = 0\n mtime?: Date\n atime?: Date\n ctime?: Date\n linkpath?: string\n\n dev?: number\n ino?: number\n nlink?: number\n invalid: boolean = false\n absolute?: string\n unsupported: boolean = false\n\n constructor(header: Header, ex?: Pax, gex?: Pax) {\n super({})\n // read entries always start life paused. this is to avoid the\n // situation where Minipass's auto-ending empty streams results\n // in an entry ending before we're ready for it.\n this.pause()\n this.extended = ex\n this.globalExtended = gex\n this.header = header\n /* c8 ignore start */\n this.remain = header.size ?? 0\n /* c8 ignore stop */\n this.startBlockSize = 512 * Math.ceil(this.remain / 512)\n this.blockRemain = this.startBlockSize\n this.type = header.type\n switch (this.type) {\n case 'File':\n case 'OldFile':\n case 'Link':\n case 'SymbolicLink':\n case 'CharacterDevice':\n case 'BlockDevice':\n case 'Directory':\n case 'FIFO':\n case 'ContiguousFile':\n case 'GNUDumpDir':\n break\n\n case 'NextFileHasLongLinkpath':\n case 'NextFileHasLongPath':\n case 'OldGnuLongPath':\n case 'GlobalExtendedHeader':\n case 'ExtendedHeader':\n case 'OldExtendedHeader':\n this.meta = true\n break\n\n // NOTE: gnutar and bsdtar treat unrecognized types as 'File'\n // it may be worth doing the same, but with a warning.\n default:\n this.ignore = true\n }\n\n /* c8 ignore start */\n if (!header.path) {\n throw new Error('no path provided for tar.ReadEntry')\n }\n /* c8 ignore stop */\n\n this.path = normalizeWindowsPath(header.path) as string\n this.mode = header.mode\n if (this.mode) {\n this.mode = this.mode & 0o7777\n }\n this.uid = header.uid\n this.gid = header.gid\n this.uname = header.uname\n this.gname = header.gname\n this.size = this.remain\n this.mtime = header.mtime\n this.atime = header.atime\n this.ctime = header.ctime\n /* c8 ignore start */\n this.linkpath =\n header.linkpath ? normalizeWindowsPath(header.linkpath) : undefined\n /* c8 ignore stop */\n this.uname = header.uname\n this.gname = header.gname\n\n if (ex) {\n this.#slurp(ex)\n }\n if (gex) {\n this.#slurp(gex, true)\n }\n }\n\n write(data: Buffer) {\n const writeLen = data.length\n if (writeLen > this.blockRemain) {\n throw new Error('writing more to entry than is appropriate')\n }\n\n const r = this.remain\n const br = this.blockRemain\n this.remain = Math.max(0, r - writeLen)\n this.blockRemain = Math.max(0, br - writeLen)\n if (this.ignore) {\n return true\n }\n\n if (r >= writeLen) {\n return super.write(data)\n }\n\n // r < writeLen\n return super.write(data.subarray(0, r))\n }\n\n #slurp(ex: Pax, gex: boolean = false) {\n if (ex.path) ex.path = normalizeWindowsPath(ex.path)\n if (ex.linkpath) ex.linkpath = normalizeWindowsPath(ex.linkpath)\n Object.assign(\n this,\n Object.fromEntries(\n Object.entries(ex).filter(([k, v]) => {\n // we slurp in everything except for the path attribute in\n // a global extended header, because that's weird. Also, any\n // null/undefined values are ignored.\n return !(v === null || v === undefined || (k === 'path' && gex))\n }),\n ),\n )\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replace.d.ts","sourceRoot":"","sources":["../../src/replace.ts"],"names":[],"mappings":"AAuPA,eAAO,MAAM,OAAO,sDA8BnB,CAAA"}
@@ -0,0 +1,221 @@
1
+ // tar -r
2
+ import { WriteStream, WriteStreamSync } from '@isaacs/fs-minipass';
3
+ import fs from 'node:fs';
4
+ import path from 'node:path';
5
+ import { Header } from './header.js';
6
+ import { list } from './list.js';
7
+ import { makeCommand } from './make-command.js';
8
+ import { isFile } from './options.js';
9
+ import { Pack, PackSync } from './pack.js';
10
+ // starting at the head of the file, read a Header
11
+ // If the checksum is invalid, that's our position to start writing
12
+ // If it is, jump forward by the specified size (round up to 512)
13
+ // and try again.
14
+ // Write the new Pack stream starting there.
15
+ const replaceSync = (opt, files) => {
16
+ const p = new PackSync(opt);
17
+ let threw = true;
18
+ let fd;
19
+ let position;
20
+ try {
21
+ try {
22
+ fd = fs.openSync(opt.file, 'r+');
23
+ }
24
+ catch (er) {
25
+ if (er?.code === 'ENOENT') {
26
+ fd = fs.openSync(opt.file, 'w+');
27
+ }
28
+ else {
29
+ throw er;
30
+ }
31
+ }
32
+ const st = fs.fstatSync(fd);
33
+ const headBuf = Buffer.alloc(512);
34
+ POSITION: for (position = 0; position < st.size; position += 512) {
35
+ for (let bufPos = 0, bytes = 0; bufPos < 512; bufPos += bytes) {
36
+ bytes = fs.readSync(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
37
+ if (position === 0 && headBuf[0] === 0x1f && headBuf[1] === 0x8b) {
38
+ throw new Error('cannot append to compressed archives');
39
+ }
40
+ if (!bytes) {
41
+ break POSITION;
42
+ }
43
+ }
44
+ const h = new Header(headBuf);
45
+ if (!h.cksumValid) {
46
+ break;
47
+ }
48
+ const entryBlockSize = 512 * Math.ceil((h.size || 0) / 512);
49
+ if (position + entryBlockSize + 512 > st.size) {
50
+ break;
51
+ }
52
+ // the 512 for the header we just parsed will be added as well
53
+ // also jump ahead all the blocks for the body
54
+ position += entryBlockSize;
55
+ if (opt.mtimeCache && h.mtime) {
56
+ opt.mtimeCache.set(String(h.path), h.mtime);
57
+ }
58
+ }
59
+ threw = false;
60
+ streamSync(opt, p, position, fd, files);
61
+ }
62
+ finally {
63
+ if (threw) {
64
+ try {
65
+ fs.closeSync(fd);
66
+ }
67
+ catch { }
68
+ }
69
+ }
70
+ };
71
+ const streamSync = (opt, p, position, fd, files) => {
72
+ const stream = new WriteStreamSync(opt.file, {
73
+ fd: fd,
74
+ start: position,
75
+ });
76
+ p.pipe(stream);
77
+ addFilesSync(p, files);
78
+ };
79
+ const replaceAsync = (opt, files) => {
80
+ files = Array.from(files);
81
+ const p = new Pack(opt);
82
+ const getPos = (fd, size, cb_) => {
83
+ const cb = (er, pos) => {
84
+ if (er) {
85
+ fs.close(fd, _ => cb_(er));
86
+ }
87
+ else {
88
+ cb_(null, pos);
89
+ }
90
+ };
91
+ let position = 0;
92
+ if (size === 0) {
93
+ return cb(null, 0);
94
+ }
95
+ let bufPos = 0;
96
+ const headBuf = Buffer.alloc(512);
97
+ const onread = (er, bytes) => {
98
+ if (er || bytes === undefined) {
99
+ return cb(er);
100
+ }
101
+ bufPos += bytes;
102
+ if (bufPos < 512 && bytes) {
103
+ return fs.read(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
104
+ }
105
+ if (position === 0 && headBuf[0] === 0x1f && headBuf[1] === 0x8b) {
106
+ return cb(new Error('cannot append to compressed archives'));
107
+ }
108
+ // truncated header
109
+ if (bufPos < 512) {
110
+ return cb(null, position);
111
+ }
112
+ const h = new Header(headBuf);
113
+ if (!h.cksumValid) {
114
+ return cb(null, position);
115
+ }
116
+ /* c8 ignore next */
117
+ const entryBlockSize = 512 * Math.ceil((h.size ?? 0) / 512);
118
+ if (position + entryBlockSize + 512 > size) {
119
+ return cb(null, position);
120
+ }
121
+ position += entryBlockSize + 512;
122
+ if (position >= size) {
123
+ return cb(null, position);
124
+ }
125
+ if (opt.mtimeCache && h.mtime) {
126
+ opt.mtimeCache.set(String(h.path), h.mtime);
127
+ }
128
+ bufPos = 0;
129
+ fs.read(fd, headBuf, 0, 512, position, onread);
130
+ };
131
+ fs.read(fd, headBuf, 0, 512, position, onread);
132
+ };
133
+ const promise = new Promise((resolve, reject) => {
134
+ p.on('error', reject);
135
+ let flag = 'r+';
136
+ const onopen = (er, fd) => {
137
+ if (er && er.code === 'ENOENT' && flag === 'r+') {
138
+ flag = 'w+';
139
+ return fs.open(opt.file, flag, onopen);
140
+ }
141
+ if (er || !fd) {
142
+ return reject(er);
143
+ }
144
+ fs.fstat(fd, (er, st) => {
145
+ if (er) {
146
+ return fs.close(fd, () => reject(er));
147
+ }
148
+ getPos(fd, st.size, (er, position) => {
149
+ if (er) {
150
+ return reject(er);
151
+ }
152
+ const stream = new WriteStream(opt.file, {
153
+ fd: fd,
154
+ start: position,
155
+ });
156
+ p.pipe(stream);
157
+ stream.on('error', reject);
158
+ stream.on('close', resolve);
159
+ addFilesAsync(p, files);
160
+ });
161
+ });
162
+ };
163
+ fs.open(opt.file, flag, onopen);
164
+ });
165
+ return promise;
166
+ };
167
+ const addFilesSync = (p, files) => {
168
+ files.forEach(file => {
169
+ if (file.charAt(0) === '@') {
170
+ list({
171
+ file: path.resolve(p.cwd, file.slice(1)),
172
+ sync: true,
173
+ noResume: true,
174
+ onReadEntry: entry => p.add(entry),
175
+ });
176
+ }
177
+ else {
178
+ p.add(file);
179
+ }
180
+ });
181
+ p.end();
182
+ };
183
+ const addFilesAsync = async (p, files) => {
184
+ for (const file of files) {
185
+ if (file.charAt(0) === '@') {
186
+ await list({
187
+ file: path.resolve(String(p.cwd), file.slice(1)),
188
+ noResume: true,
189
+ onReadEntry: entry => p.add(entry),
190
+ });
191
+ }
192
+ else {
193
+ p.add(file);
194
+ }
195
+ }
196
+ p.end();
197
+ };
198
+ export const replace = makeCommand(replaceSync, replaceAsync,
199
+ /* c8 ignore start */
200
+ () => {
201
+ throw new TypeError('file is required');
202
+ }, () => {
203
+ throw new TypeError('file is required');
204
+ },
205
+ /* c8 ignore stop */
206
+ (opt, entries) => {
207
+ if (!isFile(opt)) {
208
+ throw new TypeError('file is required');
209
+ }
210
+ if (opt.gzip ||
211
+ opt.brotli ||
212
+ opt.zstd ||
213
+ opt.file.endsWith('.br') ||
214
+ opt.file.endsWith('.tbr')) {
215
+ throw new TypeError('cannot append to compressed archives');
216
+ }
217
+ if (!entries?.length) {
218
+ throw new TypeError('no paths specified to add/replace');
219
+ }
220
+ });
221
+ //# sourceMappingURL=replace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replace.js","sourceRoot":"","sources":["../../src/replace.ts"],"names":[],"mappings":"AAAA,SAAS;AACT,OA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AAI,SAAS,CAAC,kBAAkB,CAAC,CAAA;AACzC,CAAC,EACD,GAAU,EAAE;IACV,MAAM,IAAI,SAAS,CAAC,kBAAkB,CAAC,CAAA;AACzC,CAAC;AACD,oBAAoB;AACpB,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE;IACf,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC;QACjB,MAAM,IAAI,SAAS,CAAC,kBAAkB,CAAC,CAAA;IACzC,CAAC;IAED,IACE,GAAG,CAAC,IAAI;QACR,GAAG,CAAC,MAAM;QACV,GAAG,CAAC,IAAI;QACR,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC;QACxB,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EACzB,CAAC;QACD,MAAM,IAAI,SAAS,CAAC,sCAAsC,CAAC,CAAA;IAC7D,CAAC;IAED,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC;QACrB,MAAM,IAAI,SAAS,CAAC,mCAAmC,CAAC,CAAA;IAC1D,CAAC;AACH,CAAC,CACF,CAAA","sourcesContent":["// tar -r\nimport { WriteStream, WriteStreamSync } from '@isaacs/fs-minipass'\nimport type { Minipass } from 'minipass'\nimport fs from 'node:fs'\nimport path from 'node:path'\nimport { Header } from './header.js'\nimport { list } from './list.js'\nimport { makeCommand } from './make-command.js'\nimport type { TarOptionsFile, TarOptionsSyncFile } from './options.js'\nimport { isFile } from './options.js'\nimport { Pack, PackSync } from './pack.js'\n\n// starting at the head of the file, read a Header\n// If the checksum is invalid, that's our position to start writing\n// If it is, jump forward by the specified size (round up to 512)\n// and try again.\n// Write the new Pack stream starting there.\n\nconst replaceSync = (opt: TarOptionsSyncFile, files: string[]) => {\n const p = new PackSync(opt)\n\n let threw = true\n let fd\n let position\n\n try {\n try {\n fd = fs.openSync(opt.file, 'r+')\n } catch (er) {\n if ((er as NodeJS.ErrnoException)?.code === 'ENOENT') {\n fd = fs.openSync(opt.file, 'w+')\n } else {\n throw er\n }\n }\n\n const st = fs.fstatSync(fd)\n const headBuf = Buffer.alloc(512)\n\n POSITION: for (position = 0; position < st.size; position += 512) {\n for (let bufPos = 0, bytes = 0; bufPos < 512; bufPos += bytes) {\n bytes = fs.readSync(\n fd,\n headBuf,\n bufPos,\n headBuf.length - bufPos,\n position + bufPos,\n )\n\n if (position === 0 && headBuf[0] === 0x1f && headBuf[1] === 0x8b) {\n throw new Error('cannot append to compressed archives')\n }\n\n if (!bytes) {\n break POSITION\n }\n }\n\n const h = new Header(headBuf)\n if (!h.cksumValid) {\n break\n }\n const entryBlockSize = 512 * Math.ceil((h.size || 0) / 512)\n if (position + entryBlockSize + 512 > st.size) {\n break\n }\n // the 512 for the header we just parsed will be added as well\n // also jump ahead all the blocks for the body\n position += entryBlockSize\n if (opt.mtimeCache && h.mtime) {\n opt.mtimeCache.set(String(h.path), h.mtime)\n }\n }\n threw = false\n\n streamSync(opt, p, position, fd, files)\n } finally {\n if (threw) {\n try {\n fs.closeSync(fd as number)\n } catch {}\n }\n }\n}\n\nconst streamSync = (\n opt: TarOptionsSyncFile,\n p: Pack,\n position: number,\n fd: number,\n files: string[],\n) => {\n const stream = new WriteStreamSync(opt.file, {\n fd: fd,\n start: position,\n })\n p.pipe(stream as unknown as Minipass.Writable)\n addFilesSync(p, files)\n}\n\nconst replaceAsync = (\n opt: TarOptionsFile,\n files: string[],\n): Promise<void> => {\n files = Array.from(files)\n const p = new Pack(opt)\n\n const getPos = (\n fd: number,\n size: number,\n cb_: (er?: null | Error, pos?: number) => void,\n ) => {\n const cb = (er?: Error | null, pos?: number) => {\n if (er) {\n fs.close(fd, _ => cb_(er))\n } else {\n cb_(null, pos)\n }\n }\n\n let position = 0\n if (size === 0) {\n return cb(null, 0)\n }\n\n let bufPos = 0\n const headBuf = Buffer.alloc(512)\n const onread = (er?: null | Error, bytes?: number): void => {\n if (er || bytes === undefined) {\n return cb(er)\n }\n bufPos += bytes\n if (bufPos < 512 && bytes) {\n return fs.read(\n fd,\n headBuf,\n bufPos,\n headBuf.length - bufPos,\n position + bufPos,\n onread,\n )\n }\n\n if (position === 0 && headBuf[0] === 0x1f && headBuf[1] === 0x8b) {\n return cb(new Error('cannot append to compressed archives'))\n }\n\n // truncated header\n if (bufPos < 512) {\n return cb(null, position)\n }\n\n const h = new Header(headBuf)\n if (!h.cksumValid) {\n return cb(null, position)\n }\n\n /* c8 ignore next */\n const entryBlockSize = 512 * Math.ceil((h.size ?? 0) / 512)\n if (position + entryBlockSize + 512 > size) {\n return cb(null, position)\n }\n\n position += entryBlockSize + 512\n if (position >= size) {\n return cb(null, position)\n }\n\n if (opt.mtimeCache && h.mtime) {\n opt.mtimeCache.set(String(h.path), h.mtime)\n }\n bufPos = 0\n fs.read(fd, headBuf, 0, 512, position, onread)\n }\n fs.read(fd, headBuf, 0, 512, position, onread)\n }\n\n const promise = new Promise<void>((resolve, reject) => {\n p.on('error', reject)\n let flag = 'r+'\n const onopen = (er?: NodeJS.ErrnoException | null, fd?: number) => {\n if (er && er.code === 'ENOENT' && flag === 'r+') {\n flag = 'w+'\n return fs.open(opt.file, flag, onopen)\n }\n\n if (er || !fd) {\n return reject(er)\n }\n\n fs.fstat(fd, (er, st) => {\n if (er) {\n return fs.close(fd, () => reject(er))\n }\n\n getPos(fd, st.size, (er, position) => {\n if (er) {\n return reject(er)\n }\n const stream = new WriteStream(opt.file, {\n fd: fd,\n start: position,\n })\n p.pipe(stream as unknown as Minipass.Writable)\n stream.on('error', reject)\n stream.on('close', resolve)\n addFilesAsync(p, files)\n })\n })\n }\n fs.open(opt.file, flag, onopen)\n })\n\n return promise\n}\n\nconst addFilesSync = (p: Pack, files: string[]) => {\n files.forEach(file => {\n if (file.charAt(0) === '@') {\n list({\n file: path.resolve(p.cwd, file.slice(1)),\n sync: true,\n noResume: true,\n onReadEntry: entry => p.add(entry),\n })\n } else {\n p.add(file)\n }\n })\n p.end()\n}\n\nconst addFilesAsync = async (p: Pack, files: string[]): Promise<void> => {\n for (const file of files) {\n if (file.charAt(0) === '@') {\n await list({\n file: path.resolve(String(p.cwd), file.slice(1)),\n noResume: true,\n onReadEntry: entry => p.add(entry),\n })\n } else {\n p.add(file)\n }\n }\n p.end()\n}\n\nexport const replace = makeCommand(\n replaceSync,\n replaceAsync,\n /* c8 ignore start */\n (): never => {\n throw new TypeError('file is required')\n },\n (): never => {\n throw new TypeError('file is required')\n },\n /* c8 ignore stop */\n (opt, entries) => {\n if (!isFile(opt)) {\n throw new TypeError('file is required')\n }\n\n if (\n opt.gzip ||\n opt.brotli ||\n opt.zstd ||\n opt.file.endsWith('.br') ||\n opt.file.endsWith('.tbr')\n ) {\n throw new TypeError('cannot append to compressed archives')\n }\n\n if (!entries?.length) {\n throw new TypeError('no paths specified to add/replace')\n }\n },\n)\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strip-absolute-path.d.ts","sourceRoot":"","sources":["../../src/strip-absolute-path.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,KAAG,CAAC,MAAM,EAAE,MAAM,CAgB/D,CAAA"}
@@ -0,0 +1,25 @@
1
+ // unix absolute paths are also absolute on win32, so we use this for both
2
+ import { win32 } from 'node:path';
3
+ const { isAbsolute, parse } = win32;
4
+ // returns [root, stripped]
5
+ // Note that windows will think that //x/y/z/a has a "root" of //x/y, and in
6
+ // those cases, we want to sanitize it to x/y/z/a, not z/a, so we strip /
7
+ // explicitly if it's the first character.
8
+ // drive-specific relative paths on Windows get their root stripped off even
9
+ // though they are not absolute, so `c:../foo` becomes ['c:', '../foo']
10
+ export const stripAbsolutePath = (path) => {
11
+ let r = '';
12
+ let parsed = parse(path);
13
+ while (isAbsolute(path) || parsed.root) {
14
+ // windows will think that //x/y/z has a "root" of //x/y/
15
+ // but strip the //?/C:/ off of //?/C:/path
16
+ const root = path.charAt(0) === '/' && path.slice(0, 4) !== '//?/' ?
17
+ '/'
18
+ : parsed.root;
19
+ path = path.slice(root.length);
20
+ r += root;
21
+ parsed = parse(path);
22
+ }
23
+ return [r, path];
24
+ };
25
+ //# sourceMappingURL=strip-absolute-path.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strip-absolute-path.js","sourceRoot":"","sources":["../../src/strip-absolute-path.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AACjC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,KAAK,CAAA;AAEnC,2BAA2B;AAC3B,4EAA4E;AAC5E,yEAAyE;AACzE,0CAA0C;AAC1C,4EAA4E;AAC5E,uEAAuE;AACvE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,IAAY,EAAoB,EAAE;IAClE,IAAI,CAAC,GAAG,EAAE,CAAA;IAEV,IAAI,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,CAAA;IACxB,OAAO,UAAU,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;QACvC,yDAAyD;QACzD,2CAA2C;QAC3C,MAAM,IAAI,GACR,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC;YACrD,GAAG;YACL,CAAC,CAAC,MAAM,CAAC,IAAI,CAAA;QACf,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAC9B,CAAC,IAAI,IAAI,CAAA;QACT,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,CAAA;IACtB,CAAC;IACD,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAA;AAClB,CAAC,CAAA","sourcesContent":["// unix absolute paths are also absolute on win32, so we use this for both\nimport { win32 } from 'node:path'\nconst { isAbsolute, parse } = win32\n\n// returns [root, stripped]\n// Note that windows will think that //x/y/z/a has a \"root\" of //x/y, and in\n// those cases, we want to sanitize it to x/y/z/a, not z/a, so we strip /\n// explicitly if it's the first character.\n// drive-specific relative paths on Windows get their root stripped off even\n// though they are not absolute, so `c:../foo` becomes ['c:', '../foo']\nexport const stripAbsolutePath = (path: string): [string, string] => {\n let r = ''\n\n let parsed = parse(path)\n while (isAbsolute(path) || parsed.root) {\n // windows will think that //x/y/z has a \"root\" of //x/y/\n // but strip the //?/C:/ off of //?/C:/path\n const root =\n path.charAt(0) === '/' && path.slice(0, 4) !== '//?/' ?\n '/'\n : parsed.root\n path = path.slice(root.length)\n r += root\n parsed = parse(path)\n }\n return [r, path]\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strip-trailing-slashes.d.ts","sourceRoot":"","sources":["../../src/strip-trailing-slashes.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,GAAI,KAAK,MAAM,WAQ/C,CAAA"}
@@ -0,0 +1,14 @@
1
+ // warning: extremely hot code path.
2
+ // This has been meticulously optimized for use
3
+ // within npm install on large package trees.
4
+ // Do not edit without careful benchmarking.
5
+ export const stripTrailingSlashes = (str) => {
6
+ let i = str.length - 1;
7
+ let slashesStart = -1;
8
+ while (i > -1 && str.charAt(i) === '/') {
9
+ slashesStart = i;
10
+ i--;
11
+ }
12
+ return slashesStart === -1 ? str : str.slice(0, slashesStart);
13
+ };
14
+ //# sourceMappingURL=strip-trailing-slashes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strip-trailing-slashes.js","sourceRoot":"","sources":["../../src/strip-trailing-slashes.ts"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,+CAA+C;AAC/C,6CAA6C;AAC7C,4CAA4C;AAC5C,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,GAAW,EAAE,EAAE;IAClD,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,GAAG,CAAC,CAAA;IACtB,IAAI,YAAY,GAAG,CAAC,CAAC,CAAA;IACrB,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE,CAAC;QACvC,YAAY,GAAG,CAAC,CAAA;QAChB,CAAC,EAAE,CAAA;IACL,CAAC;IACD,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,YAAY,CAAC,CAAA;AAC/D,CAAC,CAAA","sourcesContent":["// warning: extremely hot code path.\n// This has been meticulously optimized for use\n// within npm install on large package trees.\n// Do not edit without careful benchmarking.\nexport const stripTrailingSlashes = (str: string) => {\n let i = str.length - 1\n let slashesStart = -1\n while (i > -1 && str.charAt(i) === '/') {\n slashesStart = i\n i--\n }\n return slashesStart === -1 ? str : str.slice(0, slashesStart)\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"symlink-error.d.ts","sourceRoot":"","sources":["../../src/symlink-error.ts"],"names":[],"mappings":"AAAA,qBAAa,YAAa,SAAQ,KAAK;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAG,SAAS,CAAS;IAC5B,IAAI,EAAG,mBAAmB,CAAS;gBACvB,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;IAKzC,IAAI,IAAI,WAEP;CACF"}
@@ -0,0 +1,15 @@
1
+ export class SymlinkError extends Error {
2
+ path;
3
+ symlink;
4
+ syscall = 'symlink';
5
+ code = 'TAR_SYMLINK_ERROR';
6
+ constructor(symlink, path) {
7
+ super('TAR_SYMLINK_ERROR: Cannot extract through symbolic link');
8
+ this.symlink = symlink;
9
+ this.path = path;
10
+ }
11
+ get name() {
12
+ return 'SymlinkError';
13
+ }
14
+ }
15
+ //# sourceMappingURL=symlink-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"symlink-error.js","sourceRoot":"","sources":["../../src/symlink-error.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,YAAa,SAAQ,KAAK;IACrC,IAAI,CAAQ;IACZ,OAAO,CAAQ;IACf,OAAO,GAAG,SAAkB,CAAA;IAC5B,IAAI,GAAG,mBAA4B,CAAA;IACnC,YAAY,OAAe,EAAE,IAAY;QACvC,KAAK,CAAC,yDAAyD,CAAC,CAAA;QAChE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IAClB,CAAC;IACD,IAAI,IAAI;QACN,OAAO,cAAc,CAAA;IACvB,CAAC;CACF","sourcesContent":["export class SymlinkError extends Error {\n path: string\n symlink: string\n syscall = 'symlink' as const\n code = 'TAR_SYMLINK_ERROR' as const\n constructor(symlink: string, path: string) {\n super('TAR_SYMLINK_ERROR: Cannot extract through symbolic link')\n this.symlink = symlink\n this.path = path\n }\n get name() {\n return 'SymlinkError'\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,GAAI,GAAG,MAAM,KAAG,CAAC,IAAI,aACV,CAAA;AAE9B,eAAO,MAAM,MAAM,GAAI,GAAG,MAAM,KAAG,CAAC,IAAI,aACV,CAAA;AAE9B,MAAM,MAAM,aAAa,GACrB,GAAG,GACH,EAAE,GACF,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,CAAA;AAEP,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,SAAS,GACT,MAAM,GACN,cAAc,GACd,iBAAiB,GACjB,aAAa,GACb,WAAW,GACX,MAAM,GACN,gBAAgB,GAChB,sBAAsB,GACtB,gBAAgB,GAChB,YAAY,GACZ,YAAY,GACZ,OAAO,GACP,yBAAyB,GACzB,qBAAqB,GACrB,kBAAkB,GAClB,gBAAgB,GAChB,YAAY,GACZ,kBAAkB,GAClB,mBAAmB,GACnB,aAAa,CAAA;AAEjB;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,oBAWxB,CAAA;AAGF,eAAO,MAAM,IAAI,mCAsCf,CAAA;AAGF,eAAO,MAAM,IAAI,mCAEhB,CAAA"}
@@ -0,0 +1,65 @@
1
+ export const isCode = (c) => name.has(c);
2
+ export const isName = (c) => code.has(c);
3
+ /**
4
+ * types that are a normal file system entry, not metadata.
5
+ *
6
+ * These can be the subject of extended/globalExtended headers, long path
7
+ * names, long linkpath names, etc.
8
+ *
9
+ * Any other types are meta, and cannot be targetted by extended PAX headers.
10
+ */
11
+ export const normalFsTypes = new Set([
12
+ '0',
13
+ '',
14
+ '1',
15
+ '2',
16
+ '3',
17
+ '4',
18
+ '5',
19
+ '6',
20
+ '7',
21
+ 'D',
22
+ ]);
23
+ // map types from key to human-friendly name
24
+ export const name = new Map([
25
+ ['0', 'File'],
26
+ // same as File
27
+ ['', 'OldFile'],
28
+ ['1', 'Link'],
29
+ ['2', 'SymbolicLink'],
30
+ // Devices and FIFOs aren't fully supported
31
+ // they are parsed, but skipped when unpacking
32
+ ['3', 'CharacterDevice'],
33
+ ['4', 'BlockDevice'],
34
+ ['5', 'Directory'],
35
+ ['6', 'FIFO'],
36
+ // same as File
37
+ ['7', 'ContiguousFile'],
38
+ // pax headers
39
+ ['g', 'GlobalExtendedHeader'],
40
+ ['x', 'ExtendedHeader'],
41
+ // vendor-specific stuff
42
+ // skip
43
+ ['A', 'SolarisACL'],
44
+ // like 5, but with data, which should be skipped
45
+ ['D', 'GNUDumpDir'],
46
+ // metadata only, skip
47
+ ['I', 'Inode'],
48
+ // data = link path of next file
49
+ ['K', 'NextFileHasLongLinkpath'],
50
+ // data = path of next file
51
+ ['L', 'NextFileHasLongPath'],
52
+ // skip
53
+ ['M', 'ContinuationFile'],
54
+ // like L
55
+ ['N', 'OldGnuLongPath'],
56
+ // skip
57
+ ['S', 'SparseFile'],
58
+ // skip
59
+ ['V', 'TapeVolumeHeader'],
60
+ // like x
61
+ ['X', 'OldExtendedHeader'],
62
+ ]);
63
+ // map the other direction
64
+ export const code = new Map(Array.from(name).map(kv => [kv[1], kv[0]]));
65
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,CAAS,EAAsB,EAAE,CACtD,IAAI,CAAC,GAAG,CAAC,CAAkB,CAAC,CAAA;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,CAAS,EAAsB,EAAE,CACtD,IAAI,CAAC,GAAG,CAAC,CAAkB,CAAC,CAAA;AAiD9B;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,GAAG,CAAgB;IAClD,GAAG;IACH,EAAE;IACF,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;CACJ,CAAC,CAAA;AAEF,4CAA4C;AAC5C,MAAM,CAAC,MAAM,IAAI,GAAG,IAAI,GAAG,CAA+B;IACxD,CAAC,GAAG,EAAE,MAAM,CAAC;IACb,eAAe;IACf,CAAC,EAAE,EAAE,SAAS,CAAC;IACf,CAAC,GAAG,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,cAAc,CAAC;IACrB,2CAA2C;IAC3C,8CAA8C;IAC9C,CAAC,GAAG,EAAE,iBAAiB,CAAC;IACxB,CAAC,GAAG,EAAE,aAAa,CAAC;IACpB,CAAC,GAAG,EAAE,WAAW,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,CAAC;IACb,eAAe;IACf,CAAC,GAAG,EAAE,gBAAgB,CAAC;IACvB,cAAc;IACd,CAAC,GAAG,EAAE,sBAAsB,CAAC;IAC7B,CAAC,GAAG,EAAE,gBAAgB,CAAC;IACvB,wBAAwB;IACxB,OAAO;IACP,CAAC,GAAG,EAAE,YAAY,CAAC;IACnB,iDAAiD;IACjD,CAAC,GAAG,EAAE,YAAY,CAAC;IACnB,sBAAsB;IACtB,CAAC,GAAG,EAAE,OAAO,CAAC;IACd,gCAAgC;IAChC,CAAC,GAAG,EAAE,yBAAyB,CAAC;IAChC,2BAA2B;IAC3B,CAAC,GAAG,EAAE,qBAAqB,CAAC;IAC5B,OAAO;IACP,CAAC,GAAG,EAAE,kBAAkB,CAAC;IACzB,SAAS;IACT,CAAC,GAAG,EAAE,gBAAgB,CAAC;IACvB,OAAO;IACP,CAAC,GAAG,EAAE,YAAY,CAAC;IACnB,OAAO;IACP,CAAC,GAAG,EAAE,kBAAkB,CAAC;IACzB,SAAS;IACT,CAAC,GAAG,EAAE,mBAAmB,CAAC;CAC3B,CAAC,CAAA;AAEF,0BAA0B;AAC1B,MAAM,CAAC,MAAM,IAAI,GAAG,IAAI,GAAG,CACzB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAC3C,CAAA","sourcesContent":["export const isCode = (c: string): c is EntryTypeCode =>\n name.has(c as EntryTypeCode)\n\nexport const isName = (c: string): c is EntryTypeName =>\n code.has(c as EntryTypeName)\n\nexport type EntryTypeCode =\n | '0'\n | ''\n | '1'\n | '2'\n | '3'\n | '4'\n | '5'\n | '6'\n | '7'\n | 'g'\n | 'x'\n | 'A'\n | 'D'\n | 'I'\n | 'K'\n | 'L'\n | 'M'\n | 'N'\n | 'S'\n | 'V'\n | 'X'\n\nexport type EntryTypeName =\n | 'File'\n | 'OldFile'\n | 'Link'\n | 'SymbolicLink'\n | 'CharacterDevice'\n | 'BlockDevice'\n | 'Directory'\n | 'FIFO'\n | 'ContiguousFile'\n | 'GlobalExtendedHeader'\n | 'ExtendedHeader'\n | 'SolarisACL'\n | 'GNUDumpDir'\n | 'Inode'\n | 'NextFileHasLongLinkpath'\n | 'NextFileHasLongPath'\n | 'ContinuationFile'\n | 'OldGnuLongPath'\n | 'SparseFile'\n | 'TapeVolumeHeader'\n | 'OldExtendedHeader'\n | 'Unsupported'\n\n/**\n * types that are a normal file system entry, not metadata.\n *\n * These can be the subject of extended/globalExtended headers, long path\n * names, long linkpath names, etc.\n *\n * Any other types are meta, and cannot be targetted by extended PAX headers.\n */\nexport const normalFsTypes = new Set<EntryTypeCode>([\n '0',\n '',\n '1',\n '2',\n '3',\n '4',\n '5',\n '6',\n '7',\n 'D',\n])\n\n// map types from key to human-friendly name\nexport const name = new Map<EntryTypeCode, EntryTypeName>([\n ['0', 'File'],\n // same as File\n ['', 'OldFile'],\n ['1', 'Link'],\n ['2', 'SymbolicLink'],\n // Devices and FIFOs aren't fully supported\n // they are parsed, but skipped when unpacking\n ['3', 'CharacterDevice'],\n ['4', 'BlockDevice'],\n ['5', 'Directory'],\n ['6', 'FIFO'],\n // same as File\n ['7', 'ContiguousFile'],\n // pax headers\n ['g', 'GlobalExtendedHeader'],\n ['x', 'ExtendedHeader'],\n // vendor-specific stuff\n // skip\n ['A', 'SolarisACL'],\n // like 5, but with data, which should be skipped\n ['D', 'GNUDumpDir'],\n // metadata only, skip\n ['I', 'Inode'],\n // data = link path of next file\n ['K', 'NextFileHasLongLinkpath'],\n // data = path of next file\n ['L', 'NextFileHasLongPath'],\n // skip\n ['M', 'ContinuationFile'],\n // like L\n ['N', 'OldGnuLongPath'],\n // skip\n ['S', 'SparseFile'],\n // skip\n ['V', 'TapeVolumeHeader'],\n // like x\n ['X', 'OldExtendedHeader'],\n])\n\n// map the other direction\nexport const code = new Map<EntryTypeName, EntryTypeCode>(\n Array.from(name).map(kv => [kv[1], kv[0]]),\n)\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unpack.d.ts","sourceRoot":"","sources":["../../src/unpack.ts"],"names":[],"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