dep 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2915) hide show
  1. package/.claude/settings.local.json +26 -1
  2. package/bin/dep.js +65 -21
  3. package/lib/install/installer/bin.js +3 -3
  4. package/lib/install/installer/git.js +2 -2
  5. package/lib/install/installer/local.js +2 -2
  6. package/lib/install/installer/registry.js +10 -17
  7. package/lib/install/installer/remote.js +10 -17
  8. package/lib/install/installer.js +15 -8
  9. package/lib/install/resolver/fetcher.js +1 -1
  10. package/lib/install/resolver/fetchers/git.js +35 -52
  11. package/lib/install/resolver/fetchers/registry.js +21 -38
  12. package/lib/install/resolver/fetchers/remote.js +13 -19
  13. package/lib/install/resolver.js +2 -46
  14. package/lib/install/saver.js +9 -6
  15. package/lib/install.js +71 -22
  16. package/lib/lock/locker.js +39 -8
  17. package/lib/lock/resolver/fetcher.js +1 -1
  18. package/lib/lock/resolver/fetchers/git.js +35 -52
  19. package/lib/lock/resolver/fetchers/registry.js +31 -48
  20. package/lib/lock/resolver/fetchers/remote.js +13 -19
  21. package/lib/lock/resolver.js +3 -49
  22. package/lib/lock.js +46 -7
  23. package/lib/run/runner.js +19 -22
  24. package/lib/utils/cmd-shim.js +203 -0
  25. package/lib/utils/fetch.js +27 -0
  26. package/lib/utils/git.js +1 -1
  27. package/lib/utils/node-gyp.js +21 -3
  28. package/lib/utils/npa.js +95 -0
  29. package/lib/utils/packument.js +14 -0
  30. package/lib/utils/path-key.js +10 -0
  31. package/lib/utils/pick-version.js +1 -1
  32. package/lib/utils/pool.js +29 -0
  33. package/lib/utils/resolve-tree.js +127 -0
  34. package/lib/utils/semver.js +263 -0
  35. package/lib/utils/tar-fs.js +43 -0
  36. package/lib/utils/tar-parse.js +130 -0
  37. package/lib/utils/tar-stream.js +14 -0
  38. package/lib/utils/update-check.js +17 -0
  39. package/lib/utils/update-notifier.js +51 -0
  40. package/lib/utils/which.js +50 -0
  41. package/lib/utils/workspaces.js +89 -0
  42. package/package.json +2 -33
  43. package/test/00-clean.js +4 -4
  44. package/test/11-install-save.js +30 -0
  45. package/test/40-node-gyp.js +64 -0
  46. package/test/45-pool.js +45 -0
  47. package/test/50-workspace.js +167 -0
  48. package/test/zz-cleanup.js +4 -4
  49. package/lib/install/resolver/tree.js +0 -43
  50. package/lib/lock/resolver/tree.js +0 -43
  51. package/node_modules/@isaacs/fs-minipass/LICENSE +0 -15
  52. package/node_modules/@isaacs/fs-minipass/README.md +0 -71
  53. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +0 -118
  54. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +0 -1
  55. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +0 -430
  56. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +0 -1
  57. package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +0 -3
  58. package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +0 -118
  59. package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +0 -1
  60. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +0 -420
  61. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +0 -1
  62. package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +0 -3
  63. package/node_modules/@isaacs/fs-minipass/package.json +0 -72
  64. package/node_modules/@pnpm/config.env-replace/dist/env-replace.d.ts +0 -2
  65. package/node_modules/@pnpm/config.env-replace/dist/env-replace.docs.mdx +0 -18
  66. package/node_modules/@pnpm/config.env-replace/dist/env-replace.js +0 -30
  67. package/node_modules/@pnpm/config.env-replace/dist/env-replace.js.map +0 -1
  68. package/node_modules/@pnpm/config.env-replace/dist/env-replace.spec.d.ts +0 -1
  69. package/node_modules/@pnpm/config.env-replace/dist/env-replace.spec.js +0 -26
  70. package/node_modules/@pnpm/config.env-replace/dist/env-replace.spec.js.map +0 -1
  71. package/node_modules/@pnpm/config.env-replace/dist/index.d.ts +0 -1
  72. package/node_modules/@pnpm/config.env-replace/dist/index.js +0 -6
  73. package/node_modules/@pnpm/config.env-replace/dist/index.js.map +0 -1
  74. package/node_modules/@pnpm/config.env-replace/dist/preview-1680634751300.js +0 -7
  75. package/node_modules/@pnpm/config.env-replace/dist/tsconfig.json +0 -32
  76. package/node_modules/@pnpm/config.env-replace/env-replace.docs.mdx +0 -18
  77. package/node_modules/@pnpm/config.env-replace/env-replace.spec.ts +0 -27
  78. package/node_modules/@pnpm/config.env-replace/env-replace.ts +0 -28
  79. package/node_modules/@pnpm/config.env-replace/index.ts +0 -1
  80. package/node_modules/@pnpm/config.env-replace/package-tar/pnpm-config.env-replace-1.1.0.tgz +0 -0
  81. package/node_modules/@pnpm/config.env-replace/package.json +0 -31
  82. package/node_modules/@pnpm/config.env-replace/tsconfig.json +0 -32
  83. package/node_modules/@pnpm/config.env-replace/types/asset.d.ts +0 -29
  84. package/node_modules/@pnpm/config.env-replace/types/style.d.ts +0 -42
  85. package/node_modules/@pnpm/network.ca-file/ca-file.docs.mdx +0 -12
  86. package/node_modules/@pnpm/network.ca-file/ca-file.spec.ts +0 -20
  87. package/node_modules/@pnpm/network.ca-file/ca-file.ts +0 -16
  88. package/node_modules/@pnpm/network.ca-file/dist/ca-file.d.ts +0 -1
  89. package/node_modules/@pnpm/network.ca-file/dist/ca-file.docs.mdx +0 -12
  90. package/node_modules/@pnpm/network.ca-file/dist/ca-file.js +0 -25
  91. package/node_modules/@pnpm/network.ca-file/dist/ca-file.js.map +0 -1
  92. package/node_modules/@pnpm/network.ca-file/dist/ca-file.spec.d.ts +0 -1
  93. package/node_modules/@pnpm/network.ca-file/dist/ca-file.spec.js +0 -24
  94. package/node_modules/@pnpm/network.ca-file/dist/ca-file.spec.js.map +0 -1
  95. package/node_modules/@pnpm/network.ca-file/dist/fixtures/ca-file1.txt +0 -14
  96. package/node_modules/@pnpm/network.ca-file/dist/index.d.ts +0 -1
  97. package/node_modules/@pnpm/network.ca-file/dist/index.js +0 -18
  98. package/node_modules/@pnpm/network.ca-file/dist/index.js.map +0 -1
  99. package/node_modules/@pnpm/network.ca-file/dist/tsconfig.json +0 -32
  100. package/node_modules/@pnpm/network.ca-file/fixtures/ca-file1.txt +0 -14
  101. package/node_modules/@pnpm/network.ca-file/index.ts +0 -1
  102. package/node_modules/@pnpm/network.ca-file/node_modules/graceful-fs/LICENSE +0 -15
  103. package/node_modules/@pnpm/network.ca-file/node_modules/graceful-fs/README.md +0 -143
  104. package/node_modules/@pnpm/network.ca-file/node_modules/graceful-fs/clone.js +0 -23
  105. package/node_modules/@pnpm/network.ca-file/node_modules/graceful-fs/graceful-fs.js +0 -448
  106. package/node_modules/@pnpm/network.ca-file/node_modules/graceful-fs/legacy-streams.js +0 -118
  107. package/node_modules/@pnpm/network.ca-file/node_modules/graceful-fs/package.json +0 -50
  108. package/node_modules/@pnpm/network.ca-file/node_modules/graceful-fs/polyfills.js +0 -355
  109. package/node_modules/@pnpm/network.ca-file/package-tar/pnpm-network.ca-file-1.0.2.tgz +0 -0
  110. package/node_modules/@pnpm/network.ca-file/package.json +0 -34
  111. package/node_modules/@pnpm/network.ca-file/preview-1668994697977.js +0 -7
  112. package/node_modules/@pnpm/network.ca-file/tsconfig.json +0 -32
  113. package/node_modules/@pnpm/network.ca-file/types/asset.d.ts +0 -29
  114. package/node_modules/@pnpm/network.ca-file/types/style.d.ts +0 -42
  115. package/node_modules/@pnpm/npm-conf/index.js +0 -96
  116. package/node_modules/@pnpm/npm-conf/lib/conf.js +0 -196
  117. package/node_modules/@pnpm/npm-conf/lib/defaults.js +0 -176
  118. package/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js +0 -19
  119. package/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.test.js +0 -50
  120. package/node_modules/@pnpm/npm-conf/lib/make.js +0 -99
  121. package/node_modules/@pnpm/npm-conf/lib/tsconfig.make-out.json +0 -14
  122. package/node_modules/@pnpm/npm-conf/lib/types.d.ts +0 -122
  123. package/node_modules/@pnpm/npm-conf/lib/types.js +0 -134
  124. package/node_modules/@pnpm/npm-conf/lib/util.js +0 -145
  125. package/node_modules/@pnpm/npm-conf/lib/util.test.js +0 -8
  126. package/node_modules/@pnpm/npm-conf/license +0 -9
  127. package/node_modules/@pnpm/npm-conf/package.json +0 -45
  128. package/node_modules/@pnpm/npm-conf/readme.md +0 -47
  129. package/node_modules/abbrev/LICENSE +0 -46
  130. package/node_modules/abbrev/README.md +0 -23
  131. package/node_modules/abbrev/lib/index.js +0 -53
  132. package/node_modules/abbrev/package.json +0 -42
  133. package/node_modules/ajv/.tonic_example.js +0 -20
  134. package/node_modules/ajv/LICENSE +0 -22
  135. package/node_modules/ajv/README.md +0 -1505
  136. package/node_modules/ajv/dist/ajv.bundle.js +0 -7201
  137. package/node_modules/ajv/dist/ajv.min.js +0 -3
  138. package/node_modules/ajv/dist/ajv.min.js.map +0 -1
  139. package/node_modules/ajv/lib/ajv.d.ts +0 -402
  140. package/node_modules/ajv/lib/ajv.js +0 -506
  141. package/node_modules/ajv/lib/cache.js +0 -26
  142. package/node_modules/ajv/lib/compile/async.js +0 -90
  143. package/node_modules/ajv/lib/compile/equal.js +0 -5
  144. package/node_modules/ajv/lib/compile/error_classes.js +0 -34
  145. package/node_modules/ajv/lib/compile/formats.js +0 -142
  146. package/node_modules/ajv/lib/compile/index.js +0 -389
  147. package/node_modules/ajv/lib/compile/resolve.js +0 -270
  148. package/node_modules/ajv/lib/compile/rules.js +0 -66
  149. package/node_modules/ajv/lib/compile/schema_obj.js +0 -9
  150. package/node_modules/ajv/lib/compile/ucs2length.js +0 -20
  151. package/node_modules/ajv/lib/compile/util.js +0 -239
  152. package/node_modules/ajv/lib/data.js +0 -49
  153. package/node_modules/ajv/lib/definition_schema.js +0 -37
  154. package/node_modules/ajv/lib/dot/_limit.jst +0 -113
  155. package/node_modules/ajv/lib/dot/_limitItems.jst +0 -12
  156. package/node_modules/ajv/lib/dot/_limitLength.jst +0 -12
  157. package/node_modules/ajv/lib/dot/_limitProperties.jst +0 -12
  158. package/node_modules/ajv/lib/dot/allOf.jst +0 -32
  159. package/node_modules/ajv/lib/dot/anyOf.jst +0 -46
  160. package/node_modules/ajv/lib/dot/coerce.def +0 -51
  161. package/node_modules/ajv/lib/dot/comment.jst +0 -9
  162. package/node_modules/ajv/lib/dot/const.jst +0 -11
  163. package/node_modules/ajv/lib/dot/contains.jst +0 -55
  164. package/node_modules/ajv/lib/dot/custom.jst +0 -191
  165. package/node_modules/ajv/lib/dot/defaults.def +0 -47
  166. package/node_modules/ajv/lib/dot/definitions.def +0 -203
  167. package/node_modules/ajv/lib/dot/dependencies.jst +0 -79
  168. package/node_modules/ajv/lib/dot/enum.jst +0 -30
  169. package/node_modules/ajv/lib/dot/errors.def +0 -194
  170. package/node_modules/ajv/lib/dot/format.jst +0 -106
  171. package/node_modules/ajv/lib/dot/if.jst +0 -73
  172. package/node_modules/ajv/lib/dot/items.jst +0 -98
  173. package/node_modules/ajv/lib/dot/missing.def +0 -39
  174. package/node_modules/ajv/lib/dot/multipleOf.jst +0 -22
  175. package/node_modules/ajv/lib/dot/not.jst +0 -43
  176. package/node_modules/ajv/lib/dot/oneOf.jst +0 -54
  177. package/node_modules/ajv/lib/dot/pattern.jst +0 -25
  178. package/node_modules/ajv/lib/dot/properties.jst +0 -245
  179. package/node_modules/ajv/lib/dot/propertyNames.jst +0 -52
  180. package/node_modules/ajv/lib/dot/ref.jst +0 -85
  181. package/node_modules/ajv/lib/dot/required.jst +0 -108
  182. package/node_modules/ajv/lib/dot/uniqueItems.jst +0 -62
  183. package/node_modules/ajv/lib/dot/validate.jst +0 -276
  184. package/node_modules/ajv/lib/dotjs/README.md +0 -3
  185. package/node_modules/ajv/lib/dotjs/_limit.js +0 -163
  186. package/node_modules/ajv/lib/dotjs/_limitItems.js +0 -80
  187. package/node_modules/ajv/lib/dotjs/_limitLength.js +0 -85
  188. package/node_modules/ajv/lib/dotjs/_limitProperties.js +0 -80
  189. package/node_modules/ajv/lib/dotjs/allOf.js +0 -42
  190. package/node_modules/ajv/lib/dotjs/anyOf.js +0 -73
  191. package/node_modules/ajv/lib/dotjs/comment.js +0 -14
  192. package/node_modules/ajv/lib/dotjs/const.js +0 -56
  193. package/node_modules/ajv/lib/dotjs/contains.js +0 -81
  194. package/node_modules/ajv/lib/dotjs/custom.js +0 -228
  195. package/node_modules/ajv/lib/dotjs/dependencies.js +0 -168
  196. package/node_modules/ajv/lib/dotjs/enum.js +0 -66
  197. package/node_modules/ajv/lib/dotjs/format.js +0 -150
  198. package/node_modules/ajv/lib/dotjs/if.js +0 -103
  199. package/node_modules/ajv/lib/dotjs/index.js +0 -33
  200. package/node_modules/ajv/lib/dotjs/items.js +0 -140
  201. package/node_modules/ajv/lib/dotjs/multipleOf.js +0 -80
  202. package/node_modules/ajv/lib/dotjs/not.js +0 -84
  203. package/node_modules/ajv/lib/dotjs/oneOf.js +0 -73
  204. package/node_modules/ajv/lib/dotjs/pattern.js +0 -85
  205. package/node_modules/ajv/lib/dotjs/properties.js +0 -335
  206. package/node_modules/ajv/lib/dotjs/propertyNames.js +0 -81
  207. package/node_modules/ajv/lib/dotjs/ref.js +0 -124
  208. package/node_modules/ajv/lib/dotjs/required.js +0 -270
  209. package/node_modules/ajv/lib/dotjs/uniqueItems.js +0 -86
  210. package/node_modules/ajv/lib/dotjs/validate.js +0 -482
  211. package/node_modules/ajv/lib/keyword.js +0 -146
  212. package/node_modules/ajv/lib/refs/data.json +0 -17
  213. package/node_modules/ajv/lib/refs/json-schema-draft-04.json +0 -149
  214. package/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -154
  215. package/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -168
  216. package/node_modules/ajv/lib/refs/json-schema-secure.json +0 -94
  217. package/node_modules/ajv/package.json +0 -107
  218. package/node_modules/ajv/scripts/.eslintrc.yml +0 -3
  219. package/node_modules/ajv/scripts/bundle.js +0 -61
  220. package/node_modules/ajv/scripts/compile-dots.js +0 -73
  221. package/node_modules/ajv/scripts/info +0 -10
  222. package/node_modules/ajv/scripts/prepare-tests +0 -12
  223. package/node_modules/ajv/scripts/publish-built-version +0 -32
  224. package/node_modules/ajv/scripts/travis-gh-pages +0 -23
  225. package/node_modules/ansi-align/CHANGELOG.md +0 -58
  226. package/node_modules/ansi-align/LICENSE +0 -13
  227. package/node_modules/ansi-align/README.md +0 -80
  228. package/node_modules/ansi-align/index.js +0 -61
  229. package/node_modules/ansi-align/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  230. package/node_modules/ansi-align/node_modules/emoji-regex/README.md +0 -73
  231. package/node_modules/ansi-align/node_modules/emoji-regex/es2015/index.js +0 -6
  232. package/node_modules/ansi-align/node_modules/emoji-regex/es2015/text.js +0 -6
  233. package/node_modules/ansi-align/node_modules/emoji-regex/index.d.ts +0 -23
  234. package/node_modules/ansi-align/node_modules/emoji-regex/index.js +0 -6
  235. package/node_modules/ansi-align/node_modules/emoji-regex/package.json +0 -50
  236. package/node_modules/ansi-align/node_modules/emoji-regex/text.js +0 -6
  237. package/node_modules/ansi-align/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  238. package/node_modules/ansi-align/node_modules/is-fullwidth-code-point/index.js +0 -50
  239. package/node_modules/ansi-align/node_modules/is-fullwidth-code-point/license +0 -9
  240. package/node_modules/ansi-align/node_modules/is-fullwidth-code-point/package.json +0 -42
  241. package/node_modules/ansi-align/node_modules/is-fullwidth-code-point/readme.md +0 -39
  242. package/node_modules/ansi-align/node_modules/string-width/index.d.ts +0 -29
  243. package/node_modules/ansi-align/node_modules/string-width/index.js +0 -47
  244. package/node_modules/ansi-align/node_modules/string-width/license +0 -9
  245. package/node_modules/ansi-align/node_modules/string-width/package.json +0 -56
  246. package/node_modules/ansi-align/node_modules/string-width/readme.md +0 -50
  247. package/node_modules/ansi-align/package.json +0 -43
  248. package/node_modules/ansi-regex/index.d.ts +0 -37
  249. package/node_modules/ansi-regex/index.js +0 -10
  250. package/node_modules/ansi-regex/license +0 -9
  251. package/node_modules/ansi-regex/package.json +0 -55
  252. package/node_modules/ansi-regex/readme.md +0 -78
  253. package/node_modules/any-promise/.jshintrc +0 -4
  254. package/node_modules/any-promise/.npmignore +0 -6
  255. package/node_modules/any-promise/LICENSE +0 -19
  256. package/node_modules/any-promise/README.md +0 -37
  257. package/node_modules/any-promise/any-promise-shim.js +0 -1
  258. package/node_modules/any-promise/any-promise.js +0 -33
  259. package/node_modules/any-promise/package.json +0 -36
  260. package/node_modules/asn1/Jenkinsfile +0 -65
  261. package/node_modules/asn1/LICENSE +0 -19
  262. package/node_modules/asn1/README.md +0 -50
  263. package/node_modules/asn1/lib/ber/errors.js +0 -13
  264. package/node_modules/asn1/lib/ber/index.js +0 -27
  265. package/node_modules/asn1/lib/ber/reader.js +0 -262
  266. package/node_modules/asn1/lib/ber/types.js +0 -36
  267. package/node_modules/asn1/lib/ber/writer.js +0 -317
  268. package/node_modules/asn1/lib/index.js +0 -20
  269. package/node_modules/asn1/package.json +0 -31
  270. package/node_modules/assert-plus/AUTHORS +0 -6
  271. package/node_modules/assert-plus/CHANGES.md +0 -14
  272. package/node_modules/assert-plus/README.md +0 -162
  273. package/node_modules/assert-plus/assert.js +0 -211
  274. package/node_modules/assert-plus/package.json +0 -23
  275. package/node_modules/asynckit/LICENSE +0 -21
  276. package/node_modules/asynckit/README.md +0 -233
  277. package/node_modules/asynckit/bench.js +0 -76
  278. package/node_modules/asynckit/index.js +0 -6
  279. package/node_modules/asynckit/lib/abort.js +0 -29
  280. package/node_modules/asynckit/lib/async.js +0 -34
  281. package/node_modules/asynckit/lib/defer.js +0 -26
  282. package/node_modules/asynckit/lib/iterate.js +0 -75
  283. package/node_modules/asynckit/lib/readable_asynckit.js +0 -91
  284. package/node_modules/asynckit/lib/readable_parallel.js +0 -25
  285. package/node_modules/asynckit/lib/readable_serial.js +0 -25
  286. package/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
  287. package/node_modules/asynckit/lib/state.js +0 -37
  288. package/node_modules/asynckit/lib/streamify.js +0 -141
  289. package/node_modules/asynckit/lib/terminator.js +0 -29
  290. package/node_modules/asynckit/package.json +0 -63
  291. package/node_modules/asynckit/parallel.js +0 -43
  292. package/node_modules/asynckit/serial.js +0 -17
  293. package/node_modules/asynckit/serialOrdered.js +0 -75
  294. package/node_modules/asynckit/stream.js +0 -21
  295. package/node_modules/atomically/dist/constants.d.ts +0 -15
  296. package/node_modules/atomically/dist/constants.js +0 -19
  297. package/node_modules/atomically/dist/index.d.ts +0 -15
  298. package/node_modules/atomically/dist/index.js +0 -209
  299. package/node_modules/atomically/dist/types.d.ts +0 -27
  300. package/node_modules/atomically/dist/types.js +0 -2
  301. package/node_modules/atomically/dist/utils/lang.d.ts +0 -6
  302. package/node_modules/atomically/dist/utils/lang.js +0 -16
  303. package/node_modules/atomically/dist/utils/scheduler.d.ts +0 -6
  304. package/node_modules/atomically/dist/utils/scheduler.js +0 -34
  305. package/node_modules/atomically/dist/utils/temp.d.ts +0 -11
  306. package/node_modules/atomically/dist/utils/temp.js +0 -59
  307. package/node_modules/atomically/license +0 -21
  308. package/node_modules/atomically/package.json +0 -42
  309. package/node_modules/atomically/readme.md +0 -147
  310. package/node_modules/aws-sign2/LICENSE +0 -55
  311. package/node_modules/aws-sign2/README.md +0 -4
  312. package/node_modules/aws-sign2/index.js +0 -212
  313. package/node_modules/aws-sign2/package.json +0 -17
  314. package/node_modules/aws4/LICENSE +0 -19
  315. package/node_modules/aws4/README.md +0 -211
  316. package/node_modules/aws4/aws4.js +0 -383
  317. package/node_modules/aws4/lru.js +0 -96
  318. package/node_modules/aws4/package.json +0 -21
  319. package/node_modules/bare-events/LICENSE +0 -201
  320. package/node_modules/bare-events/README.md +0 -25
  321. package/node_modules/bare-events/global.d.ts +0 -15
  322. package/node_modules/bare-events/global.js +0 -5
  323. package/node_modules/bare-events/index.d.ts +0 -85
  324. package/node_modules/bare-events/index.js +0 -378
  325. package/node_modules/bare-events/lib/errors.js +0 -26
  326. package/node_modules/bare-events/package.json +0 -63
  327. package/node_modules/bare-events/web.d.ts +0 -79
  328. package/node_modules/bare-events/web.js +0 -353
  329. package/node_modules/bare-fs/CMakeLists.txt +0 -13
  330. package/node_modules/bare-fs/LICENSE +0 -201
  331. package/node_modules/bare-fs/README.md +0 -989
  332. package/node_modules/bare-fs/binding.c +0 -2889
  333. package/node_modules/bare-fs/binding.js +0 -1
  334. package/node_modules/bare-fs/index.d.ts +0 -1232
  335. package/node_modules/bare-fs/index.js +0 -2842
  336. package/node_modules/bare-fs/lib/constants.d.ts +0 -49
  337. package/node_modules/bare-fs/lib/constants.js +0 -49
  338. package/node_modules/bare-fs/lib/errors.d.ts +0 -11
  339. package/node_modules/bare-fs/lib/errors.js +0 -55
  340. package/node_modules/bare-fs/package.json +0 -74
  341. package/node_modules/bare-fs/prebuilds/android-arm/bare-fs.bare +0 -0
  342. package/node_modules/bare-fs/prebuilds/android-arm64/bare-fs.bare +0 -0
  343. package/node_modules/bare-fs/prebuilds/android-ia32/bare-fs.bare +0 -0
  344. package/node_modules/bare-fs/prebuilds/android-x64/bare-fs.bare +0 -0
  345. package/node_modules/bare-fs/prebuilds/darwin-arm64/bare-fs.bare +0 -0
  346. package/node_modules/bare-fs/prebuilds/darwin-x64/bare-fs.bare +0 -0
  347. package/node_modules/bare-fs/prebuilds/ios-arm64/bare-fs.bare +0 -0
  348. package/node_modules/bare-fs/prebuilds/ios-arm64-simulator/bare-fs.bare +0 -0
  349. package/node_modules/bare-fs/prebuilds/ios-x64-simulator/bare-fs.bare +0 -0
  350. package/node_modules/bare-fs/prebuilds/linux-arm64/bare-fs.bare +0 -0
  351. package/node_modules/bare-fs/prebuilds/linux-x64/bare-fs.bare +0 -0
  352. package/node_modules/bare-fs/prebuilds/win32-arm64/bare-fs.bare +0 -0
  353. package/node_modules/bare-fs/prebuilds/win32-x64/bare-fs.bare +0 -0
  354. package/node_modules/bare-fs/promises.d.ts +0 -313
  355. package/node_modules/bare-fs/promises.js +0 -119
  356. package/node_modules/bare-os/CMakeLists.txt +0 -13
  357. package/node_modules/bare-os/LICENSE +0 -201
  358. package/node_modules/bare-os/README.md +0 -252
  359. package/node_modules/bare-os/binding.c +0 -1538
  360. package/node_modules/bare-os/binding.js +0 -1
  361. package/node_modules/bare-os/index.d.ts +0 -150
  362. package/node_modules/bare-os/index.js +0 -131
  363. package/node_modules/bare-os/lib/constants.d.ts +0 -7
  364. package/node_modules/bare-os/lib/constants.js +0 -7
  365. package/node_modules/bare-os/lib/errors.d.ts +0 -5
  366. package/node_modules/bare-os/lib/errors.js +0 -22
  367. package/node_modules/bare-os/package.json +0 -55
  368. package/node_modules/bare-os/prebuilds/android-arm/bare-os.bare +0 -0
  369. package/node_modules/bare-os/prebuilds/android-arm64/bare-os.bare +0 -0
  370. package/node_modules/bare-os/prebuilds/android-ia32/bare-os.bare +0 -0
  371. package/node_modules/bare-os/prebuilds/android-x64/bare-os.bare +0 -0
  372. package/node_modules/bare-os/prebuilds/darwin-arm64/bare-os.bare +0 -0
  373. package/node_modules/bare-os/prebuilds/darwin-x64/bare-os.bare +0 -0
  374. package/node_modules/bare-os/prebuilds/ios-arm64/bare-os.bare +0 -0
  375. package/node_modules/bare-os/prebuilds/ios-arm64-simulator/bare-os.bare +0 -0
  376. package/node_modules/bare-os/prebuilds/ios-x64-simulator/bare-os.bare +0 -0
  377. package/node_modules/bare-os/prebuilds/linux-arm64/bare-os.bare +0 -0
  378. package/node_modules/bare-os/prebuilds/linux-x64/bare-os.bare +0 -0
  379. package/node_modules/bare-os/prebuilds/win32-arm64/bare-os.bare +0 -0
  380. package/node_modules/bare-os/prebuilds/win32-x64/bare-os.bare +0 -0
  381. package/node_modules/bare-path/LICENSE +0 -201
  382. package/node_modules/bare-path/NOTICE +0 -28
  383. package/node_modules/bare-path/README.md +0 -19
  384. package/node_modules/bare-path/index.d.ts +0 -27
  385. package/node_modules/bare-path/index.js +0 -9
  386. package/node_modules/bare-path/lib/constants.js +0 -11
  387. package/node_modules/bare-path/lib/posix.js +0 -246
  388. package/node_modules/bare-path/lib/shared.js +0 -73
  389. package/node_modules/bare-path/lib/win32.js +0 -547
  390. package/node_modules/bare-path/package.json +0 -44
  391. package/node_modules/bare-stream/LICENSE +0 -201
  392. package/node_modules/bare-stream/README.md +0 -354
  393. package/node_modules/bare-stream/global.d.ts +0 -31
  394. package/node_modules/bare-stream/global.js +0 -15
  395. package/node_modules/bare-stream/index.d.ts +0 -235
  396. package/node_modules/bare-stream/index.js +0 -493
  397. package/node_modules/bare-stream/node_modules/b4a/LICENSE +0 -201
  398. package/node_modules/bare-stream/node_modules/b4a/README.md +0 -153
  399. package/node_modules/bare-stream/node_modules/b4a/browser.js +0 -541
  400. package/node_modules/bare-stream/node_modules/b4a/index.js +0 -188
  401. package/node_modules/bare-stream/node_modules/b4a/lib/ascii.js +0 -31
  402. package/node_modules/bare-stream/node_modules/b4a/lib/base64.js +0 -64
  403. package/node_modules/bare-stream/node_modules/b4a/lib/hex.js +0 -51
  404. package/node_modules/bare-stream/node_modules/b4a/lib/latin1.js +0 -31
  405. package/node_modules/bare-stream/node_modules/b4a/lib/utf16le.js +0 -40
  406. package/node_modules/bare-stream/node_modules/b4a/lib/utf8.js +0 -144
  407. package/node_modules/bare-stream/node_modules/b4a/package.json +0 -51
  408. package/node_modules/bare-stream/node_modules/b4a/react-native.js +0 -5
  409. package/node_modules/bare-stream/package.json +0 -75
  410. package/node_modules/bare-stream/promises.js +0 -3
  411. package/node_modules/bare-stream/web.d.ts +0 -152
  412. package/node_modules/bare-stream/web.js +0 -607
  413. package/node_modules/bare-url/CMakeLists.txt +0 -27
  414. package/node_modules/bare-url/LICENSE +0 -201
  415. package/node_modules/bare-url/README.md +0 -172
  416. package/node_modules/bare-url/binding.c +0 -186
  417. package/node_modules/bare-url/binding.js +0 -1
  418. package/node_modules/bare-url/global.d.ts +0 -12
  419. package/node_modules/bare-url/global.js +0 -2
  420. package/node_modules/bare-url/index.d.ts +0 -41
  421. package/node_modules/bare-url/index.js +0 -411
  422. package/node_modules/bare-url/lib/errors.d.ts +0 -10
  423. package/node_modules/bare-url/lib/errors.js +0 -33
  424. package/node_modules/bare-url/lib/url-search-params.d.ts +0 -23
  425. package/node_modules/bare-url/lib/url-search-params.js +0 -194
  426. package/node_modules/bare-url/package.json +0 -54
  427. package/node_modules/bare-url/prebuilds/android-arm/bare-url.bare +0 -0
  428. package/node_modules/bare-url/prebuilds/android-arm64/bare-url.bare +0 -0
  429. package/node_modules/bare-url/prebuilds/android-ia32/bare-url.bare +0 -0
  430. package/node_modules/bare-url/prebuilds/android-x64/bare-url.bare +0 -0
  431. package/node_modules/bare-url/prebuilds/darwin-arm64/bare-url.bare +0 -0
  432. package/node_modules/bare-url/prebuilds/darwin-x64/bare-url.bare +0 -0
  433. package/node_modules/bare-url/prebuilds/ios-arm64/bare-url.bare +0 -0
  434. package/node_modules/bare-url/prebuilds/ios-arm64-simulator/bare-url.bare +0 -0
  435. package/node_modules/bare-url/prebuilds/ios-x64-simulator/bare-url.bare +0 -0
  436. package/node_modules/bare-url/prebuilds/linux-arm64/bare-url.bare +0 -0
  437. package/node_modules/bare-url/prebuilds/linux-x64/bare-url.bare +0 -0
  438. package/node_modules/bare-url/prebuilds/win32-arm64/bare-url.bare +0 -0
  439. package/node_modules/bare-url/prebuilds/win32-x64/bare-url.bare +0 -0
  440. package/node_modules/bcrypt-pbkdf/CONTRIBUTING.md +0 -13
  441. package/node_modules/bcrypt-pbkdf/LICENSE +0 -66
  442. package/node_modules/bcrypt-pbkdf/README.md +0 -45
  443. package/node_modules/bcrypt-pbkdf/index.js +0 -556
  444. package/node_modules/bcrypt-pbkdf/package.json +0 -15
  445. package/node_modules/boxen/index.d.ts +0 -267
  446. package/node_modules/boxen/index.js +0 -376
  447. package/node_modules/boxen/license +0 -9
  448. package/node_modules/boxen/node_modules/camelcase/index.d.ts +0 -102
  449. package/node_modules/boxen/node_modules/camelcase/index.js +0 -110
  450. package/node_modules/boxen/node_modules/camelcase/license +0 -9
  451. package/node_modules/boxen/node_modules/camelcase/package.json +0 -47
  452. package/node_modules/boxen/node_modules/camelcase/readme.md +0 -135
  453. package/node_modules/boxen/node_modules/chalk/license +0 -9
  454. package/node_modules/boxen/node_modules/chalk/package.json +0 -83
  455. package/node_modules/boxen/node_modules/chalk/readme.md +0 -297
  456. package/node_modules/boxen/node_modules/chalk/source/index.d.ts +0 -325
  457. package/node_modules/boxen/node_modules/chalk/source/index.js +0 -225
  458. package/node_modules/boxen/node_modules/chalk/source/utilities.js +0 -33
  459. package/node_modules/boxen/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  460. package/node_modules/boxen/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  461. package/node_modules/boxen/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  462. package/node_modules/boxen/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  463. package/node_modules/boxen/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  464. package/node_modules/boxen/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  465. package/node_modules/boxen/node_modules/type-fest/index.d.ts +0 -178
  466. package/node_modules/boxen/node_modules/type-fest/license-cc0 +0 -121
  467. package/node_modules/boxen/node_modules/type-fest/license-mit +0 -9
  468. package/node_modules/boxen/node_modules/type-fest/package.json +0 -91
  469. package/node_modules/boxen/node_modules/type-fest/readme.md +0 -1060
  470. package/node_modules/boxen/node_modules/type-fest/source/all-union-fields.d.ts +0 -88
  471. package/node_modules/boxen/node_modules/type-fest/source/and.d.ts +0 -25
  472. package/node_modules/boxen/node_modules/type-fest/source/array-indices.d.ts +0 -23
  473. package/node_modules/boxen/node_modules/type-fest/source/array-slice.d.ts +0 -109
  474. package/node_modules/boxen/node_modules/type-fest/source/array-splice.d.ts +0 -99
  475. package/node_modules/boxen/node_modules/type-fest/source/array-tail.d.ts +0 -76
  476. package/node_modules/boxen/node_modules/type-fest/source/array-values.d.ts +0 -22
  477. package/node_modules/boxen/node_modules/type-fest/source/arrayable.d.ts +0 -29
  478. package/node_modules/boxen/node_modules/type-fest/source/async-return-type.d.ts +0 -23
  479. package/node_modules/boxen/node_modules/type-fest/source/asyncify.d.ts +0 -32
  480. package/node_modules/boxen/node_modules/type-fest/source/basic.d.ts +0 -68
  481. package/node_modules/boxen/node_modules/type-fest/source/camel-case.d.ts +0 -89
  482. package/node_modules/boxen/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +0 -97
  483. package/node_modules/boxen/node_modules/type-fest/source/camel-cased-properties.d.ts +0 -43
  484. package/node_modules/boxen/node_modules/type-fest/source/conditional-except.d.ts +0 -45
  485. package/node_modules/boxen/node_modules/type-fest/source/conditional-keys.d.ts +0 -47
  486. package/node_modules/boxen/node_modules/type-fest/source/conditional-pick-deep.d.ts +0 -118
  487. package/node_modules/boxen/node_modules/type-fest/source/conditional-pick.d.ts +0 -44
  488. package/node_modules/boxen/node_modules/type-fest/source/conditional-simplify.d.ts +0 -32
  489. package/node_modules/boxen/node_modules/type-fest/source/delimiter-case.d.ts +0 -78
  490. package/node_modules/boxen/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +0 -106
  491. package/node_modules/boxen/node_modules/type-fest/source/delimiter-cased-properties.d.ts +0 -46
  492. package/node_modules/boxen/node_modules/type-fest/source/distributed-omit.d.ts +0 -89
  493. package/node_modules/boxen/node_modules/type-fest/source/distributed-pick.d.ts +0 -85
  494. package/node_modules/boxen/node_modules/type-fest/source/empty-object.d.ts +0 -46
  495. package/node_modules/boxen/node_modules/type-fest/source/enforce-optional.d.ts +0 -47
  496. package/node_modules/boxen/node_modules/type-fest/source/entries.d.ts +0 -62
  497. package/node_modules/boxen/node_modules/type-fest/source/entry.d.ts +0 -65
  498. package/node_modules/boxen/node_modules/type-fest/source/exact.d.ts +0 -68
  499. package/node_modules/boxen/node_modules/type-fest/source/except.d.ts +0 -108
  500. package/node_modules/boxen/node_modules/type-fest/source/find-global-type.d.ts +0 -64
  501. package/node_modules/boxen/node_modules/type-fest/source/fixed-length-array.d.ts +0 -43
  502. package/node_modules/boxen/node_modules/type-fest/source/get.d.ts +0 -219
  503. package/node_modules/boxen/node_modules/type-fest/source/global-this.d.ts +0 -21
  504. package/node_modules/boxen/node_modules/type-fest/source/greater-than-or-equal.d.ts +0 -22
  505. package/node_modules/boxen/node_modules/type-fest/source/greater-than.d.ts +0 -56
  506. package/node_modules/boxen/node_modules/type-fest/source/has-optional-keys.d.ts +0 -21
  507. package/node_modules/boxen/node_modules/type-fest/source/has-readonly-keys.d.ts +0 -21
  508. package/node_modules/boxen/node_modules/type-fest/source/has-required-keys.d.ts +0 -59
  509. package/node_modules/boxen/node_modules/type-fest/source/has-writable-keys.d.ts +0 -21
  510. package/node_modules/boxen/node_modules/type-fest/source/if-any.d.ts +0 -24
  511. package/node_modules/boxen/node_modules/type-fest/source/if-empty-object.d.ts +0 -26
  512. package/node_modules/boxen/node_modules/type-fest/source/if-never.d.ts +0 -24
  513. package/node_modules/boxen/node_modules/type-fest/source/if-null.d.ts +0 -24
  514. package/node_modules/boxen/node_modules/type-fest/source/if-unknown.d.ts +0 -24
  515. package/node_modules/boxen/node_modules/type-fest/source/includes.d.ts +0 -22
  516. package/node_modules/boxen/node_modules/type-fest/source/int-closed-range.d.ts +0 -35
  517. package/node_modules/boxen/node_modules/type-fest/source/int-range.d.ts +0 -55
  518. package/node_modules/boxen/node_modules/type-fest/source/internal/array.d.ts +0 -126
  519. package/node_modules/boxen/node_modules/type-fest/source/internal/characters.d.ts +0 -67
  520. package/node_modules/boxen/node_modules/type-fest/source/internal/index.d.ts +0 -8
  521. package/node_modules/boxen/node_modules/type-fest/source/internal/keys.d.ts +0 -97
  522. package/node_modules/boxen/node_modules/type-fest/source/internal/numeric.d.ts +0 -118
  523. package/node_modules/boxen/node_modules/type-fest/source/internal/object.d.ts +0 -236
  524. package/node_modules/boxen/node_modules/type-fest/source/internal/string.d.ts +0 -210
  525. package/node_modules/boxen/node_modules/type-fest/source/internal/tuple.d.ts +0 -90
  526. package/node_modules/boxen/node_modules/type-fest/source/internal/type.d.ts +0 -139
  527. package/node_modules/boxen/node_modules/type-fest/source/invariant-of.d.ts +0 -76
  528. package/node_modules/boxen/node_modules/type-fest/source/is-any.d.ts +0 -33
  529. package/node_modules/boxen/node_modules/type-fest/source/is-equal.d.ts +0 -31
  530. package/node_modules/boxen/node_modules/type-fest/source/is-float.d.ts +0 -41
  531. package/node_modules/boxen/node_modules/type-fest/source/is-integer.d.ts +0 -58
  532. package/node_modules/boxen/node_modules/type-fest/source/is-literal.d.ts +0 -296
  533. package/node_modules/boxen/node_modules/type-fest/source/is-never.d.ts +0 -42
  534. package/node_modules/boxen/node_modules/type-fest/source/is-null.d.ts +0 -20
  535. package/node_modules/boxen/node_modules/type-fest/source/is-tuple.d.ts +0 -89
  536. package/node_modules/boxen/node_modules/type-fest/source/is-unknown.d.ts +0 -52
  537. package/node_modules/boxen/node_modules/type-fest/source/iterable-element.d.ts +0 -64
  538. package/node_modules/boxen/node_modules/type-fest/source/join.d.ts +0 -68
  539. package/node_modules/boxen/node_modules/type-fest/source/jsonifiable.d.ts +0 -37
  540. package/node_modules/boxen/node_modules/type-fest/source/jsonify.d.ts +0 -122
  541. package/node_modules/boxen/node_modules/type-fest/source/kebab-case.d.ts +0 -44
  542. package/node_modules/boxen/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +0 -63
  543. package/node_modules/boxen/node_modules/type-fest/source/kebab-cased-properties.d.ts +0 -40
  544. package/node_modules/boxen/node_modules/type-fest/source/keys-of-union.d.ts +0 -42
  545. package/node_modules/boxen/node_modules/type-fest/source/last-array-element.d.ts +0 -38
  546. package/node_modules/boxen/node_modules/type-fest/source/less-than-or-equal.d.ts +0 -22
  547. package/node_modules/boxen/node_modules/type-fest/source/less-than.d.ts +0 -26
  548. package/node_modules/boxen/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +0 -36
  549. package/node_modules/boxen/node_modules/type-fest/source/literal-to-primitive.d.ts +0 -36
  550. package/node_modules/boxen/node_modules/type-fest/source/literal-union.d.ts +0 -37
  551. package/node_modules/boxen/node_modules/type-fest/source/merge-deep.d.ts +0 -486
  552. package/node_modules/boxen/node_modules/type-fest/source/merge-exclusive.d.ts +0 -41
  553. package/node_modules/boxen/node_modules/type-fest/source/merge.d.ts +0 -48
  554. package/node_modules/boxen/node_modules/type-fest/source/multidimensional-array.d.ts +0 -44
  555. package/node_modules/boxen/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +0 -48
  556. package/node_modules/boxen/node_modules/type-fest/source/non-empty-object.d.ts +0 -35
  557. package/node_modules/boxen/node_modules/type-fest/source/non-empty-string.d.ts +0 -28
  558. package/node_modules/boxen/node_modules/type-fest/source/non-empty-tuple.d.ts +0 -21
  559. package/node_modules/boxen/node_modules/type-fest/source/numeric.d.ts +0 -222
  560. package/node_modules/boxen/node_modules/type-fest/source/observable-like.d.ts +0 -63
  561. package/node_modules/boxen/node_modules/type-fest/source/omit-deep.d.ts +0 -167
  562. package/node_modules/boxen/node_modules/type-fest/source/omit-index-signature.d.ts +0 -95
  563. package/node_modules/boxen/node_modules/type-fest/source/opaque.d.ts +0 -1
  564. package/node_modules/boxen/node_modules/type-fest/source/optional-keys-of.d.ts +0 -39
  565. package/node_modules/boxen/node_modules/type-fest/source/or.d.ts +0 -25
  566. package/node_modules/boxen/node_modules/type-fest/source/override-properties.d.ts +0 -36
  567. package/node_modules/boxen/node_modules/type-fest/source/package-json.d.ts +0 -676
  568. package/node_modules/boxen/node_modules/type-fest/source/partial-deep.d.ts +0 -151
  569. package/node_modules/boxen/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +0 -78
  570. package/node_modules/boxen/node_modules/type-fest/source/pascal-case.d.ts +0 -42
  571. package/node_modules/boxen/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +0 -62
  572. package/node_modules/boxen/node_modules/type-fest/source/pascal-cased-properties.d.ts +0 -36
  573. package/node_modules/boxen/node_modules/type-fest/source/paths.d.ts +0 -262
  574. package/node_modules/boxen/node_modules/type-fest/source/pick-deep.d.ts +0 -149
  575. package/node_modules/boxen/node_modules/type-fest/source/pick-index-signature.d.ts +0 -50
  576. package/node_modules/boxen/node_modules/type-fest/source/primitive.d.ts +0 -13
  577. package/node_modules/boxen/node_modules/type-fest/source/promisable.d.ts +0 -25
  578. package/node_modules/boxen/node_modules/type-fest/source/readonly-deep.d.ts +0 -81
  579. package/node_modules/boxen/node_modules/type-fest/source/readonly-keys-of.d.ts +0 -30
  580. package/node_modules/boxen/node_modules/type-fest/source/readonly-tuple.d.ts +0 -41
  581. package/node_modules/boxen/node_modules/type-fest/source/replace.d.ts +0 -85
  582. package/node_modules/boxen/node_modules/type-fest/source/require-all-or-none.d.ts +0 -51
  583. package/node_modules/boxen/node_modules/type-fest/source/require-at-least-one.d.ts +0 -47
  584. package/node_modules/boxen/node_modules/type-fest/source/require-exactly-one.d.ts +0 -45
  585. package/node_modules/boxen/node_modules/type-fest/source/require-one-or-none.d.ts +0 -46
  586. package/node_modules/boxen/node_modules/type-fest/source/required-deep.d.ts +0 -78
  587. package/node_modules/boxen/node_modules/type-fest/source/required-keys-of.d.ts +0 -30
  588. package/node_modules/boxen/node_modules/type-fest/source/schema.d.ts +0 -114
  589. package/node_modules/boxen/node_modules/type-fest/source/screaming-snake-case.d.ts +0 -28
  590. package/node_modules/boxen/node_modules/type-fest/source/set-field-type.d.ts +0 -65
  591. package/node_modules/boxen/node_modules/type-fest/source/set-non-nullable-deep.d.ts +0 -83
  592. package/node_modules/boxen/node_modules/type-fest/source/set-non-nullable.d.ts +0 -39
  593. package/node_modules/boxen/node_modules/type-fest/source/set-optional.d.ts +0 -38
  594. package/node_modules/boxen/node_modules/type-fest/source/set-parameter-type.d.ts +0 -117
  595. package/node_modules/boxen/node_modules/type-fest/source/set-readonly.d.ts +0 -39
  596. package/node_modules/boxen/node_modules/type-fest/source/set-required-deep.d.ts +0 -68
  597. package/node_modules/boxen/node_modules/type-fest/source/set-required.d.ts +0 -70
  598. package/node_modules/boxen/node_modules/type-fest/source/set-return-type.d.ts +0 -29
  599. package/node_modules/boxen/node_modules/type-fest/source/shared-union-fields-deep.d.ts +0 -178
  600. package/node_modules/boxen/node_modules/type-fest/source/shared-union-fields.d.ts +0 -76
  601. package/node_modules/boxen/node_modules/type-fest/source/simplify-deep.d.ts +0 -115
  602. package/node_modules/boxen/node_modules/type-fest/source/simplify.d.ts +0 -58
  603. package/node_modules/boxen/node_modules/type-fest/source/single-key-object.d.ts +0 -29
  604. package/node_modules/boxen/node_modules/type-fest/source/snake-case.d.ts +0 -45
  605. package/node_modules/boxen/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +0 -63
  606. package/node_modules/boxen/node_modules/type-fest/source/snake-cased-properties.d.ts +0 -40
  607. package/node_modules/boxen/node_modules/type-fest/source/split.d.ts +0 -88
  608. package/node_modules/boxen/node_modules/type-fest/source/spread.d.ts +0 -84
  609. package/node_modules/boxen/node_modules/type-fest/source/string-key-of.d.ts +0 -25
  610. package/node_modules/boxen/node_modules/type-fest/source/string-repeat.d.ts +0 -47
  611. package/node_modules/boxen/node_modules/type-fest/source/string-slice.d.ts +0 -37
  612. package/node_modules/boxen/node_modules/type-fest/source/stringified.d.ts +0 -23
  613. package/node_modules/boxen/node_modules/type-fest/source/structured-cloneable.d.ts +0 -92
  614. package/node_modules/boxen/node_modules/type-fest/source/subtract.d.ts +0 -83
  615. package/node_modules/boxen/node_modules/type-fest/source/sum.d.ts +0 -78
  616. package/node_modules/boxen/node_modules/type-fest/source/tagged-union.d.ts +0 -51
  617. package/node_modules/boxen/node_modules/type-fest/source/tagged.d.ts +0 -256
  618. package/node_modules/boxen/node_modules/type-fest/source/trim.d.ts +0 -27
  619. package/node_modules/boxen/node_modules/type-fest/source/tsconfig-json.d.ts +0 -1294
  620. package/node_modules/boxen/node_modules/type-fest/source/tuple-to-object.d.ts +0 -42
  621. package/node_modules/boxen/node_modules/type-fest/source/tuple-to-union.d.ts +0 -51
  622. package/node_modules/boxen/node_modules/type-fest/source/typed-array.d.ts +0 -17
  623. package/node_modules/boxen/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +0 -80
  624. package/node_modules/boxen/node_modules/type-fest/source/union-to-intersection.d.ts +0 -61
  625. package/node_modules/boxen/node_modules/type-fest/source/union-to-tuple.d.ts +0 -56
  626. package/node_modules/boxen/node_modules/type-fest/source/unknown-array.d.ts +0 -25
  627. package/node_modules/boxen/node_modules/type-fest/source/unknown-map.d.ts +0 -24
  628. package/node_modules/boxen/node_modules/type-fest/source/unknown-record.d.ts +0 -31
  629. package/node_modules/boxen/node_modules/type-fest/source/unknown-set.d.ts +0 -24
  630. package/node_modules/boxen/node_modules/type-fest/source/value-of.d.ts +0 -42
  631. package/node_modules/boxen/node_modules/type-fest/source/words.d.ts +0 -118
  632. package/node_modules/boxen/node_modules/type-fest/source/writable-deep.d.ts +0 -83
  633. package/node_modules/boxen/node_modules/type-fest/source/writable-keys-of.d.ts +0 -33
  634. package/node_modules/boxen/node_modules/type-fest/source/writable.d.ts +0 -68
  635. package/node_modules/boxen/package.json +0 -69
  636. package/node_modules/boxen/readme.md +0 -300
  637. package/node_modules/browserify-zlib/.npmignore +0 -2
  638. package/node_modules/browserify-zlib/.travis.yml +0 -3
  639. package/node_modules/browserify-zlib/README.md +0 -22
  640. package/node_modules/browserify-zlib/package.json +0 -40
  641. package/node_modules/browserify-zlib/src/binding.js +0 -236
  642. package/node_modules/browserify-zlib/src/index.js +0 -610
  643. package/node_modules/browserify-zlib/test/fixtures/elipses.txt +0 -1
  644. package/node_modules/browserify-zlib/test/fixtures/empty.txt +0 -1
  645. package/node_modules/browserify-zlib/test/fixtures/person.jpg +0 -0
  646. package/node_modules/browserify-zlib/test/ignored/test-zlib-dictionary-fail.js +0 -48
  647. package/node_modules/browserify-zlib/test/ignored/test-zlib-dictionary.js +0 -95
  648. package/node_modules/browserify-zlib/test/ignored/test-zlib-params.js +0 -33
  649. package/node_modules/browserify-zlib/test/package.json +0 -7
  650. package/node_modules/browserify-zlib/test/test-zlib-close-after-write.js +0 -35
  651. package/node_modules/browserify-zlib/test/test-zlib-convenience-methods.js +0 -70
  652. package/node_modules/browserify-zlib/test/test-zlib-from-string.js +0 -89
  653. package/node_modules/browserify-zlib/test/test-zlib-invalid-input.js +0 -62
  654. package/node_modules/browserify-zlib/test/test-zlib-random-byte-pipes.js +0 -176
  655. package/node_modules/browserify-zlib/test/test-zlib-write-after-flush.js +0 -55
  656. package/node_modules/browserify-zlib/test/test-zlib-zero-byte.js +0 -41
  657. package/node_modules/browserify-zlib/test/test-zlib.js +0 -206
  658. package/node_modules/buffer-from/LICENSE +0 -21
  659. package/node_modules/buffer-from/index.js +0 -72
  660. package/node_modules/buffer-from/package.json +0 -19
  661. package/node_modules/buffer-from/readme.md +0 -69
  662. package/node_modules/caseless/LICENSE +0 -28
  663. package/node_modules/caseless/README.md +0 -45
  664. package/node_modules/caseless/index.js +0 -67
  665. package/node_modules/caseless/package.json +0 -27
  666. package/node_modules/caseless/test.js +0 -67
  667. package/node_modules/chownr/LICENSE.md +0 -63
  668. package/node_modules/chownr/README.md +0 -3
  669. package/node_modules/chownr/dist/commonjs/index.d.ts +0 -3
  670. package/node_modules/chownr/dist/commonjs/index.d.ts.map +0 -1
  671. package/node_modules/chownr/dist/commonjs/index.js +0 -93
  672. package/node_modules/chownr/dist/commonjs/index.js.map +0 -1
  673. package/node_modules/chownr/dist/commonjs/package.json +0 -3
  674. package/node_modules/chownr/dist/esm/index.d.ts +0 -3
  675. package/node_modules/chownr/dist/esm/index.d.ts.map +0 -1
  676. package/node_modules/chownr/dist/esm/index.js +0 -85
  677. package/node_modules/chownr/dist/esm/index.js.map +0 -1
  678. package/node_modules/chownr/dist/esm/package.json +0 -3
  679. package/node_modules/chownr/package.json +0 -69
  680. package/node_modules/cli-boxes/boxes.json +0 -82
  681. package/node_modules/cli-boxes/index.d.ts +0 -127
  682. package/node_modules/cli-boxes/index.js +0 -6
  683. package/node_modules/cli-boxes/license +0 -9
  684. package/node_modules/cli-boxes/package.json +0 -42
  685. package/node_modules/cli-boxes/readme.md +0 -115
  686. package/node_modules/cliui/CHANGELOG.md +0 -157
  687. package/node_modules/cliui/LICENSE.txt +0 -14
  688. package/node_modules/cliui/README.md +0 -161
  689. package/node_modules/cliui/build/lib/index.js +0 -287
  690. package/node_modules/cliui/build/tsconfig.tsbuildinfo +0 -1
  691. package/node_modules/cliui/index.mjs +0 -15
  692. package/node_modules/cliui/node_modules/ansi-regex/index.d.ts +0 -33
  693. package/node_modules/cliui/node_modules/ansi-regex/index.js +0 -14
  694. package/node_modules/cliui/node_modules/ansi-regex/license +0 -9
  695. package/node_modules/cliui/node_modules/ansi-regex/package.json +0 -61
  696. package/node_modules/cliui/node_modules/ansi-regex/readme.md +0 -66
  697. package/node_modules/cliui/node_modules/strip-ansi/index.d.ts +0 -15
  698. package/node_modules/cliui/node_modules/strip-ansi/index.js +0 -19
  699. package/node_modules/cliui/node_modules/strip-ansi/license +0 -9
  700. package/node_modules/cliui/node_modules/strip-ansi/package.json +0 -59
  701. package/node_modules/cliui/node_modules/strip-ansi/readme.md +0 -37
  702. package/node_modules/cliui/package.json +0 -72
  703. package/node_modules/cmd-shim/LICENSE +0 -15
  704. package/node_modules/cmd-shim/README.md +0 -34
  705. package/node_modules/cmd-shim/lib/index.js +0 -283
  706. package/node_modules/cmd-shim/lib/to-batch-syntax.js +0 -49
  707. package/node_modules/cmd-shim/package.json +0 -48
  708. package/node_modules/combined-stream/License +0 -19
  709. package/node_modules/combined-stream/Readme.md +0 -138
  710. package/node_modules/combined-stream/lib/combined_stream.js +0 -208
  711. package/node_modules/combined-stream/package.json +0 -25
  712. package/node_modules/config-chain/LICENCE +0 -22
  713. package/node_modules/config-chain/index.js +0 -282
  714. package/node_modules/config-chain/package.json +0 -28
  715. package/node_modules/config-chain/readme.markdown +0 -257
  716. package/node_modules/configstore/index.d.ts +0 -94
  717. package/node_modules/configstore/index.js +0 -123
  718. package/node_modules/configstore/license +0 -25
  719. package/node_modules/configstore/node_modules/dot-prop/index.d.ts +0 -164
  720. package/node_modules/configstore/node_modules/dot-prop/index.js +0 -337
  721. package/node_modules/configstore/node_modules/dot-prop/license +0 -9
  722. package/node_modules/configstore/node_modules/dot-prop/package.json +0 -53
  723. package/node_modules/configstore/node_modules/dot-prop/readme.md +0 -168
  724. package/node_modules/configstore/node_modules/type-fest/index.d.ts +0 -178
  725. package/node_modules/configstore/node_modules/type-fest/license-cc0 +0 -121
  726. package/node_modules/configstore/node_modules/type-fest/license-mit +0 -9
  727. package/node_modules/configstore/node_modules/type-fest/package.json +0 -91
  728. package/node_modules/configstore/node_modules/type-fest/readme.md +0 -1060
  729. package/node_modules/configstore/node_modules/type-fest/source/all-union-fields.d.ts +0 -88
  730. package/node_modules/configstore/node_modules/type-fest/source/and.d.ts +0 -25
  731. package/node_modules/configstore/node_modules/type-fest/source/array-indices.d.ts +0 -23
  732. package/node_modules/configstore/node_modules/type-fest/source/array-slice.d.ts +0 -109
  733. package/node_modules/configstore/node_modules/type-fest/source/array-splice.d.ts +0 -99
  734. package/node_modules/configstore/node_modules/type-fest/source/array-tail.d.ts +0 -76
  735. package/node_modules/configstore/node_modules/type-fest/source/array-values.d.ts +0 -22
  736. package/node_modules/configstore/node_modules/type-fest/source/arrayable.d.ts +0 -29
  737. package/node_modules/configstore/node_modules/type-fest/source/async-return-type.d.ts +0 -23
  738. package/node_modules/configstore/node_modules/type-fest/source/asyncify.d.ts +0 -32
  739. package/node_modules/configstore/node_modules/type-fest/source/basic.d.ts +0 -68
  740. package/node_modules/configstore/node_modules/type-fest/source/camel-case.d.ts +0 -89
  741. package/node_modules/configstore/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +0 -97
  742. package/node_modules/configstore/node_modules/type-fest/source/camel-cased-properties.d.ts +0 -43
  743. package/node_modules/configstore/node_modules/type-fest/source/conditional-except.d.ts +0 -45
  744. package/node_modules/configstore/node_modules/type-fest/source/conditional-keys.d.ts +0 -47
  745. package/node_modules/configstore/node_modules/type-fest/source/conditional-pick-deep.d.ts +0 -118
  746. package/node_modules/configstore/node_modules/type-fest/source/conditional-pick.d.ts +0 -44
  747. package/node_modules/configstore/node_modules/type-fest/source/conditional-simplify.d.ts +0 -32
  748. package/node_modules/configstore/node_modules/type-fest/source/delimiter-case.d.ts +0 -78
  749. package/node_modules/configstore/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +0 -106
  750. package/node_modules/configstore/node_modules/type-fest/source/delimiter-cased-properties.d.ts +0 -46
  751. package/node_modules/configstore/node_modules/type-fest/source/distributed-omit.d.ts +0 -89
  752. package/node_modules/configstore/node_modules/type-fest/source/distributed-pick.d.ts +0 -85
  753. package/node_modules/configstore/node_modules/type-fest/source/empty-object.d.ts +0 -46
  754. package/node_modules/configstore/node_modules/type-fest/source/enforce-optional.d.ts +0 -47
  755. package/node_modules/configstore/node_modules/type-fest/source/entries.d.ts +0 -62
  756. package/node_modules/configstore/node_modules/type-fest/source/entry.d.ts +0 -65
  757. package/node_modules/configstore/node_modules/type-fest/source/exact.d.ts +0 -68
  758. package/node_modules/configstore/node_modules/type-fest/source/except.d.ts +0 -108
  759. package/node_modules/configstore/node_modules/type-fest/source/find-global-type.d.ts +0 -64
  760. package/node_modules/configstore/node_modules/type-fest/source/fixed-length-array.d.ts +0 -43
  761. package/node_modules/configstore/node_modules/type-fest/source/get.d.ts +0 -219
  762. package/node_modules/configstore/node_modules/type-fest/source/global-this.d.ts +0 -21
  763. package/node_modules/configstore/node_modules/type-fest/source/greater-than-or-equal.d.ts +0 -22
  764. package/node_modules/configstore/node_modules/type-fest/source/greater-than.d.ts +0 -56
  765. package/node_modules/configstore/node_modules/type-fest/source/has-optional-keys.d.ts +0 -21
  766. package/node_modules/configstore/node_modules/type-fest/source/has-readonly-keys.d.ts +0 -21
  767. package/node_modules/configstore/node_modules/type-fest/source/has-required-keys.d.ts +0 -59
  768. package/node_modules/configstore/node_modules/type-fest/source/has-writable-keys.d.ts +0 -21
  769. package/node_modules/configstore/node_modules/type-fest/source/if-any.d.ts +0 -24
  770. package/node_modules/configstore/node_modules/type-fest/source/if-empty-object.d.ts +0 -26
  771. package/node_modules/configstore/node_modules/type-fest/source/if-never.d.ts +0 -24
  772. package/node_modules/configstore/node_modules/type-fest/source/if-null.d.ts +0 -24
  773. package/node_modules/configstore/node_modules/type-fest/source/if-unknown.d.ts +0 -24
  774. package/node_modules/configstore/node_modules/type-fest/source/includes.d.ts +0 -22
  775. package/node_modules/configstore/node_modules/type-fest/source/int-closed-range.d.ts +0 -35
  776. package/node_modules/configstore/node_modules/type-fest/source/int-range.d.ts +0 -55
  777. package/node_modules/configstore/node_modules/type-fest/source/internal/array.d.ts +0 -126
  778. package/node_modules/configstore/node_modules/type-fest/source/internal/characters.d.ts +0 -67
  779. package/node_modules/configstore/node_modules/type-fest/source/internal/index.d.ts +0 -8
  780. package/node_modules/configstore/node_modules/type-fest/source/internal/keys.d.ts +0 -97
  781. package/node_modules/configstore/node_modules/type-fest/source/internal/numeric.d.ts +0 -118
  782. package/node_modules/configstore/node_modules/type-fest/source/internal/object.d.ts +0 -236
  783. package/node_modules/configstore/node_modules/type-fest/source/internal/string.d.ts +0 -210
  784. package/node_modules/configstore/node_modules/type-fest/source/internal/tuple.d.ts +0 -90
  785. package/node_modules/configstore/node_modules/type-fest/source/internal/type.d.ts +0 -139
  786. package/node_modules/configstore/node_modules/type-fest/source/invariant-of.d.ts +0 -76
  787. package/node_modules/configstore/node_modules/type-fest/source/is-any.d.ts +0 -33
  788. package/node_modules/configstore/node_modules/type-fest/source/is-equal.d.ts +0 -31
  789. package/node_modules/configstore/node_modules/type-fest/source/is-float.d.ts +0 -41
  790. package/node_modules/configstore/node_modules/type-fest/source/is-integer.d.ts +0 -58
  791. package/node_modules/configstore/node_modules/type-fest/source/is-literal.d.ts +0 -296
  792. package/node_modules/configstore/node_modules/type-fest/source/is-never.d.ts +0 -42
  793. package/node_modules/configstore/node_modules/type-fest/source/is-null.d.ts +0 -20
  794. package/node_modules/configstore/node_modules/type-fest/source/is-tuple.d.ts +0 -89
  795. package/node_modules/configstore/node_modules/type-fest/source/is-unknown.d.ts +0 -52
  796. package/node_modules/configstore/node_modules/type-fest/source/iterable-element.d.ts +0 -64
  797. package/node_modules/configstore/node_modules/type-fest/source/join.d.ts +0 -68
  798. package/node_modules/configstore/node_modules/type-fest/source/jsonifiable.d.ts +0 -37
  799. package/node_modules/configstore/node_modules/type-fest/source/jsonify.d.ts +0 -122
  800. package/node_modules/configstore/node_modules/type-fest/source/kebab-case.d.ts +0 -44
  801. package/node_modules/configstore/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +0 -63
  802. package/node_modules/configstore/node_modules/type-fest/source/kebab-cased-properties.d.ts +0 -40
  803. package/node_modules/configstore/node_modules/type-fest/source/keys-of-union.d.ts +0 -42
  804. package/node_modules/configstore/node_modules/type-fest/source/last-array-element.d.ts +0 -38
  805. package/node_modules/configstore/node_modules/type-fest/source/less-than-or-equal.d.ts +0 -22
  806. package/node_modules/configstore/node_modules/type-fest/source/less-than.d.ts +0 -26
  807. package/node_modules/configstore/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +0 -36
  808. package/node_modules/configstore/node_modules/type-fest/source/literal-to-primitive.d.ts +0 -36
  809. package/node_modules/configstore/node_modules/type-fest/source/literal-union.d.ts +0 -37
  810. package/node_modules/configstore/node_modules/type-fest/source/merge-deep.d.ts +0 -486
  811. package/node_modules/configstore/node_modules/type-fest/source/merge-exclusive.d.ts +0 -41
  812. package/node_modules/configstore/node_modules/type-fest/source/merge.d.ts +0 -48
  813. package/node_modules/configstore/node_modules/type-fest/source/multidimensional-array.d.ts +0 -44
  814. package/node_modules/configstore/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +0 -48
  815. package/node_modules/configstore/node_modules/type-fest/source/non-empty-object.d.ts +0 -35
  816. package/node_modules/configstore/node_modules/type-fest/source/non-empty-string.d.ts +0 -28
  817. package/node_modules/configstore/node_modules/type-fest/source/non-empty-tuple.d.ts +0 -21
  818. package/node_modules/configstore/node_modules/type-fest/source/numeric.d.ts +0 -222
  819. package/node_modules/configstore/node_modules/type-fest/source/observable-like.d.ts +0 -63
  820. package/node_modules/configstore/node_modules/type-fest/source/omit-deep.d.ts +0 -167
  821. package/node_modules/configstore/node_modules/type-fest/source/omit-index-signature.d.ts +0 -95
  822. package/node_modules/configstore/node_modules/type-fest/source/opaque.d.ts +0 -1
  823. package/node_modules/configstore/node_modules/type-fest/source/optional-keys-of.d.ts +0 -39
  824. package/node_modules/configstore/node_modules/type-fest/source/or.d.ts +0 -25
  825. package/node_modules/configstore/node_modules/type-fest/source/override-properties.d.ts +0 -36
  826. package/node_modules/configstore/node_modules/type-fest/source/package-json.d.ts +0 -676
  827. package/node_modules/configstore/node_modules/type-fest/source/partial-deep.d.ts +0 -151
  828. package/node_modules/configstore/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +0 -78
  829. package/node_modules/configstore/node_modules/type-fest/source/pascal-case.d.ts +0 -42
  830. package/node_modules/configstore/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +0 -62
  831. package/node_modules/configstore/node_modules/type-fest/source/pascal-cased-properties.d.ts +0 -36
  832. package/node_modules/configstore/node_modules/type-fest/source/paths.d.ts +0 -262
  833. package/node_modules/configstore/node_modules/type-fest/source/pick-deep.d.ts +0 -149
  834. package/node_modules/configstore/node_modules/type-fest/source/pick-index-signature.d.ts +0 -50
  835. package/node_modules/configstore/node_modules/type-fest/source/primitive.d.ts +0 -13
  836. package/node_modules/configstore/node_modules/type-fest/source/promisable.d.ts +0 -25
  837. package/node_modules/configstore/node_modules/type-fest/source/readonly-deep.d.ts +0 -81
  838. package/node_modules/configstore/node_modules/type-fest/source/readonly-keys-of.d.ts +0 -30
  839. package/node_modules/configstore/node_modules/type-fest/source/readonly-tuple.d.ts +0 -41
  840. package/node_modules/configstore/node_modules/type-fest/source/replace.d.ts +0 -85
  841. package/node_modules/configstore/node_modules/type-fest/source/require-all-or-none.d.ts +0 -51
  842. package/node_modules/configstore/node_modules/type-fest/source/require-at-least-one.d.ts +0 -47
  843. package/node_modules/configstore/node_modules/type-fest/source/require-exactly-one.d.ts +0 -45
  844. package/node_modules/configstore/node_modules/type-fest/source/require-one-or-none.d.ts +0 -46
  845. package/node_modules/configstore/node_modules/type-fest/source/required-deep.d.ts +0 -78
  846. package/node_modules/configstore/node_modules/type-fest/source/required-keys-of.d.ts +0 -30
  847. package/node_modules/configstore/node_modules/type-fest/source/schema.d.ts +0 -114
  848. package/node_modules/configstore/node_modules/type-fest/source/screaming-snake-case.d.ts +0 -28
  849. package/node_modules/configstore/node_modules/type-fest/source/set-field-type.d.ts +0 -65
  850. package/node_modules/configstore/node_modules/type-fest/source/set-non-nullable-deep.d.ts +0 -83
  851. package/node_modules/configstore/node_modules/type-fest/source/set-non-nullable.d.ts +0 -39
  852. package/node_modules/configstore/node_modules/type-fest/source/set-optional.d.ts +0 -38
  853. package/node_modules/configstore/node_modules/type-fest/source/set-parameter-type.d.ts +0 -117
  854. package/node_modules/configstore/node_modules/type-fest/source/set-readonly.d.ts +0 -39
  855. package/node_modules/configstore/node_modules/type-fest/source/set-required-deep.d.ts +0 -68
  856. package/node_modules/configstore/node_modules/type-fest/source/set-required.d.ts +0 -70
  857. package/node_modules/configstore/node_modules/type-fest/source/set-return-type.d.ts +0 -29
  858. package/node_modules/configstore/node_modules/type-fest/source/shared-union-fields-deep.d.ts +0 -178
  859. package/node_modules/configstore/node_modules/type-fest/source/shared-union-fields.d.ts +0 -76
  860. package/node_modules/configstore/node_modules/type-fest/source/simplify-deep.d.ts +0 -115
  861. package/node_modules/configstore/node_modules/type-fest/source/simplify.d.ts +0 -58
  862. package/node_modules/configstore/node_modules/type-fest/source/single-key-object.d.ts +0 -29
  863. package/node_modules/configstore/node_modules/type-fest/source/snake-case.d.ts +0 -45
  864. package/node_modules/configstore/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +0 -63
  865. package/node_modules/configstore/node_modules/type-fest/source/snake-cased-properties.d.ts +0 -40
  866. package/node_modules/configstore/node_modules/type-fest/source/split.d.ts +0 -88
  867. package/node_modules/configstore/node_modules/type-fest/source/spread.d.ts +0 -84
  868. package/node_modules/configstore/node_modules/type-fest/source/string-key-of.d.ts +0 -25
  869. package/node_modules/configstore/node_modules/type-fest/source/string-repeat.d.ts +0 -47
  870. package/node_modules/configstore/node_modules/type-fest/source/string-slice.d.ts +0 -37
  871. package/node_modules/configstore/node_modules/type-fest/source/stringified.d.ts +0 -23
  872. package/node_modules/configstore/node_modules/type-fest/source/structured-cloneable.d.ts +0 -92
  873. package/node_modules/configstore/node_modules/type-fest/source/subtract.d.ts +0 -83
  874. package/node_modules/configstore/node_modules/type-fest/source/sum.d.ts +0 -78
  875. package/node_modules/configstore/node_modules/type-fest/source/tagged-union.d.ts +0 -51
  876. package/node_modules/configstore/node_modules/type-fest/source/tagged.d.ts +0 -256
  877. package/node_modules/configstore/node_modules/type-fest/source/trim.d.ts +0 -27
  878. package/node_modules/configstore/node_modules/type-fest/source/tsconfig-json.d.ts +0 -1294
  879. package/node_modules/configstore/node_modules/type-fest/source/tuple-to-object.d.ts +0 -42
  880. package/node_modules/configstore/node_modules/type-fest/source/tuple-to-union.d.ts +0 -51
  881. package/node_modules/configstore/node_modules/type-fest/source/typed-array.d.ts +0 -17
  882. package/node_modules/configstore/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +0 -80
  883. package/node_modules/configstore/node_modules/type-fest/source/union-to-intersection.d.ts +0 -61
  884. package/node_modules/configstore/node_modules/type-fest/source/union-to-tuple.d.ts +0 -56
  885. package/node_modules/configstore/node_modules/type-fest/source/unknown-array.d.ts +0 -25
  886. package/node_modules/configstore/node_modules/type-fest/source/unknown-map.d.ts +0 -24
  887. package/node_modules/configstore/node_modules/type-fest/source/unknown-record.d.ts +0 -31
  888. package/node_modules/configstore/node_modules/type-fest/source/unknown-set.d.ts +0 -24
  889. package/node_modules/configstore/node_modules/type-fest/source/value-of.d.ts +0 -42
  890. package/node_modules/configstore/node_modules/type-fest/source/words.d.ts +0 -118
  891. package/node_modules/configstore/node_modules/type-fest/source/writable-deep.d.ts +0 -83
  892. package/node_modules/configstore/node_modules/type-fest/source/writable-keys-of.d.ts +0 -33
  893. package/node_modules/configstore/node_modules/type-fest/source/writable.d.ts +0 -68
  894. package/node_modules/configstore/node_modules/xdg-basedir/index.d.ts +0 -90
  895. package/node_modules/configstore/node_modules/xdg-basedir/index.js +0 -30
  896. package/node_modules/configstore/node_modules/xdg-basedir/license +0 -9
  897. package/node_modules/configstore/node_modules/xdg-basedir/package.json +0 -47
  898. package/node_modules/configstore/node_modules/xdg-basedir/readme.md +0 -70
  899. package/node_modules/configstore/package.json +0 -53
  900. package/node_modules/configstore/readme.md +0 -152
  901. package/node_modules/core-util-is/LICENSE +0 -19
  902. package/node_modules/core-util-is/README.md +0 -3
  903. package/node_modules/core-util-is/lib/util.js +0 -107
  904. package/node_modules/core-util-is/package.json +0 -38
  905. package/node_modules/dashdash/CHANGES.md +0 -364
  906. package/node_modules/dashdash/LICENSE.txt +0 -24
  907. package/node_modules/dashdash/README.md +0 -574
  908. package/node_modules/dashdash/etc/dashdash.bash_completion.in +0 -389
  909. package/node_modules/dashdash/lib/dashdash.js +0 -1055
  910. package/node_modules/dashdash/package.json +0 -26
  911. package/node_modules/deep-extend/CHANGELOG.md +0 -46
  912. package/node_modules/deep-extend/LICENSE +0 -20
  913. package/node_modules/deep-extend/README.md +0 -91
  914. package/node_modules/deep-extend/index.js +0 -1
  915. package/node_modules/deep-extend/lib/deep-extend.js +0 -150
  916. package/node_modules/deep-extend/package.json +0 -62
  917. package/node_modules/delayed-stream/.npmignore +0 -1
  918. package/node_modules/delayed-stream/License +0 -19
  919. package/node_modules/delayed-stream/Makefile +0 -7
  920. package/node_modules/delayed-stream/Readme.md +0 -141
  921. package/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
  922. package/node_modules/delayed-stream/package.json +0 -27
  923. package/node_modules/duplexify/.travis.yml +0 -6
  924. package/node_modules/duplexify/LICENSE +0 -21
  925. package/node_modules/duplexify/README.md +0 -97
  926. package/node_modules/duplexify/example.js +0 -21
  927. package/node_modules/duplexify/index.js +0 -234
  928. package/node_modules/duplexify/package.json +0 -39
  929. package/node_modules/duplexify/test.js +0 -295
  930. package/node_modules/ecc-jsbn/LICENSE +0 -21
  931. package/node_modules/ecc-jsbn/README.md +0 -8
  932. package/node_modules/ecc-jsbn/index.js +0 -58
  933. package/node_modules/ecc-jsbn/lib/LICENSE-jsbn +0 -40
  934. package/node_modules/ecc-jsbn/lib/ec.js +0 -561
  935. package/node_modules/ecc-jsbn/lib/sec.js +0 -170
  936. package/node_modules/ecc-jsbn/package.json +0 -40
  937. package/node_modules/ecc-jsbn/test.js +0 -14
  938. package/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  939. package/node_modules/emoji-regex/README.md +0 -107
  940. package/node_modules/emoji-regex/index.d.ts +0 -3
  941. package/node_modules/emoji-regex/index.js +0 -4
  942. package/node_modules/emoji-regex/index.mjs +0 -4
  943. package/node_modules/emoji-regex/package.json +0 -45
  944. package/node_modules/end-of-stream/LICENSE +0 -21
  945. package/node_modules/end-of-stream/README.md +0 -54
  946. package/node_modules/end-of-stream/index.js +0 -96
  947. package/node_modules/end-of-stream/package.json +0 -37
  948. package/node_modules/env-paths/index.d.ts +0 -101
  949. package/node_modules/env-paths/index.js +0 -74
  950. package/node_modules/env-paths/license +0 -9
  951. package/node_modules/env-paths/package.json +0 -45
  952. package/node_modules/env-paths/readme.md +0 -115
  953. package/node_modules/escalade/dist/index.js +0 -22
  954. package/node_modules/escalade/dist/index.mjs +0 -22
  955. package/node_modules/escalade/index.d.mts +0 -11
  956. package/node_modules/escalade/index.d.ts +0 -15
  957. package/node_modules/escalade/license +0 -9
  958. package/node_modules/escalade/package.json +0 -74
  959. package/node_modules/escalade/readme.md +0 -211
  960. package/node_modules/escalade/sync/index.d.mts +0 -9
  961. package/node_modules/escalade/sync/index.d.ts +0 -13
  962. package/node_modules/escalade/sync/index.js +0 -18
  963. package/node_modules/escalade/sync/index.mjs +0 -18
  964. package/node_modules/escape-goat/index.d.ts +0 -62
  965. package/node_modules/escape-goat/index.js +0 -39
  966. package/node_modules/escape-goat/license +0 -9
  967. package/node_modules/escape-goat/package.json +0 -48
  968. package/node_modules/escape-goat/readme.md +0 -60
  969. package/node_modules/events-universal/LICENSE +0 -201
  970. package/node_modules/events-universal/README.md +0 -17
  971. package/node_modules/events-universal/bare.js +0 -1
  972. package/node_modules/events-universal/default.js +0 -1
  973. package/node_modules/events-universal/index.js +0 -1
  974. package/node_modules/events-universal/package.json +0 -39
  975. package/node_modules/events-universal/react-native.js +0 -1
  976. package/node_modules/exponential-backoff/LICENSE +0 -202
  977. package/node_modules/exponential-backoff/README.md +0 -89
  978. package/node_modules/exponential-backoff/dist/backoff.d.ts +0 -9
  979. package/node_modules/exponential-backoff/dist/backoff.js +0 -124
  980. package/node_modules/exponential-backoff/dist/backoff.js.map +0 -1
  981. package/node_modules/exponential-backoff/dist/delay/always/always.delay.d.ts +0 -3
  982. package/node_modules/exponential-backoff/dist/delay/always/always.delay.js +0 -25
  983. package/node_modules/exponential-backoff/dist/delay/always/always.delay.js.map +0 -1
  984. package/node_modules/exponential-backoff/dist/delay/delay.base.d.ts +0 -12
  985. package/node_modules/exponential-backoff/dist/delay/delay.base.js +0 -45
  986. package/node_modules/exponential-backoff/dist/delay/delay.base.js.map +0 -1
  987. package/node_modules/exponential-backoff/dist/delay/delay.factory.d.ts +0 -3
  988. package/node_modules/exponential-backoff/dist/delay/delay.factory.js +0 -17
  989. package/node_modules/exponential-backoff/dist/delay/delay.factory.js.map +0 -1
  990. package/node_modules/exponential-backoff/dist/delay/delay.interface.d.ts +0 -4
  991. package/node_modules/exponential-backoff/dist/delay/delay.interface.js +0 -3
  992. package/node_modules/exponential-backoff/dist/delay/delay.interface.js.map +0 -1
  993. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.d.ts +0 -6
  994. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +0 -82
  995. package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js.map +0 -1
  996. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.d.ts +0 -1
  997. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +0 -8
  998. package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js.map +0 -1
  999. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.d.ts +0 -3
  1000. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +0 -15
  1001. package/node_modules/exponential-backoff/dist/jitter/jitter.factory.js.map +0 -1
  1002. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.d.ts +0 -1
  1003. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +0 -7
  1004. package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js.map +0 -1
  1005. package/node_modules/exponential-backoff/dist/options.d.ts +0 -55
  1006. package/node_modules/exponential-backoff/dist/options.js +0 -31
  1007. package/node_modules/exponential-backoff/dist/options.js.map +0 -1
  1008. package/node_modules/exponential-backoff/package.json +0 -62
  1009. package/node_modules/exponential-backoff/src/backoff.spec.ts +0 -194
  1010. package/node_modules/exponential-backoff/src/backoff.ts +0 -60
  1011. package/node_modules/exponential-backoff/src/delay/always/always.delay.spec.ts +0 -65
  1012. package/node_modules/exponential-backoff/src/delay/always/always.delay.ts +0 -3
  1013. package/node_modules/exponential-backoff/src/delay/delay.base.ts +0 -34
  1014. package/node_modules/exponential-backoff/src/delay/delay.factory.ts +0 -18
  1015. package/node_modules/exponential-backoff/src/delay/delay.interface.ts +0 -4
  1016. package/node_modules/exponential-backoff/src/delay/skip-first/skip-first.delay.ts +0 -15
  1017. package/node_modules/exponential-backoff/src/jitter/full/full.jitter.spec.ts +0 -31
  1018. package/node_modules/exponential-backoff/src/jitter/full/full.jitter.ts +0 -4
  1019. package/node_modules/exponential-backoff/src/jitter/jitter.factory.ts +0 -16
  1020. package/node_modules/exponential-backoff/src/jitter/no/no.jitter.spec.ts +0 -9
  1021. package/node_modules/exponential-backoff/src/jitter/no/no.jitter.ts +0 -3
  1022. package/node_modules/exponential-backoff/src/options.ts +0 -76
  1023. package/node_modules/extend/.editorconfig +0 -20
  1024. package/node_modules/extend/.eslintrc +0 -17
  1025. package/node_modules/extend/.jscs.json +0 -175
  1026. package/node_modules/extend/.travis.yml +0 -230
  1027. package/node_modules/extend/CHANGELOG.md +0 -83
  1028. package/node_modules/extend/LICENSE +0 -23
  1029. package/node_modules/extend/README.md +0 -81
  1030. package/node_modules/extend/component.json +0 -32
  1031. package/node_modules/extend/index.js +0 -117
  1032. package/node_modules/extend/package.json +0 -42
  1033. package/node_modules/extsprintf/.gitmodules +0 -0
  1034. package/node_modules/extsprintf/.npmignore +0 -2
  1035. package/node_modules/extsprintf/LICENSE +0 -19
  1036. package/node_modules/extsprintf/Makefile +0 -24
  1037. package/node_modules/extsprintf/Makefile.targ +0 -285
  1038. package/node_modules/extsprintf/README.md +0 -46
  1039. package/node_modules/extsprintf/jsl.node.conf +0 -137
  1040. package/node_modules/extsprintf/lib/extsprintf.js +0 -183
  1041. package/node_modules/extsprintf/package.json +0 -14
  1042. package/node_modules/fast-deep-equal/LICENSE +0 -21
  1043. package/node_modules/fast-deep-equal/README.md +0 -96
  1044. package/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
  1045. package/node_modules/fast-deep-equal/es6/index.js +0 -72
  1046. package/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
  1047. package/node_modules/fast-deep-equal/es6/react.js +0 -79
  1048. package/node_modules/fast-deep-equal/index.d.ts +0 -4
  1049. package/node_modules/fast-deep-equal/index.js +0 -46
  1050. package/node_modules/fast-deep-equal/package.json +0 -61
  1051. package/node_modules/fast-deep-equal/react.d.ts +0 -2
  1052. package/node_modules/fast-deep-equal/react.js +0 -53
  1053. package/node_modules/fast-fifo/LICENSE +0 -21
  1054. package/node_modules/fast-fifo/README.md +0 -78
  1055. package/node_modules/fast-fifo/fixed-size.js +0 -39
  1056. package/node_modules/fast-fifo/index.js +0 -48
  1057. package/node_modules/fast-fifo/package.json +0 -28
  1058. package/node_modules/fast-json-stable-stringify/.eslintrc.yml +0 -26
  1059. package/node_modules/fast-json-stable-stringify/.github/FUNDING.yml +0 -1
  1060. package/node_modules/fast-json-stable-stringify/.travis.yml +0 -8
  1061. package/node_modules/fast-json-stable-stringify/LICENSE +0 -21
  1062. package/node_modules/fast-json-stable-stringify/README.md +0 -131
  1063. package/node_modules/fast-json-stable-stringify/benchmark/index.js +0 -31
  1064. package/node_modules/fast-json-stable-stringify/benchmark/test.json +0 -137
  1065. package/node_modules/fast-json-stable-stringify/example/key_cmp.js +0 -7
  1066. package/node_modules/fast-json-stable-stringify/example/nested.js +0 -3
  1067. package/node_modules/fast-json-stable-stringify/example/str.js +0 -3
  1068. package/node_modules/fast-json-stable-stringify/example/value_cmp.js +0 -7
  1069. package/node_modules/fast-json-stable-stringify/index.d.ts +0 -4
  1070. package/node_modules/fast-json-stable-stringify/index.js +0 -59
  1071. package/node_modules/fast-json-stable-stringify/package.json +0 -52
  1072. package/node_modules/fast-json-stable-stringify/test/cmp.js +0 -13
  1073. package/node_modules/fast-json-stable-stringify/test/nested.js +0 -44
  1074. package/node_modules/fast-json-stable-stringify/test/str.js +0 -46
  1075. package/node_modules/fast-json-stable-stringify/test/to-json.js +0 -22
  1076. package/node_modules/fdir/LICENSE +0 -7
  1077. package/node_modules/fdir/README.md +0 -91
  1078. package/node_modules/fdir/dist/index.cjs +0 -588
  1079. package/node_modules/fdir/dist/index.d.cts +0 -155
  1080. package/node_modules/fdir/dist/index.d.mts +0 -155
  1081. package/node_modules/fdir/dist/index.mjs +0 -570
  1082. package/node_modules/fdir/package.json +0 -103
  1083. package/node_modules/forever-agent/LICENSE +0 -55
  1084. package/node_modules/forever-agent/README.md +0 -4
  1085. package/node_modules/forever-agent/index.js +0 -138
  1086. package/node_modules/forever-agent/package.json +0 -17
  1087. package/node_modules/form-data/License +0 -19
  1088. package/node_modules/form-data/README.md +0 -234
  1089. package/node_modules/form-data/README.md.bak +0 -234
  1090. package/node_modules/form-data/lib/browser.js +0 -2
  1091. package/node_modules/form-data/lib/form_data.js +0 -457
  1092. package/node_modules/form-data/lib/populate.js +0 -10
  1093. package/node_modules/form-data/package.json +0 -65
  1094. package/node_modules/fs-extra/LICENSE +0 -15
  1095. package/node_modules/fs-extra/README.md +0 -294
  1096. package/node_modules/fs-extra/lib/copy/copy-sync.js +0 -176
  1097. package/node_modules/fs-extra/lib/copy/copy.js +0 -180
  1098. package/node_modules/fs-extra/lib/copy/index.js +0 -7
  1099. package/node_modules/fs-extra/lib/empty/index.js +0 -39
  1100. package/node_modules/fs-extra/lib/ensure/file.js +0 -66
  1101. package/node_modules/fs-extra/lib/ensure/index.js +0 -23
  1102. package/node_modules/fs-extra/lib/ensure/link.js +0 -64
  1103. package/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -101
  1104. package/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -34
  1105. package/node_modules/fs-extra/lib/ensure/symlink.js +0 -92
  1106. package/node_modules/fs-extra/lib/esm.mjs +0 -68
  1107. package/node_modules/fs-extra/lib/fs/index.js +0 -146
  1108. package/node_modules/fs-extra/lib/index.js +0 -16
  1109. package/node_modules/fs-extra/lib/json/index.js +0 -16
  1110. package/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
  1111. package/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
  1112. package/node_modules/fs-extra/lib/json/output-json.js +0 -12
  1113. package/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
  1114. package/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -27
  1115. package/node_modules/fs-extra/lib/mkdirs/utils.js +0 -21
  1116. package/node_modules/fs-extra/lib/move/index.js +0 -7
  1117. package/node_modules/fs-extra/lib/move/move-sync.js +0 -55
  1118. package/node_modules/fs-extra/lib/move/move.js +0 -59
  1119. package/node_modules/fs-extra/lib/output-file/index.js +0 -31
  1120. package/node_modules/fs-extra/lib/path-exists/index.js +0 -12
  1121. package/node_modules/fs-extra/lib/remove/index.js +0 -17
  1122. package/node_modules/fs-extra/lib/util/async.js +0 -29
  1123. package/node_modules/fs-extra/lib/util/stat.js +0 -159
  1124. package/node_modules/fs-extra/lib/util/utimes.js +0 -53
  1125. package/node_modules/fs-extra/package.json +0 -71
  1126. package/node_modules/get-caller-file/LICENSE.md +0 -6
  1127. package/node_modules/get-caller-file/README.md +0 -41
  1128. package/node_modules/get-caller-file/index.d.ts +0 -2
  1129. package/node_modules/get-caller-file/index.js +0 -22
  1130. package/node_modules/get-caller-file/index.js.map +0 -1
  1131. package/node_modules/get-caller-file/package.json +0 -42
  1132. package/node_modules/get-east-asian-width/index.d.ts +0 -60
  1133. package/node_modules/get-east-asian-width/index.js +0 -30
  1134. package/node_modules/get-east-asian-width/license +0 -9
  1135. package/node_modules/get-east-asian-width/lookup-data.js +0 -21
  1136. package/node_modules/get-east-asian-width/lookup.js +0 -138
  1137. package/node_modules/get-east-asian-width/package.json +0 -71
  1138. package/node_modules/get-east-asian-width/readme.md +0 -65
  1139. package/node_modules/get-east-asian-width/utilities.js +0 -24
  1140. package/node_modules/getpass/.npmignore +0 -8
  1141. package/node_modules/getpass/.travis.yml +0 -9
  1142. package/node_modules/getpass/LICENSE +0 -18
  1143. package/node_modules/getpass/README.md +0 -32
  1144. package/node_modules/getpass/lib/index.js +0 -123
  1145. package/node_modules/getpass/package.json +0 -18
  1146. package/node_modules/global-directory/index.d.ts +0 -58
  1147. package/node_modules/global-directory/index.js +0 -121
  1148. package/node_modules/global-directory/license +0 -9
  1149. package/node_modules/global-directory/node_modules/ini/LICENSE +0 -15
  1150. package/node_modules/global-directory/node_modules/ini/README.md +0 -125
  1151. package/node_modules/global-directory/node_modules/ini/lib/ini.js +0 -278
  1152. package/node_modules/global-directory/node_modules/ini/package.json +0 -45
  1153. package/node_modules/global-directory/package.json +0 -61
  1154. package/node_modules/global-directory/readme.md +0 -60
  1155. package/node_modules/graceful-fs/LICENSE +0 -15
  1156. package/node_modules/graceful-fs/README.md +0 -143
  1157. package/node_modules/graceful-fs/clone.js +0 -23
  1158. package/node_modules/graceful-fs/graceful-fs.js +0 -448
  1159. package/node_modules/graceful-fs/legacy-streams.js +0 -118
  1160. package/node_modules/graceful-fs/package.json +0 -53
  1161. package/node_modules/graceful-fs/polyfills.js +0 -355
  1162. package/node_modules/gunzip-maybe/.travis.yml +0 -5
  1163. package/node_modules/gunzip-maybe/LICENSE +0 -21
  1164. package/node_modules/gunzip-maybe/README.md +0 -35
  1165. package/node_modules/gunzip-maybe/bin.js +0 -18
  1166. package/node_modules/gunzip-maybe/index.js +0 -32
  1167. package/node_modules/gunzip-maybe/package.json +0 -42
  1168. package/node_modules/gunzip-maybe/test.js +0 -70
  1169. package/node_modules/har-schema/LICENSE +0 -13
  1170. package/node_modules/har-schema/README.md +0 -49
  1171. package/node_modules/har-schema/lib/afterRequest.json +0 -30
  1172. package/node_modules/har-schema/lib/beforeRequest.json +0 -30
  1173. package/node_modules/har-schema/lib/browser.json +0 -20
  1174. package/node_modules/har-schema/lib/cache.json +0 -21
  1175. package/node_modules/har-schema/lib/content.json +0 -29
  1176. package/node_modules/har-schema/lib/cookie.json +0 -36
  1177. package/node_modules/har-schema/lib/creator.json +0 -20
  1178. package/node_modules/har-schema/lib/entry.json +0 -53
  1179. package/node_modules/har-schema/lib/har.json +0 -13
  1180. package/node_modules/har-schema/lib/header.json +0 -20
  1181. package/node_modules/har-schema/lib/index.js +0 -22
  1182. package/node_modules/har-schema/lib/log.json +0 -36
  1183. package/node_modules/har-schema/lib/page.json +0 -32
  1184. package/node_modules/har-schema/lib/pageTimings.json +0 -18
  1185. package/node_modules/har-schema/lib/postData.json +0 -43
  1186. package/node_modules/har-schema/lib/query.json +0 -20
  1187. package/node_modules/har-schema/lib/request.json +0 -57
  1188. package/node_modules/har-schema/lib/response.json +0 -54
  1189. package/node_modules/har-schema/lib/timings.json +0 -42
  1190. package/node_modules/har-schema/package.json +0 -54
  1191. package/node_modules/har-validator/LICENSE +0 -9
  1192. package/node_modules/har-validator/README.md +0 -43
  1193. package/node_modules/har-validator/lib/async.js +0 -105
  1194. package/node_modules/har-validator/lib/error.js +0 -17
  1195. package/node_modules/har-validator/lib/promise.js +0 -102
  1196. package/node_modules/har-validator/package.json +0 -43
  1197. package/node_modules/hosted-git-info/LICENSE +0 -13
  1198. package/node_modules/hosted-git-info/README.md +0 -138
  1199. package/node_modules/hosted-git-info/lib/from-url.js +0 -122
  1200. package/node_modules/hosted-git-info/lib/hosts.js +0 -229
  1201. package/node_modules/hosted-git-info/lib/index.js +0 -227
  1202. package/node_modules/hosted-git-info/lib/parse-url.js +0 -79
  1203. package/node_modules/hosted-git-info/package.json +0 -57
  1204. package/node_modules/http-signature/.dir-locals.el +0 -6
  1205. package/node_modules/http-signature/.npmignore +0 -7
  1206. package/node_modules/http-signature/CHANGES.md +0 -46
  1207. package/node_modules/http-signature/LICENSE +0 -18
  1208. package/node_modules/http-signature/README.md +0 -79
  1209. package/node_modules/http-signature/http_signing.md +0 -363
  1210. package/node_modules/http-signature/lib/index.js +0 -29
  1211. package/node_modules/http-signature/lib/parser.js +0 -315
  1212. package/node_modules/http-signature/lib/signer.js +0 -401
  1213. package/node_modules/http-signature/lib/utils.js +0 -112
  1214. package/node_modules/http-signature/lib/verify.js +0 -88
  1215. package/node_modules/http-signature/package.json +0 -39
  1216. package/node_modules/inherits/LICENSE +0 -16
  1217. package/node_modules/inherits/README.md +0 -42
  1218. package/node_modules/inherits/inherits.js +0 -9
  1219. package/node_modules/inherits/inherits_browser.js +0 -27
  1220. package/node_modules/inherits/package.json +0 -29
  1221. package/node_modules/ini/LICENSE +0 -15
  1222. package/node_modules/ini/README.md +0 -102
  1223. package/node_modules/ini/ini.js +0 -206
  1224. package/node_modules/ini/package.json +0 -33
  1225. package/node_modules/is-deflate/.npmignore +0 -1
  1226. package/node_modules/is-deflate/.travis.yml +0 -3
  1227. package/node_modules/is-deflate/LICENSE +0 -21
  1228. package/node_modules/is-deflate/README.md +0 -34
  1229. package/node_modules/is-deflate/index.js +0 -6
  1230. package/node_modules/is-deflate/package.json +0 -34
  1231. package/node_modules/is-gzip/README.md +0 -23
  1232. package/node_modules/is-gzip/index.js +0 -16
  1233. package/node_modules/is-gzip/package.json +0 -35
  1234. package/node_modules/is-in-ci/cli.js +0 -5
  1235. package/node_modules/is-in-ci/index.d.ts +0 -15
  1236. package/node_modules/is-in-ci/index.js +0 -11
  1237. package/node_modules/is-in-ci/license +0 -9
  1238. package/node_modules/is-in-ci/package.json +0 -49
  1239. package/node_modules/is-in-ci/readme.md +0 -44
  1240. package/node_modules/is-installed-globally/index.d.ts +0 -19
  1241. package/node_modules/is-installed-globally/index.js +0 -20
  1242. package/node_modules/is-installed-globally/license +0 -9
  1243. package/node_modules/is-installed-globally/node_modules/is-path-inside/index.d.ts +0 -25
  1244. package/node_modules/is-installed-globally/node_modules/is-path-inside/index.js +0 -12
  1245. package/node_modules/is-installed-globally/node_modules/is-path-inside/license +0 -9
  1246. package/node_modules/is-installed-globally/node_modules/is-path-inside/package.json +0 -38
  1247. package/node_modules/is-installed-globally/node_modules/is-path-inside/readme.md +0 -59
  1248. package/node_modules/is-installed-globally/package.json +0 -60
  1249. package/node_modules/is-installed-globally/readme.md +0 -31
  1250. package/node_modules/is-npm/index.d.ts +0 -84
  1251. package/node_modules/is-npm/index.js +0 -11
  1252. package/node_modules/is-npm/license +0 -9
  1253. package/node_modules/is-npm/package.json +0 -46
  1254. package/node_modules/is-npm/readme.md +0 -102
  1255. package/node_modules/is-typedarray/LICENSE.md +0 -18
  1256. package/node_modules/is-typedarray/README.md +0 -16
  1257. package/node_modules/is-typedarray/index.js +0 -41
  1258. package/node_modules/is-typedarray/package.json +0 -30
  1259. package/node_modules/is-typedarray/test.js +0 -34
  1260. package/node_modules/isarray/.npmignore +0 -1
  1261. package/node_modules/isarray/.travis.yml +0 -4
  1262. package/node_modules/isarray/Makefile +0 -6
  1263. package/node_modules/isarray/README.md +0 -60
  1264. package/node_modules/isarray/component.json +0 -19
  1265. package/node_modules/isarray/index.js +0 -5
  1266. package/node_modules/isarray/package.json +0 -45
  1267. package/node_modules/isarray/test.js +0 -20
  1268. package/node_modules/isexe/LICENSE.md +0 -55
  1269. package/node_modules/isexe/README.md +0 -80
  1270. package/node_modules/isexe/dist/commonjs/index.d.ts +0 -14
  1271. package/node_modules/isexe/dist/commonjs/index.d.ts.map +0 -1
  1272. package/node_modules/isexe/dist/commonjs/index.js +0 -56
  1273. package/node_modules/isexe/dist/commonjs/index.js.map +0 -1
  1274. package/node_modules/isexe/dist/commonjs/index.min.js +0 -2
  1275. package/node_modules/isexe/dist/commonjs/index.min.js.map +0 -7
  1276. package/node_modules/isexe/dist/commonjs/options.d.ts +0 -32
  1277. package/node_modules/isexe/dist/commonjs/options.d.ts.map +0 -1
  1278. package/node_modules/isexe/dist/commonjs/options.js +0 -3
  1279. package/node_modules/isexe/dist/commonjs/options.js.map +0 -1
  1280. package/node_modules/isexe/dist/commonjs/package.json +0 -3
  1281. package/node_modules/isexe/dist/commonjs/posix.d.ts +0 -18
  1282. package/node_modules/isexe/dist/commonjs/posix.d.ts.map +0 -1
  1283. package/node_modules/isexe/dist/commonjs/posix.js +0 -67
  1284. package/node_modules/isexe/dist/commonjs/posix.js.map +0 -1
  1285. package/node_modules/isexe/dist/commonjs/win32.d.ts +0 -18
  1286. package/node_modules/isexe/dist/commonjs/win32.d.ts.map +0 -1
  1287. package/node_modules/isexe/dist/commonjs/win32.js +0 -63
  1288. package/node_modules/isexe/dist/commonjs/win32.js.map +0 -1
  1289. package/node_modules/isexe/dist/esm/index.d.ts +0 -14
  1290. package/node_modules/isexe/dist/esm/index.d.ts.map +0 -1
  1291. package/node_modules/isexe/dist/esm/index.js +0 -16
  1292. package/node_modules/isexe/dist/esm/index.js.map +0 -1
  1293. package/node_modules/isexe/dist/esm/index.min.js +0 -2
  1294. package/node_modules/isexe/dist/esm/index.min.js.map +0 -7
  1295. package/node_modules/isexe/dist/esm/options.d.ts +0 -32
  1296. package/node_modules/isexe/dist/esm/options.d.ts.map +0 -1
  1297. package/node_modules/isexe/dist/esm/options.js +0 -2
  1298. package/node_modules/isexe/dist/esm/options.js.map +0 -1
  1299. package/node_modules/isexe/dist/esm/package.json +0 -3
  1300. package/node_modules/isexe/dist/esm/posix.d.ts +0 -18
  1301. package/node_modules/isexe/dist/esm/posix.d.ts.map +0 -1
  1302. package/node_modules/isexe/dist/esm/posix.js +0 -62
  1303. package/node_modules/isexe/dist/esm/posix.js.map +0 -1
  1304. package/node_modules/isexe/dist/esm/win32.d.ts +0 -18
  1305. package/node_modules/isexe/dist/esm/win32.d.ts.map +0 -1
  1306. package/node_modules/isexe/dist/esm/win32.js +0 -58
  1307. package/node_modules/isexe/dist/esm/win32.js.map +0 -1
  1308. package/node_modules/isexe/package.json +0 -78
  1309. package/node_modules/isstream/.jshintrc +0 -59
  1310. package/node_modules/isstream/.npmignore +0 -1
  1311. package/node_modules/isstream/.travis.yml +0 -12
  1312. package/node_modules/isstream/LICENSE.md +0 -11
  1313. package/node_modules/isstream/README.md +0 -66
  1314. package/node_modules/isstream/isstream.js +0 -27
  1315. package/node_modules/isstream/package.json +0 -33
  1316. package/node_modules/isstream/test.js +0 -168
  1317. package/node_modules/jsbn/.npmignore +0 -2
  1318. package/node_modules/jsbn/LICENSE +0 -40
  1319. package/node_modules/jsbn/README.md +0 -175
  1320. package/node_modules/jsbn/example.html +0 -12
  1321. package/node_modules/jsbn/example.js +0 -3
  1322. package/node_modules/jsbn/index.js +0 -1357
  1323. package/node_modules/jsbn/package.json +0 -21
  1324. package/node_modules/json-schema/LICENSE +0 -195
  1325. package/node_modules/json-schema/README.md +0 -3
  1326. package/node_modules/json-schema/lib/links.js +0 -65
  1327. package/node_modules/json-schema/lib/validate.js +0 -271
  1328. package/node_modules/json-schema/package.json +0 -24
  1329. package/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
  1330. package/node_modules/json-schema-traverse/.travis.yml +0 -8
  1331. package/node_modules/json-schema-traverse/LICENSE +0 -21
  1332. package/node_modules/json-schema-traverse/README.md +0 -83
  1333. package/node_modules/json-schema-traverse/index.js +0 -89
  1334. package/node_modules/json-schema-traverse/package.json +0 -43
  1335. package/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
  1336. package/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
  1337. package/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
  1338. package/node_modules/json-stringify-safe/.npmignore +0 -1
  1339. package/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
  1340. package/node_modules/json-stringify-safe/LICENSE +0 -15
  1341. package/node_modules/json-stringify-safe/Makefile +0 -35
  1342. package/node_modules/json-stringify-safe/README.md +0 -52
  1343. package/node_modules/json-stringify-safe/package.json +0 -31
  1344. package/node_modules/json-stringify-safe/stringify.js +0 -27
  1345. package/node_modules/json-stringify-safe/test/mocha.opts +0 -2
  1346. package/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
  1347. package/node_modules/jsonfile/LICENSE +0 -15
  1348. package/node_modules/jsonfile/README.md +0 -230
  1349. package/node_modules/jsonfile/index.js +0 -88
  1350. package/node_modules/jsonfile/package.json +0 -40
  1351. package/node_modules/jsonfile/utils.js +0 -18
  1352. package/node_modules/jsprim/CHANGES.md +0 -53
  1353. package/node_modules/jsprim/CONTRIBUTING.md +0 -19
  1354. package/node_modules/jsprim/LICENSE +0 -19
  1355. package/node_modules/jsprim/README.md +0 -287
  1356. package/node_modules/jsprim/lib/jsprim.js +0 -735
  1357. package/node_modules/jsprim/package.json +0 -20
  1358. package/node_modules/ky/distribution/core/Ky.d.ts +0 -8
  1359. package/node_modules/ky/distribution/core/Ky.js +0 -395
  1360. package/node_modules/ky/distribution/core/Ky.js.map +0 -1
  1361. package/node_modules/ky/distribution/core/constants.d.ts +0 -205
  1362. package/node_modules/ky/distribution/core/constants.js +0 -185
  1363. package/node_modules/ky/distribution/core/constants.js.map +0 -1
  1364. package/node_modules/ky/distribution/errors/ForceRetryError.d.ts +0 -12
  1365. package/node_modules/ky/distribution/errors/ForceRetryError.js +0 -23
  1366. package/node_modules/ky/distribution/errors/ForceRetryError.js.map +0 -1
  1367. package/node_modules/ky/distribution/errors/HTTPError.d.ts +0 -9
  1368. package/node_modules/ky/distribution/errors/HTTPError.js +0 -17
  1369. package/node_modules/ky/distribution/errors/HTTPError.js.map +0 -1
  1370. package/node_modules/ky/distribution/errors/NonError.d.ts +0 -10
  1371. package/node_modules/ky/distribution/errors/NonError.js +0 -27
  1372. package/node_modules/ky/distribution/errors/NonError.js.map +0 -1
  1373. package/node_modules/ky/distribution/errors/TimeoutError.d.ts +0 -5
  1374. package/node_modules/ky/distribution/errors/TimeoutError.js +0 -9
  1375. package/node_modules/ky/distribution/errors/TimeoutError.js.map +0 -1
  1376. package/node_modules/ky/distribution/index.d.ts +0 -14
  1377. package/node_modules/ky/distribution/index.js +0 -31
  1378. package/node_modules/ky/distribution/index.js.map +0 -1
  1379. package/node_modules/ky/distribution/types/ResponsePromise.d.ts +0 -40
  1380. package/node_modules/ky/distribution/types/ResponsePromise.js +0 -2
  1381. package/node_modules/ky/distribution/types/ResponsePromise.js.map +0 -1
  1382. package/node_modules/ky/distribution/types/common.d.ts +0 -7
  1383. package/node_modules/ky/distribution/types/common.js +0 -2
  1384. package/node_modules/ky/distribution/types/common.js.map +0 -1
  1385. package/node_modules/ky/distribution/types/hooks.d.ts +0 -247
  1386. package/node_modules/ky/distribution/types/hooks.js +0 -2
  1387. package/node_modules/ky/distribution/types/hooks.js.map +0 -1
  1388. package/node_modules/ky/distribution/types/ky.d.ts +0 -175
  1389. package/node_modules/ky/distribution/types/ky.js +0 -2
  1390. package/node_modules/ky/distribution/types/ky.js.map +0 -1
  1391. package/node_modules/ky/distribution/types/options.d.ts +0 -352
  1392. package/node_modules/ky/distribution/types/options.js +0 -2
  1393. package/node_modules/ky/distribution/types/options.js.map +0 -1
  1394. package/node_modules/ky/distribution/types/request.d.ts +0 -3
  1395. package/node_modules/ky/distribution/types/request.js +0 -2
  1396. package/node_modules/ky/distribution/types/request.js.map +0 -1
  1397. package/node_modules/ky/distribution/types/response.d.ts +0 -3
  1398. package/node_modules/ky/distribution/types/response.js +0 -2
  1399. package/node_modules/ky/distribution/types/response.js.map +0 -1
  1400. package/node_modules/ky/distribution/types/retry.d.ts +0 -159
  1401. package/node_modules/ky/distribution/types/retry.js +0 -2
  1402. package/node_modules/ky/distribution/types/retry.js.map +0 -1
  1403. package/node_modules/ky/distribution/utils/body.d.ts +0 -4
  1404. package/node_modules/ky/distribution/utils/body.js +0 -103
  1405. package/node_modules/ky/distribution/utils/body.js.map +0 -1
  1406. package/node_modules/ky/distribution/utils/delay.d.ts +0 -5
  1407. package/node_modules/ky/distribution/utils/delay.js +0 -18
  1408. package/node_modules/ky/distribution/utils/delay.js.map +0 -1
  1409. package/node_modules/ky/distribution/utils/is.d.ts +0 -1
  1410. package/node_modules/ky/distribution/utils/is.js +0 -3
  1411. package/node_modules/ky/distribution/utils/is.js.map +0 -1
  1412. package/node_modules/ky/distribution/utils/merge.d.ts +0 -6
  1413. package/node_modules/ky/distribution/utils/merge.js +0 -154
  1414. package/node_modules/ky/distribution/utils/merge.js.map +0 -1
  1415. package/node_modules/ky/distribution/utils/normalize.d.ts +0 -5
  1416. package/node_modules/ky/distribution/utils/normalize.js +0 -37
  1417. package/node_modules/ky/distribution/utils/normalize.js.map +0 -1
  1418. package/node_modules/ky/distribution/utils/options.d.ts +0 -3
  1419. package/node_modules/ky/distribution/utils/options.js +0 -41
  1420. package/node_modules/ky/distribution/utils/options.js.map +0 -1
  1421. package/node_modules/ky/distribution/utils/timeout.d.ts +0 -5
  1422. package/node_modules/ky/distribution/utils/timeout.js +0 -20
  1423. package/node_modules/ky/distribution/utils/timeout.js.map +0 -1
  1424. package/node_modules/ky/distribution/utils/type-guards.d.ts +0 -88
  1425. package/node_modules/ky/distribution/utils/type-guards.js +0 -97
  1426. package/node_modules/ky/distribution/utils/type-guards.js.map +0 -1
  1427. package/node_modules/ky/distribution/utils/types.d.ts +0 -6
  1428. package/node_modules/ky/distribution/utils/types.js +0 -2
  1429. package/node_modules/ky/distribution/utils/types.js.map +0 -1
  1430. package/node_modules/ky/license +0 -9
  1431. package/node_modules/ky/package.json +0 -116
  1432. package/node_modules/ky/readme.md +0 -1356
  1433. package/node_modules/latest-version/index.d.ts +0 -25
  1434. package/node_modules/latest-version/index.js +0 -8
  1435. package/node_modules/latest-version/license +0 -9
  1436. package/node_modules/latest-version/package.json +0 -49
  1437. package/node_modules/latest-version/readme.md +0 -34
  1438. package/node_modules/lru-cache/LICENSE.md +0 -55
  1439. package/node_modules/lru-cache/README.md +0 -469
  1440. package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel-browser.d.ts.map +0 -1
  1441. package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel-browser.js.map +0 -1
  1442. package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.d.ts +0 -5
  1443. package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.js +0 -7
  1444. package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts +0 -1400
  1445. package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts.map +0 -1
  1446. package/node_modules/lru-cache/dist/commonjs/browser/index.js +0 -1726
  1447. package/node_modules/lru-cache/dist/commonjs/browser/index.js.map +0 -1
  1448. package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +0 -2
  1449. package/node_modules/lru-cache/dist/commonjs/browser/index.min.js.map +0 -7
  1450. package/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts +0 -12
  1451. package/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts.map +0 -1
  1452. package/node_modules/lru-cache/dist/commonjs/browser/perf.js +0 -10
  1453. package/node_modules/lru-cache/dist/commonjs/browser/perf.js.map +0 -1
  1454. package/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.cjs.map +0 -1
  1455. package/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.d.cts.map +0 -1
  1456. package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.d.ts +0 -5
  1457. package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +0 -7
  1458. package/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1400
  1459. package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
  1460. package/node_modules/lru-cache/dist/commonjs/index.js +0 -1726
  1461. package/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
  1462. package/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
  1463. package/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
  1464. package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel-node.d.ts.map +0 -1
  1465. package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel-node.js.map +0 -1
  1466. package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.d.ts +0 -5
  1467. package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.js +0 -9
  1468. package/node_modules/lru-cache/dist/commonjs/node/index.d.ts +0 -1400
  1469. package/node_modules/lru-cache/dist/commonjs/node/index.d.ts.map +0 -1
  1470. package/node_modules/lru-cache/dist/commonjs/node/index.js +0 -1726
  1471. package/node_modules/lru-cache/dist/commonjs/node/index.js.map +0 -1
  1472. package/node_modules/lru-cache/dist/commonjs/node/index.min.js +0 -2
  1473. package/node_modules/lru-cache/dist/commonjs/node/index.min.js.map +0 -7
  1474. package/node_modules/lru-cache/dist/commonjs/node/perf.d.ts +0 -12
  1475. package/node_modules/lru-cache/dist/commonjs/node/perf.d.ts.map +0 -1
  1476. package/node_modules/lru-cache/dist/commonjs/node/perf.js +0 -10
  1477. package/node_modules/lru-cache/dist/commonjs/node/perf.js.map +0 -1
  1478. package/node_modules/lru-cache/dist/commonjs/package.json +0 -3
  1479. package/node_modules/lru-cache/dist/commonjs/perf.d.ts +0 -12
  1480. package/node_modules/lru-cache/dist/commonjs/perf.d.ts.map +0 -1
  1481. package/node_modules/lru-cache/dist/commonjs/perf.js +0 -10
  1482. package/node_modules/lru-cache/dist/commonjs/perf.js.map +0 -1
  1483. package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel-browser.d.ts.map +0 -1
  1484. package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel-browser.js.map +0 -1
  1485. package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.d.ts +0 -5
  1486. package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.js +0 -4
  1487. package/node_modules/lru-cache/dist/esm/browser/index.d.ts +0 -1400
  1488. package/node_modules/lru-cache/dist/esm/browser/index.d.ts.map +0 -1
  1489. package/node_modules/lru-cache/dist/esm/browser/index.js +0 -1722
  1490. package/node_modules/lru-cache/dist/esm/browser/index.js.map +0 -1
  1491. package/node_modules/lru-cache/dist/esm/browser/index.min.js +0 -2
  1492. package/node_modules/lru-cache/dist/esm/browser/index.min.js.map +0 -7
  1493. package/node_modules/lru-cache/dist/esm/browser/perf.d.ts +0 -12
  1494. package/node_modules/lru-cache/dist/esm/browser/perf.d.ts.map +0 -1
  1495. package/node_modules/lru-cache/dist/esm/browser/perf.js +0 -7
  1496. package/node_modules/lru-cache/dist/esm/browser/perf.js.map +0 -1
  1497. package/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.d.mts.map +0 -1
  1498. package/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.mjs.map +0 -1
  1499. package/node_modules/lru-cache/dist/esm/diagnostics-channel.d.ts +0 -5
  1500. package/node_modules/lru-cache/dist/esm/diagnostics-channel.js +0 -19
  1501. package/node_modules/lru-cache/dist/esm/index.d.ts +0 -1400
  1502. package/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
  1503. package/node_modules/lru-cache/dist/esm/index.js +0 -1722
  1504. package/node_modules/lru-cache/dist/esm/index.js.map +0 -1
  1505. package/node_modules/lru-cache/dist/esm/index.min.js +0 -2
  1506. package/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
  1507. package/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.d.ts.map +0 -1
  1508. package/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.js.map +0 -1
  1509. package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.d.ts +0 -5
  1510. package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +0 -6
  1511. package/node_modules/lru-cache/dist/esm/node/index.d.ts +0 -1400
  1512. package/node_modules/lru-cache/dist/esm/node/index.d.ts.map +0 -1
  1513. package/node_modules/lru-cache/dist/esm/node/index.js +0 -1722
  1514. package/node_modules/lru-cache/dist/esm/node/index.js.map +0 -1
  1515. package/node_modules/lru-cache/dist/esm/node/index.min.js +0 -2
  1516. package/node_modules/lru-cache/dist/esm/node/index.min.js.map +0 -7
  1517. package/node_modules/lru-cache/dist/esm/node/perf.d.ts +0 -12
  1518. package/node_modules/lru-cache/dist/esm/node/perf.d.ts.map +0 -1
  1519. package/node_modules/lru-cache/dist/esm/node/perf.js +0 -7
  1520. package/node_modules/lru-cache/dist/esm/node/perf.js.map +0 -1
  1521. package/node_modules/lru-cache/dist/esm/package.json +0 -3
  1522. package/node_modules/lru-cache/dist/esm/perf.d.ts +0 -12
  1523. package/node_modules/lru-cache/dist/esm/perf.d.ts.map +0 -1
  1524. package/node_modules/lru-cache/dist/esm/perf.js +0 -7
  1525. package/node_modules/lru-cache/dist/esm/perf.js.map +0 -1
  1526. package/node_modules/lru-cache/package.json +0 -154
  1527. package/node_modules/mime-db/HISTORY.md +0 -507
  1528. package/node_modules/mime-db/LICENSE +0 -23
  1529. package/node_modules/mime-db/README.md +0 -100
  1530. package/node_modules/mime-db/db.json +0 -8519
  1531. package/node_modules/mime-db/index.js +0 -12
  1532. package/node_modules/mime-db/package.json +0 -60
  1533. package/node_modules/mime-types/HISTORY.md +0 -397
  1534. package/node_modules/mime-types/LICENSE +0 -23
  1535. package/node_modules/mime-types/README.md +0 -113
  1536. package/node_modules/mime-types/index.js +0 -188
  1537. package/node_modules/mime-types/package.json +0 -44
  1538. package/node_modules/minimist/.eslintrc +0 -29
  1539. package/node_modules/minimist/.github/FUNDING.yml +0 -12
  1540. package/node_modules/minimist/.nycrc +0 -14
  1541. package/node_modules/minimist/CHANGELOG.md +0 -298
  1542. package/node_modules/minimist/LICENSE +0 -18
  1543. package/node_modules/minimist/README.md +0 -121
  1544. package/node_modules/minimist/example/parse.js +0 -4
  1545. package/node_modules/minimist/index.js +0 -263
  1546. package/node_modules/minimist/package.json +0 -75
  1547. package/node_modules/minimist/test/all_bool.js +0 -34
  1548. package/node_modules/minimist/test/bool.js +0 -177
  1549. package/node_modules/minimist/test/dash.js +0 -43
  1550. package/node_modules/minimist/test/default_bool.js +0 -37
  1551. package/node_modules/minimist/test/dotted.js +0 -24
  1552. package/node_modules/minimist/test/kv_short.js +0 -32
  1553. package/node_modules/minimist/test/long.js +0 -33
  1554. package/node_modules/minimist/test/num.js +0 -38
  1555. package/node_modules/minimist/test/parse.js +0 -209
  1556. package/node_modules/minimist/test/parse_modified.js +0 -11
  1557. package/node_modules/minimist/test/proto.js +0 -64
  1558. package/node_modules/minimist/test/short.js +0 -69
  1559. package/node_modules/minimist/test/stop_early.js +0 -17
  1560. package/node_modules/minimist/test/unknown.js +0 -104
  1561. package/node_modules/minimist/test/whitespace.js +0 -10
  1562. package/node_modules/minipass/LICENSE.md +0 -55
  1563. package/node_modules/minipass/README.md +0 -825
  1564. package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
  1565. package/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  1566. package/node_modules/minipass/dist/commonjs/index.js +0 -1038
  1567. package/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  1568. package/node_modules/minipass/dist/commonjs/package.json +0 -3
  1569. package/node_modules/minipass/dist/esm/index.d.ts +0 -545
  1570. package/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  1571. package/node_modules/minipass/dist/esm/index.js +0 -1020
  1572. package/node_modules/minipass/dist/esm/index.js.map +0 -1
  1573. package/node_modules/minipass/dist/esm/package.json +0 -3
  1574. package/node_modules/minipass/package.json +0 -77
  1575. package/node_modules/minizlib/LICENSE +0 -26
  1576. package/node_modules/minizlib/README.md +0 -64
  1577. package/node_modules/minizlib/dist/commonjs/constants.d.ts +0 -2
  1578. package/node_modules/minizlib/dist/commonjs/constants.d.ts.map +0 -1
  1579. package/node_modules/minizlib/dist/commonjs/constants.js +0 -123
  1580. package/node_modules/minizlib/dist/commonjs/constants.js.map +0 -1
  1581. package/node_modules/minizlib/dist/commonjs/index.d.ts +0 -99
  1582. package/node_modules/minizlib/dist/commonjs/index.d.ts.map +0 -1
  1583. package/node_modules/minizlib/dist/commonjs/index.js +0 -416
  1584. package/node_modules/minizlib/dist/commonjs/index.js.map +0 -1
  1585. package/node_modules/minizlib/dist/commonjs/package.json +0 -3
  1586. package/node_modules/minizlib/dist/esm/constants.d.ts +0 -2
  1587. package/node_modules/minizlib/dist/esm/constants.d.ts.map +0 -1
  1588. package/node_modules/minizlib/dist/esm/constants.js +0 -117
  1589. package/node_modules/minizlib/dist/esm/constants.js.map +0 -1
  1590. package/node_modules/minizlib/dist/esm/index.d.ts +0 -99
  1591. package/node_modules/minizlib/dist/esm/index.d.ts.map +0 -1
  1592. package/node_modules/minizlib/dist/esm/index.js +0 -363
  1593. package/node_modules/minizlib/dist/esm/index.js.map +0 -1
  1594. package/node_modules/minizlib/dist/esm/package.json +0 -3
  1595. package/node_modules/minizlib/package.json +0 -80
  1596. package/node_modules/node-gyp/.release-please-manifest.json +0 -3
  1597. package/node_modules/node-gyp/CHANGELOG.md +0 -1271
  1598. package/node_modules/node-gyp/CODE_OF_CONDUCT.md +0 -4
  1599. package/node_modules/node-gyp/CONTRIBUTING.md +0 -44
  1600. package/node_modules/node-gyp/LICENSE +0 -24
  1601. package/node_modules/node-gyp/README.md +0 -290
  1602. package/node_modules/node-gyp/SECURITY.md +0 -2
  1603. package/node_modules/node-gyp/addon.gypi +0 -204
  1604. package/node_modules/node-gyp/bin/node-gyp.js +0 -145
  1605. package/node_modules/node-gyp/commitlint.config.mjs +0 -3
  1606. package/node_modules/node-gyp/eslint.config.js +0 -3
  1607. package/node_modules/node-gyp/gyp/.release-please-manifest.json +0 -3
  1608. package/node_modules/node-gyp/gyp/LICENSE +0 -28
  1609. package/node_modules/node-gyp/gyp/data/ninja/build.ninja +0 -4
  1610. package/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  1611. package/node_modules/node-gyp/gyp/docs/GypVsCMake.md +0 -116
  1612. package/node_modules/node-gyp/gyp/docs/Hacking.md +0 -46
  1613. package/node_modules/node-gyp/gyp/docs/InputFormatReference.md +0 -1083
  1614. package/node_modules/node-gyp/gyp/docs/LanguageSpecification.md +0 -430
  1615. package/node_modules/node-gyp/gyp/docs/README.md +0 -27
  1616. package/node_modules/node-gyp/gyp/docs/Testing.md +0 -450
  1617. package/node_modules/node-gyp/gyp/docs/UserDocumentation.md +0 -965
  1618. package/node_modules/node-gyp/gyp/gyp +0 -8
  1619. package/node_modules/node-gyp/gyp/gyp.bat +0 -5
  1620. package/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  1621. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  1622. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  1623. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1283
  1624. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1545
  1625. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  1626. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  1627. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  1628. package/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -607
  1629. package/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -706
  1630. package/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-312.pyc +0 -0
  1631. package/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-312.pyc +0 -0
  1632. package/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-312.pyc +0 -0
  1633. package/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-312.pyc +0 -0
  1634. package/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-312.pyc +0 -0
  1635. package/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -725
  1636. package/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -186
  1637. package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -170
  1638. package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  1639. package/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  1640. package/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  1641. package/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-312.pyc +0 -0
  1642. package/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/make.cpython-312.pyc +0 -0
  1643. package/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  1644. package/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1169
  1645. package/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1316
  1646. package/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  1647. package/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  1648. package/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -461
  1649. package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -88
  1650. package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -55
  1651. package/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2755
  1652. package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3970
  1653. package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  1654. package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2957
  1655. package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -77
  1656. package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1389
  1657. package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  1658. package/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3097
  1659. package/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  1660. package/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -765
  1661. package/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1255
  1662. package/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  1663. package/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  1664. package/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -371
  1665. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1936
  1666. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  1667. package/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -301
  1668. package/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3180
  1669. package/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -64
  1670. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +0 -3
  1671. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +0 -177
  1672. package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +0 -23
  1673. package/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  1674. package/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/__init__.cpython-312.pyc +0 -0
  1675. package/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/_structures.cpython-312.pyc +0 -0
  1676. package/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/version.cpython-312.pyc +0 -0
  1677. package/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -107
  1678. package/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  1679. package/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  1680. package/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  1681. package/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  1682. package/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  1683. package/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -251
  1684. package/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -807
  1685. package/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  1686. package/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  1687. package/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  1688. package/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -541
  1689. package/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  1690. package/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  1691. package/node_modules/node-gyp/gyp/pyproject.toml +0 -116
  1692. package/node_modules/node-gyp/gyp/release-please-config.json +0 -11
  1693. package/node_modules/node-gyp/gyp/test_gyp.py +0 -260
  1694. package/node_modules/node-gyp/lib/Find-VisualStudio.cs +0 -250
  1695. package/node_modules/node-gyp/lib/build.js +0 -230
  1696. package/node_modules/node-gyp/lib/clean.js +0 -15
  1697. package/node_modules/node-gyp/lib/configure.js +0 -328
  1698. package/node_modules/node-gyp/lib/create-config-gypi.js +0 -158
  1699. package/node_modules/node-gyp/lib/download.js +0 -86
  1700. package/node_modules/node-gyp/lib/find-node-directory.js +0 -63
  1701. package/node_modules/node-gyp/lib/find-python.js +0 -304
  1702. package/node_modules/node-gyp/lib/find-visualstudio.js +0 -606
  1703. package/node_modules/node-gyp/lib/install.js +0 -411
  1704. package/node_modules/node-gyp/lib/list.js +0 -26
  1705. package/node_modules/node-gyp/lib/log.js +0 -168
  1706. package/node_modules/node-gyp/lib/node-gyp.js +0 -199
  1707. package/node_modules/node-gyp/lib/process-release.js +0 -144
  1708. package/node_modules/node-gyp/lib/rebuild.js +0 -12
  1709. package/node_modules/node-gyp/lib/remove.js +0 -43
  1710. package/node_modules/node-gyp/lib/util.js +0 -81
  1711. package/node_modules/node-gyp/macOS_Catalina_acid_test.sh +0 -21
  1712. package/node_modules/node-gyp/package.json +0 -54
  1713. package/node_modules/node-gyp/release-please-config.json +0 -40
  1714. package/node_modules/node-gyp/src/win_delay_load_hook.cc +0 -41
  1715. package/node_modules/nopt/LICENSE +0 -15
  1716. package/node_modules/nopt/README.md +0 -212
  1717. package/node_modules/nopt/bin/nopt.js +0 -29
  1718. package/node_modules/nopt/lib/nopt-lib.js +0 -478
  1719. package/node_modules/nopt/lib/nopt.js +0 -32
  1720. package/node_modules/nopt/lib/type-defs.js +0 -86
  1721. package/node_modules/nopt/package.json +0 -50
  1722. package/node_modules/npm-package-arg/LICENSE +0 -15
  1723. package/node_modules/npm-package-arg/README.md +0 -104
  1724. package/node_modules/npm-package-arg/lib/npa.js +0 -479
  1725. package/node_modules/npm-package-arg/package.json +0 -60
  1726. package/node_modules/npm-path/.babelrc +0 -3
  1727. package/node_modules/npm-path/.travis.yml +0 -45
  1728. package/node_modules/npm-path/LICENSE +0 -21
  1729. package/node_modules/npm-path/Readme.md +0 -163
  1730. package/node_modules/npm-path/bin/npm-path +0 -5
  1731. package/node_modules/npm-path/build-test/index.js +0 -233
  1732. package/node_modules/npm-path/find-prefix.js +0 -74
  1733. package/node_modules/npm-path/index.js +0 -219
  1734. package/node_modules/npm-path/node_modules/isexe/.npmignore +0 -2
  1735. package/node_modules/npm-path/node_modules/isexe/LICENSE +0 -15
  1736. package/node_modules/npm-path/node_modules/isexe/README.md +0 -51
  1737. package/node_modules/npm-path/node_modules/isexe/index.js +0 -57
  1738. package/node_modules/npm-path/node_modules/isexe/mode.js +0 -41
  1739. package/node_modules/npm-path/node_modules/isexe/package.json +0 -31
  1740. package/node_modules/npm-path/node_modules/isexe/test/basic.js +0 -221
  1741. package/node_modules/npm-path/node_modules/isexe/windows.js +0 -42
  1742. package/node_modules/npm-path/node_modules/which/CHANGELOG.md +0 -152
  1743. package/node_modules/npm-path/node_modules/which/LICENSE +0 -15
  1744. package/node_modules/npm-path/node_modules/which/README.md +0 -51
  1745. package/node_modules/npm-path/node_modules/which/bin/which +0 -52
  1746. package/node_modules/npm-path/node_modules/which/package.json +0 -30
  1747. package/node_modules/npm-path/node_modules/which/which.js +0 -135
  1748. package/node_modules/npm-path/package.json +0 -54
  1749. package/node_modules/npm-path/src/find-prefix.js +0 -76
  1750. package/node_modules/npm-path/src/index.js +0 -217
  1751. package/node_modules/npm-path/test/index.js +0 -238
  1752. package/node_modules/oauth-sign/LICENSE +0 -55
  1753. package/node_modules/oauth-sign/README.md +0 -11
  1754. package/node_modules/oauth-sign/index.js +0 -146
  1755. package/node_modules/oauth-sign/package.json +0 -23
  1756. package/node_modules/once/LICENSE +0 -15
  1757. package/node_modules/once/README.md +0 -79
  1758. package/node_modules/once/once.js +0 -42
  1759. package/node_modules/once/package.json +0 -33
  1760. package/node_modules/package-json/index.d.ts +0 -303
  1761. package/node_modules/package-json/index.js +0 -92
  1762. package/node_modules/package-json/license +0 -9
  1763. package/node_modules/package-json/package.json +0 -53
  1764. package/node_modules/package-json/readme.md +0 -106
  1765. package/node_modules/pako/CHANGELOG.md +0 -90
  1766. package/node_modules/pako/LICENSE +0 -21
  1767. package/node_modules/pako/README.md +0 -176
  1768. package/node_modules/pako/dist/pako.js +0 -6606
  1769. package/node_modules/pako/dist/pako.min.js +0 -3
  1770. package/node_modules/pako/dist/pako_deflate.js +0 -3879
  1771. package/node_modules/pako/dist/pako_deflate.min.js +0 -2
  1772. package/node_modules/pako/dist/pako_inflate.js +0 -3127
  1773. package/node_modules/pako/dist/pako_inflate.min.js +0 -2
  1774. package/node_modules/pako/index.js +0 -14
  1775. package/node_modules/pako/lib/deflate.js +0 -400
  1776. package/node_modules/pako/lib/inflate.js +0 -418
  1777. package/node_modules/pako/lib/utils/common.js +0 -102
  1778. package/node_modules/pako/lib/utils/strings.js +0 -185
  1779. package/node_modules/pako/lib/zlib/adler32.js +0 -32
  1780. package/node_modules/pako/lib/zlib/constants.js +0 -50
  1781. package/node_modules/pako/lib/zlib/crc32.js +0 -41
  1782. package/node_modules/pako/lib/zlib/deflate.js +0 -1855
  1783. package/node_modules/pako/lib/zlib/gzheader.js +0 -40
  1784. package/node_modules/pako/lib/zlib/inffast.js +0 -326
  1785. package/node_modules/pako/lib/zlib/inflate.js +0 -1538
  1786. package/node_modules/pako/lib/zlib/inftrees.js +0 -327
  1787. package/node_modules/pako/lib/zlib/messages.js +0 -13
  1788. package/node_modules/pako/lib/zlib/trees.js +0 -1202
  1789. package/node_modules/pako/lib/zlib/zstream.js +0 -29
  1790. package/node_modules/pako/package.json +0 -40
  1791. package/node_modules/peek-stream/.travis.yml +0 -3
  1792. package/node_modules/peek-stream/LICENSE +0 -21
  1793. package/node_modules/peek-stream/README.md +0 -85
  1794. package/node_modules/peek-stream/example.js +0 -43
  1795. package/node_modules/peek-stream/index.js +0 -77
  1796. package/node_modules/peek-stream/package.json +0 -34
  1797. package/node_modules/peek-stream/test.js +0 -89
  1798. package/node_modules/performance-now/.npmignore +0 -1
  1799. package/node_modules/performance-now/.tm_properties +0 -7
  1800. package/node_modules/performance-now/.travis.yml +0 -6
  1801. package/node_modules/performance-now/README.md +0 -30
  1802. package/node_modules/performance-now/lib/performance-now.js +0 -36
  1803. package/node_modules/performance-now/lib/performance-now.js.map +0 -10
  1804. package/node_modules/performance-now/license.txt +0 -7
  1805. package/node_modules/performance-now/package.json +0 -35
  1806. package/node_modules/performance-now/src/index.d.ts +0 -8
  1807. package/node_modules/performance-now/src/performance-now.coffee +0 -17
  1808. package/node_modules/performance-now/test/mocha.opts +0 -3
  1809. package/node_modules/performance-now/test/performance-now.coffee +0 -43
  1810. package/node_modules/performance-now/test/scripts/delayed-call.coffee +0 -11
  1811. package/node_modules/performance-now/test/scripts/delayed-require.coffee +0 -12
  1812. package/node_modules/performance-now/test/scripts/difference.coffee +0 -6
  1813. package/node_modules/performance-now/test/scripts/initial-value.coffee +0 -10
  1814. package/node_modules/performance-now/test/scripts.coffee +0 -27
  1815. package/node_modules/picomatch/LICENSE +0 -21
  1816. package/node_modules/picomatch/README.md +0 -749
  1817. package/node_modules/picomatch/index.js +0 -17
  1818. package/node_modules/picomatch/lib/constants.js +0 -184
  1819. package/node_modules/picomatch/lib/parse.js +0 -1386
  1820. package/node_modules/picomatch/lib/picomatch.js +0 -349
  1821. package/node_modules/picomatch/lib/scan.js +0 -391
  1822. package/node_modules/picomatch/lib/utils.js +0 -72
  1823. package/node_modules/picomatch/package.json +0 -82
  1824. package/node_modules/picomatch/posix.js +0 -3
  1825. package/node_modules/proc-log/LICENSE +0 -15
  1826. package/node_modules/proc-log/README.md +0 -226
  1827. package/node_modules/proc-log/lib/index.js +0 -158
  1828. package/node_modules/proc-log/package.json +0 -46
  1829. package/node_modules/process-nextick-args/index.js +0 -45
  1830. package/node_modules/process-nextick-args/license.md +0 -19
  1831. package/node_modules/process-nextick-args/package.json +0 -25
  1832. package/node_modules/process-nextick-args/readme.md +0 -18
  1833. package/node_modules/promise-each/LICENSE +0 -21
  1834. package/node_modules/promise-each/README.md +0 -57
  1835. package/node_modules/promise-each/index.js +0 -18
  1836. package/node_modules/promise-each/package.json +0 -32
  1837. package/node_modules/proto-list/LICENSE +0 -15
  1838. package/node_modules/proto-list/README.md +0 -3
  1839. package/node_modules/proto-list/package.json +0 -18
  1840. package/node_modules/proto-list/proto-list.js +0 -88
  1841. package/node_modules/proto-list/test/basic.js +0 -61
  1842. package/node_modules/psl/LICENSE +0 -9
  1843. package/node_modules/psl/README.md +0 -260
  1844. package/node_modules/psl/SECURITY.md +0 -13
  1845. package/node_modules/psl/browserstack-logo.svg +0 -90
  1846. package/node_modules/psl/data/rules.js +0 -9778
  1847. package/node_modules/psl/dist/psl.cjs +0 -1
  1848. package/node_modules/psl/dist/psl.mjs +0 -10008
  1849. package/node_modules/psl/dist/psl.umd.cjs +0 -1
  1850. package/node_modules/psl/index.js +0 -247
  1851. package/node_modules/psl/package.json +0 -51
  1852. package/node_modules/psl/types/index.d.ts +0 -52
  1853. package/node_modules/psl/types/test.ts +0 -14
  1854. package/node_modules/psl/types/tsconfig.json +0 -22
  1855. package/node_modules/psl/vite.config.js +0 -20
  1856. package/node_modules/pump/.travis.yml +0 -5
  1857. package/node_modules/pump/LICENSE +0 -21
  1858. package/node_modules/pump/README.md +0 -56
  1859. package/node_modules/pump/index.js +0 -82
  1860. package/node_modules/pump/package.json +0 -24
  1861. package/node_modules/pump/test-browser.js +0 -62
  1862. package/node_modules/pump/test-node.js +0 -53
  1863. package/node_modules/pumpify/.travis.yml +0 -8
  1864. package/node_modules/pumpify/LICENSE +0 -21
  1865. package/node_modules/pumpify/README.md +0 -56
  1866. package/node_modules/pumpify/index.js +0 -60
  1867. package/node_modules/pumpify/package.json +0 -37
  1868. package/node_modules/pumpify/test.js +0 -235
  1869. package/node_modules/punycode/LICENSE-MIT.txt +0 -20
  1870. package/node_modules/punycode/README.md +0 -148
  1871. package/node_modules/punycode/package.json +0 -58
  1872. package/node_modules/punycode/punycode.es6.js +0 -444
  1873. package/node_modules/punycode/punycode.js +0 -443
  1874. package/node_modules/pupa/index.d.ts +0 -98
  1875. package/node_modules/pupa/index.js +0 -119
  1876. package/node_modules/pupa/license +0 -9
  1877. package/node_modules/pupa/package.json +0 -52
  1878. package/node_modules/pupa/readme.md +0 -135
  1879. package/node_modules/qs/.editorconfig +0 -43
  1880. package/node_modules/qs/.eslintrc +0 -37
  1881. package/node_modules/qs/.github/FUNDING.yml +0 -12
  1882. package/node_modules/qs/.nycrc +0 -13
  1883. package/node_modules/qs/CHANGELOG.md +0 -262
  1884. package/node_modules/qs/LICENSE.md +0 -29
  1885. package/node_modules/qs/README.md +0 -516
  1886. package/node_modules/qs/dist/qs.js +0 -648
  1887. package/node_modules/qs/lib/formats.js +0 -18
  1888. package/node_modules/qs/lib/index.js +0 -11
  1889. package/node_modules/qs/lib/parse.js +0 -175
  1890. package/node_modules/qs/lib/stringify.js +0 -217
  1891. package/node_modules/qs/lib/utils.js +0 -215
  1892. package/node_modules/qs/package.json +0 -63
  1893. package/node_modules/qs/test/index.js +0 -7
  1894. package/node_modules/qs/test/parse.js +0 -658
  1895. package/node_modules/qs/test/stringify.js +0 -648
  1896. package/node_modules/qs/test/utils.js +0 -65
  1897. package/node_modules/rc/LICENSE.APACHE2 +0 -15
  1898. package/node_modules/rc/LICENSE.BSD +0 -26
  1899. package/node_modules/rc/LICENSE.MIT +0 -24
  1900. package/node_modules/rc/README.md +0 -227
  1901. package/node_modules/rc/browser.js +0 -7
  1902. package/node_modules/rc/cli.js +0 -4
  1903. package/node_modules/rc/index.js +0 -53
  1904. package/node_modules/rc/lib/utils.js +0 -104
  1905. package/node_modules/rc/node_modules/strip-json-comments/index.js +0 -70
  1906. package/node_modules/rc/node_modules/strip-json-comments/license +0 -21
  1907. package/node_modules/rc/node_modules/strip-json-comments/package.json +0 -42
  1908. package/node_modules/rc/node_modules/strip-json-comments/readme.md +0 -64
  1909. package/node_modules/rc/package.json +0 -29
  1910. package/node_modules/rc/test/ini.js +0 -16
  1911. package/node_modules/rc/test/nested-env-vars.js +0 -50
  1912. package/node_modules/rc/test/test.js +0 -59
  1913. package/node_modules/readable-stream/.travis.yml +0 -34
  1914. package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  1915. package/node_modules/readable-stream/GOVERNANCE.md +0 -136
  1916. package/node_modules/readable-stream/LICENSE +0 -47
  1917. package/node_modules/readable-stream/README.md +0 -58
  1918. package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
  1919. package/node_modules/readable-stream/duplex-browser.js +0 -1
  1920. package/node_modules/readable-stream/duplex.js +0 -1
  1921. package/node_modules/readable-stream/lib/_stream_duplex.js +0 -131
  1922. package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
  1923. package/node_modules/readable-stream/lib/_stream_readable.js +0 -1019
  1924. package/node_modules/readable-stream/lib/_stream_transform.js +0 -214
  1925. package/node_modules/readable-stream/lib/_stream_writable.js +0 -685
  1926. package/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -78
  1927. package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -84
  1928. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  1929. package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  1930. package/node_modules/readable-stream/package.json +0 -52
  1931. package/node_modules/readable-stream/passthrough.js +0 -1
  1932. package/node_modules/readable-stream/readable-browser.js +0 -7
  1933. package/node_modules/readable-stream/readable.js +0 -19
  1934. package/node_modules/readable-stream/transform.js +0 -1
  1935. package/node_modules/readable-stream/writable-browser.js +0 -1
  1936. package/node_modules/readable-stream/writable.js +0 -8
  1937. package/node_modules/registry-auth-token/CHANGELOG.md +0 -185
  1938. package/node_modules/registry-auth-token/LICENSE +0 -21
  1939. package/node_modules/registry-auth-token/README.md +0 -71
  1940. package/node_modules/registry-auth-token/index.d.ts +0 -67
  1941. package/node_modules/registry-auth-token/index.js +0 -157
  1942. package/node_modules/registry-auth-token/package.json +0 -48
  1943. package/node_modules/registry-auth-token/registry-url.d.ts +0 -15
  1944. package/node_modules/registry-auth-token/registry-url.js +0 -7
  1945. package/node_modules/registry-url/index.d.ts +0 -23
  1946. package/node_modules/registry-url/index.js +0 -7
  1947. package/node_modules/registry-url/license +0 -9
  1948. package/node_modules/registry-url/package.json +0 -46
  1949. package/node_modules/registry-url/readme.md +0 -55
  1950. package/node_modules/request/CHANGELOG.md +0 -717
  1951. package/node_modules/request/LICENSE +0 -55
  1952. package/node_modules/request/README.md +0 -1133
  1953. package/node_modules/request/index.js +0 -155
  1954. package/node_modules/request/lib/auth.js +0 -167
  1955. package/node_modules/request/lib/cookies.js +0 -38
  1956. package/node_modules/request/lib/getProxyFromURI.js +0 -79
  1957. package/node_modules/request/lib/har.js +0 -205
  1958. package/node_modules/request/lib/hawk.js +0 -89
  1959. package/node_modules/request/lib/helpers.js +0 -66
  1960. package/node_modules/request/lib/multipart.js +0 -112
  1961. package/node_modules/request/lib/oauth.js +0 -148
  1962. package/node_modules/request/lib/querystring.js +0 -50
  1963. package/node_modules/request/lib/redirect.js +0 -154
  1964. package/node_modules/request/lib/tunnel.js +0 -175
  1965. package/node_modules/request/package.json +0 -86
  1966. package/node_modules/request/request.js +0 -1553
  1967. package/node_modules/safe-buffer/LICENSE +0 -21
  1968. package/node_modules/safe-buffer/README.md +0 -584
  1969. package/node_modules/safe-buffer/index.d.ts +0 -187
  1970. package/node_modules/safe-buffer/index.js +0 -62
  1971. package/node_modules/safe-buffer/package.json +0 -37
  1972. package/node_modules/safer-buffer/LICENSE +0 -21
  1973. package/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  1974. package/node_modules/safer-buffer/Readme.md +0 -156
  1975. package/node_modules/safer-buffer/dangerous.js +0 -58
  1976. package/node_modules/safer-buffer/package.json +0 -34
  1977. package/node_modules/safer-buffer/safer.js +0 -77
  1978. package/node_modules/safer-buffer/tests.js +0 -406
  1979. package/node_modules/semver/LICENSE +0 -15
  1980. package/node_modules/semver/README.md +0 -680
  1981. package/node_modules/semver/bin/semver.js +0 -195
  1982. package/node_modules/semver/classes/comparator.js +0 -143
  1983. package/node_modules/semver/classes/index.js +0 -7
  1984. package/node_modules/semver/classes/range.js +0 -577
  1985. package/node_modules/semver/classes/semver.js +0 -350
  1986. package/node_modules/semver/functions/clean.js +0 -8
  1987. package/node_modules/semver/functions/cmp.js +0 -54
  1988. package/node_modules/semver/functions/coerce.js +0 -62
  1989. package/node_modules/semver/functions/compare-build.js +0 -9
  1990. package/node_modules/semver/functions/compare-loose.js +0 -5
  1991. package/node_modules/semver/functions/compare.js +0 -7
  1992. package/node_modules/semver/functions/diff.js +0 -60
  1993. package/node_modules/semver/functions/eq.js +0 -5
  1994. package/node_modules/semver/functions/gt.js +0 -5
  1995. package/node_modules/semver/functions/gte.js +0 -5
  1996. package/node_modules/semver/functions/inc.js +0 -21
  1997. package/node_modules/semver/functions/lt.js +0 -5
  1998. package/node_modules/semver/functions/lte.js +0 -5
  1999. package/node_modules/semver/functions/major.js +0 -5
  2000. package/node_modules/semver/functions/minor.js +0 -5
  2001. package/node_modules/semver/functions/neq.js +0 -5
  2002. package/node_modules/semver/functions/parse.js +0 -18
  2003. package/node_modules/semver/functions/patch.js +0 -5
  2004. package/node_modules/semver/functions/prerelease.js +0 -8
  2005. package/node_modules/semver/functions/rcompare.js +0 -5
  2006. package/node_modules/semver/functions/rsort.js +0 -5
  2007. package/node_modules/semver/functions/satisfies.js +0 -12
  2008. package/node_modules/semver/functions/sort.js +0 -5
  2009. package/node_modules/semver/functions/truncate.js +0 -48
  2010. package/node_modules/semver/functions/valid.js +0 -8
  2011. package/node_modules/semver/index.js +0 -93
  2012. package/node_modules/semver/internal/constants.js +0 -37
  2013. package/node_modules/semver/internal/debug.js +0 -11
  2014. package/node_modules/semver/internal/identifiers.js +0 -29
  2015. package/node_modules/semver/internal/lrucache.js +0 -42
  2016. package/node_modules/semver/internal/parse-options.js +0 -17
  2017. package/node_modules/semver/internal/re.js +0 -223
  2018. package/node_modules/semver/package.json +0 -78
  2019. package/node_modules/semver/preload.js +0 -4
  2020. package/node_modules/semver/range.bnf +0 -17
  2021. package/node_modules/semver/ranges/gtr.js +0 -6
  2022. package/node_modules/semver/ranges/intersects.js +0 -9
  2023. package/node_modules/semver/ranges/ltr.js +0 -6
  2024. package/node_modules/semver/ranges/max-satisfying.js +0 -27
  2025. package/node_modules/semver/ranges/min-satisfying.js +0 -26
  2026. package/node_modules/semver/ranges/min-version.js +0 -63
  2027. package/node_modules/semver/ranges/outside.js +0 -82
  2028. package/node_modules/semver/ranges/simplify.js +0 -49
  2029. package/node_modules/semver/ranges/subset.js +0 -249
  2030. package/node_modules/semver/ranges/to-comparators.js +0 -10
  2031. package/node_modules/semver/ranges/valid.js +0 -13
  2032. package/node_modules/sshpk/.travis.yml +0 -11
  2033. package/node_modules/sshpk/Jenkinsfile +0 -86
  2034. package/node_modules/sshpk/LICENSE +0 -18
  2035. package/node_modules/sshpk/README.md +0 -804
  2036. package/node_modules/sshpk/bin/sshpk-conv +0 -243
  2037. package/node_modules/sshpk/bin/sshpk-sign +0 -191
  2038. package/node_modules/sshpk/bin/sshpk-verify +0 -167
  2039. package/node_modules/sshpk/lib/algs.js +0 -168
  2040. package/node_modules/sshpk/lib/certificate.js +0 -410
  2041. package/node_modules/sshpk/lib/dhe.js +0 -397
  2042. package/node_modules/sshpk/lib/ed-compat.js +0 -92
  2043. package/node_modules/sshpk/lib/errors.js +0 -84
  2044. package/node_modules/sshpk/lib/fingerprint.js +0 -220
  2045. package/node_modules/sshpk/lib/formats/auto.js +0 -124
  2046. package/node_modules/sshpk/lib/formats/dnssec.js +0 -287
  2047. package/node_modules/sshpk/lib/formats/openssh-cert.js +0 -352
  2048. package/node_modules/sshpk/lib/formats/pem.js +0 -290
  2049. package/node_modules/sshpk/lib/formats/pkcs1.js +0 -373
  2050. package/node_modules/sshpk/lib/formats/pkcs8.js +0 -643
  2051. package/node_modules/sshpk/lib/formats/putty.js +0 -194
  2052. package/node_modules/sshpk/lib/formats/rfc4253.js +0 -166
  2053. package/node_modules/sshpk/lib/formats/ssh-private.js +0 -262
  2054. package/node_modules/sshpk/lib/formats/ssh.js +0 -115
  2055. package/node_modules/sshpk/lib/formats/x509-pem.js +0 -88
  2056. package/node_modules/sshpk/lib/formats/x509.js +0 -752
  2057. package/node_modules/sshpk/lib/identity.js +0 -373
  2058. package/node_modules/sshpk/lib/index.js +0 -40
  2059. package/node_modules/sshpk/lib/key.js +0 -294
  2060. package/node_modules/sshpk/lib/private-key.js +0 -247
  2061. package/node_modules/sshpk/lib/signature.js +0 -314
  2062. package/node_modules/sshpk/lib/ssh-buffer.js +0 -149
  2063. package/node_modules/sshpk/lib/utils.js +0 -404
  2064. package/node_modules/sshpk/man/man1/sshpk-conv.1 +0 -135
  2065. package/node_modules/sshpk/man/man1/sshpk-sign.1 +0 -81
  2066. package/node_modules/sshpk/man/man1/sshpk-verify.1 +0 -68
  2067. package/node_modules/sshpk/package.json +0 -59
  2068. package/node_modules/stream-shift/.github/workflows/test.yml +0 -23
  2069. package/node_modules/stream-shift/LICENSE +0 -21
  2070. package/node_modules/stream-shift/README.md +0 -25
  2071. package/node_modules/stream-shift/index.js +0 -21
  2072. package/node_modules/stream-shift/package.json +0 -25
  2073. package/node_modules/stream-shift/test.js +0 -48
  2074. package/node_modules/streamx/LICENSE +0 -21
  2075. package/node_modules/streamx/README.md +0 -550
  2076. package/node_modules/streamx/index.d.ts +0 -198
  2077. package/node_modules/streamx/index.js +0 -1314
  2078. package/node_modules/streamx/lib/errors.d.ts +0 -13
  2079. package/node_modules/streamx/lib/errors.js +0 -47
  2080. package/node_modules/streamx/package.json +0 -51
  2081. package/node_modules/streamx/runtime.d.ts +0 -55
  2082. package/node_modules/string-width/index.d.ts +0 -39
  2083. package/node_modules/string-width/index.js +0 -82
  2084. package/node_modules/string-width/license +0 -9
  2085. package/node_modules/string-width/node_modules/ansi-regex/index.d.ts +0 -33
  2086. package/node_modules/string-width/node_modules/ansi-regex/index.js +0 -14
  2087. package/node_modules/string-width/node_modules/ansi-regex/license +0 -9
  2088. package/node_modules/string-width/node_modules/ansi-regex/package.json +0 -61
  2089. package/node_modules/string-width/node_modules/ansi-regex/readme.md +0 -66
  2090. package/node_modules/string-width/node_modules/strip-ansi/index.d.ts +0 -15
  2091. package/node_modules/string-width/node_modules/strip-ansi/index.js +0 -19
  2092. package/node_modules/string-width/node_modules/strip-ansi/license +0 -9
  2093. package/node_modules/string-width/node_modules/strip-ansi/package.json +0 -59
  2094. package/node_modules/string-width/node_modules/strip-ansi/readme.md +0 -37
  2095. package/node_modules/string-width/package.json +0 -64
  2096. package/node_modules/string-width/readme.md +0 -66
  2097. package/node_modules/string_decoder/.travis.yml +0 -50
  2098. package/node_modules/string_decoder/LICENSE +0 -48
  2099. package/node_modules/string_decoder/README.md +0 -47
  2100. package/node_modules/string_decoder/lib/string_decoder.js +0 -296
  2101. package/node_modules/string_decoder/package.json +0 -31
  2102. package/node_modules/strip-ansi/index.d.ts +0 -17
  2103. package/node_modules/strip-ansi/index.js +0 -4
  2104. package/node_modules/strip-ansi/license +0 -9
  2105. package/node_modules/strip-ansi/package.json +0 -54
  2106. package/node_modules/strip-ansi/readme.md +0 -46
  2107. package/node_modules/stubborn-fs/dist/constants.d.ts +0 -11
  2108. package/node_modules/stubborn-fs/dist/constants.js +0 -16
  2109. package/node_modules/stubborn-fs/dist/handlers.d.ts +0 -7
  2110. package/node_modules/stubborn-fs/dist/handlers.js +0 -36
  2111. package/node_modules/stubborn-fs/dist/index.d.ts +0 -274
  2112. package/node_modules/stubborn-fs/dist/index.js +0 -52
  2113. package/node_modules/stubborn-fs/license +0 -21
  2114. package/node_modules/stubborn-fs/package.json +0 -32
  2115. package/node_modules/stubborn-fs/readme.md +0 -69
  2116. package/node_modules/stubborn-utils/dist/attemptify_async.d.ts +0 -3
  2117. package/node_modules/stubborn-utils/dist/attemptify_async.js +0 -10
  2118. package/node_modules/stubborn-utils/dist/attemptify_sync.d.ts +0 -3
  2119. package/node_modules/stubborn-utils/dist/attemptify_sync.js +0 -15
  2120. package/node_modules/stubborn-utils/dist/constants.d.ts +0 -2
  2121. package/node_modules/stubborn-utils/dist/constants.js +0 -4
  2122. package/node_modules/stubborn-utils/dist/index.d.ts +0 -9
  2123. package/node_modules/stubborn-utils/dist/index.js +0 -7
  2124. package/node_modules/stubborn-utils/dist/retryify_async.d.ts +0 -3
  2125. package/node_modules/stubborn-utils/dist/retryify_async.js +0 -29
  2126. package/node_modules/stubborn-utils/dist/retryify_sync.d.ts +0 -3
  2127. package/node_modules/stubborn-utils/dist/retryify_sync.js +0 -25
  2128. package/node_modules/stubborn-utils/dist/types.d.ts +0 -44
  2129. package/node_modules/stubborn-utils/dist/types.js +0 -2
  2130. package/node_modules/stubborn-utils/license +0 -21
  2131. package/node_modules/stubborn-utils/package.json +0 -30
  2132. package/node_modules/stubborn-utils/readme.md +0 -139
  2133. package/node_modules/tar/LICENSE.md +0 -55
  2134. package/node_modules/tar/README.md +0 -1224
  2135. package/node_modules/tar/dist/commonjs/create.d.ts +0 -3
  2136. package/node_modules/tar/dist/commonjs/create.d.ts.map +0 -1
  2137. package/node_modules/tar/dist/commonjs/create.js +0 -82
  2138. package/node_modules/tar/dist/commonjs/create.js.map +0 -1
  2139. package/node_modules/tar/dist/commonjs/cwd-error.d.ts +0 -8
  2140. package/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +0 -1
  2141. package/node_modules/tar/dist/commonjs/cwd-error.js +0 -18
  2142. package/node_modules/tar/dist/commonjs/cwd-error.js.map +0 -1
  2143. package/node_modules/tar/dist/commonjs/extract.d.ts +0 -3
  2144. package/node_modules/tar/dist/commonjs/extract.d.ts.map +0 -1
  2145. package/node_modules/tar/dist/commonjs/extract.js +0 -88
  2146. package/node_modules/tar/dist/commonjs/extract.js.map +0 -1
  2147. package/node_modules/tar/dist/commonjs/get-write-flag.d.ts +0 -2
  2148. package/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +0 -1
  2149. package/node_modules/tar/dist/commonjs/get-write-flag.js +0 -32
  2150. package/node_modules/tar/dist/commonjs/get-write-flag.js.map +0 -1
  2151. package/node_modules/tar/dist/commonjs/header.d.ts +0 -53
  2152. package/node_modules/tar/dist/commonjs/header.d.ts.map +0 -1
  2153. package/node_modules/tar/dist/commonjs/header.js +0 -347
  2154. package/node_modules/tar/dist/commonjs/header.js.map +0 -1
  2155. package/node_modules/tar/dist/commonjs/index.d.ts +0 -20
  2156. package/node_modules/tar/dist/commonjs/index.d.ts.map +0 -1
  2157. package/node_modules/tar/dist/commonjs/index.js +0 -64
  2158. package/node_modules/tar/dist/commonjs/index.js.map +0 -1
  2159. package/node_modules/tar/dist/commonjs/index.min.js +0 -4
  2160. package/node_modules/tar/dist/commonjs/index.min.js.map +0 -7
  2161. package/node_modules/tar/dist/commonjs/large-numbers.d.ts +0 -3
  2162. package/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +0 -1
  2163. package/node_modules/tar/dist/commonjs/large-numbers.js +0 -99
  2164. package/node_modules/tar/dist/commonjs/large-numbers.js.map +0 -1
  2165. package/node_modules/tar/dist/commonjs/list.d.ts +0 -7
  2166. package/node_modules/tar/dist/commonjs/list.d.ts.map +0 -1
  2167. package/node_modules/tar/dist/commonjs/list.js +0 -145
  2168. package/node_modules/tar/dist/commonjs/list.js.map +0 -1
  2169. package/node_modules/tar/dist/commonjs/make-command.d.ts +0 -49
  2170. package/node_modules/tar/dist/commonjs/make-command.d.ts.map +0 -1
  2171. package/node_modules/tar/dist/commonjs/make-command.js +0 -52
  2172. package/node_modules/tar/dist/commonjs/make-command.js.map +0 -1
  2173. package/node_modules/tar/dist/commonjs/mkdir.d.ts +0 -25
  2174. package/node_modules/tar/dist/commonjs/mkdir.d.ts.map +0 -1
  2175. package/node_modules/tar/dist/commonjs/mkdir.js +0 -187
  2176. package/node_modules/tar/dist/commonjs/mkdir.js.map +0 -1
  2177. package/node_modules/tar/dist/commonjs/mode-fix.d.ts +0 -2
  2178. package/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +0 -1
  2179. package/node_modules/tar/dist/commonjs/mode-fix.js +0 -29
  2180. package/node_modules/tar/dist/commonjs/mode-fix.js.map +0 -1
  2181. package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +0 -2
  2182. package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +0 -1
  2183. package/node_modules/tar/dist/commonjs/normalize-unicode.js +0 -38
  2184. package/node_modules/tar/dist/commonjs/normalize-unicode.js.map +0 -1
  2185. package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +0 -2
  2186. package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +0 -1
  2187. package/node_modules/tar/dist/commonjs/normalize-windows-path.js +0 -12
  2188. package/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +0 -1
  2189. package/node_modules/tar/dist/commonjs/options.d.ts +0 -596
  2190. package/node_modules/tar/dist/commonjs/options.d.ts.map +0 -1
  2191. package/node_modules/tar/dist/commonjs/options.js +0 -66
  2192. package/node_modules/tar/dist/commonjs/options.js.map +0 -1
  2193. package/node_modules/tar/dist/commonjs/pack.d.ts +0 -105
  2194. package/node_modules/tar/dist/commonjs/pack.d.ts.map +0 -1
  2195. package/node_modules/tar/dist/commonjs/pack.js +0 -544
  2196. package/node_modules/tar/dist/commonjs/pack.js.map +0 -1
  2197. package/node_modules/tar/dist/commonjs/package.json +0 -3
  2198. package/node_modules/tar/dist/commonjs/parse.d.ts +0 -85
  2199. package/node_modules/tar/dist/commonjs/parse.d.ts.map +0 -1
  2200. package/node_modules/tar/dist/commonjs/parse.js +0 -610
  2201. package/node_modules/tar/dist/commonjs/parse.js.map +0 -1
  2202. package/node_modules/tar/dist/commonjs/path-reservations.d.ts +0 -11
  2203. package/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +0 -1
  2204. package/node_modules/tar/dist/commonjs/path-reservations.js +0 -170
  2205. package/node_modules/tar/dist/commonjs/path-reservations.js.map +0 -1
  2206. package/node_modules/tar/dist/commonjs/pax.d.ts +0 -26
  2207. package/node_modules/tar/dist/commonjs/pax.d.ts.map +0 -1
  2208. package/node_modules/tar/dist/commonjs/pax.js +0 -158
  2209. package/node_modules/tar/dist/commonjs/pax.js.map +0 -1
  2210. package/node_modules/tar/dist/commonjs/process-umask.d.ts +0 -2
  2211. package/node_modules/tar/dist/commonjs/process-umask.d.ts.map +0 -1
  2212. package/node_modules/tar/dist/commonjs/process-umask.js +0 -7
  2213. package/node_modules/tar/dist/commonjs/process-umask.js.map +0 -1
  2214. package/node_modules/tar/dist/commonjs/read-entry.d.ts +0 -36
  2215. package/node_modules/tar/dist/commonjs/read-entry.d.ts.map +0 -1
  2216. package/node_modules/tar/dist/commonjs/read-entry.js +0 -136
  2217. package/node_modules/tar/dist/commonjs/read-entry.js.map +0 -1
  2218. package/node_modules/tar/dist/commonjs/replace.d.ts +0 -2
  2219. package/node_modules/tar/dist/commonjs/replace.d.ts.map +0 -1
  2220. package/node_modules/tar/dist/commonjs/replace.js +0 -227
  2221. package/node_modules/tar/dist/commonjs/replace.js.map +0 -1
  2222. package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +0 -2
  2223. package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +0 -1
  2224. package/node_modules/tar/dist/commonjs/strip-absolute-path.js +0 -29
  2225. package/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +0 -1
  2226. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +0 -2
  2227. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +0 -1
  2228. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +0 -18
  2229. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +0 -1
  2230. package/node_modules/tar/dist/commonjs/symlink-error.d.ts +0 -9
  2231. package/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +0 -1
  2232. package/node_modules/tar/dist/commonjs/symlink-error.js +0 -19
  2233. package/node_modules/tar/dist/commonjs/symlink-error.js.map +0 -1
  2234. package/node_modules/tar/dist/commonjs/types.d.ts +0 -16
  2235. package/node_modules/tar/dist/commonjs/types.d.ts.map +0 -1
  2236. package/node_modules/tar/dist/commonjs/types.js +0 -70
  2237. package/node_modules/tar/dist/commonjs/types.js.map +0 -1
  2238. package/node_modules/tar/dist/commonjs/unpack.d.ts +0 -101
  2239. package/node_modules/tar/dist/commonjs/unpack.d.ts.map +0 -1
  2240. package/node_modules/tar/dist/commonjs/unpack.js +0 -932
  2241. package/node_modules/tar/dist/commonjs/unpack.js.map +0 -1
  2242. package/node_modules/tar/dist/commonjs/update.d.ts +0 -2
  2243. package/node_modules/tar/dist/commonjs/update.d.ts.map +0 -1
  2244. package/node_modules/tar/dist/commonjs/update.js +0 -33
  2245. package/node_modules/tar/dist/commonjs/update.js.map +0 -1
  2246. package/node_modules/tar/dist/commonjs/warn-method.d.ts +0 -24
  2247. package/node_modules/tar/dist/commonjs/warn-method.d.ts.map +0 -1
  2248. package/node_modules/tar/dist/commonjs/warn-method.js +0 -31
  2249. package/node_modules/tar/dist/commonjs/warn-method.js.map +0 -1
  2250. package/node_modules/tar/dist/commonjs/winchars.d.ts +0 -3
  2251. package/node_modules/tar/dist/commonjs/winchars.d.ts.map +0 -1
  2252. package/node_modules/tar/dist/commonjs/winchars.js +0 -14
  2253. package/node_modules/tar/dist/commonjs/winchars.js.map +0 -1
  2254. package/node_modules/tar/dist/commonjs/write-entry.d.ts +0 -129
  2255. package/node_modules/tar/dist/commonjs/write-entry.d.ts.map +0 -1
  2256. package/node_modules/tar/dist/commonjs/write-entry.js +0 -698
  2257. package/node_modules/tar/dist/commonjs/write-entry.js.map +0 -1
  2258. package/node_modules/tar/dist/esm/create.d.ts +0 -3
  2259. package/node_modules/tar/dist/esm/create.d.ts.map +0 -1
  2260. package/node_modules/tar/dist/esm/create.js +0 -76
  2261. package/node_modules/tar/dist/esm/create.js.map +0 -1
  2262. package/node_modules/tar/dist/esm/cwd-error.d.ts +0 -8
  2263. package/node_modules/tar/dist/esm/cwd-error.d.ts.map +0 -1
  2264. package/node_modules/tar/dist/esm/cwd-error.js +0 -14
  2265. package/node_modules/tar/dist/esm/cwd-error.js.map +0 -1
  2266. package/node_modules/tar/dist/esm/extract.d.ts +0 -3
  2267. package/node_modules/tar/dist/esm/extract.d.ts.map +0 -1
  2268. package/node_modules/tar/dist/esm/extract.js +0 -49
  2269. package/node_modules/tar/dist/esm/extract.js.map +0 -1
  2270. package/node_modules/tar/dist/esm/get-write-flag.d.ts +0 -2
  2271. package/node_modules/tar/dist/esm/get-write-flag.d.ts.map +0 -1
  2272. package/node_modules/tar/dist/esm/get-write-flag.js +0 -26
  2273. package/node_modules/tar/dist/esm/get-write-flag.js.map +0 -1
  2274. package/node_modules/tar/dist/esm/header.d.ts +0 -53
  2275. package/node_modules/tar/dist/esm/header.d.ts.map +0 -1
  2276. package/node_modules/tar/dist/esm/header.js +0 -310
  2277. package/node_modules/tar/dist/esm/header.js.map +0 -1
  2278. package/node_modules/tar/dist/esm/index.d.ts +0 -20
  2279. package/node_modules/tar/dist/esm/index.d.ts.map +0 -1
  2280. package/node_modules/tar/dist/esm/index.js +0 -20
  2281. package/node_modules/tar/dist/esm/index.js.map +0 -1
  2282. package/node_modules/tar/dist/esm/index.min.js +0 -4
  2283. package/node_modules/tar/dist/esm/index.min.js.map +0 -7
  2284. package/node_modules/tar/dist/esm/large-numbers.d.ts +0 -3
  2285. package/node_modules/tar/dist/esm/large-numbers.d.ts.map +0 -1
  2286. package/node_modules/tar/dist/esm/large-numbers.js +0 -94
  2287. package/node_modules/tar/dist/esm/large-numbers.js.map +0 -1
  2288. package/node_modules/tar/dist/esm/list.d.ts +0 -7
  2289. package/node_modules/tar/dist/esm/list.d.ts.map +0 -1
  2290. package/node_modules/tar/dist/esm/list.js +0 -105
  2291. package/node_modules/tar/dist/esm/list.js.map +0 -1
  2292. package/node_modules/tar/dist/esm/make-command.d.ts +0 -49
  2293. package/node_modules/tar/dist/esm/make-command.d.ts.map +0 -1
  2294. package/node_modules/tar/dist/esm/make-command.js +0 -48
  2295. package/node_modules/tar/dist/esm/make-command.js.map +0 -1
  2296. package/node_modules/tar/dist/esm/mkdir.d.ts +0 -25
  2297. package/node_modules/tar/dist/esm/mkdir.d.ts.map +0 -1
  2298. package/node_modules/tar/dist/esm/mkdir.js +0 -179
  2299. package/node_modules/tar/dist/esm/mkdir.js.map +0 -1
  2300. package/node_modules/tar/dist/esm/mode-fix.d.ts +0 -2
  2301. package/node_modules/tar/dist/esm/mode-fix.d.ts.map +0 -1
  2302. package/node_modules/tar/dist/esm/mode-fix.js +0 -25
  2303. package/node_modules/tar/dist/esm/mode-fix.js.map +0 -1
  2304. package/node_modules/tar/dist/esm/normalize-unicode.d.ts +0 -2
  2305. package/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +0 -1
  2306. package/node_modules/tar/dist/esm/normalize-unicode.js +0 -34
  2307. package/node_modules/tar/dist/esm/normalize-unicode.js.map +0 -1
  2308. package/node_modules/tar/dist/esm/normalize-windows-path.d.ts +0 -2
  2309. package/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +0 -1
  2310. package/node_modules/tar/dist/esm/normalize-windows-path.js +0 -9
  2311. package/node_modules/tar/dist/esm/normalize-windows-path.js.map +0 -1
  2312. package/node_modules/tar/dist/esm/options.d.ts +0 -596
  2313. package/node_modules/tar/dist/esm/options.d.ts.map +0 -1
  2314. package/node_modules/tar/dist/esm/options.js +0 -54
  2315. package/node_modules/tar/dist/esm/options.js.map +0 -1
  2316. package/node_modules/tar/dist/esm/pack.d.ts +0 -105
  2317. package/node_modules/tar/dist/esm/pack.d.ts.map +0 -1
  2318. package/node_modules/tar/dist/esm/pack.js +0 -502
  2319. package/node_modules/tar/dist/esm/pack.js.map +0 -1
  2320. package/node_modules/tar/dist/esm/package.json +0 -3
  2321. package/node_modules/tar/dist/esm/parse.d.ts +0 -85
  2322. package/node_modules/tar/dist/esm/parse.d.ts.map +0 -1
  2323. package/node_modules/tar/dist/esm/parse.js +0 -606
  2324. package/node_modules/tar/dist/esm/parse.js.map +0 -1
  2325. package/node_modules/tar/dist/esm/path-reservations.d.ts +0 -11
  2326. package/node_modules/tar/dist/esm/path-reservations.d.ts.map +0 -1
  2327. package/node_modules/tar/dist/esm/path-reservations.js +0 -166
  2328. package/node_modules/tar/dist/esm/path-reservations.js.map +0 -1
  2329. package/node_modules/tar/dist/esm/pax.d.ts +0 -26
  2330. package/node_modules/tar/dist/esm/pax.d.ts.map +0 -1
  2331. package/node_modules/tar/dist/esm/pax.js +0 -154
  2332. package/node_modules/tar/dist/esm/pax.js.map +0 -1
  2333. package/node_modules/tar/dist/esm/process-umask.d.ts +0 -2
  2334. package/node_modules/tar/dist/esm/process-umask.d.ts.map +0 -1
  2335. package/node_modules/tar/dist/esm/process-umask.js +0 -3
  2336. package/node_modules/tar/dist/esm/process-umask.js.map +0 -1
  2337. package/node_modules/tar/dist/esm/read-entry.d.ts +0 -36
  2338. package/node_modules/tar/dist/esm/read-entry.d.ts.map +0 -1
  2339. package/node_modules/tar/dist/esm/read-entry.js +0 -132
  2340. package/node_modules/tar/dist/esm/read-entry.js.map +0 -1
  2341. package/node_modules/tar/dist/esm/replace.d.ts +0 -2
  2342. package/node_modules/tar/dist/esm/replace.d.ts.map +0 -1
  2343. package/node_modules/tar/dist/esm/replace.js +0 -221
  2344. package/node_modules/tar/dist/esm/replace.js.map +0 -1
  2345. package/node_modules/tar/dist/esm/strip-absolute-path.d.ts +0 -2
  2346. package/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +0 -1
  2347. package/node_modules/tar/dist/esm/strip-absolute-path.js +0 -25
  2348. package/node_modules/tar/dist/esm/strip-absolute-path.js.map +0 -1
  2349. package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +0 -2
  2350. package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +0 -1
  2351. package/node_modules/tar/dist/esm/strip-trailing-slashes.js +0 -14
  2352. package/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +0 -1
  2353. package/node_modules/tar/dist/esm/symlink-error.d.ts +0 -9
  2354. package/node_modules/tar/dist/esm/symlink-error.d.ts.map +0 -1
  2355. package/node_modules/tar/dist/esm/symlink-error.js +0 -15
  2356. package/node_modules/tar/dist/esm/symlink-error.js.map +0 -1
  2357. package/node_modules/tar/dist/esm/types.d.ts +0 -16
  2358. package/node_modules/tar/dist/esm/types.d.ts.map +0 -1
  2359. package/node_modules/tar/dist/esm/types.js +0 -65
  2360. package/node_modules/tar/dist/esm/types.js.map +0 -1
  2361. package/node_modules/tar/dist/esm/unpack.d.ts +0 -101
  2362. package/node_modules/tar/dist/esm/unpack.d.ts.map +0 -1
  2363. package/node_modules/tar/dist/esm/unpack.js +0 -891
  2364. package/node_modules/tar/dist/esm/unpack.js.map +0 -1
  2365. package/node_modules/tar/dist/esm/update.d.ts +0 -2
  2366. package/node_modules/tar/dist/esm/update.d.ts.map +0 -1
  2367. package/node_modules/tar/dist/esm/update.js +0 -30
  2368. package/node_modules/tar/dist/esm/update.js.map +0 -1
  2369. package/node_modules/tar/dist/esm/warn-method.d.ts +0 -24
  2370. package/node_modules/tar/dist/esm/warn-method.d.ts.map +0 -1
  2371. package/node_modules/tar/dist/esm/warn-method.js +0 -27
  2372. package/node_modules/tar/dist/esm/warn-method.js.map +0 -1
  2373. package/node_modules/tar/dist/esm/winchars.d.ts +0 -3
  2374. package/node_modules/tar/dist/esm/winchars.d.ts.map +0 -1
  2375. package/node_modules/tar/dist/esm/winchars.js +0 -9
  2376. package/node_modules/tar/dist/esm/winchars.js.map +0 -1
  2377. package/node_modules/tar/dist/esm/write-entry.d.ts +0 -129
  2378. package/node_modules/tar/dist/esm/write-entry.d.ts.map +0 -1
  2379. package/node_modules/tar/dist/esm/write-entry.js +0 -656
  2380. package/node_modules/tar/dist/esm/write-entry.js.map +0 -1
  2381. package/node_modules/tar/package.json +0 -298
  2382. package/node_modules/tar-fs/LICENSE +0 -21
  2383. package/node_modules/tar-fs/README.md +0 -154
  2384. package/node_modules/tar-fs/index.js +0 -400
  2385. package/node_modules/tar-fs/node_modules/pump/.github/FUNDING.yml +0 -2
  2386. package/node_modules/tar-fs/node_modules/pump/.travis.yml +0 -5
  2387. package/node_modules/tar-fs/node_modules/pump/LICENSE +0 -21
  2388. package/node_modules/tar-fs/node_modules/pump/README.md +0 -74
  2389. package/node_modules/tar-fs/node_modules/pump/SECURITY.md +0 -5
  2390. package/node_modules/tar-fs/node_modules/pump/empty.js +0 -1
  2391. package/node_modules/tar-fs/node_modules/pump/index.js +0 -86
  2392. package/node_modules/tar-fs/node_modules/pump/package.json +0 -30
  2393. package/node_modules/tar-fs/node_modules/pump/test-browser.js +0 -66
  2394. package/node_modules/tar-fs/node_modules/pump/test-node.js +0 -53
  2395. package/node_modules/tar-fs/package.json +0 -61
  2396. package/node_modules/tar-stream/LICENSE +0 -21
  2397. package/node_modules/tar-stream/README.md +0 -183
  2398. package/node_modules/tar-stream/constants.js +0 -14
  2399. package/node_modules/tar-stream/extract.js +0 -418
  2400. package/node_modules/tar-stream/headers.js +0 -322
  2401. package/node_modules/tar-stream/index.js +0 -2
  2402. package/node_modules/tar-stream/node_modules/b4a/LICENSE +0 -201
  2403. package/node_modules/tar-stream/node_modules/b4a/README.md +0 -153
  2404. package/node_modules/tar-stream/node_modules/b4a/browser.js +0 -541
  2405. package/node_modules/tar-stream/node_modules/b4a/index.js +0 -188
  2406. package/node_modules/tar-stream/node_modules/b4a/lib/ascii.js +0 -31
  2407. package/node_modules/tar-stream/node_modules/b4a/lib/base64.js +0 -64
  2408. package/node_modules/tar-stream/node_modules/b4a/lib/hex.js +0 -51
  2409. package/node_modules/tar-stream/node_modules/b4a/lib/latin1.js +0 -31
  2410. package/node_modules/tar-stream/node_modules/b4a/lib/utf16le.js +0 -40
  2411. package/node_modules/tar-stream/node_modules/b4a/lib/utf8.js +0 -144
  2412. package/node_modules/tar-stream/node_modules/b4a/package.json +0 -51
  2413. package/node_modules/tar-stream/node_modules/b4a/react-native.js +0 -5
  2414. package/node_modules/tar-stream/pack.js +0 -287
  2415. package/node_modules/tar-stream/package.json +0 -42
  2416. package/node_modules/teex/LICENSE +0 -21
  2417. package/node_modules/teex/README.md +0 -31
  2418. package/node_modules/teex/example.js +0 -16
  2419. package/node_modules/teex/index.js +0 -52
  2420. package/node_modules/teex/package.json +0 -26
  2421. package/node_modules/teex/test.js +0 -68
  2422. package/node_modules/text-decoder/LICENSE +0 -201
  2423. package/node_modules/text-decoder/README.md +0 -36
  2424. package/node_modules/text-decoder/index.js +0 -64
  2425. package/node_modules/text-decoder/lib/pass-through-decoder.js +0 -19
  2426. package/node_modules/text-decoder/lib/utf8-decoder.js +0 -185
  2427. package/node_modules/text-decoder/node_modules/b4a/LICENSE +0 -201
  2428. package/node_modules/text-decoder/node_modules/b4a/README.md +0 -153
  2429. package/node_modules/text-decoder/node_modules/b4a/browser.js +0 -541
  2430. package/node_modules/text-decoder/node_modules/b4a/index.js +0 -188
  2431. package/node_modules/text-decoder/node_modules/b4a/lib/ascii.js +0 -31
  2432. package/node_modules/text-decoder/node_modules/b4a/lib/base64.js +0 -64
  2433. package/node_modules/text-decoder/node_modules/b4a/lib/hex.js +0 -51
  2434. package/node_modules/text-decoder/node_modules/b4a/lib/latin1.js +0 -31
  2435. package/node_modules/text-decoder/node_modules/b4a/lib/utf16le.js +0 -40
  2436. package/node_modules/text-decoder/node_modules/b4a/lib/utf8.js +0 -144
  2437. package/node_modules/text-decoder/node_modules/b4a/package.json +0 -51
  2438. package/node_modules/text-decoder/node_modules/b4a/react-native.js +0 -5
  2439. package/node_modules/text-decoder/package.json +0 -39
  2440. package/node_modules/through2/LICENSE.md +0 -9
  2441. package/node_modules/through2/README.md +0 -134
  2442. package/node_modules/through2/package.json +0 -33
  2443. package/node_modules/through2/through2.js +0 -96
  2444. package/node_modules/tinyglobby/LICENSE +0 -21
  2445. package/node_modules/tinyglobby/README.md +0 -25
  2446. package/node_modules/tinyglobby/dist/index.cjs +0 -335
  2447. package/node_modules/tinyglobby/dist/index.d.cts +0 -148
  2448. package/node_modules/tinyglobby/dist/index.d.mts +0 -148
  2449. package/node_modules/tinyglobby/dist/index.mjs +0 -307
  2450. package/node_modules/tinyglobby/package.json +0 -70
  2451. package/node_modules/tough-cookie/LICENSE +0 -12
  2452. package/node_modules/tough-cookie/README.md +0 -527
  2453. package/node_modules/tough-cookie/lib/cookie.js +0 -1482
  2454. package/node_modules/tough-cookie/lib/memstore.js +0 -181
  2455. package/node_modules/tough-cookie/lib/pathMatch.js +0 -61
  2456. package/node_modules/tough-cookie/lib/permuteDomain.js +0 -56
  2457. package/node_modules/tough-cookie/lib/pubsuffix-psl.js +0 -38
  2458. package/node_modules/tough-cookie/lib/store.js +0 -75
  2459. package/node_modules/tough-cookie/lib/version.js +0 -2
  2460. package/node_modules/tough-cookie/package.json +0 -78
  2461. package/node_modules/tunnel-agent/LICENSE +0 -55
  2462. package/node_modules/tunnel-agent/README.md +0 -4
  2463. package/node_modules/tunnel-agent/index.js +0 -244
  2464. package/node_modules/tunnel-agent/package.json +0 -22
  2465. package/node_modules/tweetnacl/.npmignore +0 -4
  2466. package/node_modules/tweetnacl/AUTHORS.md +0 -28
  2467. package/node_modules/tweetnacl/CHANGELOG.md +0 -221
  2468. package/node_modules/tweetnacl/LICENSE +0 -24
  2469. package/node_modules/tweetnacl/PULL_REQUEST_TEMPLATE.md +0 -20
  2470. package/node_modules/tweetnacl/README.md +0 -459
  2471. package/node_modules/tweetnacl/nacl-fast.js +0 -2388
  2472. package/node_modules/tweetnacl/nacl-fast.min.js +0 -2
  2473. package/node_modules/tweetnacl/nacl.d.ts +0 -98
  2474. package/node_modules/tweetnacl/nacl.js +0 -1175
  2475. package/node_modules/tweetnacl/nacl.min.js +0 -1
  2476. package/node_modules/tweetnacl/package.json +0 -58
  2477. package/node_modules/undici/LICENSE +0 -21
  2478. package/node_modules/undici/README.md +0 -473
  2479. package/node_modules/undici/docs/docs/api/Agent.md +0 -80
  2480. package/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
  2481. package/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
  2482. package/node_modules/undici/docs/docs/api/Client.md +0 -277
  2483. package/node_modules/undici/docs/docs/api/Connector.md +0 -115
  2484. package/node_modules/undici/docs/docs/api/ContentType.md +0 -57
  2485. package/node_modules/undici/docs/docs/api/Cookies.md +0 -101
  2486. package/node_modules/undici/docs/docs/api/Debug.md +0 -62
  2487. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -204
  2488. package/node_modules/undici/docs/docs/api/DispatchInterceptor.md +0 -60
  2489. package/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1347
  2490. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -162
  2491. package/node_modules/undici/docs/docs/api/Errors.md +0 -49
  2492. package/node_modules/undici/docs/docs/api/EventSource.md +0 -45
  2493. package/node_modules/undici/docs/docs/api/Fetch.md +0 -52
  2494. package/node_modules/undici/docs/docs/api/MockAgent.md +0 -540
  2495. package/node_modules/undici/docs/docs/api/MockClient.md +0 -77
  2496. package/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
  2497. package/node_modules/undici/docs/docs/api/MockPool.md +0 -547
  2498. package/node_modules/undici/docs/docs/api/Pool.md +0 -84
  2499. package/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
  2500. package/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -131
  2501. package/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -96
  2502. package/node_modules/undici/docs/docs/api/RetryAgent.md +0 -45
  2503. package/node_modules/undici/docs/docs/api/RetryHandler.md +0 -117
  2504. package/node_modules/undici/docs/docs/api/Util.md +0 -25
  2505. package/node_modules/undici/docs/docs/api/WebSocket.md +0 -51
  2506. package/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
  2507. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
  2508. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -136
  2509. package/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
  2510. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -20
  2511. package/node_modules/undici/index-fetch.js +0 -35
  2512. package/node_modules/undici/index.d.ts +0 -3
  2513. package/node_modules/undici/index.js +0 -169
  2514. package/node_modules/undici/lib/api/abort-signal.js +0 -57
  2515. package/node_modules/undici/lib/api/api-connect.js +0 -108
  2516. package/node_modules/undici/lib/api/api-pipeline.js +0 -251
  2517. package/node_modules/undici/lib/api/api-request.js +0 -214
  2518. package/node_modules/undici/lib/api/api-stream.js +0 -220
  2519. package/node_modules/undici/lib/api/api-upgrade.js +0 -108
  2520. package/node_modules/undici/lib/api/index.js +0 -7
  2521. package/node_modules/undici/lib/api/readable.js +0 -385
  2522. package/node_modules/undici/lib/api/util.js +0 -93
  2523. package/node_modules/undici/lib/core/connect.js +0 -240
  2524. package/node_modules/undici/lib/core/constants.js +0 -118
  2525. package/node_modules/undici/lib/core/diagnostics.js +0 -202
  2526. package/node_modules/undici/lib/core/errors.js +0 -425
  2527. package/node_modules/undici/lib/core/request.js +0 -405
  2528. package/node_modules/undici/lib/core/symbols.js +0 -67
  2529. package/node_modules/undici/lib/core/tree.js +0 -152
  2530. package/node_modules/undici/lib/core/util.js +0 -719
  2531. package/node_modules/undici/lib/dispatcher/agent.js +0 -129
  2532. package/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -209
  2533. package/node_modules/undici/lib/dispatcher/client-h1.js +0 -1487
  2534. package/node_modules/undici/lib/dispatcher/client-h2.js +0 -744
  2535. package/node_modules/undici/lib/dispatcher/client.js +0 -623
  2536. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -199
  2537. package/node_modules/undici/lib/dispatcher/dispatcher.js +0 -65
  2538. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -160
  2539. package/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -117
  2540. package/node_modules/undici/lib/dispatcher/pool-base.js +0 -194
  2541. package/node_modules/undici/lib/dispatcher/pool-stats.js +0 -34
  2542. package/node_modules/undici/lib/dispatcher/pool.js +0 -107
  2543. package/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -274
  2544. package/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
  2545. package/node_modules/undici/lib/global.js +0 -32
  2546. package/node_modules/undici/lib/handler/decorator-handler.js +0 -44
  2547. package/node_modules/undici/lib/handler/redirect-handler.js +0 -232
  2548. package/node_modules/undici/lib/handler/retry-handler.js +0 -374
  2549. package/node_modules/undici/lib/interceptor/dns.js +0 -375
  2550. package/node_modules/undici/lib/interceptor/dump.js +0 -123
  2551. package/node_modules/undici/lib/interceptor/redirect-interceptor.js +0 -21
  2552. package/node_modules/undici/lib/interceptor/redirect.js +0 -24
  2553. package/node_modules/undici/lib/interceptor/response-error.js +0 -86
  2554. package/node_modules/undici/lib/interceptor/retry.js +0 -19
  2555. package/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  2556. package/node_modules/undici/lib/llhttp/constants.js +0 -278
  2557. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -5
  2558. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -5
  2559. package/node_modules/undici/lib/llhttp/utils.js +0 -15
  2560. package/node_modules/undici/lib/mock/mock-agent.js +0 -160
  2561. package/node_modules/undici/lib/mock/mock-client.js +0 -59
  2562. package/node_modules/undici/lib/mock/mock-errors.js +0 -28
  2563. package/node_modules/undici/lib/mock/mock-interceptor.js +0 -207
  2564. package/node_modules/undici/lib/mock/mock-pool.js +0 -59
  2565. package/node_modules/undici/lib/mock/mock-symbols.js +0 -23
  2566. package/node_modules/undici/lib/mock/mock-utils.js +0 -367
  2567. package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  2568. package/node_modules/undici/lib/mock/pluralizer.js +0 -29
  2569. package/node_modules/undici/lib/util/timers.js +0 -423
  2570. package/node_modules/undici/lib/web/cache/cache.js +0 -859
  2571. package/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  2572. package/node_modules/undici/lib/web/cache/symbols.js +0 -5
  2573. package/node_modules/undici/lib/web/cache/util.js +0 -45
  2574. package/node_modules/undici/lib/web/cookies/constants.js +0 -12
  2575. package/node_modules/undici/lib/web/cookies/index.js +0 -184
  2576. package/node_modules/undici/lib/web/cookies/parse.js +0 -310
  2577. package/node_modules/undici/lib/web/cookies/util.js +0 -282
  2578. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -398
  2579. package/node_modules/undici/lib/web/eventsource/eventsource.js +0 -480
  2580. package/node_modules/undici/lib/web/eventsource/util.js +0 -37
  2581. package/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  2582. package/node_modules/undici/lib/web/fetch/body.js +0 -529
  2583. package/node_modules/undici/lib/web/fetch/constants.js +0 -124
  2584. package/node_modules/undici/lib/web/fetch/data-url.js +0 -744
  2585. package/node_modules/undici/lib/web/fetch/dispatcher-weakref.js +0 -46
  2586. package/node_modules/undici/lib/web/fetch/file.js +0 -126
  2587. package/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -474
  2588. package/node_modules/undici/lib/web/fetch/formdata.js +0 -252
  2589. package/node_modules/undici/lib/web/fetch/global.js +0 -40
  2590. package/node_modules/undici/lib/web/fetch/headers.js +0 -687
  2591. package/node_modules/undici/lib/web/fetch/index.js +0 -2272
  2592. package/node_modules/undici/lib/web/fetch/request.js +0 -1037
  2593. package/node_modules/undici/lib/web/fetch/response.js +0 -610
  2594. package/node_modules/undici/lib/web/fetch/symbols.js +0 -9
  2595. package/node_modules/undici/lib/web/fetch/util.js +0 -1632
  2596. package/node_modules/undici/lib/web/fetch/webidl.js +0 -695
  2597. package/node_modules/undici/lib/web/fileapi/encoding.js +0 -290
  2598. package/node_modules/undici/lib/web/fileapi/filereader.js +0 -344
  2599. package/node_modules/undici/lib/web/fileapi/progressevent.js +0 -78
  2600. package/node_modules/undici/lib/web/fileapi/symbols.js +0 -10
  2601. package/node_modules/undici/lib/web/fileapi/util.js +0 -391
  2602. package/node_modules/undici/lib/web/websocket/connection.js +0 -371
  2603. package/node_modules/undici/lib/web/websocket/constants.js +0 -66
  2604. package/node_modules/undici/lib/web/websocket/events.js +0 -329
  2605. package/node_modules/undici/lib/web/websocket/frame.js +0 -96
  2606. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -100
  2607. package/node_modules/undici/lib/web/websocket/receiver.js +0 -513
  2608. package/node_modules/undici/lib/web/websocket/sender.js +0 -104
  2609. package/node_modules/undici/lib/web/websocket/symbols.js +0 -12
  2610. package/node_modules/undici/lib/web/websocket/util.js +0 -322
  2611. package/node_modules/undici/lib/web/websocket/websocket.js +0 -595
  2612. package/node_modules/undici/package.json +0 -160
  2613. package/node_modules/undici/scripts/strip-comments.js +0 -8
  2614. package/node_modules/undici/types/README.md +0 -6
  2615. package/node_modules/undici/types/agent.d.ts +0 -31
  2616. package/node_modules/undici/types/api.d.ts +0 -43
  2617. package/node_modules/undici/types/balanced-pool.d.ts +0 -29
  2618. package/node_modules/undici/types/cache.d.ts +0 -36
  2619. package/node_modules/undici/types/client.d.ts +0 -125
  2620. package/node_modules/undici/types/connector.d.ts +0 -34
  2621. package/node_modules/undici/types/content-type.d.ts +0 -21
  2622. package/node_modules/undici/types/cookies.d.ts +0 -28
  2623. package/node_modules/undici/types/diagnostics-channel.d.ts +0 -66
  2624. package/node_modules/undici/types/dispatcher.d.ts +0 -256
  2625. package/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -21
  2626. package/node_modules/undici/types/errors.d.ts +0 -155
  2627. package/node_modules/undici/types/eventsource.d.ts +0 -61
  2628. package/node_modules/undici/types/fetch.d.ts +0 -209
  2629. package/node_modules/undici/types/file.d.ts +0 -39
  2630. package/node_modules/undici/types/filereader.d.ts +0 -54
  2631. package/node_modules/undici/types/formdata.d.ts +0 -108
  2632. package/node_modules/undici/types/global-dispatcher.d.ts +0 -9
  2633. package/node_modules/undici/types/global-origin.d.ts +0 -7
  2634. package/node_modules/undici/types/handlers.d.ts +0 -15
  2635. package/node_modules/undici/types/header.d.ts +0 -4
  2636. package/node_modules/undici/types/index.d.ts +0 -71
  2637. package/node_modules/undici/types/interceptors.d.ts +0 -32
  2638. package/node_modules/undici/types/mock-agent.d.ts +0 -50
  2639. package/node_modules/undici/types/mock-client.d.ts +0 -25
  2640. package/node_modules/undici/types/mock-errors.d.ts +0 -12
  2641. package/node_modules/undici/types/mock-interceptor.d.ts +0 -93
  2642. package/node_modules/undici/types/mock-pool.d.ts +0 -25
  2643. package/node_modules/undici/types/patch.d.ts +0 -33
  2644. package/node_modules/undici/types/pool-stats.d.ts +0 -19
  2645. package/node_modules/undici/types/pool.d.ts +0 -39
  2646. package/node_modules/undici/types/proxy-agent.d.ts +0 -29
  2647. package/node_modules/undici/types/readable.d.ts +0 -65
  2648. package/node_modules/undici/types/retry-agent.d.ts +0 -8
  2649. package/node_modules/undici/types/retry-handler.d.ts +0 -116
  2650. package/node_modules/undici/types/util.d.ts +0 -18
  2651. package/node_modules/undici/types/webidl.d.ts +0 -228
  2652. package/node_modules/undici/types/websocket.d.ts +0 -150
  2653. package/node_modules/universalify/LICENSE +0 -20
  2654. package/node_modules/universalify/README.md +0 -76
  2655. package/node_modules/universalify/index.js +0 -24
  2656. package/node_modules/universalify/package.json +0 -34
  2657. package/node_modules/update-notifier/check.js +0 -26
  2658. package/node_modules/update-notifier/index.js +0 -7
  2659. package/node_modules/update-notifier/license +0 -9
  2660. package/node_modules/update-notifier/node_modules/chalk/license +0 -9
  2661. package/node_modules/update-notifier/node_modules/chalk/package.json +0 -83
  2662. package/node_modules/update-notifier/node_modules/chalk/readme.md +0 -297
  2663. package/node_modules/update-notifier/node_modules/chalk/source/index.d.ts +0 -325
  2664. package/node_modules/update-notifier/node_modules/chalk/source/index.js +0 -225
  2665. package/node_modules/update-notifier/node_modules/chalk/source/utilities.js +0 -33
  2666. package/node_modules/update-notifier/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  2667. package/node_modules/update-notifier/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  2668. package/node_modules/update-notifier/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  2669. package/node_modules/update-notifier/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  2670. package/node_modules/update-notifier/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  2671. package/node_modules/update-notifier/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  2672. package/node_modules/update-notifier/node_modules/xdg-basedir/index.d.ts +0 -90
  2673. package/node_modules/update-notifier/node_modules/xdg-basedir/index.js +0 -30
  2674. package/node_modules/update-notifier/node_modules/xdg-basedir/license +0 -9
  2675. package/node_modules/update-notifier/node_modules/xdg-basedir/package.json +0 -47
  2676. package/node_modules/update-notifier/node_modules/xdg-basedir/readme.md +0 -70
  2677. package/node_modules/update-notifier/package.json +0 -64
  2678. package/node_modules/update-notifier/readme.md +0 -211
  2679. package/node_modules/update-notifier/update-notifier.js +0 -177
  2680. package/node_modules/uri-js/LICENSE +0 -11
  2681. package/node_modules/uri-js/README.md +0 -203
  2682. package/node_modules/uri-js/dist/es5/uri.all.d.ts +0 -59
  2683. package/node_modules/uri-js/dist/es5/uri.all.js +0 -1443
  2684. package/node_modules/uri-js/dist/es5/uri.all.js.map +0 -1
  2685. package/node_modules/uri-js/dist/es5/uri.all.min.d.ts +0 -59
  2686. package/node_modules/uri-js/dist/es5/uri.all.min.js +0 -3
  2687. package/node_modules/uri-js/dist/es5/uri.all.min.js.map +0 -1
  2688. package/node_modules/uri-js/dist/esnext/index.d.ts +0 -1
  2689. package/node_modules/uri-js/dist/esnext/index.js +0 -17
  2690. package/node_modules/uri-js/dist/esnext/index.js.map +0 -1
  2691. package/node_modules/uri-js/dist/esnext/regexps-iri.d.ts +0 -3
  2692. package/node_modules/uri-js/dist/esnext/regexps-iri.js +0 -3
  2693. package/node_modules/uri-js/dist/esnext/regexps-iri.js.map +0 -1
  2694. package/node_modules/uri-js/dist/esnext/regexps-uri.d.ts +0 -4
  2695. package/node_modules/uri-js/dist/esnext/regexps-uri.js +0 -42
  2696. package/node_modules/uri-js/dist/esnext/regexps-uri.js.map +0 -1
  2697. package/node_modules/uri-js/dist/esnext/schemes/http.d.ts +0 -3
  2698. package/node_modules/uri-js/dist/esnext/schemes/http.js +0 -28
  2699. package/node_modules/uri-js/dist/esnext/schemes/http.js.map +0 -1
  2700. package/node_modules/uri-js/dist/esnext/schemes/https.d.ts +0 -3
  2701. package/node_modules/uri-js/dist/esnext/schemes/https.js +0 -9
  2702. package/node_modules/uri-js/dist/esnext/schemes/https.js.map +0 -1
  2703. package/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts +0 -12
  2704. package/node_modules/uri-js/dist/esnext/schemes/mailto.js +0 -148
  2705. package/node_modules/uri-js/dist/esnext/schemes/mailto.js.map +0 -1
  2706. package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts +0 -7
  2707. package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js +0 -23
  2708. package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map +0 -1
  2709. package/node_modules/uri-js/dist/esnext/schemes/urn.d.ts +0 -10
  2710. package/node_modules/uri-js/dist/esnext/schemes/urn.js +0 -49
  2711. package/node_modules/uri-js/dist/esnext/schemes/urn.js.map +0 -1
  2712. package/node_modules/uri-js/dist/esnext/schemes/ws.d.ts +0 -7
  2713. package/node_modules/uri-js/dist/esnext/schemes/ws.js +0 -41
  2714. package/node_modules/uri-js/dist/esnext/schemes/ws.js.map +0 -1
  2715. package/node_modules/uri-js/dist/esnext/schemes/wss.d.ts +0 -3
  2716. package/node_modules/uri-js/dist/esnext/schemes/wss.js +0 -9
  2717. package/node_modules/uri-js/dist/esnext/schemes/wss.js.map +0 -1
  2718. package/node_modules/uri-js/dist/esnext/uri.d.ts +0 -59
  2719. package/node_modules/uri-js/dist/esnext/uri.js +0 -480
  2720. package/node_modules/uri-js/dist/esnext/uri.js.map +0 -1
  2721. package/node_modules/uri-js/dist/esnext/util.d.ts +0 -6
  2722. package/node_modules/uri-js/dist/esnext/util.js +0 -36
  2723. package/node_modules/uri-js/dist/esnext/util.js.map +0 -1
  2724. package/node_modules/uri-js/package.json +0 -77
  2725. package/node_modules/util-deprecate/History.md +0 -16
  2726. package/node_modules/util-deprecate/LICENSE +0 -24
  2727. package/node_modules/util-deprecate/README.md +0 -53
  2728. package/node_modules/util-deprecate/browser.js +0 -67
  2729. package/node_modules/util-deprecate/node.js +0 -6
  2730. package/node_modules/util-deprecate/package.json +0 -27
  2731. package/node_modules/uuid/AUTHORS +0 -5
  2732. package/node_modules/uuid/CHANGELOG.md +0 -119
  2733. package/node_modules/uuid/LICENSE.md +0 -21
  2734. package/node_modules/uuid/README.md +0 -276
  2735. package/node_modules/uuid/bin/uuid +0 -65
  2736. package/node_modules/uuid/index.js +0 -8
  2737. package/node_modules/uuid/lib/bytesToUuid.js +0 -26
  2738. package/node_modules/uuid/lib/md5-browser.js +0 -216
  2739. package/node_modules/uuid/lib/md5.js +0 -25
  2740. package/node_modules/uuid/lib/rng-browser.js +0 -34
  2741. package/node_modules/uuid/lib/rng.js +0 -8
  2742. package/node_modules/uuid/lib/sha1-browser.js +0 -89
  2743. package/node_modules/uuid/lib/sha1.js +0 -25
  2744. package/node_modules/uuid/lib/v35.js +0 -57
  2745. package/node_modules/uuid/package.json +0 -49
  2746. package/node_modules/uuid/v1.js +0 -109
  2747. package/node_modules/uuid/v3.js +0 -4
  2748. package/node_modules/uuid/v4.js +0 -29
  2749. package/node_modules/uuid/v5.js +0 -3
  2750. package/node_modules/validate-npm-package-name/LICENSE +0 -6
  2751. package/node_modules/validate-npm-package-name/README.md +0 -120
  2752. package/node_modules/validate-npm-package-name/lib/builtin-modules.json +0 -1
  2753. package/node_modules/validate-npm-package-name/lib/index.js +0 -114
  2754. package/node_modules/validate-npm-package-name/package.json +0 -59
  2755. package/node_modules/verror/.npmignore +0 -9
  2756. package/node_modules/verror/CHANGES.md +0 -28
  2757. package/node_modules/verror/CONTRIBUTING.md +0 -19
  2758. package/node_modules/verror/LICENSE +0 -19
  2759. package/node_modules/verror/README.md +0 -528
  2760. package/node_modules/verror/lib/verror.js +0 -451
  2761. package/node_modules/verror/node_modules/core-util-is/LICENSE +0 -19
  2762. package/node_modules/verror/node_modules/core-util-is/README.md +0 -3
  2763. package/node_modules/verror/node_modules/core-util-is/float.patch +0 -604
  2764. package/node_modules/verror/node_modules/core-util-is/lib/util.js +0 -107
  2765. package/node_modules/verror/node_modules/core-util-is/package.json +0 -32
  2766. package/node_modules/verror/node_modules/core-util-is/test.js +0 -68
  2767. package/node_modules/verror/package.json +0 -22
  2768. package/node_modules/when-exit/dist/browser/index.d.ts +0 -2
  2769. package/node_modules/when-exit/dist/browser/index.js +0 -6
  2770. package/node_modules/when-exit/dist/browser/interceptor.d.ts +0 -10
  2771. package/node_modules/when-exit/dist/browser/interceptor.js +0 -27
  2772. package/node_modules/when-exit/dist/node/constants.d.ts +0 -3
  2773. package/node_modules/when-exit/dist/node/constants.js +0 -7
  2774. package/node_modules/when-exit/dist/node/index.d.ts +0 -2
  2775. package/node_modules/when-exit/dist/node/index.js +0 -6
  2776. package/node_modules/when-exit/dist/node/interceptor.d.ts +0 -11
  2777. package/node_modules/when-exit/dist/node/interceptor.js +0 -50
  2778. package/node_modules/when-exit/dist/node/signals.d.ts +0 -2
  2779. package/node_modules/when-exit/dist/node/signals.js +0 -13
  2780. package/node_modules/when-exit/dist/types.d.ts +0 -3
  2781. package/node_modules/when-exit/dist/types.js +0 -2
  2782. package/node_modules/when-exit/license +0 -21
  2783. package/node_modules/when-exit/package.json +0 -35
  2784. package/node_modules/when-exit/readme.md +0 -41
  2785. package/node_modules/which/LICENSE +0 -15
  2786. package/node_modules/which/README.md +0 -51
  2787. package/node_modules/which/bin/which.js +0 -52
  2788. package/node_modules/which/lib/index.js +0 -111
  2789. package/node_modules/which/package.json +0 -52
  2790. package/node_modules/widest-line/index.d.ts +0 -12
  2791. package/node_modules/widest-line/index.js +0 -11
  2792. package/node_modules/widest-line/license +0 -9
  2793. package/node_modules/widest-line/package.json +0 -60
  2794. package/node_modules/widest-line/readme.md +0 -26
  2795. package/node_modules/wrap-ansi/index.d.ts +0 -41
  2796. package/node_modules/wrap-ansi/index.js +0 -222
  2797. package/node_modules/wrap-ansi/license +0 -9
  2798. package/node_modules/wrap-ansi/node_modules/ansi-regex/index.d.ts +0 -33
  2799. package/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +0 -14
  2800. package/node_modules/wrap-ansi/node_modules/ansi-regex/license +0 -9
  2801. package/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +0 -61
  2802. package/node_modules/wrap-ansi/node_modules/ansi-regex/readme.md +0 -66
  2803. package/node_modules/wrap-ansi/node_modules/ansi-styles/index.d.ts +0 -236
  2804. package/node_modules/wrap-ansi/node_modules/ansi-styles/index.js +0 -223
  2805. package/node_modules/wrap-ansi/node_modules/ansi-styles/license +0 -9
  2806. package/node_modules/wrap-ansi/node_modules/ansi-styles/package.json +0 -54
  2807. package/node_modules/wrap-ansi/node_modules/ansi-styles/readme.md +0 -173
  2808. package/node_modules/wrap-ansi/node_modules/strip-ansi/index.d.ts +0 -15
  2809. package/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +0 -19
  2810. package/node_modules/wrap-ansi/node_modules/strip-ansi/license +0 -9
  2811. package/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +0 -59
  2812. package/node_modules/wrap-ansi/node_modules/strip-ansi/readme.md +0 -37
  2813. package/node_modules/wrap-ansi/package.json +0 -69
  2814. package/node_modules/wrap-ansi/readme.md +0 -75
  2815. package/node_modules/wrappy/LICENSE +0 -15
  2816. package/node_modules/wrappy/README.md +0 -36
  2817. package/node_modules/wrappy/package.json +0 -29
  2818. package/node_modules/wrappy/wrappy.js +0 -33
  2819. package/node_modules/xtend/.jshintrc +0 -30
  2820. package/node_modules/xtend/LICENSE +0 -20
  2821. package/node_modules/xtend/README.md +0 -32
  2822. package/node_modules/xtend/immutable.js +0 -19
  2823. package/node_modules/xtend/mutable.js +0 -17
  2824. package/node_modules/xtend/package.json +0 -55
  2825. package/node_modules/xtend/test.js +0 -103
  2826. package/node_modules/y18n/CHANGELOG.md +0 -100
  2827. package/node_modules/y18n/LICENSE +0 -13
  2828. package/node_modules/y18n/README.md +0 -127
  2829. package/node_modules/y18n/build/index.cjs +0 -203
  2830. package/node_modules/y18n/build/lib/cjs.js +0 -6
  2831. package/node_modules/y18n/build/lib/index.js +0 -174
  2832. package/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
  2833. package/node_modules/y18n/index.mjs +0 -8
  2834. package/node_modules/y18n/package.json +0 -70
  2835. package/node_modules/yallist/LICENSE.md +0 -63
  2836. package/node_modules/yallist/README.md +0 -205
  2837. package/node_modules/yallist/dist/commonjs/index.d.ts +0 -39
  2838. package/node_modules/yallist/dist/commonjs/index.d.ts.map +0 -1
  2839. package/node_modules/yallist/dist/commonjs/index.js +0 -384
  2840. package/node_modules/yallist/dist/commonjs/index.js.map +0 -1
  2841. package/node_modules/yallist/dist/commonjs/package.json +0 -3
  2842. package/node_modules/yallist/dist/esm/index.d.ts +0 -39
  2843. package/node_modules/yallist/dist/esm/index.d.ts.map +0 -1
  2844. package/node_modules/yallist/dist/esm/index.js +0 -379
  2845. package/node_modules/yallist/dist/esm/index.js.map +0 -1
  2846. package/node_modules/yallist/dist/esm/package.json +0 -3
  2847. package/node_modules/yallist/package.json +0 -68
  2848. package/node_modules/yargs/LICENSE +0 -21
  2849. package/node_modules/yargs/README.md +0 -182
  2850. package/node_modules/yargs/browser.d.ts +0 -5
  2851. package/node_modules/yargs/browser.mjs +0 -7
  2852. package/node_modules/yargs/build/lib/argsert.js +0 -62
  2853. package/node_modules/yargs/build/lib/command.js +0 -479
  2854. package/node_modules/yargs/build/lib/completion-templates.js +0 -57
  2855. package/node_modules/yargs/build/lib/completion.js +0 -243
  2856. package/node_modules/yargs/build/lib/middleware.js +0 -88
  2857. package/node_modules/yargs/build/lib/parse-command.js +0 -32
  2858. package/node_modules/yargs/build/lib/typings/common-types.js +0 -9
  2859. package/node_modules/yargs/build/lib/typings/yargs-parser-types.js +0 -1
  2860. package/node_modules/yargs/build/lib/usage.js +0 -584
  2861. package/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
  2862. package/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
  2863. package/node_modules/yargs/build/lib/utils/levenshtein.js +0 -34
  2864. package/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
  2865. package/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
  2866. package/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
  2867. package/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
  2868. package/node_modules/yargs/build/lib/utils/which-module.js +0 -10
  2869. package/node_modules/yargs/build/lib/validation.js +0 -305
  2870. package/node_modules/yargs/build/lib/yargs-factory.js +0 -1517
  2871. package/node_modules/yargs/build/lib/yerror.js +0 -9
  2872. package/node_modules/yargs/helpers/helpers.mjs +0 -10
  2873. package/node_modules/yargs/helpers/package.json +0 -3
  2874. package/node_modules/yargs/index.mjs +0 -10
  2875. package/node_modules/yargs/lib/platform-shims/browser.mjs +0 -99
  2876. package/node_modules/yargs/lib/platform-shims/esm.mjs +0 -67
  2877. package/node_modules/yargs/locales/be.json +0 -46
  2878. package/node_modules/yargs/locales/cs.json +0 -51
  2879. package/node_modules/yargs/locales/de.json +0 -46
  2880. package/node_modules/yargs/locales/en.json +0 -55
  2881. package/node_modules/yargs/locales/es.json +0 -46
  2882. package/node_modules/yargs/locales/fi.json +0 -49
  2883. package/node_modules/yargs/locales/fr.json +0 -53
  2884. package/node_modules/yargs/locales/he.json +0 -55
  2885. package/node_modules/yargs/locales/hi.json +0 -49
  2886. package/node_modules/yargs/locales/hu.json +0 -46
  2887. package/node_modules/yargs/locales/id.json +0 -50
  2888. package/node_modules/yargs/locales/it.json +0 -46
  2889. package/node_modules/yargs/locales/ja.json +0 -51
  2890. package/node_modules/yargs/locales/ko.json +0 -49
  2891. package/node_modules/yargs/locales/nb.json +0 -44
  2892. package/node_modules/yargs/locales/nl.json +0 -49
  2893. package/node_modules/yargs/locales/nn.json +0 -44
  2894. package/node_modules/yargs/locales/pirate.json +0 -13
  2895. package/node_modules/yargs/locales/pl.json +0 -49
  2896. package/node_modules/yargs/locales/pt.json +0 -45
  2897. package/node_modules/yargs/locales/pt_BR.json +0 -48
  2898. package/node_modules/yargs/locales/ru.json +0 -51
  2899. package/node_modules/yargs/locales/th.json +0 -46
  2900. package/node_modules/yargs/locales/tr.json +0 -48
  2901. package/node_modules/yargs/locales/uk_UA.json +0 -51
  2902. package/node_modules/yargs/locales/uz.json +0 -52
  2903. package/node_modules/yargs/locales/zh_CN.json +0 -48
  2904. package/node_modules/yargs/locales/zh_TW.json +0 -51
  2905. package/node_modules/yargs/node_modules/yargs-parser/CHANGELOG.md +0 -319
  2906. package/node_modules/yargs/node_modules/yargs-parser/LICENSE.txt +0 -14
  2907. package/node_modules/yargs/node_modules/yargs-parser/README.md +0 -518
  2908. package/node_modules/yargs/node_modules/yargs-parser/browser.js +0 -29
  2909. package/node_modules/yargs/node_modules/yargs-parser/build/lib/index.js +0 -64
  2910. package/node_modules/yargs/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
  2911. package/node_modules/yargs/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
  2912. package/node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
  2913. package/node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1046
  2914. package/node_modules/yargs/node_modules/yargs-parser/package.json +0 -78
  2915. package/node_modules/yargs/package.json +0 -103
@@ -1,3879 +0,0 @@
1
- /* pako 0.2.9 nodeca/pako */(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.pako = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
2
- 'use strict';
3
-
4
-
5
- var TYPED_OK = (typeof Uint8Array !== 'undefined') &&
6
- (typeof Uint16Array !== 'undefined') &&
7
- (typeof Int32Array !== 'undefined');
8
-
9
-
10
- exports.assign = function (obj /*from1, from2, from3, ...*/) {
11
- var sources = Array.prototype.slice.call(arguments, 1);
12
- while (sources.length) {
13
- var source = sources.shift();
14
- if (!source) { continue; }
15
-
16
- if (typeof source !== 'object') {
17
- throw new TypeError(source + 'must be non-object');
18
- }
19
-
20
- for (var p in source) {
21
- if (source.hasOwnProperty(p)) {
22
- obj[p] = source[p];
23
- }
24
- }
25
- }
26
-
27
- return obj;
28
- };
29
-
30
-
31
- // reduce buffer size, avoiding mem copy
32
- exports.shrinkBuf = function (buf, size) {
33
- if (buf.length === size) { return buf; }
34
- if (buf.subarray) { return buf.subarray(0, size); }
35
- buf.length = size;
36
- return buf;
37
- };
38
-
39
-
40
- var fnTyped = {
41
- arraySet: function (dest, src, src_offs, len, dest_offs) {
42
- if (src.subarray && dest.subarray) {
43
- dest.set(src.subarray(src_offs, src_offs + len), dest_offs);
44
- return;
45
- }
46
- // Fallback to ordinary array
47
- for (var i = 0; i < len; i++) {
48
- dest[dest_offs + i] = src[src_offs + i];
49
- }
50
- },
51
- // Join array of chunks to single array.
52
- flattenChunks: function (chunks) {
53
- var i, l, len, pos, chunk, result;
54
-
55
- // calculate data length
56
- len = 0;
57
- for (i = 0, l = chunks.length; i < l; i++) {
58
- len += chunks[i].length;
59
- }
60
-
61
- // join chunks
62
- result = new Uint8Array(len);
63
- pos = 0;
64
- for (i = 0, l = chunks.length; i < l; i++) {
65
- chunk = chunks[i];
66
- result.set(chunk, pos);
67
- pos += chunk.length;
68
- }
69
-
70
- return result;
71
- }
72
- };
73
-
74
- var fnUntyped = {
75
- arraySet: function (dest, src, src_offs, len, dest_offs) {
76
- for (var i = 0; i < len; i++) {
77
- dest[dest_offs + i] = src[src_offs + i];
78
- }
79
- },
80
- // Join array of chunks to single array.
81
- flattenChunks: function (chunks) {
82
- return [].concat.apply([], chunks);
83
- }
84
- };
85
-
86
-
87
- // Enable/Disable typed arrays use, for testing
88
- //
89
- exports.setTyped = function (on) {
90
- if (on) {
91
- exports.Buf8 = Uint8Array;
92
- exports.Buf16 = Uint16Array;
93
- exports.Buf32 = Int32Array;
94
- exports.assign(exports, fnTyped);
95
- } else {
96
- exports.Buf8 = Array;
97
- exports.Buf16 = Array;
98
- exports.Buf32 = Array;
99
- exports.assign(exports, fnUntyped);
100
- }
101
- };
102
-
103
- exports.setTyped(TYPED_OK);
104
-
105
- },{}],2:[function(require,module,exports){
106
- // String encode/decode helpers
107
- 'use strict';
108
-
109
-
110
- var utils = require('./common');
111
-
112
-
113
- // Quick check if we can use fast array to bin string conversion
114
- //
115
- // - apply(Array) can fail on Android 2.2
116
- // - apply(Uint8Array) can fail on iOS 5.1 Safary
117
- //
118
- var STR_APPLY_OK = true;
119
- var STR_APPLY_UIA_OK = true;
120
-
121
- try { String.fromCharCode.apply(null, [ 0 ]); } catch (__) { STR_APPLY_OK = false; }
122
- try { String.fromCharCode.apply(null, new Uint8Array(1)); } catch (__) { STR_APPLY_UIA_OK = false; }
123
-
124
-
125
- // Table with utf8 lengths (calculated by first byte of sequence)
126
- // Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS,
127
- // because max possible codepoint is 0x10ffff
128
- var _utf8len = new utils.Buf8(256);
129
- for (var q = 0; q < 256; q++) {
130
- _utf8len[q] = (q >= 252 ? 6 : q >= 248 ? 5 : q >= 240 ? 4 : q >= 224 ? 3 : q >= 192 ? 2 : 1);
131
- }
132
- _utf8len[254] = _utf8len[254] = 1; // Invalid sequence start
133
-
134
-
135
- // convert string to array (typed, when possible)
136
- exports.string2buf = function (str) {
137
- var buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0;
138
-
139
- // count binary size
140
- for (m_pos = 0; m_pos < str_len; m_pos++) {
141
- c = str.charCodeAt(m_pos);
142
- if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {
143
- c2 = str.charCodeAt(m_pos + 1);
144
- if ((c2 & 0xfc00) === 0xdc00) {
145
- c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);
146
- m_pos++;
147
- }
148
- }
149
- buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4;
150
- }
151
-
152
- // allocate buffer
153
- buf = new utils.Buf8(buf_len);
154
-
155
- // convert
156
- for (i = 0, m_pos = 0; i < buf_len; m_pos++) {
157
- c = str.charCodeAt(m_pos);
158
- if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {
159
- c2 = str.charCodeAt(m_pos + 1);
160
- if ((c2 & 0xfc00) === 0xdc00) {
161
- c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);
162
- m_pos++;
163
- }
164
- }
165
- if (c < 0x80) {
166
- /* one byte */
167
- buf[i++] = c;
168
- } else if (c < 0x800) {
169
- /* two bytes */
170
- buf[i++] = 0xC0 | (c >>> 6);
171
- buf[i++] = 0x80 | (c & 0x3f);
172
- } else if (c < 0x10000) {
173
- /* three bytes */
174
- buf[i++] = 0xE0 | (c >>> 12);
175
- buf[i++] = 0x80 | (c >>> 6 & 0x3f);
176
- buf[i++] = 0x80 | (c & 0x3f);
177
- } else {
178
- /* four bytes */
179
- buf[i++] = 0xf0 | (c >>> 18);
180
- buf[i++] = 0x80 | (c >>> 12 & 0x3f);
181
- buf[i++] = 0x80 | (c >>> 6 & 0x3f);
182
- buf[i++] = 0x80 | (c & 0x3f);
183
- }
184
- }
185
-
186
- return buf;
187
- };
188
-
189
- // Helper (used in 2 places)
190
- function buf2binstring(buf, len) {
191
- // use fallback for big arrays to avoid stack overflow
192
- if (len < 65537) {
193
- if ((buf.subarray && STR_APPLY_UIA_OK) || (!buf.subarray && STR_APPLY_OK)) {
194
- return String.fromCharCode.apply(null, utils.shrinkBuf(buf, len));
195
- }
196
- }
197
-
198
- var result = '';
199
- for (var i = 0; i < len; i++) {
200
- result += String.fromCharCode(buf[i]);
201
- }
202
- return result;
203
- }
204
-
205
-
206
- // Convert byte array to binary string
207
- exports.buf2binstring = function (buf) {
208
- return buf2binstring(buf, buf.length);
209
- };
210
-
211
-
212
- // Convert binary string (typed, when possible)
213
- exports.binstring2buf = function (str) {
214
- var buf = new utils.Buf8(str.length);
215
- for (var i = 0, len = buf.length; i < len; i++) {
216
- buf[i] = str.charCodeAt(i);
217
- }
218
- return buf;
219
- };
220
-
221
-
222
- // convert array to string
223
- exports.buf2string = function (buf, max) {
224
- var i, out, c, c_len;
225
- var len = max || buf.length;
226
-
227
- // Reserve max possible length (2 words per char)
228
- // NB: by unknown reasons, Array is significantly faster for
229
- // String.fromCharCode.apply than Uint16Array.
230
- var utf16buf = new Array(len * 2);
231
-
232
- for (out = 0, i = 0; i < len;) {
233
- c = buf[i++];
234
- // quick process ascii
235
- if (c < 0x80) { utf16buf[out++] = c; continue; }
236
-
237
- c_len = _utf8len[c];
238
- // skip 5 & 6 byte codes
239
- if (c_len > 4) { utf16buf[out++] = 0xfffd; i += c_len - 1; continue; }
240
-
241
- // apply mask on first byte
242
- c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07;
243
- // join the rest
244
- while (c_len > 1 && i < len) {
245
- c = (c << 6) | (buf[i++] & 0x3f);
246
- c_len--;
247
- }
248
-
249
- // terminated by end of string?
250
- if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; }
251
-
252
- if (c < 0x10000) {
253
- utf16buf[out++] = c;
254
- } else {
255
- c -= 0x10000;
256
- utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff);
257
- utf16buf[out++] = 0xdc00 | (c & 0x3ff);
258
- }
259
- }
260
-
261
- return buf2binstring(utf16buf, out);
262
- };
263
-
264
-
265
- // Calculate max possible position in utf8 buffer,
266
- // that will not break sequence. If that's not possible
267
- // - (very small limits) return max size as is.
268
- //
269
- // buf[] - utf8 bytes array
270
- // max - length limit (mandatory);
271
- exports.utf8border = function (buf, max) {
272
- var pos;
273
-
274
- max = max || buf.length;
275
- if (max > buf.length) { max = buf.length; }
276
-
277
- // go back from last position, until start of sequence found
278
- pos = max - 1;
279
- while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }
280
-
281
- // Fuckup - very small and broken sequence,
282
- // return max, because we should return something anyway.
283
- if (pos < 0) { return max; }
284
-
285
- // If we came to start of buffer - that means vuffer is too small,
286
- // return max too.
287
- if (pos === 0) { return max; }
288
-
289
- return (pos + _utf8len[buf[pos]] > max) ? pos : max;
290
- };
291
-
292
- },{"./common":1}],3:[function(require,module,exports){
293
- 'use strict';
294
-
295
- // Note: adler32 takes 12% for level 0 and 2% for level 6.
296
- // It doesn't worth to make additional optimizationa as in original.
297
- // Small size is preferable.
298
-
299
- function adler32(adler, buf, len, pos) {
300
- var s1 = (adler & 0xffff) |0,
301
- s2 = ((adler >>> 16) & 0xffff) |0,
302
- n = 0;
303
-
304
- while (len !== 0) {
305
- // Set limit ~ twice less than 5552, to keep
306
- // s2 in 31-bits, because we force signed ints.
307
- // in other case %= will fail.
308
- n = len > 2000 ? 2000 : len;
309
- len -= n;
310
-
311
- do {
312
- s1 = (s1 + buf[pos++]) |0;
313
- s2 = (s2 + s1) |0;
314
- } while (--n);
315
-
316
- s1 %= 65521;
317
- s2 %= 65521;
318
- }
319
-
320
- return (s1 | (s2 << 16)) |0;
321
- }
322
-
323
-
324
- module.exports = adler32;
325
-
326
- },{}],4:[function(require,module,exports){
327
- 'use strict';
328
-
329
- // Note: we can't get significant speed boost here.
330
- // So write code to minimize size - no pregenerated tables
331
- // and array tools dependencies.
332
-
333
-
334
- // Use ordinary array, since untyped makes no boost here
335
- function makeTable() {
336
- var c, table = [];
337
-
338
- for (var n = 0; n < 256; n++) {
339
- c = n;
340
- for (var k = 0; k < 8; k++) {
341
- c = ((c & 1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1));
342
- }
343
- table[n] = c;
344
- }
345
-
346
- return table;
347
- }
348
-
349
- // Create table on load. Just 255 signed longs. Not a problem.
350
- var crcTable = makeTable();
351
-
352
-
353
- function crc32(crc, buf, len, pos) {
354
- var t = crcTable,
355
- end = pos + len;
356
-
357
- crc ^= -1;
358
-
359
- for (var i = pos; i < end; i++) {
360
- crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF];
361
- }
362
-
363
- return (crc ^ (-1)); // >>> 0;
364
- }
365
-
366
-
367
- module.exports = crc32;
368
-
369
- },{}],5:[function(require,module,exports){
370
- 'use strict';
371
-
372
- var utils = require('../utils/common');
373
- var trees = require('./trees');
374
- var adler32 = require('./adler32');
375
- var crc32 = require('./crc32');
376
- var msg = require('./messages');
377
-
378
- /* Public constants ==========================================================*/
379
- /* ===========================================================================*/
380
-
381
-
382
- /* Allowed flush values; see deflate() and inflate() below for details */
383
- var Z_NO_FLUSH = 0;
384
- var Z_PARTIAL_FLUSH = 1;
385
- //var Z_SYNC_FLUSH = 2;
386
- var Z_FULL_FLUSH = 3;
387
- var Z_FINISH = 4;
388
- var Z_BLOCK = 5;
389
- //var Z_TREES = 6;
390
-
391
-
392
- /* Return codes for the compression/decompression functions. Negative values
393
- * are errors, positive values are used for special but normal events.
394
- */
395
- var Z_OK = 0;
396
- var Z_STREAM_END = 1;
397
- //var Z_NEED_DICT = 2;
398
- //var Z_ERRNO = -1;
399
- var Z_STREAM_ERROR = -2;
400
- var Z_DATA_ERROR = -3;
401
- //var Z_MEM_ERROR = -4;
402
- var Z_BUF_ERROR = -5;
403
- //var Z_VERSION_ERROR = -6;
404
-
405
-
406
- /* compression levels */
407
- //var Z_NO_COMPRESSION = 0;
408
- //var Z_BEST_SPEED = 1;
409
- //var Z_BEST_COMPRESSION = 9;
410
- var Z_DEFAULT_COMPRESSION = -1;
411
-
412
-
413
- var Z_FILTERED = 1;
414
- var Z_HUFFMAN_ONLY = 2;
415
- var Z_RLE = 3;
416
- var Z_FIXED = 4;
417
- var Z_DEFAULT_STRATEGY = 0;
418
-
419
- /* Possible values of the data_type field (though see inflate()) */
420
- //var Z_BINARY = 0;
421
- //var Z_TEXT = 1;
422
- //var Z_ASCII = 1; // = Z_TEXT
423
- var Z_UNKNOWN = 2;
424
-
425
-
426
- /* The deflate compression method */
427
- var Z_DEFLATED = 8;
428
-
429
- /*============================================================================*/
430
-
431
-
432
- var MAX_MEM_LEVEL = 9;
433
- /* Maximum value for memLevel in deflateInit2 */
434
- var MAX_WBITS = 15;
435
- /* 32K LZ77 window */
436
- var DEF_MEM_LEVEL = 8;
437
-
438
-
439
- var LENGTH_CODES = 29;
440
- /* number of length codes, not counting the special END_BLOCK code */
441
- var LITERALS = 256;
442
- /* number of literal bytes 0..255 */
443
- var L_CODES = LITERALS + 1 + LENGTH_CODES;
444
- /* number of Literal or Length codes, including the END_BLOCK code */
445
- var D_CODES = 30;
446
- /* number of distance codes */
447
- var BL_CODES = 19;
448
- /* number of codes used to transfer the bit lengths */
449
- var HEAP_SIZE = 2 * L_CODES + 1;
450
- /* maximum heap size */
451
- var MAX_BITS = 15;
452
- /* All codes must not exceed MAX_BITS bits */
453
-
454
- var MIN_MATCH = 3;
455
- var MAX_MATCH = 258;
456
- var MIN_LOOKAHEAD = (MAX_MATCH + MIN_MATCH + 1);
457
-
458
- var PRESET_DICT = 0x20;
459
-
460
- var INIT_STATE = 42;
461
- var EXTRA_STATE = 69;
462
- var NAME_STATE = 73;
463
- var COMMENT_STATE = 91;
464
- var HCRC_STATE = 103;
465
- var BUSY_STATE = 113;
466
- var FINISH_STATE = 666;
467
-
468
- var BS_NEED_MORE = 1; /* block not completed, need more input or more output */
469
- var BS_BLOCK_DONE = 2; /* block flush performed */
470
- var BS_FINISH_STARTED = 3; /* finish started, need only more output at next deflate */
471
- var BS_FINISH_DONE = 4; /* finish done, accept no more input or output */
472
-
473
- var OS_CODE = 0x03; // Unix :) . Don't detect, use this default.
474
-
475
- function err(strm, errorCode) {
476
- strm.msg = msg[errorCode];
477
- return errorCode;
478
- }
479
-
480
- function rank(f) {
481
- return ((f) << 1) - ((f) > 4 ? 9 : 0);
482
- }
483
-
484
- function zero(buf) { var len = buf.length; while (--len >= 0) { buf[len] = 0; } }
485
-
486
-
487
- /* =========================================================================
488
- * Flush as much pending output as possible. All deflate() output goes
489
- * through this function so some applications may wish to modify it
490
- * to avoid allocating a large strm->output buffer and copying into it.
491
- * (See also read_buf()).
492
- */
493
- function flush_pending(strm) {
494
- var s = strm.state;
495
-
496
- //_tr_flush_bits(s);
497
- var len = s.pending;
498
- if (len > strm.avail_out) {
499
- len = strm.avail_out;
500
- }
501
- if (len === 0) { return; }
502
-
503
- utils.arraySet(strm.output, s.pending_buf, s.pending_out, len, strm.next_out);
504
- strm.next_out += len;
505
- s.pending_out += len;
506
- strm.total_out += len;
507
- strm.avail_out -= len;
508
- s.pending -= len;
509
- if (s.pending === 0) {
510
- s.pending_out = 0;
511
- }
512
- }
513
-
514
-
515
- function flush_block_only(s, last) {
516
- trees._tr_flush_block(s, (s.block_start >= 0 ? s.block_start : -1), s.strstart - s.block_start, last);
517
- s.block_start = s.strstart;
518
- flush_pending(s.strm);
519
- }
520
-
521
-
522
- function put_byte(s, b) {
523
- s.pending_buf[s.pending++] = b;
524
- }
525
-
526
-
527
- /* =========================================================================
528
- * Put a short in the pending buffer. The 16-bit value is put in MSB order.
529
- * IN assertion: the stream state is correct and there is enough room in
530
- * pending_buf.
531
- */
532
- function putShortMSB(s, b) {
533
- // put_byte(s, (Byte)(b >> 8));
534
- // put_byte(s, (Byte)(b & 0xff));
535
- s.pending_buf[s.pending++] = (b >>> 8) & 0xff;
536
- s.pending_buf[s.pending++] = b & 0xff;
537
- }
538
-
539
-
540
- /* ===========================================================================
541
- * Read a new buffer from the current input stream, update the adler32
542
- * and total number of bytes read. All deflate() input goes through
543
- * this function so some applications may wish to modify it to avoid
544
- * allocating a large strm->input buffer and copying from it.
545
- * (See also flush_pending()).
546
- */
547
- function read_buf(strm, buf, start, size) {
548
- var len = strm.avail_in;
549
-
550
- if (len > size) { len = size; }
551
- if (len === 0) { return 0; }
552
-
553
- strm.avail_in -= len;
554
-
555
- // zmemcpy(buf, strm->next_in, len);
556
- utils.arraySet(buf, strm.input, strm.next_in, len, start);
557
- if (strm.state.wrap === 1) {
558
- strm.adler = adler32(strm.adler, buf, len, start);
559
- }
560
-
561
- else if (strm.state.wrap === 2) {
562
- strm.adler = crc32(strm.adler, buf, len, start);
563
- }
564
-
565
- strm.next_in += len;
566
- strm.total_in += len;
567
-
568
- return len;
569
- }
570
-
571
-
572
- /* ===========================================================================
573
- * Set match_start to the longest match starting at the given string and
574
- * return its length. Matches shorter or equal to prev_length are discarded,
575
- * in which case the result is equal to prev_length and match_start is
576
- * garbage.
577
- * IN assertions: cur_match is the head of the hash chain for the current
578
- * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1
579
- * OUT assertion: the match length is not greater than s->lookahead.
580
- */
581
- function longest_match(s, cur_match) {
582
- var chain_length = s.max_chain_length; /* max hash chain length */
583
- var scan = s.strstart; /* current string */
584
- var match; /* matched string */
585
- var len; /* length of current match */
586
- var best_len = s.prev_length; /* best match length so far */
587
- var nice_match = s.nice_match; /* stop if match long enough */
588
- var limit = (s.strstart > (s.w_size - MIN_LOOKAHEAD)) ?
589
- s.strstart - (s.w_size - MIN_LOOKAHEAD) : 0/*NIL*/;
590
-
591
- var _win = s.window; // shortcut
592
-
593
- var wmask = s.w_mask;
594
- var prev = s.prev;
595
-
596
- /* Stop when cur_match becomes <= limit. To simplify the code,
597
- * we prevent matches with the string of window index 0.
598
- */
599
-
600
- var strend = s.strstart + MAX_MATCH;
601
- var scan_end1 = _win[scan + best_len - 1];
602
- var scan_end = _win[scan + best_len];
603
-
604
- /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.
605
- * It is easy to get rid of this optimization if necessary.
606
- */
607
- // Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
608
-
609
- /* Do not waste too much time if we already have a good match: */
610
- if (s.prev_length >= s.good_match) {
611
- chain_length >>= 2;
612
- }
613
- /* Do not look for matches beyond the end of the input. This is necessary
614
- * to make deflate deterministic.
615
- */
616
- if (nice_match > s.lookahead) { nice_match = s.lookahead; }
617
-
618
- // Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
619
-
620
- do {
621
- // Assert(cur_match < s->strstart, "no future");
622
- match = cur_match;
623
-
624
- /* Skip to next match if the match length cannot increase
625
- * or if the match length is less than 2. Note that the checks below
626
- * for insufficient lookahead only occur occasionally for performance
627
- * reasons. Therefore uninitialized memory will be accessed, and
628
- * conditional jumps will be made that depend on those values.
629
- * However the length of the match is limited to the lookahead, so
630
- * the output of deflate is not affected by the uninitialized values.
631
- */
632
-
633
- if (_win[match + best_len] !== scan_end ||
634
- _win[match + best_len - 1] !== scan_end1 ||
635
- _win[match] !== _win[scan] ||
636
- _win[++match] !== _win[scan + 1]) {
637
- continue;
638
- }
639
-
640
- /* The check at best_len-1 can be removed because it will be made
641
- * again later. (This heuristic is not always a win.)
642
- * It is not necessary to compare scan[2] and match[2] since they
643
- * are always equal when the other bytes match, given that
644
- * the hash keys are equal and that HASH_BITS >= 8.
645
- */
646
- scan += 2;
647
- match++;
648
- // Assert(*scan == *match, "match[2]?");
649
-
650
- /* We check for insufficient lookahead only every 8th comparison;
651
- * the 256th check will be made at strstart+258.
652
- */
653
- do {
654
- /*jshint noempty:false*/
655
- } while (_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
656
- _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
657
- _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
658
- _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&
659
- scan < strend);
660
-
661
- // Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
662
-
663
- len = MAX_MATCH - (strend - scan);
664
- scan = strend - MAX_MATCH;
665
-
666
- if (len > best_len) {
667
- s.match_start = cur_match;
668
- best_len = len;
669
- if (len >= nice_match) {
670
- break;
671
- }
672
- scan_end1 = _win[scan + best_len - 1];
673
- scan_end = _win[scan + best_len];
674
- }
675
- } while ((cur_match = prev[cur_match & wmask]) > limit && --chain_length !== 0);
676
-
677
- if (best_len <= s.lookahead) {
678
- return best_len;
679
- }
680
- return s.lookahead;
681
- }
682
-
683
-
684
- /* ===========================================================================
685
- * Fill the window when the lookahead becomes insufficient.
686
- * Updates strstart and lookahead.
687
- *
688
- * IN assertion: lookahead < MIN_LOOKAHEAD
689
- * OUT assertions: strstart <= window_size-MIN_LOOKAHEAD
690
- * At least one byte has been read, or avail_in == 0; reads are
691
- * performed for at least two bytes (required for the zip translate_eol
692
- * option -- not supported here).
693
- */
694
- function fill_window(s) {
695
- var _w_size = s.w_size;
696
- var p, n, m, more, str;
697
-
698
- //Assert(s->lookahead < MIN_LOOKAHEAD, "already enough lookahead");
699
-
700
- do {
701
- more = s.window_size - s.lookahead - s.strstart;
702
-
703
- // JS ints have 32 bit, block below not needed
704
- /* Deal with !@#$% 64K limit: */
705
- //if (sizeof(int) <= 2) {
706
- // if (more == 0 && s->strstart == 0 && s->lookahead == 0) {
707
- // more = wsize;
708
- //
709
- // } else if (more == (unsigned)(-1)) {
710
- // /* Very unlikely, but possible on 16 bit machine if
711
- // * strstart == 0 && lookahead == 1 (input done a byte at time)
712
- // */
713
- // more--;
714
- // }
715
- //}
716
-
717
-
718
- /* If the window is almost full and there is insufficient lookahead,
719
- * move the upper half to the lower one to make room in the upper half.
720
- */
721
- if (s.strstart >= _w_size + (_w_size - MIN_LOOKAHEAD)) {
722
-
723
- utils.arraySet(s.window, s.window, _w_size, _w_size, 0);
724
- s.match_start -= _w_size;
725
- s.strstart -= _w_size;
726
- /* we now have strstart >= MAX_DIST */
727
- s.block_start -= _w_size;
728
-
729
- /* Slide the hash table (could be avoided with 32 bit values
730
- at the expense of memory usage). We slide even when level == 0
731
- to keep the hash table consistent if we switch back to level > 0
732
- later. (Using level 0 permanently is not an optimal usage of
733
- zlib, so we don't care about this pathological case.)
734
- */
735
-
736
- n = s.hash_size;
737
- p = n;
738
- do {
739
- m = s.head[--p];
740
- s.head[p] = (m >= _w_size ? m - _w_size : 0);
741
- } while (--n);
742
-
743
- n = _w_size;
744
- p = n;
745
- do {
746
- m = s.prev[--p];
747
- s.prev[p] = (m >= _w_size ? m - _w_size : 0);
748
- /* If n is not on any hash chain, prev[n] is garbage but
749
- * its value will never be used.
750
- */
751
- } while (--n);
752
-
753
- more += _w_size;
754
- }
755
- if (s.strm.avail_in === 0) {
756
- break;
757
- }
758
-
759
- /* If there was no sliding:
760
- * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&
761
- * more == window_size - lookahead - strstart
762
- * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)
763
- * => more >= window_size - 2*WSIZE + 2
764
- * In the BIG_MEM or MMAP case (not yet supported),
765
- * window_size == input_size + MIN_LOOKAHEAD &&
766
- * strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD.
767
- * Otherwise, window_size == 2*WSIZE so more >= 2.
768
- * If there was sliding, more >= WSIZE. So in all cases, more >= 2.
769
- */
770
- //Assert(more >= 2, "more < 2");
771
- n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more);
772
- s.lookahead += n;
773
-
774
- /* Initialize the hash value now that we have some input: */
775
- if (s.lookahead + s.insert >= MIN_MATCH) {
776
- str = s.strstart - s.insert;
777
- s.ins_h = s.window[str];
778
-
779
- /* UPDATE_HASH(s, s->ins_h, s->window[str + 1]); */
780
- s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + 1]) & s.hash_mask;
781
- //#if MIN_MATCH != 3
782
- // Call update_hash() MIN_MATCH-3 more times
783
- //#endif
784
- while (s.insert) {
785
- /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */
786
- s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + MIN_MATCH - 1]) & s.hash_mask;
787
-
788
- s.prev[str & s.w_mask] = s.head[s.ins_h];
789
- s.head[s.ins_h] = str;
790
- str++;
791
- s.insert--;
792
- if (s.lookahead + s.insert < MIN_MATCH) {
793
- break;
794
- }
795
- }
796
- }
797
- /* If the whole input has less than MIN_MATCH bytes, ins_h is garbage,
798
- * but this is not important since only literal bytes will be emitted.
799
- */
800
-
801
- } while (s.lookahead < MIN_LOOKAHEAD && s.strm.avail_in !== 0);
802
-
803
- /* If the WIN_INIT bytes after the end of the current data have never been
804
- * written, then zero those bytes in order to avoid memory check reports of
805
- * the use of uninitialized (or uninitialised as Julian writes) bytes by
806
- * the longest match routines. Update the high water mark for the next
807
- * time through here. WIN_INIT is set to MAX_MATCH since the longest match
808
- * routines allow scanning to strstart + MAX_MATCH, ignoring lookahead.
809
- */
810
- // if (s.high_water < s.window_size) {
811
- // var curr = s.strstart + s.lookahead;
812
- // var init = 0;
813
- //
814
- // if (s.high_water < curr) {
815
- // /* Previous high water mark below current data -- zero WIN_INIT
816
- // * bytes or up to end of window, whichever is less.
817
- // */
818
- // init = s.window_size - curr;
819
- // if (init > WIN_INIT)
820
- // init = WIN_INIT;
821
- // zmemzero(s->window + curr, (unsigned)init);
822
- // s->high_water = curr + init;
823
- // }
824
- // else if (s->high_water < (ulg)curr + WIN_INIT) {
825
- // /* High water mark at or above current data, but below current data
826
- // * plus WIN_INIT -- zero out to current data plus WIN_INIT, or up
827
- // * to end of window, whichever is less.
828
- // */
829
- // init = (ulg)curr + WIN_INIT - s->high_water;
830
- // if (init > s->window_size - s->high_water)
831
- // init = s->window_size - s->high_water;
832
- // zmemzero(s->window + s->high_water, (unsigned)init);
833
- // s->high_water += init;
834
- // }
835
- // }
836
- //
837
- // Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD,
838
- // "not enough room for search");
839
- }
840
-
841
- /* ===========================================================================
842
- * Copy without compression as much as possible from the input stream, return
843
- * the current block state.
844
- * This function does not insert new strings in the dictionary since
845
- * uncompressible data is probably not useful. This function is used
846
- * only for the level=0 compression option.
847
- * NOTE: this function should be optimized to avoid extra copying from
848
- * window to pending_buf.
849
- */
850
- function deflate_stored(s, flush) {
851
- /* Stored blocks are limited to 0xffff bytes, pending_buf is limited
852
- * to pending_buf_size, and each stored block has a 5 byte header:
853
- */
854
- var max_block_size = 0xffff;
855
-
856
- if (max_block_size > s.pending_buf_size - 5) {
857
- max_block_size = s.pending_buf_size - 5;
858
- }
859
-
860
- /* Copy as much as possible from input to output: */
861
- for (;;) {
862
- /* Fill the window as much as possible: */
863
- if (s.lookahead <= 1) {
864
-
865
- //Assert(s->strstart < s->w_size+MAX_DIST(s) ||
866
- // s->block_start >= (long)s->w_size, "slide too late");
867
- // if (!(s.strstart < s.w_size + (s.w_size - MIN_LOOKAHEAD) ||
868
- // s.block_start >= s.w_size)) {
869
- // throw new Error("slide too late");
870
- // }
871
-
872
- fill_window(s);
873
- if (s.lookahead === 0 && flush === Z_NO_FLUSH) {
874
- return BS_NEED_MORE;
875
- }
876
-
877
- if (s.lookahead === 0) {
878
- break;
879
- }
880
- /* flush the current block */
881
- }
882
- //Assert(s->block_start >= 0L, "block gone");
883
- // if (s.block_start < 0) throw new Error("block gone");
884
-
885
- s.strstart += s.lookahead;
886
- s.lookahead = 0;
887
-
888
- /* Emit a stored block if pending_buf will be full: */
889
- var max_start = s.block_start + max_block_size;
890
-
891
- if (s.strstart === 0 || s.strstart >= max_start) {
892
- /* strstart == 0 is possible when wraparound on 16-bit machine */
893
- s.lookahead = s.strstart - max_start;
894
- s.strstart = max_start;
895
- /*** FLUSH_BLOCK(s, 0); ***/
896
- flush_block_only(s, false);
897
- if (s.strm.avail_out === 0) {
898
- return BS_NEED_MORE;
899
- }
900
- /***/
901
-
902
-
903
- }
904
- /* Flush if we may have to slide, otherwise block_start may become
905
- * negative and the data will be gone:
906
- */
907
- if (s.strstart - s.block_start >= (s.w_size - MIN_LOOKAHEAD)) {
908
- /*** FLUSH_BLOCK(s, 0); ***/
909
- flush_block_only(s, false);
910
- if (s.strm.avail_out === 0) {
911
- return BS_NEED_MORE;
912
- }
913
- /***/
914
- }
915
- }
916
-
917
- s.insert = 0;
918
-
919
- if (flush === Z_FINISH) {
920
- /*** FLUSH_BLOCK(s, 1); ***/
921
- flush_block_only(s, true);
922
- if (s.strm.avail_out === 0) {
923
- return BS_FINISH_STARTED;
924
- }
925
- /***/
926
- return BS_FINISH_DONE;
927
- }
928
-
929
- if (s.strstart > s.block_start) {
930
- /*** FLUSH_BLOCK(s, 0); ***/
931
- flush_block_only(s, false);
932
- if (s.strm.avail_out === 0) {
933
- return BS_NEED_MORE;
934
- }
935
- /***/
936
- }
937
-
938
- return BS_NEED_MORE;
939
- }
940
-
941
- /* ===========================================================================
942
- * Compress as much as possible from the input stream, return the current
943
- * block state.
944
- * This function does not perform lazy evaluation of matches and inserts
945
- * new strings in the dictionary only for unmatched strings or for short
946
- * matches. It is used only for the fast compression options.
947
- */
948
- function deflate_fast(s, flush) {
949
- var hash_head; /* head of the hash chain */
950
- var bflush; /* set if current block must be flushed */
951
-
952
- for (;;) {
953
- /* Make sure that we always have enough lookahead, except
954
- * at the end of the input file. We need MAX_MATCH bytes
955
- * for the next match, plus MIN_MATCH bytes to insert the
956
- * string following the next match.
957
- */
958
- if (s.lookahead < MIN_LOOKAHEAD) {
959
- fill_window(s);
960
- if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {
961
- return BS_NEED_MORE;
962
- }
963
- if (s.lookahead === 0) {
964
- break; /* flush the current block */
965
- }
966
- }
967
-
968
- /* Insert the string window[strstart .. strstart+2] in the
969
- * dictionary, and set hash_head to the head of the hash chain:
970
- */
971
- hash_head = 0/*NIL*/;
972
- if (s.lookahead >= MIN_MATCH) {
973
- /*** INSERT_STRING(s, s.strstart, hash_head); ***/
974
- s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;
975
- hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
976
- s.head[s.ins_h] = s.strstart;
977
- /***/
978
- }
979
-
980
- /* Find the longest match, discarding those <= prev_length.
981
- * At this point we have always match_length < MIN_MATCH
982
- */
983
- if (hash_head !== 0/*NIL*/ && ((s.strstart - hash_head) <= (s.w_size - MIN_LOOKAHEAD))) {
984
- /* To simplify the code, we prevent matches with the string
985
- * of window index 0 (in particular we have to avoid a match
986
- * of the string with itself at the start of the input file).
987
- */
988
- s.match_length = longest_match(s, hash_head);
989
- /* longest_match() sets match_start */
990
- }
991
- if (s.match_length >= MIN_MATCH) {
992
- // check_match(s, s.strstart, s.match_start, s.match_length); // for debug only
993
-
994
- /*** _tr_tally_dist(s, s.strstart - s.match_start,
995
- s.match_length - MIN_MATCH, bflush); ***/
996
- bflush = trees._tr_tally(s, s.strstart - s.match_start, s.match_length - MIN_MATCH);
997
-
998
- s.lookahead -= s.match_length;
999
-
1000
- /* Insert new strings in the hash table only if the match length
1001
- * is not too large. This saves time but degrades compression.
1002
- */
1003
- if (s.match_length <= s.max_lazy_match/*max_insert_length*/ && s.lookahead >= MIN_MATCH) {
1004
- s.match_length--; /* string at strstart already in table */
1005
- do {
1006
- s.strstart++;
1007
- /*** INSERT_STRING(s, s.strstart, hash_head); ***/
1008
- s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;
1009
- hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
1010
- s.head[s.ins_h] = s.strstart;
1011
- /***/
1012
- /* strstart never exceeds WSIZE-MAX_MATCH, so there are
1013
- * always MIN_MATCH bytes ahead.
1014
- */
1015
- } while (--s.match_length !== 0);
1016
- s.strstart++;
1017
- } else
1018
- {
1019
- s.strstart += s.match_length;
1020
- s.match_length = 0;
1021
- s.ins_h = s.window[s.strstart];
1022
- /* UPDATE_HASH(s, s.ins_h, s.window[s.strstart+1]); */
1023
- s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + 1]) & s.hash_mask;
1024
-
1025
- //#if MIN_MATCH != 3
1026
- // Call UPDATE_HASH() MIN_MATCH-3 more times
1027
- //#endif
1028
- /* If lookahead < MIN_MATCH, ins_h is garbage, but it does not
1029
- * matter since it will be recomputed at next deflate call.
1030
- */
1031
- }
1032
- } else {
1033
- /* No match, output a literal byte */
1034
- //Tracevv((stderr,"%c", s.window[s.strstart]));
1035
- /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
1036
- bflush = trees._tr_tally(s, 0, s.window[s.strstart]);
1037
-
1038
- s.lookahead--;
1039
- s.strstart++;
1040
- }
1041
- if (bflush) {
1042
- /*** FLUSH_BLOCK(s, 0); ***/
1043
- flush_block_only(s, false);
1044
- if (s.strm.avail_out === 0) {
1045
- return BS_NEED_MORE;
1046
- }
1047
- /***/
1048
- }
1049
- }
1050
- s.insert = ((s.strstart < (MIN_MATCH - 1)) ? s.strstart : MIN_MATCH - 1);
1051
- if (flush === Z_FINISH) {
1052
- /*** FLUSH_BLOCK(s, 1); ***/
1053
- flush_block_only(s, true);
1054
- if (s.strm.avail_out === 0) {
1055
- return BS_FINISH_STARTED;
1056
- }
1057
- /***/
1058
- return BS_FINISH_DONE;
1059
- }
1060
- if (s.last_lit) {
1061
- /*** FLUSH_BLOCK(s, 0); ***/
1062
- flush_block_only(s, false);
1063
- if (s.strm.avail_out === 0) {
1064
- return BS_NEED_MORE;
1065
- }
1066
- /***/
1067
- }
1068
- return BS_BLOCK_DONE;
1069
- }
1070
-
1071
- /* ===========================================================================
1072
- * Same as above, but achieves better compression. We use a lazy
1073
- * evaluation for matches: a match is finally adopted only if there is
1074
- * no better match at the next window position.
1075
- */
1076
- function deflate_slow(s, flush) {
1077
- var hash_head; /* head of hash chain */
1078
- var bflush; /* set if current block must be flushed */
1079
-
1080
- var max_insert;
1081
-
1082
- /* Process the input block. */
1083
- for (;;) {
1084
- /* Make sure that we always have enough lookahead, except
1085
- * at the end of the input file. We need MAX_MATCH bytes
1086
- * for the next match, plus MIN_MATCH bytes to insert the
1087
- * string following the next match.
1088
- */
1089
- if (s.lookahead < MIN_LOOKAHEAD) {
1090
- fill_window(s);
1091
- if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {
1092
- return BS_NEED_MORE;
1093
- }
1094
- if (s.lookahead === 0) { break; } /* flush the current block */
1095
- }
1096
-
1097
- /* Insert the string window[strstart .. strstart+2] in the
1098
- * dictionary, and set hash_head to the head of the hash chain:
1099
- */
1100
- hash_head = 0/*NIL*/;
1101
- if (s.lookahead >= MIN_MATCH) {
1102
- /*** INSERT_STRING(s, s.strstart, hash_head); ***/
1103
- s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;
1104
- hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
1105
- s.head[s.ins_h] = s.strstart;
1106
- /***/
1107
- }
1108
-
1109
- /* Find the longest match, discarding those <= prev_length.
1110
- */
1111
- s.prev_length = s.match_length;
1112
- s.prev_match = s.match_start;
1113
- s.match_length = MIN_MATCH - 1;
1114
-
1115
- if (hash_head !== 0/*NIL*/ && s.prev_length < s.max_lazy_match &&
1116
- s.strstart - hash_head <= (s.w_size - MIN_LOOKAHEAD)/*MAX_DIST(s)*/) {
1117
- /* To simplify the code, we prevent matches with the string
1118
- * of window index 0 (in particular we have to avoid a match
1119
- * of the string with itself at the start of the input file).
1120
- */
1121
- s.match_length = longest_match(s, hash_head);
1122
- /* longest_match() sets match_start */
1123
-
1124
- if (s.match_length <= 5 &&
1125
- (s.strategy === Z_FILTERED || (s.match_length === MIN_MATCH && s.strstart - s.match_start > 4096/*TOO_FAR*/))) {
1126
-
1127
- /* If prev_match is also MIN_MATCH, match_start is garbage
1128
- * but we will ignore the current match anyway.
1129
- */
1130
- s.match_length = MIN_MATCH - 1;
1131
- }
1132
- }
1133
- /* If there was a match at the previous step and the current
1134
- * match is not better, output the previous match:
1135
- */
1136
- if (s.prev_length >= MIN_MATCH && s.match_length <= s.prev_length) {
1137
- max_insert = s.strstart + s.lookahead - MIN_MATCH;
1138
- /* Do not insert strings in hash table beyond this. */
1139
-
1140
- //check_match(s, s.strstart-1, s.prev_match, s.prev_length);
1141
-
1142
- /***_tr_tally_dist(s, s.strstart - 1 - s.prev_match,
1143
- s.prev_length - MIN_MATCH, bflush);***/
1144
- bflush = trees._tr_tally(s, s.strstart - 1 - s.prev_match, s.prev_length - MIN_MATCH);
1145
- /* Insert in hash table all strings up to the end of the match.
1146
- * strstart-1 and strstart are already inserted. If there is not
1147
- * enough lookahead, the last two strings are not inserted in
1148
- * the hash table.
1149
- */
1150
- s.lookahead -= s.prev_length - 1;
1151
- s.prev_length -= 2;
1152
- do {
1153
- if (++s.strstart <= max_insert) {
1154
- /*** INSERT_STRING(s, s.strstart, hash_head); ***/
1155
- s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[s.strstart + MIN_MATCH - 1]) & s.hash_mask;
1156
- hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];
1157
- s.head[s.ins_h] = s.strstart;
1158
- /***/
1159
- }
1160
- } while (--s.prev_length !== 0);
1161
- s.match_available = 0;
1162
- s.match_length = MIN_MATCH - 1;
1163
- s.strstart++;
1164
-
1165
- if (bflush) {
1166
- /*** FLUSH_BLOCK(s, 0); ***/
1167
- flush_block_only(s, false);
1168
- if (s.strm.avail_out === 0) {
1169
- return BS_NEED_MORE;
1170
- }
1171
- /***/
1172
- }
1173
-
1174
- } else if (s.match_available) {
1175
- /* If there was no match at the previous position, output a
1176
- * single literal. If there was a match but the current match
1177
- * is longer, truncate the previous match to a single literal.
1178
- */
1179
- //Tracevv((stderr,"%c", s->window[s->strstart-1]));
1180
- /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/
1181
- bflush = trees._tr_tally(s, 0, s.window[s.strstart - 1]);
1182
-
1183
- if (bflush) {
1184
- /*** FLUSH_BLOCK_ONLY(s, 0) ***/
1185
- flush_block_only(s, false);
1186
- /***/
1187
- }
1188
- s.strstart++;
1189
- s.lookahead--;
1190
- if (s.strm.avail_out === 0) {
1191
- return BS_NEED_MORE;
1192
- }
1193
- } else {
1194
- /* There is no previous match to compare with, wait for
1195
- * the next step to decide.
1196
- */
1197
- s.match_available = 1;
1198
- s.strstart++;
1199
- s.lookahead--;
1200
- }
1201
- }
1202
- //Assert (flush != Z_NO_FLUSH, "no flush?");
1203
- if (s.match_available) {
1204
- //Tracevv((stderr,"%c", s->window[s->strstart-1]));
1205
- /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/
1206
- bflush = trees._tr_tally(s, 0, s.window[s.strstart - 1]);
1207
-
1208
- s.match_available = 0;
1209
- }
1210
- s.insert = s.strstart < MIN_MATCH - 1 ? s.strstart : MIN_MATCH - 1;
1211
- if (flush === Z_FINISH) {
1212
- /*** FLUSH_BLOCK(s, 1); ***/
1213
- flush_block_only(s, true);
1214
- if (s.strm.avail_out === 0) {
1215
- return BS_FINISH_STARTED;
1216
- }
1217
- /***/
1218
- return BS_FINISH_DONE;
1219
- }
1220
- if (s.last_lit) {
1221
- /*** FLUSH_BLOCK(s, 0); ***/
1222
- flush_block_only(s, false);
1223
- if (s.strm.avail_out === 0) {
1224
- return BS_NEED_MORE;
1225
- }
1226
- /***/
1227
- }
1228
-
1229
- return BS_BLOCK_DONE;
1230
- }
1231
-
1232
-
1233
- /* ===========================================================================
1234
- * For Z_RLE, simply look for runs of bytes, generate matches only of distance
1235
- * one. Do not maintain a hash table. (It will be regenerated if this run of
1236
- * deflate switches away from Z_RLE.)
1237
- */
1238
- function deflate_rle(s, flush) {
1239
- var bflush; /* set if current block must be flushed */
1240
- var prev; /* byte at distance one to match */
1241
- var scan, strend; /* scan goes up to strend for length of run */
1242
-
1243
- var _win = s.window;
1244
-
1245
- for (;;) {
1246
- /* Make sure that we always have enough lookahead, except
1247
- * at the end of the input file. We need MAX_MATCH bytes
1248
- * for the longest run, plus one for the unrolled loop.
1249
- */
1250
- if (s.lookahead <= MAX_MATCH) {
1251
- fill_window(s);
1252
- if (s.lookahead <= MAX_MATCH && flush === Z_NO_FLUSH) {
1253
- return BS_NEED_MORE;
1254
- }
1255
- if (s.lookahead === 0) { break; } /* flush the current block */
1256
- }
1257
-
1258
- /* See how many times the previous byte repeats */
1259
- s.match_length = 0;
1260
- if (s.lookahead >= MIN_MATCH && s.strstart > 0) {
1261
- scan = s.strstart - 1;
1262
- prev = _win[scan];
1263
- if (prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan]) {
1264
- strend = s.strstart + MAX_MATCH;
1265
- do {
1266
- /*jshint noempty:false*/
1267
- } while (prev === _win[++scan] && prev === _win[++scan] &&
1268
- prev === _win[++scan] && prev === _win[++scan] &&
1269
- prev === _win[++scan] && prev === _win[++scan] &&
1270
- prev === _win[++scan] && prev === _win[++scan] &&
1271
- scan < strend);
1272
- s.match_length = MAX_MATCH - (strend - scan);
1273
- if (s.match_length > s.lookahead) {
1274
- s.match_length = s.lookahead;
1275
- }
1276
- }
1277
- //Assert(scan <= s->window+(uInt)(s->window_size-1), "wild scan");
1278
- }
1279
-
1280
- /* Emit match if have run of MIN_MATCH or longer, else emit literal */
1281
- if (s.match_length >= MIN_MATCH) {
1282
- //check_match(s, s.strstart, s.strstart - 1, s.match_length);
1283
-
1284
- /*** _tr_tally_dist(s, 1, s.match_length - MIN_MATCH, bflush); ***/
1285
- bflush = trees._tr_tally(s, 1, s.match_length - MIN_MATCH);
1286
-
1287
- s.lookahead -= s.match_length;
1288
- s.strstart += s.match_length;
1289
- s.match_length = 0;
1290
- } else {
1291
- /* No match, output a literal byte */
1292
- //Tracevv((stderr,"%c", s->window[s->strstart]));
1293
- /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
1294
- bflush = trees._tr_tally(s, 0, s.window[s.strstart]);
1295
-
1296
- s.lookahead--;
1297
- s.strstart++;
1298
- }
1299
- if (bflush) {
1300
- /*** FLUSH_BLOCK(s, 0); ***/
1301
- flush_block_only(s, false);
1302
- if (s.strm.avail_out === 0) {
1303
- return BS_NEED_MORE;
1304
- }
1305
- /***/
1306
- }
1307
- }
1308
- s.insert = 0;
1309
- if (flush === Z_FINISH) {
1310
- /*** FLUSH_BLOCK(s, 1); ***/
1311
- flush_block_only(s, true);
1312
- if (s.strm.avail_out === 0) {
1313
- return BS_FINISH_STARTED;
1314
- }
1315
- /***/
1316
- return BS_FINISH_DONE;
1317
- }
1318
- if (s.last_lit) {
1319
- /*** FLUSH_BLOCK(s, 0); ***/
1320
- flush_block_only(s, false);
1321
- if (s.strm.avail_out === 0) {
1322
- return BS_NEED_MORE;
1323
- }
1324
- /***/
1325
- }
1326
- return BS_BLOCK_DONE;
1327
- }
1328
-
1329
- /* ===========================================================================
1330
- * For Z_HUFFMAN_ONLY, do not look for matches. Do not maintain a hash table.
1331
- * (It will be regenerated if this run of deflate switches away from Huffman.)
1332
- */
1333
- function deflate_huff(s, flush) {
1334
- var bflush; /* set if current block must be flushed */
1335
-
1336
- for (;;) {
1337
- /* Make sure that we have a literal to write. */
1338
- if (s.lookahead === 0) {
1339
- fill_window(s);
1340
- if (s.lookahead === 0) {
1341
- if (flush === Z_NO_FLUSH) {
1342
- return BS_NEED_MORE;
1343
- }
1344
- break; /* flush the current block */
1345
- }
1346
- }
1347
-
1348
- /* Output a literal byte */
1349
- s.match_length = 0;
1350
- //Tracevv((stderr,"%c", s->window[s->strstart]));
1351
- /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/
1352
- bflush = trees._tr_tally(s, 0, s.window[s.strstart]);
1353
- s.lookahead--;
1354
- s.strstart++;
1355
- if (bflush) {
1356
- /*** FLUSH_BLOCK(s, 0); ***/
1357
- flush_block_only(s, false);
1358
- if (s.strm.avail_out === 0) {
1359
- return BS_NEED_MORE;
1360
- }
1361
- /***/
1362
- }
1363
- }
1364
- s.insert = 0;
1365
- if (flush === Z_FINISH) {
1366
- /*** FLUSH_BLOCK(s, 1); ***/
1367
- flush_block_only(s, true);
1368
- if (s.strm.avail_out === 0) {
1369
- return BS_FINISH_STARTED;
1370
- }
1371
- /***/
1372
- return BS_FINISH_DONE;
1373
- }
1374
- if (s.last_lit) {
1375
- /*** FLUSH_BLOCK(s, 0); ***/
1376
- flush_block_only(s, false);
1377
- if (s.strm.avail_out === 0) {
1378
- return BS_NEED_MORE;
1379
- }
1380
- /***/
1381
- }
1382
- return BS_BLOCK_DONE;
1383
- }
1384
-
1385
- /* Values for max_lazy_match, good_match and max_chain_length, depending on
1386
- * the desired pack level (0..9). The values given below have been tuned to
1387
- * exclude worst case performance for pathological files. Better values may be
1388
- * found for specific files.
1389
- */
1390
- function Config(good_length, max_lazy, nice_length, max_chain, func) {
1391
- this.good_length = good_length;
1392
- this.max_lazy = max_lazy;
1393
- this.nice_length = nice_length;
1394
- this.max_chain = max_chain;
1395
- this.func = func;
1396
- }
1397
-
1398
- var configuration_table;
1399
-
1400
- configuration_table = [
1401
- /* good lazy nice chain */
1402
- new Config(0, 0, 0, 0, deflate_stored), /* 0 store only */
1403
- new Config(4, 4, 8, 4, deflate_fast), /* 1 max speed, no lazy matches */
1404
- new Config(4, 5, 16, 8, deflate_fast), /* 2 */
1405
- new Config(4, 6, 32, 32, deflate_fast), /* 3 */
1406
-
1407
- new Config(4, 4, 16, 16, deflate_slow), /* 4 lazy matches */
1408
- new Config(8, 16, 32, 32, deflate_slow), /* 5 */
1409
- new Config(8, 16, 128, 128, deflate_slow), /* 6 */
1410
- new Config(8, 32, 128, 256, deflate_slow), /* 7 */
1411
- new Config(32, 128, 258, 1024, deflate_slow), /* 8 */
1412
- new Config(32, 258, 258, 4096, deflate_slow) /* 9 max compression */
1413
- ];
1414
-
1415
-
1416
- /* ===========================================================================
1417
- * Initialize the "longest match" routines for a new zlib stream
1418
- */
1419
- function lm_init(s) {
1420
- s.window_size = 2 * s.w_size;
1421
-
1422
- /*** CLEAR_HASH(s); ***/
1423
- zero(s.head); // Fill with NIL (= 0);
1424
-
1425
- /* Set the default configuration parameters:
1426
- */
1427
- s.max_lazy_match = configuration_table[s.level].max_lazy;
1428
- s.good_match = configuration_table[s.level].good_length;
1429
- s.nice_match = configuration_table[s.level].nice_length;
1430
- s.max_chain_length = configuration_table[s.level].max_chain;
1431
-
1432
- s.strstart = 0;
1433
- s.block_start = 0;
1434
- s.lookahead = 0;
1435
- s.insert = 0;
1436
- s.match_length = s.prev_length = MIN_MATCH - 1;
1437
- s.match_available = 0;
1438
- s.ins_h = 0;
1439
- }
1440
-
1441
-
1442
- function DeflateState() {
1443
- this.strm = null; /* pointer back to this zlib stream */
1444
- this.status = 0; /* as the name implies */
1445
- this.pending_buf = null; /* output still pending */
1446
- this.pending_buf_size = 0; /* size of pending_buf */
1447
- this.pending_out = 0; /* next pending byte to output to the stream */
1448
- this.pending = 0; /* nb of bytes in the pending buffer */
1449
- this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */
1450
- this.gzhead = null; /* gzip header information to write */
1451
- this.gzindex = 0; /* where in extra, name, or comment */
1452
- this.method = Z_DEFLATED; /* can only be DEFLATED */
1453
- this.last_flush = -1; /* value of flush param for previous deflate call */
1454
-
1455
- this.w_size = 0; /* LZ77 window size (32K by default) */
1456
- this.w_bits = 0; /* log2(w_size) (8..16) */
1457
- this.w_mask = 0; /* w_size - 1 */
1458
-
1459
- this.window = null;
1460
- /* Sliding window. Input bytes are read into the second half of the window,
1461
- * and move to the first half later to keep a dictionary of at least wSize
1462
- * bytes. With this organization, matches are limited to a distance of
1463
- * wSize-MAX_MATCH bytes, but this ensures that IO is always
1464
- * performed with a length multiple of the block size.
1465
- */
1466
-
1467
- this.window_size = 0;
1468
- /* Actual size of window: 2*wSize, except when the user input buffer
1469
- * is directly used as sliding window.
1470
- */
1471
-
1472
- this.prev = null;
1473
- /* Link to older string with same hash index. To limit the size of this
1474
- * array to 64K, this link is maintained only for the last 32K strings.
1475
- * An index in this array is thus a window index modulo 32K.
1476
- */
1477
-
1478
- this.head = null; /* Heads of the hash chains or NIL. */
1479
-
1480
- this.ins_h = 0; /* hash index of string to be inserted */
1481
- this.hash_size = 0; /* number of elements in hash table */
1482
- this.hash_bits = 0; /* log2(hash_size) */
1483
- this.hash_mask = 0; /* hash_size-1 */
1484
-
1485
- this.hash_shift = 0;
1486
- /* Number of bits by which ins_h must be shifted at each input
1487
- * step. It must be such that after MIN_MATCH steps, the oldest
1488
- * byte no longer takes part in the hash key, that is:
1489
- * hash_shift * MIN_MATCH >= hash_bits
1490
- */
1491
-
1492
- this.block_start = 0;
1493
- /* Window position at the beginning of the current output block. Gets
1494
- * negative when the window is moved backwards.
1495
- */
1496
-
1497
- this.match_length = 0; /* length of best match */
1498
- this.prev_match = 0; /* previous match */
1499
- this.match_available = 0; /* set if previous match exists */
1500
- this.strstart = 0; /* start of string to insert */
1501
- this.match_start = 0; /* start of matching string */
1502
- this.lookahead = 0; /* number of valid bytes ahead in window */
1503
-
1504
- this.prev_length = 0;
1505
- /* Length of the best match at previous step. Matches not greater than this
1506
- * are discarded. This is used in the lazy match evaluation.
1507
- */
1508
-
1509
- this.max_chain_length = 0;
1510
- /* To speed up deflation, hash chains are never searched beyond this
1511
- * length. A higher limit improves compression ratio but degrades the
1512
- * speed.
1513
- */
1514
-
1515
- this.max_lazy_match = 0;
1516
- /* Attempt to find a better match only when the current match is strictly
1517
- * smaller than this value. This mechanism is used only for compression
1518
- * levels >= 4.
1519
- */
1520
- // That's alias to max_lazy_match, don't use directly
1521
- //this.max_insert_length = 0;
1522
- /* Insert new strings in the hash table only if the match length is not
1523
- * greater than this length. This saves time but degrades compression.
1524
- * max_insert_length is used only for compression levels <= 3.
1525
- */
1526
-
1527
- this.level = 0; /* compression level (1..9) */
1528
- this.strategy = 0; /* favor or force Huffman coding*/
1529
-
1530
- this.good_match = 0;
1531
- /* Use a faster search when the previous match is longer than this */
1532
-
1533
- this.nice_match = 0; /* Stop searching when current match exceeds this */
1534
-
1535
- /* used by trees.c: */
1536
-
1537
- /* Didn't use ct_data typedef below to suppress compiler warning */
1538
-
1539
- // struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */
1540
- // struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */
1541
- // struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */
1542
-
1543
- // Use flat array of DOUBLE size, with interleaved fata,
1544
- // because JS does not support effective
1545
- this.dyn_ltree = new utils.Buf16(HEAP_SIZE * 2);
1546
- this.dyn_dtree = new utils.Buf16((2 * D_CODES + 1) * 2);
1547
- this.bl_tree = new utils.Buf16((2 * BL_CODES + 1) * 2);
1548
- zero(this.dyn_ltree);
1549
- zero(this.dyn_dtree);
1550
- zero(this.bl_tree);
1551
-
1552
- this.l_desc = null; /* desc. for literal tree */
1553
- this.d_desc = null; /* desc. for distance tree */
1554
- this.bl_desc = null; /* desc. for bit length tree */
1555
-
1556
- //ush bl_count[MAX_BITS+1];
1557
- this.bl_count = new utils.Buf16(MAX_BITS + 1);
1558
- /* number of codes at each bit length for an optimal tree */
1559
-
1560
- //int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */
1561
- this.heap = new utils.Buf16(2 * L_CODES + 1); /* heap used to build the Huffman trees */
1562
- zero(this.heap);
1563
-
1564
- this.heap_len = 0; /* number of elements in the heap */
1565
- this.heap_max = 0; /* element of largest frequency */
1566
- /* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used.
1567
- * The same heap array is used to build all trees.
1568
- */
1569
-
1570
- this.depth = new utils.Buf16(2 * L_CODES + 1); //uch depth[2*L_CODES+1];
1571
- zero(this.depth);
1572
- /* Depth of each subtree used as tie breaker for trees of equal frequency
1573
- */
1574
-
1575
- this.l_buf = 0; /* buffer index for literals or lengths */
1576
-
1577
- this.lit_bufsize = 0;
1578
- /* Size of match buffer for literals/lengths. There are 4 reasons for
1579
- * limiting lit_bufsize to 64K:
1580
- * - frequencies can be kept in 16 bit counters
1581
- * - if compression is not successful for the first block, all input
1582
- * data is still in the window so we can still emit a stored block even
1583
- * when input comes from standard input. (This can also be done for
1584
- * all blocks if lit_bufsize is not greater than 32K.)
1585
- * - if compression is not successful for a file smaller than 64K, we can
1586
- * even emit a stored file instead of a stored block (saving 5 bytes).
1587
- * This is applicable only for zip (not gzip or zlib).
1588
- * - creating new Huffman trees less frequently may not provide fast
1589
- * adaptation to changes in the input data statistics. (Take for
1590
- * example a binary file with poorly compressible code followed by
1591
- * a highly compressible string table.) Smaller buffer sizes give
1592
- * fast adaptation but have of course the overhead of transmitting
1593
- * trees more frequently.
1594
- * - I can't count above 4
1595
- */
1596
-
1597
- this.last_lit = 0; /* running index in l_buf */
1598
-
1599
- this.d_buf = 0;
1600
- /* Buffer index for distances. To simplify the code, d_buf and l_buf have
1601
- * the same number of elements. To use different lengths, an extra flag
1602
- * array would be necessary.
1603
- */
1604
-
1605
- this.opt_len = 0; /* bit length of current block with optimal trees */
1606
- this.static_len = 0; /* bit length of current block with static trees */
1607
- this.matches = 0; /* number of string matches in current block */
1608
- this.insert = 0; /* bytes at end of window left to insert */
1609
-
1610
-
1611
- this.bi_buf = 0;
1612
- /* Output buffer. bits are inserted starting at the bottom (least
1613
- * significant bits).
1614
- */
1615
- this.bi_valid = 0;
1616
- /* Number of valid bits in bi_buf. All bits above the last valid bit
1617
- * are always zero.
1618
- */
1619
-
1620
- // Used for window memory init. We safely ignore it for JS. That makes
1621
- // sense only for pointers and memory check tools.
1622
- //this.high_water = 0;
1623
- /* High water mark offset in window for initialized bytes -- bytes above
1624
- * this are set to zero in order to avoid memory check warnings when
1625
- * longest match routines access bytes past the input. This is then
1626
- * updated to the new high water mark.
1627
- */
1628
- }
1629
-
1630
-
1631
- function deflateResetKeep(strm) {
1632
- var s;
1633
-
1634
- if (!strm || !strm.state) {
1635
- return err(strm, Z_STREAM_ERROR);
1636
- }
1637
-
1638
- strm.total_in = strm.total_out = 0;
1639
- strm.data_type = Z_UNKNOWN;
1640
-
1641
- s = strm.state;
1642
- s.pending = 0;
1643
- s.pending_out = 0;
1644
-
1645
- if (s.wrap < 0) {
1646
- s.wrap = -s.wrap;
1647
- /* was made negative by deflate(..., Z_FINISH); */
1648
- }
1649
- s.status = (s.wrap ? INIT_STATE : BUSY_STATE);
1650
- strm.adler = (s.wrap === 2) ?
1651
- 0 // crc32(0, Z_NULL, 0)
1652
- :
1653
- 1; // adler32(0, Z_NULL, 0)
1654
- s.last_flush = Z_NO_FLUSH;
1655
- trees._tr_init(s);
1656
- return Z_OK;
1657
- }
1658
-
1659
-
1660
- function deflateReset(strm) {
1661
- var ret = deflateResetKeep(strm);
1662
- if (ret === Z_OK) {
1663
- lm_init(strm.state);
1664
- }
1665
- return ret;
1666
- }
1667
-
1668
-
1669
- function deflateSetHeader(strm, head) {
1670
- if (!strm || !strm.state) { return Z_STREAM_ERROR; }
1671
- if (strm.state.wrap !== 2) { return Z_STREAM_ERROR; }
1672
- strm.state.gzhead = head;
1673
- return Z_OK;
1674
- }
1675
-
1676
-
1677
- function deflateInit2(strm, level, method, windowBits, memLevel, strategy) {
1678
- if (!strm) { // === Z_NULL
1679
- return Z_STREAM_ERROR;
1680
- }
1681
- var wrap = 1;
1682
-
1683
- if (level === Z_DEFAULT_COMPRESSION) {
1684
- level = 6;
1685
- }
1686
-
1687
- if (windowBits < 0) { /* suppress zlib wrapper */
1688
- wrap = 0;
1689
- windowBits = -windowBits;
1690
- }
1691
-
1692
- else if (windowBits > 15) {
1693
- wrap = 2; /* write gzip wrapper instead */
1694
- windowBits -= 16;
1695
- }
1696
-
1697
-
1698
- if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method !== Z_DEFLATED ||
1699
- windowBits < 8 || windowBits > 15 || level < 0 || level > 9 ||
1700
- strategy < 0 || strategy > Z_FIXED) {
1701
- return err(strm, Z_STREAM_ERROR);
1702
- }
1703
-
1704
-
1705
- if (windowBits === 8) {
1706
- windowBits = 9;
1707
- }
1708
- /* until 256-byte window bug fixed */
1709
-
1710
- var s = new DeflateState();
1711
-
1712
- strm.state = s;
1713
- s.strm = strm;
1714
-
1715
- s.wrap = wrap;
1716
- s.gzhead = null;
1717
- s.w_bits = windowBits;
1718
- s.w_size = 1 << s.w_bits;
1719
- s.w_mask = s.w_size - 1;
1720
-
1721
- s.hash_bits = memLevel + 7;
1722
- s.hash_size = 1 << s.hash_bits;
1723
- s.hash_mask = s.hash_size - 1;
1724
- s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH);
1725
-
1726
- s.window = new utils.Buf8(s.w_size * 2);
1727
- s.head = new utils.Buf16(s.hash_size);
1728
- s.prev = new utils.Buf16(s.w_size);
1729
-
1730
- // Don't need mem init magic for JS.
1731
- //s.high_water = 0; /* nothing written to s->window yet */
1732
-
1733
- s.lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */
1734
-
1735
- s.pending_buf_size = s.lit_bufsize * 4;
1736
-
1737
- //overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
1738
- //s->pending_buf = (uchf *) overlay;
1739
- s.pending_buf = new utils.Buf8(s.pending_buf_size);
1740
-
1741
- // It is offset from `s.pending_buf` (size is `s.lit_bufsize * 2`)
1742
- //s->d_buf = overlay + s->lit_bufsize/sizeof(ush);
1743
- s.d_buf = 1 * s.lit_bufsize;
1744
-
1745
- //s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize;
1746
- s.l_buf = (1 + 2) * s.lit_bufsize;
1747
-
1748
- s.level = level;
1749
- s.strategy = strategy;
1750
- s.method = method;
1751
-
1752
- return deflateReset(strm);
1753
- }
1754
-
1755
- function deflateInit(strm, level) {
1756
- return deflateInit2(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY);
1757
- }
1758
-
1759
-
1760
- function deflate(strm, flush) {
1761
- var old_flush, s;
1762
- var beg, val; // for gzip header write only
1763
-
1764
- if (!strm || !strm.state ||
1765
- flush > Z_BLOCK || flush < 0) {
1766
- return strm ? err(strm, Z_STREAM_ERROR) : Z_STREAM_ERROR;
1767
- }
1768
-
1769
- s = strm.state;
1770
-
1771
- if (!strm.output ||
1772
- (!strm.input && strm.avail_in !== 0) ||
1773
- (s.status === FINISH_STATE && flush !== Z_FINISH)) {
1774
- return err(strm, (strm.avail_out === 0) ? Z_BUF_ERROR : Z_STREAM_ERROR);
1775
- }
1776
-
1777
- s.strm = strm; /* just in case */
1778
- old_flush = s.last_flush;
1779
- s.last_flush = flush;
1780
-
1781
- /* Write the header */
1782
- if (s.status === INIT_STATE) {
1783
-
1784
- if (s.wrap === 2) { // GZIP header
1785
- strm.adler = 0; //crc32(0L, Z_NULL, 0);
1786
- put_byte(s, 31);
1787
- put_byte(s, 139);
1788
- put_byte(s, 8);
1789
- if (!s.gzhead) { // s->gzhead == Z_NULL
1790
- put_byte(s, 0);
1791
- put_byte(s, 0);
1792
- put_byte(s, 0);
1793
- put_byte(s, 0);
1794
- put_byte(s, 0);
1795
- put_byte(s, s.level === 9 ? 2 :
1796
- (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?
1797
- 4 : 0));
1798
- put_byte(s, OS_CODE);
1799
- s.status = BUSY_STATE;
1800
- }
1801
- else {
1802
- put_byte(s, (s.gzhead.text ? 1 : 0) +
1803
- (s.gzhead.hcrc ? 2 : 0) +
1804
- (!s.gzhead.extra ? 0 : 4) +
1805
- (!s.gzhead.name ? 0 : 8) +
1806
- (!s.gzhead.comment ? 0 : 16)
1807
- );
1808
- put_byte(s, s.gzhead.time & 0xff);
1809
- put_byte(s, (s.gzhead.time >> 8) & 0xff);
1810
- put_byte(s, (s.gzhead.time >> 16) & 0xff);
1811
- put_byte(s, (s.gzhead.time >> 24) & 0xff);
1812
- put_byte(s, s.level === 9 ? 2 :
1813
- (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?
1814
- 4 : 0));
1815
- put_byte(s, s.gzhead.os & 0xff);
1816
- if (s.gzhead.extra && s.gzhead.extra.length) {
1817
- put_byte(s, s.gzhead.extra.length & 0xff);
1818
- put_byte(s, (s.gzhead.extra.length >> 8) & 0xff);
1819
- }
1820
- if (s.gzhead.hcrc) {
1821
- strm.adler = crc32(strm.adler, s.pending_buf, s.pending, 0);
1822
- }
1823
- s.gzindex = 0;
1824
- s.status = EXTRA_STATE;
1825
- }
1826
- }
1827
- else // DEFLATE header
1828
- {
1829
- var header = (Z_DEFLATED + ((s.w_bits - 8) << 4)) << 8;
1830
- var level_flags = -1;
1831
-
1832
- if (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2) {
1833
- level_flags = 0;
1834
- } else if (s.level < 6) {
1835
- level_flags = 1;
1836
- } else if (s.level === 6) {
1837
- level_flags = 2;
1838
- } else {
1839
- level_flags = 3;
1840
- }
1841
- header |= (level_flags << 6);
1842
- if (s.strstart !== 0) { header |= PRESET_DICT; }
1843
- header += 31 - (header % 31);
1844
-
1845
- s.status = BUSY_STATE;
1846
- putShortMSB(s, header);
1847
-
1848
- /* Save the adler32 of the preset dictionary: */
1849
- if (s.strstart !== 0) {
1850
- putShortMSB(s, strm.adler >>> 16);
1851
- putShortMSB(s, strm.adler & 0xffff);
1852
- }
1853
- strm.adler = 1; // adler32(0L, Z_NULL, 0);
1854
- }
1855
- }
1856
-
1857
- //#ifdef GZIP
1858
- if (s.status === EXTRA_STATE) {
1859
- if (s.gzhead.extra/* != Z_NULL*/) {
1860
- beg = s.pending; /* start of bytes to update crc */
1861
-
1862
- while (s.gzindex < (s.gzhead.extra.length & 0xffff)) {
1863
- if (s.pending === s.pending_buf_size) {
1864
- if (s.gzhead.hcrc && s.pending > beg) {
1865
- strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
1866
- }
1867
- flush_pending(strm);
1868
- beg = s.pending;
1869
- if (s.pending === s.pending_buf_size) {
1870
- break;
1871
- }
1872
- }
1873
- put_byte(s, s.gzhead.extra[s.gzindex] & 0xff);
1874
- s.gzindex++;
1875
- }
1876
- if (s.gzhead.hcrc && s.pending > beg) {
1877
- strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
1878
- }
1879
- if (s.gzindex === s.gzhead.extra.length) {
1880
- s.gzindex = 0;
1881
- s.status = NAME_STATE;
1882
- }
1883
- }
1884
- else {
1885
- s.status = NAME_STATE;
1886
- }
1887
- }
1888
- if (s.status === NAME_STATE) {
1889
- if (s.gzhead.name/* != Z_NULL*/) {
1890
- beg = s.pending; /* start of bytes to update crc */
1891
- //int val;
1892
-
1893
- do {
1894
- if (s.pending === s.pending_buf_size) {
1895
- if (s.gzhead.hcrc && s.pending > beg) {
1896
- strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
1897
- }
1898
- flush_pending(strm);
1899
- beg = s.pending;
1900
- if (s.pending === s.pending_buf_size) {
1901
- val = 1;
1902
- break;
1903
- }
1904
- }
1905
- // JS specific: little magic to add zero terminator to end of string
1906
- if (s.gzindex < s.gzhead.name.length) {
1907
- val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff;
1908
- } else {
1909
- val = 0;
1910
- }
1911
- put_byte(s, val);
1912
- } while (val !== 0);
1913
-
1914
- if (s.gzhead.hcrc && s.pending > beg) {
1915
- strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
1916
- }
1917
- if (val === 0) {
1918
- s.gzindex = 0;
1919
- s.status = COMMENT_STATE;
1920
- }
1921
- }
1922
- else {
1923
- s.status = COMMENT_STATE;
1924
- }
1925
- }
1926
- if (s.status === COMMENT_STATE) {
1927
- if (s.gzhead.comment/* != Z_NULL*/) {
1928
- beg = s.pending; /* start of bytes to update crc */
1929
- //int val;
1930
-
1931
- do {
1932
- if (s.pending === s.pending_buf_size) {
1933
- if (s.gzhead.hcrc && s.pending > beg) {
1934
- strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
1935
- }
1936
- flush_pending(strm);
1937
- beg = s.pending;
1938
- if (s.pending === s.pending_buf_size) {
1939
- val = 1;
1940
- break;
1941
- }
1942
- }
1943
- // JS specific: little magic to add zero terminator to end of string
1944
- if (s.gzindex < s.gzhead.comment.length) {
1945
- val = s.gzhead.comment.charCodeAt(s.gzindex++) & 0xff;
1946
- } else {
1947
- val = 0;
1948
- }
1949
- put_byte(s, val);
1950
- } while (val !== 0);
1951
-
1952
- if (s.gzhead.hcrc && s.pending > beg) {
1953
- strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);
1954
- }
1955
- if (val === 0) {
1956
- s.status = HCRC_STATE;
1957
- }
1958
- }
1959
- else {
1960
- s.status = HCRC_STATE;
1961
- }
1962
- }
1963
- if (s.status === HCRC_STATE) {
1964
- if (s.gzhead.hcrc) {
1965
- if (s.pending + 2 > s.pending_buf_size) {
1966
- flush_pending(strm);
1967
- }
1968
- if (s.pending + 2 <= s.pending_buf_size) {
1969
- put_byte(s, strm.adler & 0xff);
1970
- put_byte(s, (strm.adler >> 8) & 0xff);
1971
- strm.adler = 0; //crc32(0L, Z_NULL, 0);
1972
- s.status = BUSY_STATE;
1973
- }
1974
- }
1975
- else {
1976
- s.status = BUSY_STATE;
1977
- }
1978
- }
1979
- //#endif
1980
-
1981
- /* Flush as much pending output as possible */
1982
- if (s.pending !== 0) {
1983
- flush_pending(strm);
1984
- if (strm.avail_out === 0) {
1985
- /* Since avail_out is 0, deflate will be called again with
1986
- * more output space, but possibly with both pending and
1987
- * avail_in equal to zero. There won't be anything to do,
1988
- * but this is not an error situation so make sure we
1989
- * return OK instead of BUF_ERROR at next call of deflate:
1990
- */
1991
- s.last_flush = -1;
1992
- return Z_OK;
1993
- }
1994
-
1995
- /* Make sure there is something to do and avoid duplicate consecutive
1996
- * flushes. For repeated and useless calls with Z_FINISH, we keep
1997
- * returning Z_STREAM_END instead of Z_BUF_ERROR.
1998
- */
1999
- } else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) &&
2000
- flush !== Z_FINISH) {
2001
- return err(strm, Z_BUF_ERROR);
2002
- }
2003
-
2004
- /* User must not provide more input after the first FINISH: */
2005
- if (s.status === FINISH_STATE && strm.avail_in !== 0) {
2006
- return err(strm, Z_BUF_ERROR);
2007
- }
2008
-
2009
- /* Start a new block or continue the current one.
2010
- */
2011
- if (strm.avail_in !== 0 || s.lookahead !== 0 ||
2012
- (flush !== Z_NO_FLUSH && s.status !== FINISH_STATE)) {
2013
- var bstate = (s.strategy === Z_HUFFMAN_ONLY) ? deflate_huff(s, flush) :
2014
- (s.strategy === Z_RLE ? deflate_rle(s, flush) :
2015
- configuration_table[s.level].func(s, flush));
2016
-
2017
- if (bstate === BS_FINISH_STARTED || bstate === BS_FINISH_DONE) {
2018
- s.status = FINISH_STATE;
2019
- }
2020
- if (bstate === BS_NEED_MORE || bstate === BS_FINISH_STARTED) {
2021
- if (strm.avail_out === 0) {
2022
- s.last_flush = -1;
2023
- /* avoid BUF_ERROR next call, see above */
2024
- }
2025
- return Z_OK;
2026
- /* If flush != Z_NO_FLUSH && avail_out == 0, the next call
2027
- * of deflate should use the same flush parameter to make sure
2028
- * that the flush is complete. So we don't have to output an
2029
- * empty block here, this will be done at next call. This also
2030
- * ensures that for a very small output buffer, we emit at most
2031
- * one empty block.
2032
- */
2033
- }
2034
- if (bstate === BS_BLOCK_DONE) {
2035
- if (flush === Z_PARTIAL_FLUSH) {
2036
- trees._tr_align(s);
2037
- }
2038
- else if (flush !== Z_BLOCK) { /* FULL_FLUSH or SYNC_FLUSH */
2039
-
2040
- trees._tr_stored_block(s, 0, 0, false);
2041
- /* For a full flush, this empty block will be recognized
2042
- * as a special marker by inflate_sync().
2043
- */
2044
- if (flush === Z_FULL_FLUSH) {
2045
- /*** CLEAR_HASH(s); ***/ /* forget history */
2046
- zero(s.head); // Fill with NIL (= 0);
2047
-
2048
- if (s.lookahead === 0) {
2049
- s.strstart = 0;
2050
- s.block_start = 0;
2051
- s.insert = 0;
2052
- }
2053
- }
2054
- }
2055
- flush_pending(strm);
2056
- if (strm.avail_out === 0) {
2057
- s.last_flush = -1; /* avoid BUF_ERROR at next call, see above */
2058
- return Z_OK;
2059
- }
2060
- }
2061
- }
2062
- //Assert(strm->avail_out > 0, "bug2");
2063
- //if (strm.avail_out <= 0) { throw new Error("bug2");}
2064
-
2065
- if (flush !== Z_FINISH) { return Z_OK; }
2066
- if (s.wrap <= 0) { return Z_STREAM_END; }
2067
-
2068
- /* Write the trailer */
2069
- if (s.wrap === 2) {
2070
- put_byte(s, strm.adler & 0xff);
2071
- put_byte(s, (strm.adler >> 8) & 0xff);
2072
- put_byte(s, (strm.adler >> 16) & 0xff);
2073
- put_byte(s, (strm.adler >> 24) & 0xff);
2074
- put_byte(s, strm.total_in & 0xff);
2075
- put_byte(s, (strm.total_in >> 8) & 0xff);
2076
- put_byte(s, (strm.total_in >> 16) & 0xff);
2077
- put_byte(s, (strm.total_in >> 24) & 0xff);
2078
- }
2079
- else
2080
- {
2081
- putShortMSB(s, strm.adler >>> 16);
2082
- putShortMSB(s, strm.adler & 0xffff);
2083
- }
2084
-
2085
- flush_pending(strm);
2086
- /* If avail_out is zero, the application will call deflate again
2087
- * to flush the rest.
2088
- */
2089
- if (s.wrap > 0) { s.wrap = -s.wrap; }
2090
- /* write the trailer only once! */
2091
- return s.pending !== 0 ? Z_OK : Z_STREAM_END;
2092
- }
2093
-
2094
- function deflateEnd(strm) {
2095
- var status;
2096
-
2097
- if (!strm/*== Z_NULL*/ || !strm.state/*== Z_NULL*/) {
2098
- return Z_STREAM_ERROR;
2099
- }
2100
-
2101
- status = strm.state.status;
2102
- if (status !== INIT_STATE &&
2103
- status !== EXTRA_STATE &&
2104
- status !== NAME_STATE &&
2105
- status !== COMMENT_STATE &&
2106
- status !== HCRC_STATE &&
2107
- status !== BUSY_STATE &&
2108
- status !== FINISH_STATE
2109
- ) {
2110
- return err(strm, Z_STREAM_ERROR);
2111
- }
2112
-
2113
- strm.state = null;
2114
-
2115
- return status === BUSY_STATE ? err(strm, Z_DATA_ERROR) : Z_OK;
2116
- }
2117
-
2118
-
2119
- /* =========================================================================
2120
- * Initializes the compression dictionary from the given byte
2121
- * sequence without producing any compressed output.
2122
- */
2123
- function deflateSetDictionary(strm, dictionary) {
2124
- var dictLength = dictionary.length;
2125
-
2126
- var s;
2127
- var str, n;
2128
- var wrap;
2129
- var avail;
2130
- var next;
2131
- var input;
2132
- var tmpDict;
2133
-
2134
- if (!strm/*== Z_NULL*/ || !strm.state/*== Z_NULL*/) {
2135
- return Z_STREAM_ERROR;
2136
- }
2137
-
2138
- s = strm.state;
2139
- wrap = s.wrap;
2140
-
2141
- if (wrap === 2 || (wrap === 1 && s.status !== INIT_STATE) || s.lookahead) {
2142
- return Z_STREAM_ERROR;
2143
- }
2144
-
2145
- /* when using zlib wrappers, compute Adler-32 for provided dictionary */
2146
- if (wrap === 1) {
2147
- /* adler32(strm->adler, dictionary, dictLength); */
2148
- strm.adler = adler32(strm.adler, dictionary, dictLength, 0);
2149
- }
2150
-
2151
- s.wrap = 0; /* avoid computing Adler-32 in read_buf */
2152
-
2153
- /* if dictionary would fill window, just replace the history */
2154
- if (dictLength >= s.w_size) {
2155
- if (wrap === 0) { /* already empty otherwise */
2156
- /*** CLEAR_HASH(s); ***/
2157
- zero(s.head); // Fill with NIL (= 0);
2158
- s.strstart = 0;
2159
- s.block_start = 0;
2160
- s.insert = 0;
2161
- }
2162
- /* use the tail */
2163
- // dictionary = dictionary.slice(dictLength - s.w_size);
2164
- tmpDict = new utils.Buf8(s.w_size);
2165
- utils.arraySet(tmpDict, dictionary, dictLength - s.w_size, s.w_size, 0);
2166
- dictionary = tmpDict;
2167
- dictLength = s.w_size;
2168
- }
2169
- /* insert dictionary into window and hash */
2170
- avail = strm.avail_in;
2171
- next = strm.next_in;
2172
- input = strm.input;
2173
- strm.avail_in = dictLength;
2174
- strm.next_in = 0;
2175
- strm.input = dictionary;
2176
- fill_window(s);
2177
- while (s.lookahead >= MIN_MATCH) {
2178
- str = s.strstart;
2179
- n = s.lookahead - (MIN_MATCH - 1);
2180
- do {
2181
- /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */
2182
- s.ins_h = ((s.ins_h << s.hash_shift) ^ s.window[str + MIN_MATCH - 1]) & s.hash_mask;
2183
-
2184
- s.prev[str & s.w_mask] = s.head[s.ins_h];
2185
-
2186
- s.head[s.ins_h] = str;
2187
- str++;
2188
- } while (--n);
2189
- s.strstart = str;
2190
- s.lookahead = MIN_MATCH - 1;
2191
- fill_window(s);
2192
- }
2193
- s.strstart += s.lookahead;
2194
- s.block_start = s.strstart;
2195
- s.insert = s.lookahead;
2196
- s.lookahead = 0;
2197
- s.match_length = s.prev_length = MIN_MATCH - 1;
2198
- s.match_available = 0;
2199
- strm.next_in = next;
2200
- strm.input = input;
2201
- strm.avail_in = avail;
2202
- s.wrap = wrap;
2203
- return Z_OK;
2204
- }
2205
-
2206
-
2207
- exports.deflateInit = deflateInit;
2208
- exports.deflateInit2 = deflateInit2;
2209
- exports.deflateReset = deflateReset;
2210
- exports.deflateResetKeep = deflateResetKeep;
2211
- exports.deflateSetHeader = deflateSetHeader;
2212
- exports.deflate = deflate;
2213
- exports.deflateEnd = deflateEnd;
2214
- exports.deflateSetDictionary = deflateSetDictionary;
2215
- exports.deflateInfo = 'pako deflate (from Nodeca project)';
2216
-
2217
- /* Not implemented
2218
- exports.deflateBound = deflateBound;
2219
- exports.deflateCopy = deflateCopy;
2220
- exports.deflateParams = deflateParams;
2221
- exports.deflatePending = deflatePending;
2222
- exports.deflatePrime = deflatePrime;
2223
- exports.deflateTune = deflateTune;
2224
- */
2225
-
2226
- },{"../utils/common":1,"./adler32":3,"./crc32":4,"./messages":6,"./trees":7}],6:[function(require,module,exports){
2227
- 'use strict';
2228
-
2229
- module.exports = {
2230
- 2: 'need dictionary', /* Z_NEED_DICT 2 */
2231
- 1: 'stream end', /* Z_STREAM_END 1 */
2232
- 0: '', /* Z_OK 0 */
2233
- '-1': 'file error', /* Z_ERRNO (-1) */
2234
- '-2': 'stream error', /* Z_STREAM_ERROR (-2) */
2235
- '-3': 'data error', /* Z_DATA_ERROR (-3) */
2236
- '-4': 'insufficient memory', /* Z_MEM_ERROR (-4) */
2237
- '-5': 'buffer error', /* Z_BUF_ERROR (-5) */
2238
- '-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */
2239
- };
2240
-
2241
- },{}],7:[function(require,module,exports){
2242
- 'use strict';
2243
-
2244
-
2245
- var utils = require('../utils/common');
2246
-
2247
- /* Public constants ==========================================================*/
2248
- /* ===========================================================================*/
2249
-
2250
-
2251
- //var Z_FILTERED = 1;
2252
- //var Z_HUFFMAN_ONLY = 2;
2253
- //var Z_RLE = 3;
2254
- var Z_FIXED = 4;
2255
- //var Z_DEFAULT_STRATEGY = 0;
2256
-
2257
- /* Possible values of the data_type field (though see inflate()) */
2258
- var Z_BINARY = 0;
2259
- var Z_TEXT = 1;
2260
- //var Z_ASCII = 1; // = Z_TEXT
2261
- var Z_UNKNOWN = 2;
2262
-
2263
- /*============================================================================*/
2264
-
2265
-
2266
- function zero(buf) { var len = buf.length; while (--len >= 0) { buf[len] = 0; } }
2267
-
2268
- // From zutil.h
2269
-
2270
- var STORED_BLOCK = 0;
2271
- var STATIC_TREES = 1;
2272
- var DYN_TREES = 2;
2273
- /* The three kinds of block type */
2274
-
2275
- var MIN_MATCH = 3;
2276
- var MAX_MATCH = 258;
2277
- /* The minimum and maximum match lengths */
2278
-
2279
- // From deflate.h
2280
- /* ===========================================================================
2281
- * Internal compression state.
2282
- */
2283
-
2284
- var LENGTH_CODES = 29;
2285
- /* number of length codes, not counting the special END_BLOCK code */
2286
-
2287
- var LITERALS = 256;
2288
- /* number of literal bytes 0..255 */
2289
-
2290
- var L_CODES = LITERALS + 1 + LENGTH_CODES;
2291
- /* number of Literal or Length codes, including the END_BLOCK code */
2292
-
2293
- var D_CODES = 30;
2294
- /* number of distance codes */
2295
-
2296
- var BL_CODES = 19;
2297
- /* number of codes used to transfer the bit lengths */
2298
-
2299
- var HEAP_SIZE = 2 * L_CODES + 1;
2300
- /* maximum heap size */
2301
-
2302
- var MAX_BITS = 15;
2303
- /* All codes must not exceed MAX_BITS bits */
2304
-
2305
- var Buf_size = 16;
2306
- /* size of bit buffer in bi_buf */
2307
-
2308
-
2309
- /* ===========================================================================
2310
- * Constants
2311
- */
2312
-
2313
- var MAX_BL_BITS = 7;
2314
- /* Bit length codes must not exceed MAX_BL_BITS bits */
2315
-
2316
- var END_BLOCK = 256;
2317
- /* end of block literal code */
2318
-
2319
- var REP_3_6 = 16;
2320
- /* repeat previous bit length 3-6 times (2 bits of repeat count) */
2321
-
2322
- var REPZ_3_10 = 17;
2323
- /* repeat a zero length 3-10 times (3 bits of repeat count) */
2324
-
2325
- var REPZ_11_138 = 18;
2326
- /* repeat a zero length 11-138 times (7 bits of repeat count) */
2327
-
2328
- /* eslint-disable comma-spacing,array-bracket-spacing */
2329
- var extra_lbits = /* extra bits for each length code */
2330
- [0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0];
2331
-
2332
- var extra_dbits = /* extra bits for each distance code */
2333
- [0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];
2334
-
2335
- var extra_blbits = /* extra bits for each bit length code */
2336
- [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7];
2337
-
2338
- var bl_order =
2339
- [16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];
2340
- /* eslint-enable comma-spacing,array-bracket-spacing */
2341
-
2342
- /* The lengths of the bit length codes are sent in order of decreasing
2343
- * probability, to avoid transmitting the lengths for unused bit length codes.
2344
- */
2345
-
2346
- /* ===========================================================================
2347
- * Local data. These are initialized only once.
2348
- */
2349
-
2350
- // We pre-fill arrays with 0 to avoid uninitialized gaps
2351
-
2352
- var DIST_CODE_LEN = 512; /* see definition of array dist_code below */
2353
-
2354
- // !!!! Use flat array insdead of structure, Freq = i*2, Len = i*2+1
2355
- var static_ltree = new Array((L_CODES + 2) * 2);
2356
- zero(static_ltree);
2357
- /* The static literal tree. Since the bit lengths are imposed, there is no
2358
- * need for the L_CODES extra codes used during heap construction. However
2359
- * The codes 286 and 287 are needed to build a canonical tree (see _tr_init
2360
- * below).
2361
- */
2362
-
2363
- var static_dtree = new Array(D_CODES * 2);
2364
- zero(static_dtree);
2365
- /* The static distance tree. (Actually a trivial tree since all codes use
2366
- * 5 bits.)
2367
- */
2368
-
2369
- var _dist_code = new Array(DIST_CODE_LEN);
2370
- zero(_dist_code);
2371
- /* Distance codes. The first 256 values correspond to the distances
2372
- * 3 .. 258, the last 256 values correspond to the top 8 bits of
2373
- * the 15 bit distances.
2374
- */
2375
-
2376
- var _length_code = new Array(MAX_MATCH - MIN_MATCH + 1);
2377
- zero(_length_code);
2378
- /* length code for each normalized match length (0 == MIN_MATCH) */
2379
-
2380
- var base_length = new Array(LENGTH_CODES);
2381
- zero(base_length);
2382
- /* First normalized length for each code (0 = MIN_MATCH) */
2383
-
2384
- var base_dist = new Array(D_CODES);
2385
- zero(base_dist);
2386
- /* First normalized distance for each code (0 = distance of 1) */
2387
-
2388
-
2389
- function StaticTreeDesc(static_tree, extra_bits, extra_base, elems, max_length) {
2390
-
2391
- this.static_tree = static_tree; /* static tree or NULL */
2392
- this.extra_bits = extra_bits; /* extra bits for each code or NULL */
2393
- this.extra_base = extra_base; /* base index for extra_bits */
2394
- this.elems = elems; /* max number of elements in the tree */
2395
- this.max_length = max_length; /* max bit length for the codes */
2396
-
2397
- // show if `static_tree` has data or dummy - needed for monomorphic objects
2398
- this.has_stree = static_tree && static_tree.length;
2399
- }
2400
-
2401
-
2402
- var static_l_desc;
2403
- var static_d_desc;
2404
- var static_bl_desc;
2405
-
2406
-
2407
- function TreeDesc(dyn_tree, stat_desc) {
2408
- this.dyn_tree = dyn_tree; /* the dynamic tree */
2409
- this.max_code = 0; /* largest code with non zero frequency */
2410
- this.stat_desc = stat_desc; /* the corresponding static tree */
2411
- }
2412
-
2413
-
2414
-
2415
- function d_code(dist) {
2416
- return dist < 256 ? _dist_code[dist] : _dist_code[256 + (dist >>> 7)];
2417
- }
2418
-
2419
-
2420
- /* ===========================================================================
2421
- * Output a short LSB first on the stream.
2422
- * IN assertion: there is enough room in pendingBuf.
2423
- */
2424
- function put_short(s, w) {
2425
- // put_byte(s, (uch)((w) & 0xff));
2426
- // put_byte(s, (uch)((ush)(w) >> 8));
2427
- s.pending_buf[s.pending++] = (w) & 0xff;
2428
- s.pending_buf[s.pending++] = (w >>> 8) & 0xff;
2429
- }
2430
-
2431
-
2432
- /* ===========================================================================
2433
- * Send a value on a given number of bits.
2434
- * IN assertion: length <= 16 and value fits in length bits.
2435
- */
2436
- function send_bits(s, value, length) {
2437
- if (s.bi_valid > (Buf_size - length)) {
2438
- s.bi_buf |= (value << s.bi_valid) & 0xffff;
2439
- put_short(s, s.bi_buf);
2440
- s.bi_buf = value >> (Buf_size - s.bi_valid);
2441
- s.bi_valid += length - Buf_size;
2442
- } else {
2443
- s.bi_buf |= (value << s.bi_valid) & 0xffff;
2444
- s.bi_valid += length;
2445
- }
2446
- }
2447
-
2448
-
2449
- function send_code(s, c, tree) {
2450
- send_bits(s, tree[c * 2]/*.Code*/, tree[c * 2 + 1]/*.Len*/);
2451
- }
2452
-
2453
-
2454
- /* ===========================================================================
2455
- * Reverse the first len bits of a code, using straightforward code (a faster
2456
- * method would use a table)
2457
- * IN assertion: 1 <= len <= 15
2458
- */
2459
- function bi_reverse(code, len) {
2460
- var res = 0;
2461
- do {
2462
- res |= code & 1;
2463
- code >>>= 1;
2464
- res <<= 1;
2465
- } while (--len > 0);
2466
- return res >>> 1;
2467
- }
2468
-
2469
-
2470
- /* ===========================================================================
2471
- * Flush the bit buffer, keeping at most 7 bits in it.
2472
- */
2473
- function bi_flush(s) {
2474
- if (s.bi_valid === 16) {
2475
- put_short(s, s.bi_buf);
2476
- s.bi_buf = 0;
2477
- s.bi_valid = 0;
2478
-
2479
- } else if (s.bi_valid >= 8) {
2480
- s.pending_buf[s.pending++] = s.bi_buf & 0xff;
2481
- s.bi_buf >>= 8;
2482
- s.bi_valid -= 8;
2483
- }
2484
- }
2485
-
2486
-
2487
- /* ===========================================================================
2488
- * Compute the optimal bit lengths for a tree and update the total bit length
2489
- * for the current block.
2490
- * IN assertion: the fields freq and dad are set, heap[heap_max] and
2491
- * above are the tree nodes sorted by increasing frequency.
2492
- * OUT assertions: the field len is set to the optimal bit length, the
2493
- * array bl_count contains the frequencies for each bit length.
2494
- * The length opt_len is updated; static_len is also updated if stree is
2495
- * not null.
2496
- */
2497
- function gen_bitlen(s, desc)
2498
- // deflate_state *s;
2499
- // tree_desc *desc; /* the tree descriptor */
2500
- {
2501
- var tree = desc.dyn_tree;
2502
- var max_code = desc.max_code;
2503
- var stree = desc.stat_desc.static_tree;
2504
- var has_stree = desc.stat_desc.has_stree;
2505
- var extra = desc.stat_desc.extra_bits;
2506
- var base = desc.stat_desc.extra_base;
2507
- var max_length = desc.stat_desc.max_length;
2508
- var h; /* heap index */
2509
- var n, m; /* iterate over the tree elements */
2510
- var bits; /* bit length */
2511
- var xbits; /* extra bits */
2512
- var f; /* frequency */
2513
- var overflow = 0; /* number of elements with bit length too large */
2514
-
2515
- for (bits = 0; bits <= MAX_BITS; bits++) {
2516
- s.bl_count[bits] = 0;
2517
- }
2518
-
2519
- /* In a first pass, compute the optimal bit lengths (which may
2520
- * overflow in the case of the bit length tree).
2521
- */
2522
- tree[s.heap[s.heap_max] * 2 + 1]/*.Len*/ = 0; /* root of the heap */
2523
-
2524
- for (h = s.heap_max + 1; h < HEAP_SIZE; h++) {
2525
- n = s.heap[h];
2526
- bits = tree[tree[n * 2 + 1]/*.Dad*/ * 2 + 1]/*.Len*/ + 1;
2527
- if (bits > max_length) {
2528
- bits = max_length;
2529
- overflow++;
2530
- }
2531
- tree[n * 2 + 1]/*.Len*/ = bits;
2532
- /* We overwrite tree[n].Dad which is no longer needed */
2533
-
2534
- if (n > max_code) { continue; } /* not a leaf node */
2535
-
2536
- s.bl_count[bits]++;
2537
- xbits = 0;
2538
- if (n >= base) {
2539
- xbits = extra[n - base];
2540
- }
2541
- f = tree[n * 2]/*.Freq*/;
2542
- s.opt_len += f * (bits + xbits);
2543
- if (has_stree) {
2544
- s.static_len += f * (stree[n * 2 + 1]/*.Len*/ + xbits);
2545
- }
2546
- }
2547
- if (overflow === 0) { return; }
2548
-
2549
- // Trace((stderr,"\nbit length overflow\n"));
2550
- /* This happens for example on obj2 and pic of the Calgary corpus */
2551
-
2552
- /* Find the first bit length which could increase: */
2553
- do {
2554
- bits = max_length - 1;
2555
- while (s.bl_count[bits] === 0) { bits--; }
2556
- s.bl_count[bits]--; /* move one leaf down the tree */
2557
- s.bl_count[bits + 1] += 2; /* move one overflow item as its brother */
2558
- s.bl_count[max_length]--;
2559
- /* The brother of the overflow item also moves one step up,
2560
- * but this does not affect bl_count[max_length]
2561
- */
2562
- overflow -= 2;
2563
- } while (overflow > 0);
2564
-
2565
- /* Now recompute all bit lengths, scanning in increasing frequency.
2566
- * h is still equal to HEAP_SIZE. (It is simpler to reconstruct all
2567
- * lengths instead of fixing only the wrong ones. This idea is taken
2568
- * from 'ar' written by Haruhiko Okumura.)
2569
- */
2570
- for (bits = max_length; bits !== 0; bits--) {
2571
- n = s.bl_count[bits];
2572
- while (n !== 0) {
2573
- m = s.heap[--h];
2574
- if (m > max_code) { continue; }
2575
- if (tree[m * 2 + 1]/*.Len*/ !== bits) {
2576
- // Trace((stderr,"code %d bits %d->%d\n", m, tree[m].Len, bits));
2577
- s.opt_len += (bits - tree[m * 2 + 1]/*.Len*/) * tree[m * 2]/*.Freq*/;
2578
- tree[m * 2 + 1]/*.Len*/ = bits;
2579
- }
2580
- n--;
2581
- }
2582
- }
2583
- }
2584
-
2585
-
2586
- /* ===========================================================================
2587
- * Generate the codes for a given tree and bit counts (which need not be
2588
- * optimal).
2589
- * IN assertion: the array bl_count contains the bit length statistics for
2590
- * the given tree and the field len is set for all tree elements.
2591
- * OUT assertion: the field code is set for all tree elements of non
2592
- * zero code length.
2593
- */
2594
- function gen_codes(tree, max_code, bl_count)
2595
- // ct_data *tree; /* the tree to decorate */
2596
- // int max_code; /* largest code with non zero frequency */
2597
- // ushf *bl_count; /* number of codes at each bit length */
2598
- {
2599
- var next_code = new Array(MAX_BITS + 1); /* next code value for each bit length */
2600
- var code = 0; /* running code value */
2601
- var bits; /* bit index */
2602
- var n; /* code index */
2603
-
2604
- /* The distribution counts are first used to generate the code values
2605
- * without bit reversal.
2606
- */
2607
- for (bits = 1; bits <= MAX_BITS; bits++) {
2608
- next_code[bits] = code = (code + bl_count[bits - 1]) << 1;
2609
- }
2610
- /* Check that the bit counts in bl_count are consistent. The last code
2611
- * must be all ones.
2612
- */
2613
- //Assert (code + bl_count[MAX_BITS]-1 == (1<<MAX_BITS)-1,
2614
- // "inconsistent bit counts");
2615
- //Tracev((stderr,"\ngen_codes: max_code %d ", max_code));
2616
-
2617
- for (n = 0; n <= max_code; n++) {
2618
- var len = tree[n * 2 + 1]/*.Len*/;
2619
- if (len === 0) { continue; }
2620
- /* Now reverse the bits */
2621
- tree[n * 2]/*.Code*/ = bi_reverse(next_code[len]++, len);
2622
-
2623
- //Tracecv(tree != static_ltree, (stderr,"\nn %3d %c l %2d c %4x (%x) ",
2624
- // n, (isgraph(n) ? n : ' '), len, tree[n].Code, next_code[len]-1));
2625
- }
2626
- }
2627
-
2628
-
2629
- /* ===========================================================================
2630
- * Initialize the various 'constant' tables.
2631
- */
2632
- function tr_static_init() {
2633
- var n; /* iterates over tree elements */
2634
- var bits; /* bit counter */
2635
- var length; /* length value */
2636
- var code; /* code value */
2637
- var dist; /* distance index */
2638
- var bl_count = new Array(MAX_BITS + 1);
2639
- /* number of codes at each bit length for an optimal tree */
2640
-
2641
- // do check in _tr_init()
2642
- //if (static_init_done) return;
2643
-
2644
- /* For some embedded targets, global variables are not initialized: */
2645
- /*#ifdef NO_INIT_GLOBAL_POINTERS
2646
- static_l_desc.static_tree = static_ltree;
2647
- static_l_desc.extra_bits = extra_lbits;
2648
- static_d_desc.static_tree = static_dtree;
2649
- static_d_desc.extra_bits = extra_dbits;
2650
- static_bl_desc.extra_bits = extra_blbits;
2651
- #endif*/
2652
-
2653
- /* Initialize the mapping length (0..255) -> length code (0..28) */
2654
- length = 0;
2655
- for (code = 0; code < LENGTH_CODES - 1; code++) {
2656
- base_length[code] = length;
2657
- for (n = 0; n < (1 << extra_lbits[code]); n++) {
2658
- _length_code[length++] = code;
2659
- }
2660
- }
2661
- //Assert (length == 256, "tr_static_init: length != 256");
2662
- /* Note that the length 255 (match length 258) can be represented
2663
- * in two different ways: code 284 + 5 bits or code 285, so we
2664
- * overwrite length_code[255] to use the best encoding:
2665
- */
2666
- _length_code[length - 1] = code;
2667
-
2668
- /* Initialize the mapping dist (0..32K) -> dist code (0..29) */
2669
- dist = 0;
2670
- for (code = 0; code < 16; code++) {
2671
- base_dist[code] = dist;
2672
- for (n = 0; n < (1 << extra_dbits[code]); n++) {
2673
- _dist_code[dist++] = code;
2674
- }
2675
- }
2676
- //Assert (dist == 256, "tr_static_init: dist != 256");
2677
- dist >>= 7; /* from now on, all distances are divided by 128 */
2678
- for (; code < D_CODES; code++) {
2679
- base_dist[code] = dist << 7;
2680
- for (n = 0; n < (1 << (extra_dbits[code] - 7)); n++) {
2681
- _dist_code[256 + dist++] = code;
2682
- }
2683
- }
2684
- //Assert (dist == 256, "tr_static_init: 256+dist != 512");
2685
-
2686
- /* Construct the codes of the static literal tree */
2687
- for (bits = 0; bits <= MAX_BITS; bits++) {
2688
- bl_count[bits] = 0;
2689
- }
2690
-
2691
- n = 0;
2692
- while (n <= 143) {
2693
- static_ltree[n * 2 + 1]/*.Len*/ = 8;
2694
- n++;
2695
- bl_count[8]++;
2696
- }
2697
- while (n <= 255) {
2698
- static_ltree[n * 2 + 1]/*.Len*/ = 9;
2699
- n++;
2700
- bl_count[9]++;
2701
- }
2702
- while (n <= 279) {
2703
- static_ltree[n * 2 + 1]/*.Len*/ = 7;
2704
- n++;
2705
- bl_count[7]++;
2706
- }
2707
- while (n <= 287) {
2708
- static_ltree[n * 2 + 1]/*.Len*/ = 8;
2709
- n++;
2710
- bl_count[8]++;
2711
- }
2712
- /* Codes 286 and 287 do not exist, but we must include them in the
2713
- * tree construction to get a canonical Huffman tree (longest code
2714
- * all ones)
2715
- */
2716
- gen_codes(static_ltree, L_CODES + 1, bl_count);
2717
-
2718
- /* The static distance tree is trivial: */
2719
- for (n = 0; n < D_CODES; n++) {
2720
- static_dtree[n * 2 + 1]/*.Len*/ = 5;
2721
- static_dtree[n * 2]/*.Code*/ = bi_reverse(n, 5);
2722
- }
2723
-
2724
- // Now data ready and we can init static trees
2725
- static_l_desc = new StaticTreeDesc(static_ltree, extra_lbits, LITERALS + 1, L_CODES, MAX_BITS);
2726
- static_d_desc = new StaticTreeDesc(static_dtree, extra_dbits, 0, D_CODES, MAX_BITS);
2727
- static_bl_desc = new StaticTreeDesc(new Array(0), extra_blbits, 0, BL_CODES, MAX_BL_BITS);
2728
-
2729
- //static_init_done = true;
2730
- }
2731
-
2732
-
2733
- /* ===========================================================================
2734
- * Initialize a new block.
2735
- */
2736
- function init_block(s) {
2737
- var n; /* iterates over tree elements */
2738
-
2739
- /* Initialize the trees. */
2740
- for (n = 0; n < L_CODES; n++) { s.dyn_ltree[n * 2]/*.Freq*/ = 0; }
2741
- for (n = 0; n < D_CODES; n++) { s.dyn_dtree[n * 2]/*.Freq*/ = 0; }
2742
- for (n = 0; n < BL_CODES; n++) { s.bl_tree[n * 2]/*.Freq*/ = 0; }
2743
-
2744
- s.dyn_ltree[END_BLOCK * 2]/*.Freq*/ = 1;
2745
- s.opt_len = s.static_len = 0;
2746
- s.last_lit = s.matches = 0;
2747
- }
2748
-
2749
-
2750
- /* ===========================================================================
2751
- * Flush the bit buffer and align the output on a byte boundary
2752
- */
2753
- function bi_windup(s)
2754
- {
2755
- if (s.bi_valid > 8) {
2756
- put_short(s, s.bi_buf);
2757
- } else if (s.bi_valid > 0) {
2758
- //put_byte(s, (Byte)s->bi_buf);
2759
- s.pending_buf[s.pending++] = s.bi_buf;
2760
- }
2761
- s.bi_buf = 0;
2762
- s.bi_valid = 0;
2763
- }
2764
-
2765
- /* ===========================================================================
2766
- * Copy a stored block, storing first the length and its
2767
- * one's complement if requested.
2768
- */
2769
- function copy_block(s, buf, len, header)
2770
- //DeflateState *s;
2771
- //charf *buf; /* the input data */
2772
- //unsigned len; /* its length */
2773
- //int header; /* true if block header must be written */
2774
- {
2775
- bi_windup(s); /* align on byte boundary */
2776
-
2777
- if (header) {
2778
- put_short(s, len);
2779
- put_short(s, ~len);
2780
- }
2781
- // while (len--) {
2782
- // put_byte(s, *buf++);
2783
- // }
2784
- utils.arraySet(s.pending_buf, s.window, buf, len, s.pending);
2785
- s.pending += len;
2786
- }
2787
-
2788
- /* ===========================================================================
2789
- * Compares to subtrees, using the tree depth as tie breaker when
2790
- * the subtrees have equal frequency. This minimizes the worst case length.
2791
- */
2792
- function smaller(tree, n, m, depth) {
2793
- var _n2 = n * 2;
2794
- var _m2 = m * 2;
2795
- return (tree[_n2]/*.Freq*/ < tree[_m2]/*.Freq*/ ||
2796
- (tree[_n2]/*.Freq*/ === tree[_m2]/*.Freq*/ && depth[n] <= depth[m]));
2797
- }
2798
-
2799
- /* ===========================================================================
2800
- * Restore the heap property by moving down the tree starting at node k,
2801
- * exchanging a node with the smallest of its two sons if necessary, stopping
2802
- * when the heap property is re-established (each father smaller than its
2803
- * two sons).
2804
- */
2805
- function pqdownheap(s, tree, k)
2806
- // deflate_state *s;
2807
- // ct_data *tree; /* the tree to restore */
2808
- // int k; /* node to move down */
2809
- {
2810
- var v = s.heap[k];
2811
- var j = k << 1; /* left son of k */
2812
- while (j <= s.heap_len) {
2813
- /* Set j to the smallest of the two sons: */
2814
- if (j < s.heap_len &&
2815
- smaller(tree, s.heap[j + 1], s.heap[j], s.depth)) {
2816
- j++;
2817
- }
2818
- /* Exit if v is smaller than both sons */
2819
- if (smaller(tree, v, s.heap[j], s.depth)) { break; }
2820
-
2821
- /* Exchange v with the smallest son */
2822
- s.heap[k] = s.heap[j];
2823
- k = j;
2824
-
2825
- /* And continue down the tree, setting j to the left son of k */
2826
- j <<= 1;
2827
- }
2828
- s.heap[k] = v;
2829
- }
2830
-
2831
-
2832
- // inlined manually
2833
- // var SMALLEST = 1;
2834
-
2835
- /* ===========================================================================
2836
- * Send the block data compressed using the given Huffman trees
2837
- */
2838
- function compress_block(s, ltree, dtree)
2839
- // deflate_state *s;
2840
- // const ct_data *ltree; /* literal tree */
2841
- // const ct_data *dtree; /* distance tree */
2842
- {
2843
- var dist; /* distance of matched string */
2844
- var lc; /* match length or unmatched char (if dist == 0) */
2845
- var lx = 0; /* running index in l_buf */
2846
- var code; /* the code to send */
2847
- var extra; /* number of extra bits to send */
2848
-
2849
- if (s.last_lit !== 0) {
2850
- do {
2851
- dist = (s.pending_buf[s.d_buf + lx * 2] << 8) | (s.pending_buf[s.d_buf + lx * 2 + 1]);
2852
- lc = s.pending_buf[s.l_buf + lx];
2853
- lx++;
2854
-
2855
- if (dist === 0) {
2856
- send_code(s, lc, ltree); /* send a literal byte */
2857
- //Tracecv(isgraph(lc), (stderr," '%c' ", lc));
2858
- } else {
2859
- /* Here, lc is the match length - MIN_MATCH */
2860
- code = _length_code[lc];
2861
- send_code(s, code + LITERALS + 1, ltree); /* send the length code */
2862
- extra = extra_lbits[code];
2863
- if (extra !== 0) {
2864
- lc -= base_length[code];
2865
- send_bits(s, lc, extra); /* send the extra length bits */
2866
- }
2867
- dist--; /* dist is now the match distance - 1 */
2868
- code = d_code(dist);
2869
- //Assert (code < D_CODES, "bad d_code");
2870
-
2871
- send_code(s, code, dtree); /* send the distance code */
2872
- extra = extra_dbits[code];
2873
- if (extra !== 0) {
2874
- dist -= base_dist[code];
2875
- send_bits(s, dist, extra); /* send the extra distance bits */
2876
- }
2877
- } /* literal or match pair ? */
2878
-
2879
- /* Check that the overlay between pending_buf and d_buf+l_buf is ok: */
2880
- //Assert((uInt)(s->pending) < s->lit_bufsize + 2*lx,
2881
- // "pendingBuf overflow");
2882
-
2883
- } while (lx < s.last_lit);
2884
- }
2885
-
2886
- send_code(s, END_BLOCK, ltree);
2887
- }
2888
-
2889
-
2890
- /* ===========================================================================
2891
- * Construct one Huffman tree and assigns the code bit strings and lengths.
2892
- * Update the total bit length for the current block.
2893
- * IN assertion: the field freq is set for all tree elements.
2894
- * OUT assertions: the fields len and code are set to the optimal bit length
2895
- * and corresponding code. The length opt_len is updated; static_len is
2896
- * also updated if stree is not null. The field max_code is set.
2897
- */
2898
- function build_tree(s, desc)
2899
- // deflate_state *s;
2900
- // tree_desc *desc; /* the tree descriptor */
2901
- {
2902
- var tree = desc.dyn_tree;
2903
- var stree = desc.stat_desc.static_tree;
2904
- var has_stree = desc.stat_desc.has_stree;
2905
- var elems = desc.stat_desc.elems;
2906
- var n, m; /* iterate over heap elements */
2907
- var max_code = -1; /* largest code with non zero frequency */
2908
- var node; /* new node being created */
2909
-
2910
- /* Construct the initial heap, with least frequent element in
2911
- * heap[SMALLEST]. The sons of heap[n] are heap[2*n] and heap[2*n+1].
2912
- * heap[0] is not used.
2913
- */
2914
- s.heap_len = 0;
2915
- s.heap_max = HEAP_SIZE;
2916
-
2917
- for (n = 0; n < elems; n++) {
2918
- if (tree[n * 2]/*.Freq*/ !== 0) {
2919
- s.heap[++s.heap_len] = max_code = n;
2920
- s.depth[n] = 0;
2921
-
2922
- } else {
2923
- tree[n * 2 + 1]/*.Len*/ = 0;
2924
- }
2925
- }
2926
-
2927
- /* The pkzip format requires that at least one distance code exists,
2928
- * and that at least one bit should be sent even if there is only one
2929
- * possible code. So to avoid special checks later on we force at least
2930
- * two codes of non zero frequency.
2931
- */
2932
- while (s.heap_len < 2) {
2933
- node = s.heap[++s.heap_len] = (max_code < 2 ? ++max_code : 0);
2934
- tree[node * 2]/*.Freq*/ = 1;
2935
- s.depth[node] = 0;
2936
- s.opt_len--;
2937
-
2938
- if (has_stree) {
2939
- s.static_len -= stree[node * 2 + 1]/*.Len*/;
2940
- }
2941
- /* node is 0 or 1 so it does not have extra bits */
2942
- }
2943
- desc.max_code = max_code;
2944
-
2945
- /* The elements heap[heap_len/2+1 .. heap_len] are leaves of the tree,
2946
- * establish sub-heaps of increasing lengths:
2947
- */
2948
- for (n = (s.heap_len >> 1/*int /2*/); n >= 1; n--) { pqdownheap(s, tree, n); }
2949
-
2950
- /* Construct the Huffman tree by repeatedly combining the least two
2951
- * frequent nodes.
2952
- */
2953
- node = elems; /* next internal node of the tree */
2954
- do {
2955
- //pqremove(s, tree, n); /* n = node of least frequency */
2956
- /*** pqremove ***/
2957
- n = s.heap[1/*SMALLEST*/];
2958
- s.heap[1/*SMALLEST*/] = s.heap[s.heap_len--];
2959
- pqdownheap(s, tree, 1/*SMALLEST*/);
2960
- /***/
2961
-
2962
- m = s.heap[1/*SMALLEST*/]; /* m = node of next least frequency */
2963
-
2964
- s.heap[--s.heap_max] = n; /* keep the nodes sorted by frequency */
2965
- s.heap[--s.heap_max] = m;
2966
-
2967
- /* Create a new node father of n and m */
2968
- tree[node * 2]/*.Freq*/ = tree[n * 2]/*.Freq*/ + tree[m * 2]/*.Freq*/;
2969
- s.depth[node] = (s.depth[n] >= s.depth[m] ? s.depth[n] : s.depth[m]) + 1;
2970
- tree[n * 2 + 1]/*.Dad*/ = tree[m * 2 + 1]/*.Dad*/ = node;
2971
-
2972
- /* and insert the new node in the heap */
2973
- s.heap[1/*SMALLEST*/] = node++;
2974
- pqdownheap(s, tree, 1/*SMALLEST*/);
2975
-
2976
- } while (s.heap_len >= 2);
2977
-
2978
- s.heap[--s.heap_max] = s.heap[1/*SMALLEST*/];
2979
-
2980
- /* At this point, the fields freq and dad are set. We can now
2981
- * generate the bit lengths.
2982
- */
2983
- gen_bitlen(s, desc);
2984
-
2985
- /* The field len is now set, we can generate the bit codes */
2986
- gen_codes(tree, max_code, s.bl_count);
2987
- }
2988
-
2989
-
2990
- /* ===========================================================================
2991
- * Scan a literal or distance tree to determine the frequencies of the codes
2992
- * in the bit length tree.
2993
- */
2994
- function scan_tree(s, tree, max_code)
2995
- // deflate_state *s;
2996
- // ct_data *tree; /* the tree to be scanned */
2997
- // int max_code; /* and its largest code of non zero frequency */
2998
- {
2999
- var n; /* iterates over all tree elements */
3000
- var prevlen = -1; /* last emitted length */
3001
- var curlen; /* length of current code */
3002
-
3003
- var nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */
3004
-
3005
- var count = 0; /* repeat count of the current code */
3006
- var max_count = 7; /* max repeat count */
3007
- var min_count = 4; /* min repeat count */
3008
-
3009
- if (nextlen === 0) {
3010
- max_count = 138;
3011
- min_count = 3;
3012
- }
3013
- tree[(max_code + 1) * 2 + 1]/*.Len*/ = 0xffff; /* guard */
3014
-
3015
- for (n = 0; n <= max_code; n++) {
3016
- curlen = nextlen;
3017
- nextlen = tree[(n + 1) * 2 + 1]/*.Len*/;
3018
-
3019
- if (++count < max_count && curlen === nextlen) {
3020
- continue;
3021
-
3022
- } else if (count < min_count) {
3023
- s.bl_tree[curlen * 2]/*.Freq*/ += count;
3024
-
3025
- } else if (curlen !== 0) {
3026
-
3027
- if (curlen !== prevlen) { s.bl_tree[curlen * 2]/*.Freq*/++; }
3028
- s.bl_tree[REP_3_6 * 2]/*.Freq*/++;
3029
-
3030
- } else if (count <= 10) {
3031
- s.bl_tree[REPZ_3_10 * 2]/*.Freq*/++;
3032
-
3033
- } else {
3034
- s.bl_tree[REPZ_11_138 * 2]/*.Freq*/++;
3035
- }
3036
-
3037
- count = 0;
3038
- prevlen = curlen;
3039
-
3040
- if (nextlen === 0) {
3041
- max_count = 138;
3042
- min_count = 3;
3043
-
3044
- } else if (curlen === nextlen) {
3045
- max_count = 6;
3046
- min_count = 3;
3047
-
3048
- } else {
3049
- max_count = 7;
3050
- min_count = 4;
3051
- }
3052
- }
3053
- }
3054
-
3055
-
3056
- /* ===========================================================================
3057
- * Send a literal or distance tree in compressed form, using the codes in
3058
- * bl_tree.
3059
- */
3060
- function send_tree(s, tree, max_code)
3061
- // deflate_state *s;
3062
- // ct_data *tree; /* the tree to be scanned */
3063
- // int max_code; /* and its largest code of non zero frequency */
3064
- {
3065
- var n; /* iterates over all tree elements */
3066
- var prevlen = -1; /* last emitted length */
3067
- var curlen; /* length of current code */
3068
-
3069
- var nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */
3070
-
3071
- var count = 0; /* repeat count of the current code */
3072
- var max_count = 7; /* max repeat count */
3073
- var min_count = 4; /* min repeat count */
3074
-
3075
- /* tree[max_code+1].Len = -1; */ /* guard already set */
3076
- if (nextlen === 0) {
3077
- max_count = 138;
3078
- min_count = 3;
3079
- }
3080
-
3081
- for (n = 0; n <= max_code; n++) {
3082
- curlen = nextlen;
3083
- nextlen = tree[(n + 1) * 2 + 1]/*.Len*/;
3084
-
3085
- if (++count < max_count && curlen === nextlen) {
3086
- continue;
3087
-
3088
- } else if (count < min_count) {
3089
- do { send_code(s, curlen, s.bl_tree); } while (--count !== 0);
3090
-
3091
- } else if (curlen !== 0) {
3092
- if (curlen !== prevlen) {
3093
- send_code(s, curlen, s.bl_tree);
3094
- count--;
3095
- }
3096
- //Assert(count >= 3 && count <= 6, " 3_6?");
3097
- send_code(s, REP_3_6, s.bl_tree);
3098
- send_bits(s, count - 3, 2);
3099
-
3100
- } else if (count <= 10) {
3101
- send_code(s, REPZ_3_10, s.bl_tree);
3102
- send_bits(s, count - 3, 3);
3103
-
3104
- } else {
3105
- send_code(s, REPZ_11_138, s.bl_tree);
3106
- send_bits(s, count - 11, 7);
3107
- }
3108
-
3109
- count = 0;
3110
- prevlen = curlen;
3111
- if (nextlen === 0) {
3112
- max_count = 138;
3113
- min_count = 3;
3114
-
3115
- } else if (curlen === nextlen) {
3116
- max_count = 6;
3117
- min_count = 3;
3118
-
3119
- } else {
3120
- max_count = 7;
3121
- min_count = 4;
3122
- }
3123
- }
3124
- }
3125
-
3126
-
3127
- /* ===========================================================================
3128
- * Construct the Huffman tree for the bit lengths and return the index in
3129
- * bl_order of the last bit length code to send.
3130
- */
3131
- function build_bl_tree(s) {
3132
- var max_blindex; /* index of last bit length code of non zero freq */
3133
-
3134
- /* Determine the bit length frequencies for literal and distance trees */
3135
- scan_tree(s, s.dyn_ltree, s.l_desc.max_code);
3136
- scan_tree(s, s.dyn_dtree, s.d_desc.max_code);
3137
-
3138
- /* Build the bit length tree: */
3139
- build_tree(s, s.bl_desc);
3140
- /* opt_len now includes the length of the tree representations, except
3141
- * the lengths of the bit lengths codes and the 5+5+4 bits for the counts.
3142
- */
3143
-
3144
- /* Determine the number of bit length codes to send. The pkzip format
3145
- * requires that at least 4 bit length codes be sent. (appnote.txt says
3146
- * 3 but the actual value used is 4.)
3147
- */
3148
- for (max_blindex = BL_CODES - 1; max_blindex >= 3; max_blindex--) {
3149
- if (s.bl_tree[bl_order[max_blindex] * 2 + 1]/*.Len*/ !== 0) {
3150
- break;
3151
- }
3152
- }
3153
- /* Update opt_len to include the bit length tree and counts */
3154
- s.opt_len += 3 * (max_blindex + 1) + 5 + 5 + 4;
3155
- //Tracev((stderr, "\ndyn trees: dyn %ld, stat %ld",
3156
- // s->opt_len, s->static_len));
3157
-
3158
- return max_blindex;
3159
- }
3160
-
3161
-
3162
- /* ===========================================================================
3163
- * Send the header for a block using dynamic Huffman trees: the counts, the
3164
- * lengths of the bit length codes, the literal tree and the distance tree.
3165
- * IN assertion: lcodes >= 257, dcodes >= 1, blcodes >= 4.
3166
- */
3167
- function send_all_trees(s, lcodes, dcodes, blcodes)
3168
- // deflate_state *s;
3169
- // int lcodes, dcodes, blcodes; /* number of codes for each tree */
3170
- {
3171
- var rank; /* index in bl_order */
3172
-
3173
- //Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes");
3174
- //Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,
3175
- // "too many codes");
3176
- //Tracev((stderr, "\nbl counts: "));
3177
- send_bits(s, lcodes - 257, 5); /* not +255 as stated in appnote.txt */
3178
- send_bits(s, dcodes - 1, 5);
3179
- send_bits(s, blcodes - 4, 4); /* not -3 as stated in appnote.txt */
3180
- for (rank = 0; rank < blcodes; rank++) {
3181
- //Tracev((stderr, "\nbl code %2d ", bl_order[rank]));
3182
- send_bits(s, s.bl_tree[bl_order[rank] * 2 + 1]/*.Len*/, 3);
3183
- }
3184
- //Tracev((stderr, "\nbl tree: sent %ld", s->bits_sent));
3185
-
3186
- send_tree(s, s.dyn_ltree, lcodes - 1); /* literal tree */
3187
- //Tracev((stderr, "\nlit tree: sent %ld", s->bits_sent));
3188
-
3189
- send_tree(s, s.dyn_dtree, dcodes - 1); /* distance tree */
3190
- //Tracev((stderr, "\ndist tree: sent %ld", s->bits_sent));
3191
- }
3192
-
3193
-
3194
- /* ===========================================================================
3195
- * Check if the data type is TEXT or BINARY, using the following algorithm:
3196
- * - TEXT if the two conditions below are satisfied:
3197
- * a) There are no non-portable control characters belonging to the
3198
- * "black list" (0..6, 14..25, 28..31).
3199
- * b) There is at least one printable character belonging to the
3200
- * "white list" (9 {TAB}, 10 {LF}, 13 {CR}, 32..255).
3201
- * - BINARY otherwise.
3202
- * - The following partially-portable control characters form a
3203
- * "gray list" that is ignored in this detection algorithm:
3204
- * (7 {BEL}, 8 {BS}, 11 {VT}, 12 {FF}, 26 {SUB}, 27 {ESC}).
3205
- * IN assertion: the fields Freq of dyn_ltree are set.
3206
- */
3207
- function detect_data_type(s) {
3208
- /* black_mask is the bit mask of black-listed bytes
3209
- * set bits 0..6, 14..25, and 28..31
3210
- * 0xf3ffc07f = binary 11110011111111111100000001111111
3211
- */
3212
- var black_mask = 0xf3ffc07f;
3213
- var n;
3214
-
3215
- /* Check for non-textual ("black-listed") bytes. */
3216
- for (n = 0; n <= 31; n++, black_mask >>>= 1) {
3217
- if ((black_mask & 1) && (s.dyn_ltree[n * 2]/*.Freq*/ !== 0)) {
3218
- return Z_BINARY;
3219
- }
3220
- }
3221
-
3222
- /* Check for textual ("white-listed") bytes. */
3223
- if (s.dyn_ltree[9 * 2]/*.Freq*/ !== 0 || s.dyn_ltree[10 * 2]/*.Freq*/ !== 0 ||
3224
- s.dyn_ltree[13 * 2]/*.Freq*/ !== 0) {
3225
- return Z_TEXT;
3226
- }
3227
- for (n = 32; n < LITERALS; n++) {
3228
- if (s.dyn_ltree[n * 2]/*.Freq*/ !== 0) {
3229
- return Z_TEXT;
3230
- }
3231
- }
3232
-
3233
- /* There are no "black-listed" or "white-listed" bytes:
3234
- * this stream either is empty or has tolerated ("gray-listed") bytes only.
3235
- */
3236
- return Z_BINARY;
3237
- }
3238
-
3239
-
3240
- var static_init_done = false;
3241
-
3242
- /* ===========================================================================
3243
- * Initialize the tree data structures for a new zlib stream.
3244
- */
3245
- function _tr_init(s)
3246
- {
3247
-
3248
- if (!static_init_done) {
3249
- tr_static_init();
3250
- static_init_done = true;
3251
- }
3252
-
3253
- s.l_desc = new TreeDesc(s.dyn_ltree, static_l_desc);
3254
- s.d_desc = new TreeDesc(s.dyn_dtree, static_d_desc);
3255
- s.bl_desc = new TreeDesc(s.bl_tree, static_bl_desc);
3256
-
3257
- s.bi_buf = 0;
3258
- s.bi_valid = 0;
3259
-
3260
- /* Initialize the first block of the first file: */
3261
- init_block(s);
3262
- }
3263
-
3264
-
3265
- /* ===========================================================================
3266
- * Send a stored block
3267
- */
3268
- function _tr_stored_block(s, buf, stored_len, last)
3269
- //DeflateState *s;
3270
- //charf *buf; /* input block */
3271
- //ulg stored_len; /* length of input block */
3272
- //int last; /* one if this is the last block for a file */
3273
- {
3274
- send_bits(s, (STORED_BLOCK << 1) + (last ? 1 : 0), 3); /* send block type */
3275
- copy_block(s, buf, stored_len, true); /* with header */
3276
- }
3277
-
3278
-
3279
- /* ===========================================================================
3280
- * Send one empty static block to give enough lookahead for inflate.
3281
- * This takes 10 bits, of which 7 may remain in the bit buffer.
3282
- */
3283
- function _tr_align(s) {
3284
- send_bits(s, STATIC_TREES << 1, 3);
3285
- send_code(s, END_BLOCK, static_ltree);
3286
- bi_flush(s);
3287
- }
3288
-
3289
-
3290
- /* ===========================================================================
3291
- * Determine the best encoding for the current block: dynamic trees, static
3292
- * trees or store, and output the encoded block to the zip file.
3293
- */
3294
- function _tr_flush_block(s, buf, stored_len, last)
3295
- //DeflateState *s;
3296
- //charf *buf; /* input block, or NULL if too old */
3297
- //ulg stored_len; /* length of input block */
3298
- //int last; /* one if this is the last block for a file */
3299
- {
3300
- var opt_lenb, static_lenb; /* opt_len and static_len in bytes */
3301
- var max_blindex = 0; /* index of last bit length code of non zero freq */
3302
-
3303
- /* Build the Huffman trees unless a stored block is forced */
3304
- if (s.level > 0) {
3305
-
3306
- /* Check if the file is binary or text */
3307
- if (s.strm.data_type === Z_UNKNOWN) {
3308
- s.strm.data_type = detect_data_type(s);
3309
- }
3310
-
3311
- /* Construct the literal and distance trees */
3312
- build_tree(s, s.l_desc);
3313
- // Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len,
3314
- // s->static_len));
3315
-
3316
- build_tree(s, s.d_desc);
3317
- // Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len,
3318
- // s->static_len));
3319
- /* At this point, opt_len and static_len are the total bit lengths of
3320
- * the compressed block data, excluding the tree representations.
3321
- */
3322
-
3323
- /* Build the bit length tree for the above two trees, and get the index
3324
- * in bl_order of the last bit length code to send.
3325
- */
3326
- max_blindex = build_bl_tree(s);
3327
-
3328
- /* Determine the best encoding. Compute the block lengths in bytes. */
3329
- opt_lenb = (s.opt_len + 3 + 7) >>> 3;
3330
- static_lenb = (s.static_len + 3 + 7) >>> 3;
3331
-
3332
- // Tracev((stderr, "\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u ",
3333
- // opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,
3334
- // s->last_lit));
3335
-
3336
- if (static_lenb <= opt_lenb) { opt_lenb = static_lenb; }
3337
-
3338
- } else {
3339
- // Assert(buf != (char*)0, "lost buf");
3340
- opt_lenb = static_lenb = stored_len + 5; /* force a stored block */
3341
- }
3342
-
3343
- if ((stored_len + 4 <= opt_lenb) && (buf !== -1)) {
3344
- /* 4: two words for the lengths */
3345
-
3346
- /* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE.
3347
- * Otherwise we can't have processed more than WSIZE input bytes since
3348
- * the last block flush, because compression would have been
3349
- * successful. If LIT_BUFSIZE <= WSIZE, it is never too late to
3350
- * transform a block into a stored block.
3351
- */
3352
- _tr_stored_block(s, buf, stored_len, last);
3353
-
3354
- } else if (s.strategy === Z_FIXED || static_lenb === opt_lenb) {
3355
-
3356
- send_bits(s, (STATIC_TREES << 1) + (last ? 1 : 0), 3);
3357
- compress_block(s, static_ltree, static_dtree);
3358
-
3359
- } else {
3360
- send_bits(s, (DYN_TREES << 1) + (last ? 1 : 0), 3);
3361
- send_all_trees(s, s.l_desc.max_code + 1, s.d_desc.max_code + 1, max_blindex + 1);
3362
- compress_block(s, s.dyn_ltree, s.dyn_dtree);
3363
- }
3364
- // Assert (s->compressed_len == s->bits_sent, "bad compressed size");
3365
- /* The above check is made mod 2^32, for files larger than 512 MB
3366
- * and uLong implemented on 32 bits.
3367
- */
3368
- init_block(s);
3369
-
3370
- if (last) {
3371
- bi_windup(s);
3372
- }
3373
- // Tracev((stderr,"\ncomprlen %lu(%lu) ", s->compressed_len>>3,
3374
- // s->compressed_len-7*last));
3375
- }
3376
-
3377
- /* ===========================================================================
3378
- * Save the match info and tally the frequency counts. Return true if
3379
- * the current block must be flushed.
3380
- */
3381
- function _tr_tally(s, dist, lc)
3382
- // deflate_state *s;
3383
- // unsigned dist; /* distance of matched string */
3384
- // unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */
3385
- {
3386
- //var out_length, in_length, dcode;
3387
-
3388
- s.pending_buf[s.d_buf + s.last_lit * 2] = (dist >>> 8) & 0xff;
3389
- s.pending_buf[s.d_buf + s.last_lit * 2 + 1] = dist & 0xff;
3390
-
3391
- s.pending_buf[s.l_buf + s.last_lit] = lc & 0xff;
3392
- s.last_lit++;
3393
-
3394
- if (dist === 0) {
3395
- /* lc is the unmatched char */
3396
- s.dyn_ltree[lc * 2]/*.Freq*/++;
3397
- } else {
3398
- s.matches++;
3399
- /* Here, lc is the match length - MIN_MATCH */
3400
- dist--; /* dist = match distance - 1 */
3401
- //Assert((ush)dist < (ush)MAX_DIST(s) &&
3402
- // (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&
3403
- // (ush)d_code(dist) < (ush)D_CODES, "_tr_tally: bad match");
3404
-
3405
- s.dyn_ltree[(_length_code[lc] + LITERALS + 1) * 2]/*.Freq*/++;
3406
- s.dyn_dtree[d_code(dist) * 2]/*.Freq*/++;
3407
- }
3408
-
3409
- // (!) This block is disabled in zlib defailts,
3410
- // don't enable it for binary compatibility
3411
-
3412
- //#ifdef TRUNCATE_BLOCK
3413
- // /* Try to guess if it is profitable to stop the current block here */
3414
- // if ((s.last_lit & 0x1fff) === 0 && s.level > 2) {
3415
- // /* Compute an upper bound for the compressed length */
3416
- // out_length = s.last_lit*8;
3417
- // in_length = s.strstart - s.block_start;
3418
- //
3419
- // for (dcode = 0; dcode < D_CODES; dcode++) {
3420
- // out_length += s.dyn_dtree[dcode*2]/*.Freq*/ * (5 + extra_dbits[dcode]);
3421
- // }
3422
- // out_length >>>= 3;
3423
- // //Tracev((stderr,"\nlast_lit %u, in %ld, out ~%ld(%ld%%) ",
3424
- // // s->last_lit, in_length, out_length,
3425
- // // 100L - out_length*100L/in_length));
3426
- // if (s.matches < (s.last_lit>>1)/*int /2*/ && out_length < (in_length>>1)/*int /2*/) {
3427
- // return true;
3428
- // }
3429
- // }
3430
- //#endif
3431
-
3432
- return (s.last_lit === s.lit_bufsize - 1);
3433
- /* We avoid equality with lit_bufsize because of wraparound at 64K
3434
- * on 16 bit machines and because stored blocks are restricted to
3435
- * 64K-1 bytes.
3436
- */
3437
- }
3438
-
3439
- exports._tr_init = _tr_init;
3440
- exports._tr_stored_block = _tr_stored_block;
3441
- exports._tr_flush_block = _tr_flush_block;
3442
- exports._tr_tally = _tr_tally;
3443
- exports._tr_align = _tr_align;
3444
-
3445
- },{"../utils/common":1}],8:[function(require,module,exports){
3446
- 'use strict';
3447
-
3448
-
3449
- function ZStream() {
3450
- /* next input byte */
3451
- this.input = null; // JS specific, because we have no pointers
3452
- this.next_in = 0;
3453
- /* number of bytes available at input */
3454
- this.avail_in = 0;
3455
- /* total number of input bytes read so far */
3456
- this.total_in = 0;
3457
- /* next output byte should be put there */
3458
- this.output = null; // JS specific, because we have no pointers
3459
- this.next_out = 0;
3460
- /* remaining free space at output */
3461
- this.avail_out = 0;
3462
- /* total number of bytes output so far */
3463
- this.total_out = 0;
3464
- /* last error message, NULL if no error */
3465
- this.msg = ''/*Z_NULL*/;
3466
- /* not visible by applications */
3467
- this.state = null;
3468
- /* best guess about the data type: binary or text */
3469
- this.data_type = 2/*Z_UNKNOWN*/;
3470
- /* adler32 value of the uncompressed data */
3471
- this.adler = 0;
3472
- }
3473
-
3474
- module.exports = ZStream;
3475
-
3476
- },{}],"/lib/deflate.js":[function(require,module,exports){
3477
- 'use strict';
3478
-
3479
-
3480
- var zlib_deflate = require('./zlib/deflate');
3481
- var utils = require('./utils/common');
3482
- var strings = require('./utils/strings');
3483
- var msg = require('./zlib/messages');
3484
- var ZStream = require('./zlib/zstream');
3485
-
3486
- var toString = Object.prototype.toString;
3487
-
3488
- /* Public constants ==========================================================*/
3489
- /* ===========================================================================*/
3490
-
3491
- var Z_NO_FLUSH = 0;
3492
- var Z_FINISH = 4;
3493
-
3494
- var Z_OK = 0;
3495
- var Z_STREAM_END = 1;
3496
- var Z_SYNC_FLUSH = 2;
3497
-
3498
- var Z_DEFAULT_COMPRESSION = -1;
3499
-
3500
- var Z_DEFAULT_STRATEGY = 0;
3501
-
3502
- var Z_DEFLATED = 8;
3503
-
3504
- /* ===========================================================================*/
3505
-
3506
-
3507
- /**
3508
- * class Deflate
3509
- *
3510
- * Generic JS-style wrapper for zlib calls. If you don't need
3511
- * streaming behaviour - use more simple functions: [[deflate]],
3512
- * [[deflateRaw]] and [[gzip]].
3513
- **/
3514
-
3515
- /* internal
3516
- * Deflate.chunks -> Array
3517
- *
3518
- * Chunks of output data, if [[Deflate#onData]] not overriden.
3519
- **/
3520
-
3521
- /**
3522
- * Deflate.result -> Uint8Array|Array
3523
- *
3524
- * Compressed result, generated by default [[Deflate#onData]]
3525
- * and [[Deflate#onEnd]] handlers. Filled after you push last chunk
3526
- * (call [[Deflate#push]] with `Z_FINISH` / `true` param) or if you
3527
- * push a chunk with explicit flush (call [[Deflate#push]] with
3528
- * `Z_SYNC_FLUSH` param).
3529
- **/
3530
-
3531
- /**
3532
- * Deflate.err -> Number
3533
- *
3534
- * Error code after deflate finished. 0 (Z_OK) on success.
3535
- * You will not need it in real life, because deflate errors
3536
- * are possible only on wrong options or bad `onData` / `onEnd`
3537
- * custom handlers.
3538
- **/
3539
-
3540
- /**
3541
- * Deflate.msg -> String
3542
- *
3543
- * Error message, if [[Deflate.err]] != 0
3544
- **/
3545
-
3546
-
3547
- /**
3548
- * new Deflate(options)
3549
- * - options (Object): zlib deflate options.
3550
- *
3551
- * Creates new deflator instance with specified params. Throws exception
3552
- * on bad params. Supported options:
3553
- *
3554
- * - `level`
3555
- * - `windowBits`
3556
- * - `memLevel`
3557
- * - `strategy`
3558
- * - `dictionary`
3559
- *
3560
- * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)
3561
- * for more information on these.
3562
- *
3563
- * Additional options, for internal needs:
3564
- *
3565
- * - `chunkSize` - size of generated data chunks (16K by default)
3566
- * - `raw` (Boolean) - do raw deflate
3567
- * - `gzip` (Boolean) - create gzip wrapper
3568
- * - `to` (String) - if equal to 'string', then result will be "binary string"
3569
- * (each char code [0..255])
3570
- * - `header` (Object) - custom header for gzip
3571
- * - `text` (Boolean) - true if compressed data believed to be text
3572
- * - `time` (Number) - modification time, unix timestamp
3573
- * - `os` (Number) - operation system code
3574
- * - `extra` (Array) - array of bytes with extra data (max 65536)
3575
- * - `name` (String) - file name (binary string)
3576
- * - `comment` (String) - comment (binary string)
3577
- * - `hcrc` (Boolean) - true if header crc should be added
3578
- *
3579
- * ##### Example:
3580
- *
3581
- * ```javascript
3582
- * var pako = require('pako')
3583
- * , chunk1 = Uint8Array([1,2,3,4,5,6,7,8,9])
3584
- * , chunk2 = Uint8Array([10,11,12,13,14,15,16,17,18,19]);
3585
- *
3586
- * var deflate = new pako.Deflate({ level: 3});
3587
- *
3588
- * deflate.push(chunk1, false);
3589
- * deflate.push(chunk2, true); // true -> last chunk
3590
- *
3591
- * if (deflate.err) { throw new Error(deflate.err); }
3592
- *
3593
- * console.log(deflate.result);
3594
- * ```
3595
- **/
3596
- function Deflate(options) {
3597
- if (!(this instanceof Deflate)) return new Deflate(options);
3598
-
3599
- this.options = utils.assign({
3600
- level: Z_DEFAULT_COMPRESSION,
3601
- method: Z_DEFLATED,
3602
- chunkSize: 16384,
3603
- windowBits: 15,
3604
- memLevel: 8,
3605
- strategy: Z_DEFAULT_STRATEGY,
3606
- to: ''
3607
- }, options || {});
3608
-
3609
- var opt = this.options;
3610
-
3611
- if (opt.raw && (opt.windowBits > 0)) {
3612
- opt.windowBits = -opt.windowBits;
3613
- }
3614
-
3615
- else if (opt.gzip && (opt.windowBits > 0) && (opt.windowBits < 16)) {
3616
- opt.windowBits += 16;
3617
- }
3618
-
3619
- this.err = 0; // error code, if happens (0 = Z_OK)
3620
- this.msg = ''; // error message
3621
- this.ended = false; // used to avoid multiple onEnd() calls
3622
- this.chunks = []; // chunks of compressed data
3623
-
3624
- this.strm = new ZStream();
3625
- this.strm.avail_out = 0;
3626
-
3627
- var status = zlib_deflate.deflateInit2(
3628
- this.strm,
3629
- opt.level,
3630
- opt.method,
3631
- opt.windowBits,
3632
- opt.memLevel,
3633
- opt.strategy
3634
- );
3635
-
3636
- if (status !== Z_OK) {
3637
- throw new Error(msg[status]);
3638
- }
3639
-
3640
- if (opt.header) {
3641
- zlib_deflate.deflateSetHeader(this.strm, opt.header);
3642
- }
3643
-
3644
- if (opt.dictionary) {
3645
- var dict;
3646
- // Convert data if needed
3647
- if (typeof opt.dictionary === 'string') {
3648
- // If we need to compress text, change encoding to utf8.
3649
- dict = strings.string2buf(opt.dictionary);
3650
- } else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') {
3651
- dict = new Uint8Array(opt.dictionary);
3652
- } else {
3653
- dict = opt.dictionary;
3654
- }
3655
-
3656
- status = zlib_deflate.deflateSetDictionary(this.strm, dict);
3657
-
3658
- if (status !== Z_OK) {
3659
- throw new Error(msg[status]);
3660
- }
3661
-
3662
- this._dict_set = true;
3663
- }
3664
- }
3665
-
3666
- /**
3667
- * Deflate#push(data[, mode]) -> Boolean
3668
- * - data (Uint8Array|Array|ArrayBuffer|String): input data. Strings will be
3669
- * converted to utf8 byte sequence.
3670
- * - mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE modes.
3671
- * See constants. Skipped or `false` means Z_NO_FLUSH, `true` meansh Z_FINISH.
3672
- *
3673
- * Sends input data to deflate pipe, generating [[Deflate#onData]] calls with
3674
- * new compressed chunks. Returns `true` on success. The last data block must have
3675
- * mode Z_FINISH (or `true`). That will flush internal pending buffers and call
3676
- * [[Deflate#onEnd]]. For interim explicit flushes (without ending the stream) you
3677
- * can use mode Z_SYNC_FLUSH, keeping the compression context.
3678
- *
3679
- * On fail call [[Deflate#onEnd]] with error code and return false.
3680
- *
3681
- * We strongly recommend to use `Uint8Array` on input for best speed (output
3682
- * array format is detected automatically). Also, don't skip last param and always
3683
- * use the same type in your code (boolean or number). That will improve JS speed.
3684
- *
3685
- * For regular `Array`-s make sure all elements are [0..255].
3686
- *
3687
- * ##### Example
3688
- *
3689
- * ```javascript
3690
- * push(chunk, false); // push one of data chunks
3691
- * ...
3692
- * push(chunk, true); // push last chunk
3693
- * ```
3694
- **/
3695
- Deflate.prototype.push = function (data, mode) {
3696
- var strm = this.strm;
3697
- var chunkSize = this.options.chunkSize;
3698
- var status, _mode;
3699
-
3700
- if (this.ended) { return false; }
3701
-
3702
- _mode = (mode === ~~mode) ? mode : ((mode === true) ? Z_FINISH : Z_NO_FLUSH);
3703
-
3704
- // Convert data if needed
3705
- if (typeof data === 'string') {
3706
- // If we need to compress text, change encoding to utf8.
3707
- strm.input = strings.string2buf(data);
3708
- } else if (toString.call(data) === '[object ArrayBuffer]') {
3709
- strm.input = new Uint8Array(data);
3710
- } else {
3711
- strm.input = data;
3712
- }
3713
-
3714
- strm.next_in = 0;
3715
- strm.avail_in = strm.input.length;
3716
-
3717
- do {
3718
- if (strm.avail_out === 0) {
3719
- strm.output = new utils.Buf8(chunkSize);
3720
- strm.next_out = 0;
3721
- strm.avail_out = chunkSize;
3722
- }
3723
- status = zlib_deflate.deflate(strm, _mode); /* no bad return value */
3724
-
3725
- if (status !== Z_STREAM_END && status !== Z_OK) {
3726
- this.onEnd(status);
3727
- this.ended = true;
3728
- return false;
3729
- }
3730
- if (strm.avail_out === 0 || (strm.avail_in === 0 && (_mode === Z_FINISH || _mode === Z_SYNC_FLUSH))) {
3731
- if (this.options.to === 'string') {
3732
- this.onData(strings.buf2binstring(utils.shrinkBuf(strm.output, strm.next_out)));
3733
- } else {
3734
- this.onData(utils.shrinkBuf(strm.output, strm.next_out));
3735
- }
3736
- }
3737
- } while ((strm.avail_in > 0 || strm.avail_out === 0) && status !== Z_STREAM_END);
3738
-
3739
- // Finalize on the last chunk.
3740
- if (_mode === Z_FINISH) {
3741
- status = zlib_deflate.deflateEnd(this.strm);
3742
- this.onEnd(status);
3743
- this.ended = true;
3744
- return status === Z_OK;
3745
- }
3746
-
3747
- // callback interim results if Z_SYNC_FLUSH.
3748
- if (_mode === Z_SYNC_FLUSH) {
3749
- this.onEnd(Z_OK);
3750
- strm.avail_out = 0;
3751
- return true;
3752
- }
3753
-
3754
- return true;
3755
- };
3756
-
3757
-
3758
- /**
3759
- * Deflate#onData(chunk) -> Void
3760
- * - chunk (Uint8Array|Array|String): ouput data. Type of array depends
3761
- * on js engine support. When string output requested, each chunk
3762
- * will be string.
3763
- *
3764
- * By default, stores data blocks in `chunks[]` property and glue
3765
- * those in `onEnd`. Override this handler, if you need another behaviour.
3766
- **/
3767
- Deflate.prototype.onData = function (chunk) {
3768
- this.chunks.push(chunk);
3769
- };
3770
-
3771
-
3772
- /**
3773
- * Deflate#onEnd(status) -> Void
3774
- * - status (Number): deflate status. 0 (Z_OK) on success,
3775
- * other if not.
3776
- *
3777
- * Called once after you tell deflate that the input stream is
3778
- * complete (Z_FINISH) or should be flushed (Z_SYNC_FLUSH)
3779
- * or if an error happened. By default - join collected chunks,
3780
- * free memory and fill `results` / `err` properties.
3781
- **/
3782
- Deflate.prototype.onEnd = function (status) {
3783
- // On success - join
3784
- if (status === Z_OK) {
3785
- if (this.options.to === 'string') {
3786
- this.result = this.chunks.join('');
3787
- } else {
3788
- this.result = utils.flattenChunks(this.chunks);
3789
- }
3790
- }
3791
- this.chunks = [];
3792
- this.err = status;
3793
- this.msg = this.strm.msg;
3794
- };
3795
-
3796
-
3797
- /**
3798
- * deflate(data[, options]) -> Uint8Array|Array|String
3799
- * - data (Uint8Array|Array|String): input data to compress.
3800
- * - options (Object): zlib deflate options.
3801
- *
3802
- * Compress `data` with deflate algorithm and `options`.
3803
- *
3804
- * Supported options are:
3805
- *
3806
- * - level
3807
- * - windowBits
3808
- * - memLevel
3809
- * - strategy
3810
- * - dictionary
3811
- *
3812
- * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)
3813
- * for more information on these.
3814
- *
3815
- * Sugar (options):
3816
- *
3817
- * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify
3818
- * negative windowBits implicitly.
3819
- * - `to` (String) - if equal to 'string', then result will be "binary string"
3820
- * (each char code [0..255])
3821
- *
3822
- * ##### Example:
3823
- *
3824
- * ```javascript
3825
- * var pako = require('pako')
3826
- * , data = Uint8Array([1,2,3,4,5,6,7,8,9]);
3827
- *
3828
- * console.log(pako.deflate(data));
3829
- * ```
3830
- **/
3831
- function deflate(input, options) {
3832
- var deflator = new Deflate(options);
3833
-
3834
- deflator.push(input, true);
3835
-
3836
- // That will never happens, if you don't cheat with options :)
3837
- if (deflator.err) { throw deflator.msg; }
3838
-
3839
- return deflator.result;
3840
- }
3841
-
3842
-
3843
- /**
3844
- * deflateRaw(data[, options]) -> Uint8Array|Array|String
3845
- * - data (Uint8Array|Array|String): input data to compress.
3846
- * - options (Object): zlib deflate options.
3847
- *
3848
- * The same as [[deflate]], but creates raw data, without wrapper
3849
- * (header and adler32 crc).
3850
- **/
3851
- function deflateRaw(input, options) {
3852
- options = options || {};
3853
- options.raw = true;
3854
- return deflate(input, options);
3855
- }
3856
-
3857
-
3858
- /**
3859
- * gzip(data[, options]) -> Uint8Array|Array|String
3860
- * - data (Uint8Array|Array|String): input data to compress.
3861
- * - options (Object): zlib deflate options.
3862
- *
3863
- * The same as [[deflate]], but create gzip wrapper instead of
3864
- * deflate one.
3865
- **/
3866
- function gzip(input, options) {
3867
- options = options || {};
3868
- options.gzip = true;
3869
- return deflate(input, options);
3870
- }
3871
-
3872
-
3873
- exports.Deflate = Deflate;
3874
- exports.deflate = deflate;
3875
- exports.deflateRaw = deflateRaw;
3876
- exports.gzip = gzip;
3877
-
3878
- },{"./utils/common":1,"./utils/strings":2,"./zlib/deflate":5,"./zlib/messages":6,"./zlib/zstream":8}]},{},[])("/lib/deflate.js")
3879
- });