@modern-js/utils 2.12.1-alpha.1 → 2.12.1-alpha.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (271) hide show
  1. package/dist/cjs/compiled.js +3 -3
  2. package/dist/cjs/import.js +1 -1
  3. package/dist/compiled/address/index.js +1 -0
  4. package/dist/compiled/address/lib/address.d.ts +28 -0
  5. package/dist/compiled/address/package.json +1 -0
  6. package/dist/compiled/ajv/codegen.js +1 -0
  7. package/dist/compiled/ajv/index.js +9 -0
  8. package/dist/compiled/ajv/license +22 -0
  9. package/dist/compiled/ajv/package.json +1 -0
  10. package/dist/compiled/ajv/types/ajv.d.ts +16 -0
  11. package/dist/compiled/ajv/types/compile/codegen/code.d.ts +40 -0
  12. package/dist/compiled/ajv/types/compile/codegen/index.d.ts +79 -0
  13. package/dist/compiled/ajv/types/compile/codegen/scope.d.ts +79 -0
  14. package/dist/compiled/ajv/types/compile/errors.d.ts +13 -0
  15. package/dist/compiled/ajv/types/compile/index.d.ts +80 -0
  16. package/dist/compiled/ajv/types/compile/ref_error.d.ts +6 -0
  17. package/dist/compiled/ajv/types/compile/resolve.d.ts +12 -0
  18. package/dist/compiled/ajv/types/compile/rules.d.ts +28 -0
  19. package/dist/compiled/ajv/types/compile/util.d.ts +40 -0
  20. package/dist/compiled/ajv/types/compile/validate/index.d.ts +42 -0
  21. package/dist/compiled/ajv/types/compile/validate/subschema.d.ts +47 -0
  22. package/dist/compiled/ajv/types/core.d.ts +173 -0
  23. package/dist/compiled/ajv/types/runtime/validation_error.d.ts +7 -0
  24. package/dist/compiled/ajv/types/types/index.d.ts +183 -0
  25. package/dist/compiled/ajv/types/types/json-schema.d.ts +124 -0
  26. package/dist/compiled/ajv/types/types/jtd-schema.d.ts +169 -0
  27. package/dist/compiled/ajv/types/vocabularies/errors.d.ts +1 -0
  28. package/dist/compiled/ajv/uri-js.d.ts +59 -0
  29. package/dist/compiled/ajv-keywords/index.d.ts +1 -0
  30. package/dist/compiled/ajv-keywords/index.js +1 -0
  31. package/dist/compiled/ajv-keywords/license +21 -0
  32. package/dist/compiled/ajv-keywords/package.json +1 -0
  33. package/dist/compiled/better-ajv-errors/index.d.ts +1 -0
  34. package/dist/compiled/better-ajv-errors/index.js +1 -0
  35. package/dist/compiled/better-ajv-errors/license +13 -0
  36. package/dist/compiled/better-ajv-errors/package.json +1 -0
  37. package/dist/compiled/browserslist/index.d.ts +178 -0
  38. package/dist/compiled/browserslist/index.js +1 -0
  39. package/dist/compiled/browserslist/license +20 -0
  40. package/dist/compiled/browserslist/package.json +1 -0
  41. package/dist/compiled/chalk/index.d.ts +415 -0
  42. package/dist/compiled/chalk/index.js +1 -0
  43. package/dist/compiled/chalk/license +9 -0
  44. package/dist/compiled/chalk/package.json +1 -0
  45. package/dist/compiled/chokidar/anymatch/index.d.ts +19 -0
  46. package/dist/compiled/chokidar/fsevents.node +0 -0
  47. package/dist/compiled/chokidar/index.js +40 -0
  48. package/dist/compiled/chokidar/license +21 -0
  49. package/dist/compiled/chokidar/package.json +1 -0
  50. package/dist/compiled/chokidar/types/index.d.ts +188 -0
  51. package/dist/compiled/commander/index.js +1 -0
  52. package/dist/compiled/commander/license +22 -0
  53. package/dist/compiled/commander/package.json +1 -0
  54. package/dist/compiled/commander/typings/index.d.ts +890 -0
  55. package/dist/compiled/debug/index.d.ts +54 -0
  56. package/dist/compiled/debug/index.js +1 -0
  57. package/dist/compiled/debug/license +20 -0
  58. package/dist/compiled/debug/ms/index.d.ts +25 -0
  59. package/dist/compiled/debug/package.json +1 -0
  60. package/dist/compiled/dotenv/index.js +1 -0
  61. package/dist/compiled/dotenv/license +23 -0
  62. package/dist/compiled/dotenv/package.json +1 -0
  63. package/dist/compiled/dotenv/types/index.d.ts +59 -0
  64. package/dist/compiled/dotenv-expand/index.d.ts +15 -0
  65. package/dist/compiled/dotenv-expand/index.js +1 -0
  66. package/dist/compiled/dotenv-expand/license +24 -0
  67. package/dist/compiled/dotenv-expand/package.json +1 -0
  68. package/dist/compiled/execa/index.d.ts +564 -0
  69. package/dist/compiled/execa/index.js +1 -0
  70. package/dist/compiled/execa/license +9 -0
  71. package/dist/compiled/execa/package.json +1 -0
  72. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  73. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +12 -0
  74. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  75. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  76. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  77. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  78. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +12 -0
  79. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  80. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +16 -0
  81. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  82. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +14 -0
  83. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  84. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  85. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  86. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +30 -0
  87. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  88. package/dist/compiled/fast-glob/index.js +37 -0
  89. package/dist/compiled/fast-glob/license +21 -0
  90. package/dist/compiled/fast-glob/out/index.d.ts +27 -0
  91. package/dist/compiled/fast-glob/out/managers/tasks.d.ts +22 -0
  92. package/dist/compiled/fast-glob/out/settings.d.ts +164 -0
  93. package/dist/compiled/fast-glob/out/types/index.d.ts +31 -0
  94. package/dist/compiled/fast-glob/package.json +1 -0
  95. package/dist/compiled/filesize/filesize.d.ts +131 -0
  96. package/dist/compiled/filesize/index.js +9 -0
  97. package/dist/compiled/filesize/license +28 -0
  98. package/dist/compiled/filesize/package.json +1 -0
  99. package/dist/compiled/fs-extra/index.d.ts +563 -0
  100. package/dist/compiled/fs-extra/index.js +1 -0
  101. package/dist/compiled/fs-extra/license +15 -0
  102. package/dist/compiled/fs-extra/package.json +1 -0
  103. package/dist/compiled/glob/index.d.ts +91 -0
  104. package/dist/compiled/glob/index.js +1 -0
  105. package/dist/compiled/glob/license +21 -0
  106. package/dist/compiled/glob/minimatch/index.d.ts +204 -0
  107. package/dist/compiled/glob/package.json +1 -0
  108. package/dist/compiled/globby/index.d.ts +186 -0
  109. package/dist/compiled/globby/index.js +1 -0
  110. package/dist/compiled/globby/license +9 -0
  111. package/dist/compiled/globby/package.json +1 -0
  112. package/dist/compiled/gzip-size/index.d.ts +96 -0
  113. package/dist/compiled/gzip-size/index.js +1 -0
  114. package/dist/compiled/gzip-size/license +9 -0
  115. package/dist/compiled/gzip-size/package.json +1 -0
  116. package/dist/compiled/import-lazy/index.d.ts +26 -0
  117. package/dist/compiled/import-lazy/index.js +1 -0
  118. package/dist/compiled/import-lazy/license +9 -0
  119. package/dist/compiled/import-lazy/package.json +1 -0
  120. package/dist/compiled/inquirer/index.d.ts +997 -0
  121. package/dist/compiled/inquirer/index.js +9 -0
  122. package/dist/compiled/inquirer/lib/objects/choice.d.ts +65 -0
  123. package/dist/compiled/inquirer/lib/objects/choices.d.ts +206 -0
  124. package/dist/compiled/inquirer/lib/objects/separator.d.ts +37 -0
  125. package/dist/compiled/inquirer/lib/ui/baseUI.d.ts +37 -0
  126. package/dist/compiled/inquirer/lib/ui/bottom-bar.d.ts +65 -0
  127. package/dist/compiled/inquirer/lib/ui/prompt.d.ts +104 -0
  128. package/dist/compiled/inquirer/license +22 -0
  129. package/dist/compiled/inquirer/package.json +1 -0
  130. package/dist/compiled/inquirer/through/index.d.ts +25 -0
  131. package/dist/compiled/js-yaml/index.d.ts +154 -0
  132. package/dist/compiled/js-yaml/index.js +1 -0
  133. package/dist/compiled/js-yaml/license +21 -0
  134. package/dist/compiled/js-yaml/package.json +1 -0
  135. package/dist/compiled/json5/index.js +1 -0
  136. package/dist/compiled/json5/lib/index.d.ts +4 -0
  137. package/dist/compiled/json5/lib/parse.d.ts +15 -0
  138. package/dist/compiled/json5/lib/stringify.d.ts +89 -0
  139. package/dist/compiled/json5/package.json +1 -0
  140. package/dist/compiled/lodash/common/array.d.ts +2126 -0
  141. package/dist/compiled/lodash/common/collection.d.ts +1930 -0
  142. package/dist/compiled/lodash/common/common.d.ts +280 -0
  143. package/dist/compiled/lodash/common/date.d.ts +23 -0
  144. package/dist/compiled/lodash/common/function.d.ts +1446 -0
  145. package/dist/compiled/lodash/common/lang.d.ts +1693 -0
  146. package/dist/compiled/lodash/common/math.d.ts +405 -0
  147. package/dist/compiled/lodash/common/number.d.ts +131 -0
  148. package/dist/compiled/lodash/common/object.d.ts +2519 -0
  149. package/dist/compiled/lodash/common/seq.d.ts +210 -0
  150. package/dist/compiled/lodash/common/string.d.ts +788 -0
  151. package/dist/compiled/lodash/common/util.d.ts +1220 -0
  152. package/dist/compiled/lodash/index.d.ts +46 -0
  153. package/dist/compiled/lodash/index.js +5 -0
  154. package/dist/compiled/lodash/license +47 -0
  155. package/dist/compiled/lodash/package.json +1 -0
  156. package/dist/compiled/mime-types/index.d.ts +14 -0
  157. package/dist/compiled/mime-types/index.js +14 -0
  158. package/dist/compiled/mime-types/license +23 -0
  159. package/dist/compiled/mime-types/package.json +1 -0
  160. package/dist/compiled/minimist/index.d.ts +95 -0
  161. package/dist/compiled/minimist/index.js +1 -0
  162. package/dist/compiled/minimist/license +18 -0
  163. package/dist/compiled/minimist/package.json +1 -0
  164. package/dist/compiled/nanoid/index.d.ts +91 -0
  165. package/dist/compiled/nanoid/index.js +1 -0
  166. package/dist/compiled/nanoid/license +20 -0
  167. package/dist/compiled/nanoid/package.json +1 -0
  168. package/dist/compiled/ora/cli-spinners/index.d.ts +125 -0
  169. package/dist/compiled/ora/index.d.ts +277 -0
  170. package/dist/compiled/ora/index.js +3 -0
  171. package/dist/compiled/ora/license +9 -0
  172. package/dist/compiled/ora/package.json +1 -0
  173. package/dist/compiled/pkg-up/index.d.ts +48 -0
  174. package/dist/compiled/pkg-up/index.js +1 -0
  175. package/dist/compiled/pkg-up/license +9 -0
  176. package/dist/compiled/pkg-up/package.json +1 -0
  177. package/dist/compiled/recursive-readdir/index.d.ts +21 -0
  178. package/dist/compiled/recursive-readdir/index.js +1 -0
  179. package/dist/compiled/recursive-readdir/license +21 -0
  180. package/dist/compiled/recursive-readdir/package.json +1 -0
  181. package/dist/compiled/schema-utils3/index.d.ts +1 -0
  182. package/dist/compiled/schema-utils3/index.js +3 -0
  183. package/dist/compiled/schema-utils3/license +20 -0
  184. package/dist/compiled/schema-utils3/package.json +1 -0
  185. package/dist/compiled/semver/classes/comparator.d.ts +17 -0
  186. package/dist/compiled/semver/classes/range.d.ts +21 -0
  187. package/dist/compiled/semver/classes/semver.d.ts +62 -0
  188. package/dist/compiled/semver/functions/clean.d.ts +8 -0
  189. package/dist/compiled/semver/functions/cmp.d.ts +16 -0
  190. package/dist/compiled/semver/functions/coerce.d.ts +12 -0
  191. package/dist/compiled/semver/functions/compare-build.d.ts +16 -0
  192. package/dist/compiled/semver/functions/compare-loose.d.ts +5 -0
  193. package/dist/compiled/semver/functions/compare.d.ts +20 -0
  194. package/dist/compiled/semver/functions/diff.d.ts +13 -0
  195. package/dist/compiled/semver/functions/eq.d.ts +9 -0
  196. package/dist/compiled/semver/functions/gt.d.ts +9 -0
  197. package/dist/compiled/semver/functions/gte.d.ts +9 -0
  198. package/dist/compiled/semver/functions/inc.d.ts +15 -0
  199. package/dist/compiled/semver/functions/lt.d.ts +9 -0
  200. package/dist/compiled/semver/functions/lte.d.ts +8 -0
  201. package/dist/compiled/semver/functions/major.d.ts +9 -0
  202. package/dist/compiled/semver/functions/minor.d.ts +9 -0
  203. package/dist/compiled/semver/functions/neq.d.ts +9 -0
  204. package/dist/compiled/semver/functions/parse.d.ts +12 -0
  205. package/dist/compiled/semver/functions/patch.d.ts +9 -0
  206. package/dist/compiled/semver/functions/prerelease.d.ts +12 -0
  207. package/dist/compiled/semver/functions/rcompare.d.ts +15 -0
  208. package/dist/compiled/semver/functions/rsort.d.ts +9 -0
  209. package/dist/compiled/semver/functions/satisfies.d.ts +14 -0
  210. package/dist/compiled/semver/functions/sort.d.ts +9 -0
  211. package/dist/compiled/semver/functions/valid.d.ts +11 -0
  212. package/dist/compiled/semver/index.d.ts +133 -0
  213. package/dist/compiled/semver/index.js +1 -0
  214. package/dist/compiled/semver/internals/identifiers.d.ts +13 -0
  215. package/dist/compiled/semver/license +15 -0
  216. package/dist/compiled/semver/package.json +1 -0
  217. package/dist/compiled/semver/ranges/gtr.d.ts +14 -0
  218. package/dist/compiled/semver/ranges/intersects.d.ts +13 -0
  219. package/dist/compiled/semver/ranges/ltr.d.ts +14 -0
  220. package/dist/compiled/semver/ranges/max-satisfying.d.ts +14 -0
  221. package/dist/compiled/semver/ranges/min-satisfying.d.ts +14 -0
  222. package/dist/compiled/semver/ranges/min-version.d.ts +10 -0
  223. package/dist/compiled/semver/ranges/outside.d.ts +15 -0
  224. package/dist/compiled/semver/ranges/simplify.d.ts +14 -0
  225. package/dist/compiled/semver/ranges/subset.d.ts +13 -0
  226. package/dist/compiled/semver/ranges/to-comparators.d.ts +9 -0
  227. package/dist/compiled/semver/ranges/valid.d.ts +12 -0
  228. package/dist/compiled/signale/index.d.ts +162 -0
  229. package/dist/compiled/signale/index.js +1 -0
  230. package/dist/compiled/signale/package.json +1 -0
  231. package/dist/compiled/slash/index.d.ts +25 -0
  232. package/dist/compiled/slash/index.js +1 -0
  233. package/dist/compiled/slash/license +9 -0
  234. package/dist/compiled/slash/package.json +1 -0
  235. package/dist/compiled/strip-ansi/index.d.ts +17 -0
  236. package/dist/compiled/strip-ansi/index.js +1 -0
  237. package/dist/compiled/strip-ansi/license +9 -0
  238. package/dist/compiled/strip-ansi/package.json +1 -0
  239. package/dist/compiled/tsconfig-paths/index.js +1 -0
  240. package/dist/compiled/tsconfig-paths/lib/config-loader.d.ts +33 -0
  241. package/dist/compiled/tsconfig-paths/lib/filesystem.d.ts +34 -0
  242. package/dist/compiled/tsconfig-paths/lib/index.d.ts +5 -0
  243. package/dist/compiled/tsconfig-paths/lib/mapping-entry.d.ts +18 -0
  244. package/dist/compiled/tsconfig-paths/lib/match-path-async.d.ts +21 -0
  245. package/dist/compiled/tsconfig-paths/lib/match-path-sync.d.ts +32 -0
  246. package/dist/compiled/tsconfig-paths/lib/register.d.ts +12 -0
  247. package/dist/compiled/tsconfig-paths/lib/try-path.d.ts +15 -0
  248. package/dist/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +28 -0
  249. package/dist/compiled/tsconfig-paths/license +21 -0
  250. package/dist/compiled/tsconfig-paths/package.json +1 -0
  251. package/dist/compiled/upath/index.js +1 -0
  252. package/dist/compiled/upath/license +22 -0
  253. package/dist/compiled/upath/package.json +1 -0
  254. package/dist/compiled/upath/upath.d.ts +241 -0
  255. package/dist/compiled/url-join/index.d.ts +17 -0
  256. package/dist/compiled/url-join/index.js +1 -0
  257. package/dist/compiled/url-join/license +21 -0
  258. package/dist/compiled/url-join/package.json +1 -0
  259. package/dist/compiled/webpack-chain/index.js +1 -0
  260. package/dist/compiled/webpack-chain/license +373 -0
  261. package/dist/compiled/webpack-chain/package.json +1 -0
  262. package/dist/compiled/webpack-chain/types/index.d.ts +388 -0
  263. package/dist/compiled/webpack-dev-middleware/index.js +7 -0
  264. package/dist/compiled/webpack-dev-middleware/license +20 -0
  265. package/dist/compiled/webpack-dev-middleware/package.json +1 -0
  266. package/dist/compiled/webpack-dev-middleware/types/index.d.ts +262 -0
  267. package/dist/esm/compiled.js +3 -3
  268. package/dist/esm/import.js +1 -1
  269. package/dist/esm-node/compiled.js +3 -3
  270. package/dist/esm-node/import.js +1 -1
  271. package/package.json +1 -1
@@ -0,0 +1,54 @@
1
+ // Type definitions for debug 4.1
2
+ // Project: https://github.com/visionmedia/debug
3
+ // Definitions by: Seon-Wook Park <https://github.com/swook>
4
+ // Gal Talmor <https://github.com/galtalmor>
5
+ // John McLaughlin <https://github.com/zamb3zi>
6
+ // Brasten Sager <https://github.com/brasten>
7
+ // Nicolas Penin <https://github.com/npenin>
8
+ // Kristian Brünn <https://github.com/kristianmitk>
9
+ // Caleb Gregory <https://github.com/calebgregory>
10
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
11
+
12
+ declare var debug: debug.Debug & { debug: debug.Debug; default: debug.Debug };
13
+
14
+ export = debug;
15
+ export as namespace debug;
16
+
17
+ declare namespace debug {
18
+ interface Debug {
19
+ (namespace: string): Debugger;
20
+ coerce: (val: any) => any;
21
+ disable: () => string;
22
+ enable: (namespaces: string) => void;
23
+ enabled: (namespaces: string) => boolean;
24
+ formatArgs: (this: Debugger, args: any[]) => void;
25
+ log: (...args: any[]) => any;
26
+ selectColor: (namespace: string) => string | number;
27
+ humanize: typeof import('./ms');
28
+
29
+ names: RegExp[];
30
+ skips: RegExp[];
31
+
32
+ formatters: Formatters;
33
+ }
34
+
35
+ type IDebug = Debug;
36
+
37
+ interface Formatters {
38
+ [formatter: string]: (v: any) => string;
39
+ }
40
+
41
+ type IDebugger = Debugger;
42
+
43
+ interface Debugger {
44
+ (formatter: any, ...args: any[]): void;
45
+
46
+ color: string;
47
+ diff: number;
48
+ enabled: boolean;
49
+ log: (...args: any[]) => any;
50
+ namespace: string;
51
+ destroy: () => boolean;
52
+ extend: (namespace: string, delimiter?: string) => Debugger;
53
+ }
54
+ }
@@ -0,0 +1 @@
1
+ (()=>{var e={20:(e,t,r)=>{t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let s=0;let n=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}s++;if(e==="%c"){n=s}}));t.splice(n,0,r)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=r(530)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},530:(e,t,r)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=r(367);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r);t|=0}return createDebug.colors[Math.abs(t)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(e){let t;let r=null;let s;let n;function debug(...e){if(!debug.enabled){return}const r=debug;const s=Number(new Date);const n=s-(t||s);r.diff=n;r.prev=t;r.curr=s;t=s;e[0]=createDebug.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,s)=>{if(t==="%%"){return"%"}o++;const n=createDebug.formatters[s];if(typeof n==="function"){const s=e[o];t=n.call(r,s);e.splice(o,1);o--}return t}));createDebug.formatArgs.call(r,e);const a=r.log||createDebug.log;a.apply(r,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(r!==null){return r}if(s!==createDebug.namespaces){s=createDebug.namespaces;n=createDebug.enabled(e)}return n},set:e=>{r=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const r=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];let t;const r=(typeof e==="string"?e:"").split(/[\s,]+/);const s=r.length;for(t=0;t<s;t++){if(!r[t]){continue}e=r[t].replace(/\*/g,".*?");if(e[0]==="-"){createDebug.skips.push(new RegExp("^"+e.slice(1)+"$"))}else{createDebug.names.push(new RegExp("^"+e+"$"))}}}function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map((e=>"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let r;for(t=0,r=createDebug.skips.length;t<r;t++){if(createDebug.skips[t].test(e)){return false}}for(t=0,r=createDebug.names.length;t<r;t++){if(createDebug.names[t].test(e)){return true}}return false}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}function coerce(e){if(e instanceof Error){return e.stack||e.message}return e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}e.exports=setup},731:(e,t,r)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=r(20)}else{e.exports=r(689)}},689:(e,t,r)=>{const s=r(224);const n=r(837);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=n.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=r(242);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let s=process.env[t];if(/^(yes|on|true|enabled)$/i.test(s)){s=true}else if(/^(no|off|false|disabled)$/i.test(s)){s=false}else if(s==="null"){s=null}else{s=Number(s)}e[r]=s;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):s.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:r,useColors:s}=this;if(s){const s=this.color;const n="[3"+(s<8?s:"8;5;"+s);const o=` ${n};1m${r} `;t[0]=o+t[0].split("\n").join("\n"+o);t.push(n+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+r+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(n.format(...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let s=0;s<r.length;s++){e.inspectOpts[r[s]]=t.inspectOpts[r[s]]}}e.exports=r(530)(t);const{formatters:o}=e.exports;o.o=function(e){this.inspectOpts.colors=this.useColors;return n.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")};o.O=function(e){this.inspectOpts.colors=this.useColors;return n.inspect(e,this.inspectOpts)}},975:e=>{"use strict";e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":e.length===1?"-":"--";const s=t.indexOf(r+e);const n=t.indexOf("--");return s!==-1&&(n===-1||s<n)}},367:e=>{var t=1e3;var r=t*60;var s=r*60;var n=s*24;var o=n*7;var a=n*365.25;e.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0){return parse(e)}else if(r==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c){return}var u=parseFloat(c[1]);var i=(c[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return u*a;case"weeks":case"week":case"w":return u*o;case"days":case"day":case"d":return u*n;case"hours":case"hour":case"hrs":case"hr":case"h":return u*s;case"minutes":case"minute":case"mins":case"min":case"m":return u*r;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return undefined}}function fmtShort(e){var o=Math.abs(e);if(o>=n){return Math.round(e/n)+"d"}if(o>=s){return Math.round(e/s)+"h"}if(o>=r){return Math.round(e/r)+"m"}if(o>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var o=Math.abs(e);if(o>=n){return plural(e,o,n,"day")}if(o>=s){return plural(e,o,s,"hour")}if(o>=r){return plural(e,o,r,"minute")}if(o>=t){return plural(e,o,t,"second")}return e+" ms"}function plural(e,t,r,s){var n=t>=r*1.5;return Math.round(e/r)+" "+s+(n?"s":"")}},242:(e,t,r)=>{"use strict";const s=r(37);const n=r(224);const o=r(975);const{env:a}=process;let c;if(o("no-color")||o("no-colors")||o("color=false")||o("color=never")){c=0}else if(o("color")||o("colors")||o("color=true")||o("color=always")){c=1}if("FORCE_COLOR"in a){if(a.FORCE_COLOR==="true"){c=1}else if(a.FORCE_COLOR==="false"){c=0}else{c=a.FORCE_COLOR.length===0?1:Math.min(parseInt(a.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,t){if(c===0){return 0}if(o("color=16m")||o("color=full")||o("color=truecolor")){return 3}if(o("color=256")){return 2}if(e&&!t&&c===undefined){return 0}const r=c||0;if(a.TERM==="dumb"){return r}if(process.platform==="win32"){const e=s.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in a){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in a))||a.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in a){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0}if(a.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in a){const e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(a.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)){return 1}if("COLORTERM"in a){return 1}return r}function getSupportLevel(e){const t=supportsColor(e,e&&e.isTTY);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,n.isatty(1))),stderr:translateLevel(supportsColor(true,n.isatty(2)))}},37:e=>{"use strict";e.exports=require("os")},224:e=>{"use strict";e.exports=require("tty")},837:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var n=t[r]={exports:{}};var o=true;try{e[r](n,n.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(731);module.exports=r})();
@@ -0,0 +1,20 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca>
4
+ Copyright (c) 2018-2021 Josh Junon
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
7
+ and associated documentation files (the 'Software'), to deal in the Software without restriction,
8
+ including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
+ and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all copies or substantial
13
+ portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
16
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
18
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
19
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
@@ -0,0 +1,25 @@
1
+ // Type definitions for ms v0.7.1
2
+ // Project: https://github.com/zeit/ms
3
+ // Definitions by: Zhiyuan Wang <https://github.com/danny8002>
4
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
+
6
+
7
+
8
+ /**
9
+ * Short/Long format for `value`.
10
+ *
11
+ * @param {Number} value
12
+ * @param {{long: boolean}} options
13
+ * @return {String}
14
+ */
15
+ declare function ms(value: number, options?: { long: boolean }): string;
16
+
17
+ /**
18
+ * Parse the given `value` and return milliseconds.
19
+ *
20
+ * @param {String} value
21
+ * @return {Number}
22
+ */
23
+ declare function ms(value: string): number;
24
+
25
+ export = ms;
@@ -0,0 +1 @@
1
+ {"name":"debug","author":"Josh Junon <josh.junon@protonmail.com>","version":"4.3.4","license":"MIT"}
@@ -0,0 +1 @@
1
+ (()=>{var e={608:(e,r,n)=>{const t=n(147);const o=n(17);const s=n(37);function log(e){console.log(`[dotenv][DEBUG] ${e}`)}const i="\n";const c=/^\s*([\w.-]+)\s*=\s*(.*)?\s*$/;const l=/\\n/g;const a=/\r\n|\n|\r/;function parse(e,r){const n=Boolean(r&&r.debug);const t={};e.toString().split(a).forEach((function(e,r){const o=e.match(c);if(o!=null){const e=o[1];let r=o[2]||"";const n=r.length-1;const s=r[0]==='"'&&r[n]==='"';const c=r[0]==="'"&&r[n]==="'";if(c||s){r=r.substring(1,n);if(s){r=r.replace(l,i)}}else{r=r.trim()}t[e]=r}else if(n){log(`did not match key and value when parsing line ${r+1}: ${e}`)}}));return t}function resolveHome(e){return e[0]==="~"?o.join(s.homedir(),e.slice(1)):e}function config(e){let r=o.resolve(process.cwd(),".env");let n="utf8";let s=false;if(e){if(e.path!=null){r=resolveHome(e.path)}if(e.encoding!=null){n=e.encoding}if(e.debug!=null){s=true}}try{const e=parse(t.readFileSync(r,{encoding:n}),{debug:s});Object.keys(e).forEach((function(r){if(!Object.prototype.hasOwnProperty.call(process.env,r)){process.env[r]=e[r]}else if(s){log(`"${r}" is already defined in \`process.env\` and will not be overwritten`)}}));return{parsed:e}}catch(e){return{error:e}}}e.exports.config=config;e.exports.parse=parse},147:e=>{"use strict";e.exports=require("fs")},37:e=>{"use strict";e.exports=require("os")},17:e=>{"use strict";e.exports=require("path")}};var r={};function __nccwpck_require__(n){var t=r[n];if(t!==undefined){return t.exports}var o=r[n]={exports:{}};var s=true;try{e[n](o,o.exports,__nccwpck_require__);s=false}finally{if(s)delete r[n]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var n=__nccwpck_require__(608);module.exports=n})();
@@ -0,0 +1,23 @@
1
+ Copyright (c) 2015, Scott Motte
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ * Redistributions of source code must retain the above copyright notice, this
8
+ list of conditions and the following disclaimer.
9
+
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
18
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
21
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
22
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1 @@
1
+ {"name":"dotenv","version":"10.0.0","license":"BSD-2-Clause","types":"types/index.d.ts"}
@@ -0,0 +1,59 @@
1
+ // TypeScript Version: 3.0
2
+ /// <reference types="node" />
3
+
4
+ export interface DotenvParseOptions {
5
+ /**
6
+ * You may turn on logging to help debug why certain keys or values are not being set as you expect.
7
+ */
8
+ debug?: boolean;
9
+ }
10
+
11
+ export interface DotenvParseOutput {
12
+ [name: string]: string;
13
+ }
14
+
15
+ /**
16
+ * Parses a string or buffer in the .env file format into an object.
17
+ *
18
+ * @param src - contents to be parsed
19
+ * @param options - additional options
20
+ * @returns an object with keys and values based on `src`
21
+ */
22
+ export function parse<T extends DotenvParseOutput = DotenvParseOutput>(
23
+ src: string | Buffer,
24
+ options?: DotenvParseOptions
25
+ ): T;
26
+
27
+ export interface DotenvConfigOptions {
28
+ /**
29
+ * You may specify a custom path if your file containing environment variables is located elsewhere.
30
+ */
31
+ path?: string;
32
+
33
+ /**
34
+ * You may specify the encoding of your file containing environment variables.
35
+ */
36
+ encoding?: string;
37
+
38
+ /**
39
+ * You may turn on logging to help debug why certain keys or values are not being set as you expect.
40
+ */
41
+ debug?: boolean;
42
+ }
43
+
44
+ export interface DotenvConfigOutput {
45
+ error?: Error;
46
+ parsed?: DotenvParseOutput;
47
+ }
48
+
49
+ /**
50
+ * Loads `.env` file contents into {@link https://nodejs.org/api/process.html#process_process_env `process.env`}.
51
+ * Example: 'KEY=value' becomes { parsed: { KEY: 'value' } }
52
+ *
53
+ * @param options - controls behavior
54
+ * @returns an object with a `parsed` key if successful or `error` key if an error occurred
55
+ *
56
+ */
57
+ export function config(options?: DotenvConfigOptions): DotenvConfigOutput;
58
+ /** @deprecated since v7.0.0 Use config instead. */
59
+ export const load: typeof config;
@@ -0,0 +1,15 @@
1
+ export = dotenv_expand;
2
+
3
+ interface DotenvResult {
4
+ error?: Error;
5
+ parsed?: {
6
+ [name: string]: string;
7
+ };
8
+ }
9
+
10
+ declare function dotenv_expand(config: DotenvResult): DotenvResult;
11
+
12
+ declare namespace dotenv_expand {
13
+ const prototype: {
14
+ };
15
+ }
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var r={926:r=>{var dotenvExpand=function(r){var e=r.ignoreProcessEnv?{}:process.env;var interpolate=function(a){var _=a.match(/(.?\${?(?:[a-zA-Z0-9_]+)?}?)/g)||[];return _.reduce((function(a,_){var n=/(.?)\${?([a-zA-Z0-9_]+)?}?/g.exec(_);var t=n[1];var s,p;if(t==="\\"){p=n[0];s=p.replace("\\$","$")}else{var i=n[2];p=n[0].substring(t.length);s=e.hasOwnProperty(i)?e[i]:r.parsed[i]||"";s=interpolate(s)}return a.replace(p,s)}),a)};for(var a in r.parsed){var _=e.hasOwnProperty(a)?e[a]:r.parsed[a];r.parsed[a]=interpolate(_)}for(var n in r.parsed){e[n]=r.parsed[n]}return r};r.exports=dotenvExpand}};var e={};function __nccwpck_require__(a){var _=e[a];if(_!==undefined){return _.exports}var n=e[a]={exports:{}};var t=true;try{r[a](n,n.exports,__nccwpck_require__);t=false}finally{if(t)delete e[a]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var a=__nccwpck_require__(926);module.exports=a})();
@@ -0,0 +1,24 @@
1
+ Copyright (c) 2016, Scott Motte
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ * Redistributions of source code must retain the above copyright notice, this
8
+ list of conditions and the following disclaimer.
9
+
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
18
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
21
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
22
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
+
@@ -0,0 +1 @@
1
+ {"name":"dotenv-expand","author":"motdotla","version":"5.1.0","license":"BSD-2-Clause","types":"./index.d.ts"}