@bleedingdev/modern-js-utils 3.2.0-ultramodern.5 → 3.2.0-ultramodern.9

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 (271) hide show
  1. package/dist/types/cli/alias.d.ts +20 -0
  2. package/dist/types/cli/applyOptionsChain.d.ts +3 -0
  3. package/dist/types/cli/commands.d.ts +8 -0
  4. package/dist/types/cli/common.d.ts +9 -0
  5. package/dist/types/cli/config.d.ts +4 -0
  6. package/dist/types/cli/constants.d.ts +55 -0
  7. package/dist/types/cli/ensure.d.ts +8 -0
  8. package/dist/types/cli/fs.d.ts +7 -0
  9. package/dist/types/cli/get/config.d.ts +1 -0
  10. package/dist/types/cli/get/data.d.ts +6 -0
  11. package/dist/types/cli/get/index.d.ts +11 -0
  12. package/dist/types/cli/index.d.ts +23 -0
  13. package/dist/types/cli/is/config.d.ts +22 -0
  14. package/dist/types/cli/is/env.d.ts +8 -0
  15. package/dist/types/cli/is/index.d.ts +4 -0
  16. package/dist/types/cli/is/project.d.ts +39 -0
  17. package/dist/types/cli/is/type.d.ts +15 -0
  18. package/dist/types/cli/logger.d.ts +1 -0
  19. package/dist/types/cli/modulePath.d.ts +5 -0
  20. package/dist/types/cli/monorepo.d.ts +9 -0
  21. package/dist/types/cli/package.d.ts +5 -0
  22. package/dist/types/cli/path.d.ts +11 -0
  23. package/dist/types/cli/port.d.ts +12 -0
  24. package/dist/types/cli/prettyInstructions.d.ts +6 -0
  25. package/dist/types/cli/require.d.ts +9 -0
  26. package/dist/types/cli/route.d.ts +4 -0
  27. package/dist/types/cli/runtimeExports.d.ts +5 -0
  28. package/dist/types/cli/tsconfig.d.ts +1 -0
  29. package/dist/types/cli/version.d.ts +4 -0
  30. package/dist/types/cli/watch.d.ts +8 -0
  31. package/dist/types/compiled.d.ts +37 -0
  32. package/dist/types/import.d.ts +5 -0
  33. package/dist/types/index.d.ts +3 -0
  34. package/dist/types/universal/constants.d.ts +47 -0
  35. package/dist/types/universal/index.d.ts +1 -0
  36. package/dist/types/universal/path.d.ts +1 -0
  37. package/dist/types/universal/pluginDagSort.d.ts +1 -0
  38. package/package.json +2 -2
  39. package/dist/compiled/address/index.js +0 -171
  40. package/dist/compiled/address/lib/address.d.ts +0 -28
  41. package/dist/compiled/address/package.json +0 -1
  42. package/dist/compiled/browserslist/index.d.ts +0 -178
  43. package/dist/compiled/browserslist/index.js +0 -1329
  44. package/dist/compiled/browserslist/license +0 -20
  45. package/dist/compiled/browserslist/package.json +0 -1
  46. package/dist/compiled/chalk/index.d.ts +0 -415
  47. package/dist/compiled/chalk/index.js +0 -2368
  48. package/dist/compiled/chalk/license +0 -9
  49. package/dist/compiled/chalk/package.json +0 -1
  50. package/dist/compiled/chokidar/anymatch/index.d.ts +0 -19
  51. package/dist/compiled/chokidar/fsevents.node +0 -0
  52. package/dist/compiled/chokidar/index.js +0 -4162
  53. package/dist/compiled/chokidar/index.js.LICENSE.txt +0 -41
  54. package/dist/compiled/chokidar/license +0 -21
  55. package/dist/compiled/chokidar/package.json +0 -1
  56. package/dist/compiled/chokidar/types/index.d.ts +0 -188
  57. package/dist/compiled/commander/index.js +0 -1540
  58. package/dist/compiled/commander/index.mjs +0 -2
  59. package/dist/compiled/commander/license +0 -22
  60. package/dist/compiled/commander/package.json +0 -1
  61. package/dist/compiled/commander/typings/index.d.ts +0 -890
  62. package/dist/compiled/debug/index.d.ts +0 -54
  63. package/dist/compiled/debug/index.js +0 -621
  64. package/dist/compiled/debug/license +0 -20
  65. package/dist/compiled/debug/ms/index.d.ts +0 -25
  66. package/dist/compiled/debug/package.json +0 -1
  67. package/dist/compiled/dotenv/index.js +0 -101
  68. package/dist/compiled/dotenv/license +0 -23
  69. package/dist/compiled/dotenv/package.json +0 -1
  70. package/dist/compiled/dotenv/types/index.d.ts +0 -59
  71. package/dist/compiled/dotenv-expand/index.d.ts +0 -15
  72. package/dist/compiled/dotenv-expand/index.js +0 -54
  73. package/dist/compiled/dotenv-expand/license +0 -24
  74. package/dist/compiled/dotenv-expand/package.json +0 -1
  75. package/dist/compiled/execa/index.d.ts +0 -564
  76. package/dist/compiled/execa/index.js +0 -1738
  77. package/dist/compiled/execa/license +0 -9
  78. package/dist/compiled/execa/package.json +0 -1
  79. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
  80. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +0 -12
  81. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
  82. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +0 -20
  83. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
  84. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
  85. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +0 -12
  86. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
  87. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +0 -16
  88. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +0 -4
  89. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +0 -14
  90. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
  91. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
  92. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
  93. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +0 -30
  94. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +0 -8
  95. package/dist/compiled/fast-glob/index.js +0 -4665
  96. package/dist/compiled/fast-glob/index.js.LICENSE.txt +0 -38
  97. package/dist/compiled/fast-glob/license +0 -21
  98. package/dist/compiled/fast-glob/out/index.d.ts +0 -27
  99. package/dist/compiled/fast-glob/out/managers/tasks.d.ts +0 -22
  100. package/dist/compiled/fast-glob/out/settings.d.ts +0 -164
  101. package/dist/compiled/fast-glob/out/types/index.d.ts +0 -31
  102. package/dist/compiled/fast-glob/package.json +0 -1
  103. package/dist/compiled/filesize/filesize.d.ts +0 -131
  104. package/dist/compiled/filesize/index.js +0 -198
  105. package/dist/compiled/filesize/index.js.LICENSE.txt +0 -7
  106. package/dist/compiled/filesize/license +0 -28
  107. package/dist/compiled/filesize/package.json +0 -1
  108. package/dist/compiled/fs-extra/index.d.ts +0 -563
  109. package/dist/compiled/fs-extra/index.js +0 -2222
  110. package/dist/compiled/fs-extra/license +0 -15
  111. package/dist/compiled/fs-extra/package.json +0 -1
  112. package/dist/compiled/glob/index.d.ts +0 -91
  113. package/dist/compiled/glob/index.js +0 -2011
  114. package/dist/compiled/glob/license +0 -21
  115. package/dist/compiled/glob/minimatch/index.d.ts +0 -204
  116. package/dist/compiled/glob/package.json +0 -1
  117. package/dist/compiled/globby/index.d.ts +0 -186
  118. package/dist/compiled/globby/index.js +0 -690
  119. package/dist/compiled/globby/license +0 -9
  120. package/dist/compiled/globby/package.json +0 -1
  121. package/dist/compiled/gzip-size/index.d.ts +0 -96
  122. package/dist/compiled/gzip-size/index.js +0 -157
  123. package/dist/compiled/gzip-size/license +0 -9
  124. package/dist/compiled/gzip-size/package.json +0 -1
  125. package/dist/compiled/import-lazy/index.d.ts +0 -26
  126. package/dist/compiled/import-lazy/index.js +0 -45
  127. package/dist/compiled/import-lazy/license +0 -9
  128. package/dist/compiled/import-lazy/package.json +0 -1
  129. package/dist/compiled/inquirer/index.d.ts +0 -997
  130. package/dist/compiled/inquirer/index.js +0 -20167
  131. package/dist/compiled/inquirer/index.js.LICENSE.txt +0 -7
  132. package/dist/compiled/inquirer/lib/objects/choice.d.ts +0 -65
  133. package/dist/compiled/inquirer/lib/objects/choices.d.ts +0 -206
  134. package/dist/compiled/inquirer/lib/objects/separator.d.ts +0 -37
  135. package/dist/compiled/inquirer/lib/ui/baseUI.d.ts +0 -37
  136. package/dist/compiled/inquirer/lib/ui/bottom-bar.d.ts +0 -65
  137. package/dist/compiled/inquirer/lib/ui/prompt.d.ts +0 -104
  138. package/dist/compiled/inquirer/license +0 -22
  139. package/dist/compiled/inquirer/package.json +0 -1
  140. package/dist/compiled/inquirer/through/index.d.ts +0 -25
  141. package/dist/compiled/js-yaml/index.d.ts +0 -154
  142. package/dist/compiled/js-yaml/index.js +0 -2191
  143. package/dist/compiled/js-yaml/index.mjs +0 -2167
  144. package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +0 -1
  145. package/dist/compiled/js-yaml/license +0 -21
  146. package/dist/compiled/js-yaml/package.json +0 -1
  147. package/dist/compiled/json5/index.js +0 -983
  148. package/dist/compiled/json5/lib/index.d.ts +0 -4
  149. package/dist/compiled/json5/lib/parse.d.ts +0 -15
  150. package/dist/compiled/json5/lib/stringify.d.ts +0 -89
  151. package/dist/compiled/json5/package.json +0 -1
  152. package/dist/compiled/lodash/common/array.d.ts +0 -2126
  153. package/dist/compiled/lodash/common/collection.d.ts +0 -1930
  154. package/dist/compiled/lodash/common/common.d.ts +0 -280
  155. package/dist/compiled/lodash/common/date.d.ts +0 -23
  156. package/dist/compiled/lodash/common/function.d.ts +0 -1446
  157. package/dist/compiled/lodash/common/lang.d.ts +0 -1693
  158. package/dist/compiled/lodash/common/math.d.ts +0 -405
  159. package/dist/compiled/lodash/common/number.d.ts +0 -131
  160. package/dist/compiled/lodash/common/object.d.ts +0 -2519
  161. package/dist/compiled/lodash/common/seq.d.ts +0 -210
  162. package/dist/compiled/lodash/common/string.d.ts +0 -788
  163. package/dist/compiled/lodash/common/util.d.ts +0 -1220
  164. package/dist/compiled/lodash/index.d.ts +0 -46
  165. package/dist/compiled/lodash/index.js +0 -1
  166. package/dist/compiled/lodash/index.mjs +0 -1
  167. package/dist/compiled/lodash/license +0 -47
  168. package/dist/compiled/lodash/package.json +0 -1
  169. package/dist/compiled/mime-types/index.d.ts +0 -14
  170. package/dist/compiled/mime-types/index.js +0 -116
  171. package/dist/compiled/mime-types/index.js.LICENSE.txt +0 -13
  172. package/dist/compiled/mime-types/license +0 -23
  173. package/dist/compiled/mime-types/package.json +0 -1
  174. package/dist/compiled/minimist/index.d.ts +0 -95
  175. package/dist/compiled/minimist/index.js +0 -202
  176. package/dist/compiled/minimist/license +0 -18
  177. package/dist/compiled/minimist/package.json +0 -1
  178. package/dist/compiled/nanoid/index.d.ts +0 -91
  179. package/dist/compiled/nanoid/index.js +0 -83
  180. package/dist/compiled/nanoid/index.mjs +0 -69
  181. package/dist/compiled/nanoid/license +0 -20
  182. package/dist/compiled/nanoid/package.json +0 -1
  183. package/dist/compiled/ora/cli-spinners/index.d.ts +0 -125
  184. package/dist/compiled/ora/index.d.ts +0 -277
  185. package/dist/compiled/ora/index.js +0 -3936
  186. package/dist/compiled/ora/index.js.LICENSE.txt +0 -1
  187. package/dist/compiled/ora/license +0 -9
  188. package/dist/compiled/ora/package.json +0 -1
  189. package/dist/compiled/pkg-up/index.d.ts +0 -48
  190. package/dist/compiled/pkg-up/index.js +0 -15
  191. package/dist/compiled/pkg-up/license +0 -9
  192. package/dist/compiled/pkg-up/package.json +0 -1
  193. package/dist/compiled/semver/classes/comparator.d.ts +0 -17
  194. package/dist/compiled/semver/classes/range.d.ts +0 -21
  195. package/dist/compiled/semver/classes/semver.d.ts +0 -62
  196. package/dist/compiled/semver/functions/clean.d.ts +0 -8
  197. package/dist/compiled/semver/functions/cmp.d.ts +0 -16
  198. package/dist/compiled/semver/functions/coerce.d.ts +0 -12
  199. package/dist/compiled/semver/functions/compare-build.d.ts +0 -16
  200. package/dist/compiled/semver/functions/compare-loose.d.ts +0 -5
  201. package/dist/compiled/semver/functions/compare.d.ts +0 -20
  202. package/dist/compiled/semver/functions/diff.d.ts +0 -13
  203. package/dist/compiled/semver/functions/eq.d.ts +0 -9
  204. package/dist/compiled/semver/functions/gt.d.ts +0 -9
  205. package/dist/compiled/semver/functions/gte.d.ts +0 -9
  206. package/dist/compiled/semver/functions/inc.d.ts +0 -15
  207. package/dist/compiled/semver/functions/lt.d.ts +0 -9
  208. package/dist/compiled/semver/functions/lte.d.ts +0 -8
  209. package/dist/compiled/semver/functions/major.d.ts +0 -9
  210. package/dist/compiled/semver/functions/minor.d.ts +0 -9
  211. package/dist/compiled/semver/functions/neq.d.ts +0 -9
  212. package/dist/compiled/semver/functions/parse.d.ts +0 -12
  213. package/dist/compiled/semver/functions/patch.d.ts +0 -9
  214. package/dist/compiled/semver/functions/prerelease.d.ts +0 -12
  215. package/dist/compiled/semver/functions/rcompare.d.ts +0 -15
  216. package/dist/compiled/semver/functions/rsort.d.ts +0 -9
  217. package/dist/compiled/semver/functions/satisfies.d.ts +0 -14
  218. package/dist/compiled/semver/functions/sort.d.ts +0 -9
  219. package/dist/compiled/semver/functions/valid.d.ts +0 -11
  220. package/dist/compiled/semver/index.d.ts +0 -133
  221. package/dist/compiled/semver/index.js +0 -1779
  222. package/dist/compiled/semver/internals/identifiers.d.ts +0 -13
  223. package/dist/compiled/semver/license +0 -15
  224. package/dist/compiled/semver/package.json +0 -1
  225. package/dist/compiled/semver/ranges/gtr.d.ts +0 -14
  226. package/dist/compiled/semver/ranges/intersects.d.ts +0 -13
  227. package/dist/compiled/semver/ranges/ltr.d.ts +0 -14
  228. package/dist/compiled/semver/ranges/max-satisfying.d.ts +0 -14
  229. package/dist/compiled/semver/ranges/min-satisfying.d.ts +0 -14
  230. package/dist/compiled/semver/ranges/min-version.d.ts +0 -10
  231. package/dist/compiled/semver/ranges/outside.d.ts +0 -15
  232. package/dist/compiled/semver/ranges/simplify.d.ts +0 -14
  233. package/dist/compiled/semver/ranges/subset.d.ts +0 -13
  234. package/dist/compiled/semver/ranges/to-comparators.d.ts +0 -9
  235. package/dist/compiled/semver/ranges/valid.d.ts +0 -12
  236. package/dist/compiled/signale/index.d.ts +0 -162
  237. package/dist/compiled/signale/index.js +0 -1704
  238. package/dist/compiled/signale/package.json +0 -1
  239. package/dist/compiled/slash/index.d.ts +0 -25
  240. package/dist/compiled/slash/index.js +0 -32
  241. package/dist/compiled/slash/license +0 -9
  242. package/dist/compiled/slash/package.json +0 -1
  243. package/dist/compiled/strip-ansi/index.d.ts +0 -17
  244. package/dist/compiled/strip-ansi/index.js +0 -34
  245. package/dist/compiled/strip-ansi/license +0 -9
  246. package/dist/compiled/strip-ansi/package.json +0 -1
  247. package/dist/compiled/tsconfig-paths/index.js +0 -629
  248. package/dist/compiled/tsconfig-paths/index.mjs +0 -2
  249. package/dist/compiled/tsconfig-paths/lib/config-loader.d.ts +0 -33
  250. package/dist/compiled/tsconfig-paths/lib/filesystem.d.ts +0 -34
  251. package/dist/compiled/tsconfig-paths/lib/index.d.ts +0 -5
  252. package/dist/compiled/tsconfig-paths/lib/mapping-entry.d.ts +0 -18
  253. package/dist/compiled/tsconfig-paths/lib/match-path-async.d.ts +0 -21
  254. package/dist/compiled/tsconfig-paths/lib/match-path-sync.d.ts +0 -32
  255. package/dist/compiled/tsconfig-paths/lib/register.d.ts +0 -12
  256. package/dist/compiled/tsconfig-paths/lib/try-path.d.ts +0 -15
  257. package/dist/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +0 -28
  258. package/dist/compiled/tsconfig-paths/license +0 -21
  259. package/dist/compiled/tsconfig-paths/package.json +0 -1
  260. package/dist/compiled/upath/index.js +0 -135
  261. package/dist/compiled/upath/license +0 -22
  262. package/dist/compiled/upath/package.json +0 -1
  263. package/dist/compiled/upath/upath.d.ts +0 -241
  264. package/dist/compiled/url-join/index.d.ts +0 -17
  265. package/dist/compiled/url-join/index.js +0 -61
  266. package/dist/compiled/url-join/license +0 -21
  267. package/dist/compiled/url-join/package.json +0 -1
  268. package/dist/compiled/webpack-chain/index.js +0 -1475
  269. package/dist/compiled/webpack-chain/license +0 -373
  270. package/dist/compiled/webpack-chain/package.json +0 -1
  271. package/dist/compiled/webpack-chain/types/index.d.ts +0 -599
@@ -1,54 +0,0 @@
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
- }
@@ -1,621 +0,0 @@
1
- (()=>{
2
- var e = {
3
- 434: (e, t, r)=>{
4
- t.formatArgs = formatArgs;
5
- t.save = save;
6
- t.load = load;
7
- t.useColors = useColors;
8
- t.storage = localstorage();
9
- t.destroy = (()=>{
10
- let e = false;
11
- return ()=>{
12
- if (!e) {
13
- e = true;
14
- console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
15
- }
16
- };
17
- })();
18
- t.colors = [
19
- "#0000CC",
20
- "#0000FF",
21
- "#0033CC",
22
- "#0033FF",
23
- "#0066CC",
24
- "#0066FF",
25
- "#0099CC",
26
- "#0099FF",
27
- "#00CC00",
28
- "#00CC33",
29
- "#00CC66",
30
- "#00CC99",
31
- "#00CCCC",
32
- "#00CCFF",
33
- "#3300CC",
34
- "#3300FF",
35
- "#3333CC",
36
- "#3333FF",
37
- "#3366CC",
38
- "#3366FF",
39
- "#3399CC",
40
- "#3399FF",
41
- "#33CC00",
42
- "#33CC33",
43
- "#33CC66",
44
- "#33CC99",
45
- "#33CCCC",
46
- "#33CCFF",
47
- "#6600CC",
48
- "#6600FF",
49
- "#6633CC",
50
- "#6633FF",
51
- "#66CC00",
52
- "#66CC33",
53
- "#9900CC",
54
- "#9900FF",
55
- "#9933CC",
56
- "#9933FF",
57
- "#99CC00",
58
- "#99CC33",
59
- "#CC0000",
60
- "#CC0033",
61
- "#CC0066",
62
- "#CC0099",
63
- "#CC00CC",
64
- "#CC00FF",
65
- "#CC3300",
66
- "#CC3333",
67
- "#CC3366",
68
- "#CC3399",
69
- "#CC33CC",
70
- "#CC33FF",
71
- "#CC6600",
72
- "#CC6633",
73
- "#CC9900",
74
- "#CC9933",
75
- "#CCCC00",
76
- "#CCCC33",
77
- "#FF0000",
78
- "#FF0033",
79
- "#FF0066",
80
- "#FF0099",
81
- "#FF00CC",
82
- "#FF00FF",
83
- "#FF3300",
84
- "#FF3333",
85
- "#FF3366",
86
- "#FF3399",
87
- "#FF33CC",
88
- "#FF33FF",
89
- "#FF6600",
90
- "#FF6633",
91
- "#FF9900",
92
- "#FF9933",
93
- "#FFCC00",
94
- "#FFCC33"
95
- ];
96
- function useColors() {
97
- if ("u" > typeof window && window.process && ("renderer" === window.process.type || window.process.__nwjs)) return true;
98
- if ("u" > typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) return false;
99
- return "u" > typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || "u" > typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || "u" > typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || "u" > typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
100
- }
101
- function formatArgs(t) {
102
- t[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + t[0] + (this.useColors ? "%c " : " ") + "+" + e.exports.humanize(this.diff);
103
- if (!this.useColors) return;
104
- const r = "color: " + this.color;
105
- t.splice(1, 0, r, "color: inherit");
106
- let s = 0;
107
- let n = 0;
108
- t[0].replace(/%[a-zA-Z%]/g, (e)=>{
109
- if ("%%" === e) return;
110
- s++;
111
- if ("%c" === e) n = s;
112
- });
113
- t.splice(n, 0, r);
114
- }
115
- t.log = console.debug || console.log || (()=>{});
116
- function save(e) {
117
- try {
118
- if (e) t.storage.setItem("debug", e);
119
- else t.storage.removeItem("debug");
120
- } catch (e) {}
121
- }
122
- function load() {
123
- let e;
124
- try {
125
- e = t.storage.getItem("debug");
126
- } catch (e) {}
127
- if (!e && "u" > typeof process && "env" in process) e = process.env.DEBUG;
128
- return e;
129
- }
130
- function localstorage() {
131
- try {
132
- return localStorage;
133
- } catch (e) {}
134
- }
135
- e.exports = r(290)(t);
136
- const { formatters: s } = e.exports;
137
- s.j = function(e) {
138
- try {
139
- return JSON.stringify(e);
140
- } catch (e) {
141
- return "[UnexpectedJSONParseError]: " + e.message;
142
- }
143
- };
144
- },
145
- 290: (e, t, r)=>{
146
- function setup(e) {
147
- createDebug.debug = createDebug;
148
- createDebug.default = createDebug;
149
- createDebug.coerce = coerce;
150
- createDebug.disable = disable;
151
- createDebug.enable = enable;
152
- createDebug.enabled = enabled;
153
- createDebug.humanize = r(367);
154
- createDebug.destroy = destroy;
155
- Object.keys(e).forEach((t)=>{
156
- createDebug[t] = e[t];
157
- });
158
- createDebug.names = [];
159
- createDebug.skips = [];
160
- createDebug.formatters = {};
161
- function selectColor(e) {
162
- let t = 0;
163
- for(let r = 0; r < e.length; r++){
164
- t = (t << 5) - t + e.charCodeAt(r);
165
- t |= 0;
166
- }
167
- return createDebug.colors[Math.abs(t) % createDebug.colors.length];
168
- }
169
- createDebug.selectColor = selectColor;
170
- function createDebug(e) {
171
- let t;
172
- let r = null;
173
- let s;
174
- let n;
175
- function debug(...e) {
176
- if (!debug.enabled) return;
177
- const r = debug;
178
- const s = Number(new Date);
179
- const n = s - (t || s);
180
- r.diff = n;
181
- r.prev = t;
182
- r.curr = s;
183
- t = s;
184
- e[0] = createDebug.coerce(e[0]);
185
- if ("string" != typeof e[0]) e.unshift("%O");
186
- let o = 0;
187
- e[0] = e[0].replace(/%([a-zA-Z%])/g, (t, s)=>{
188
- if ("%%" === t) return "%";
189
- o++;
190
- const n = createDebug.formatters[s];
191
- if ("function" == typeof n) {
192
- const s = e[o];
193
- t = n.call(r, s);
194
- e.splice(o, 1);
195
- o--;
196
- }
197
- return t;
198
- });
199
- createDebug.formatArgs.call(r, e);
200
- const a = r.log || createDebug.log;
201
- a.apply(r, e);
202
- }
203
- debug.namespace = e;
204
- debug.useColors = createDebug.useColors();
205
- debug.color = createDebug.selectColor(e);
206
- debug.extend = extend;
207
- debug.destroy = createDebug.destroy;
208
- Object.defineProperty(debug, "enabled", {
209
- enumerable: true,
210
- configurable: false,
211
- get: ()=>{
212
- if (null !== r) return r;
213
- if (s !== createDebug.namespaces) {
214
- s = createDebug.namespaces;
215
- n = createDebug.enabled(e);
216
- }
217
- return n;
218
- },
219
- set: (e)=>{
220
- r = e;
221
- }
222
- });
223
- if ("function" == typeof createDebug.init) createDebug.init(debug);
224
- return debug;
225
- }
226
- function extend(e, t) {
227
- const r = createDebug(this.namespace + (void 0 === t ? ":" : t) + e);
228
- r.log = this.log;
229
- return r;
230
- }
231
- function enable(e) {
232
- createDebug.save(e);
233
- createDebug.namespaces = e;
234
- createDebug.names = [];
235
- createDebug.skips = [];
236
- let t;
237
- const r = ("string" == typeof e ? e : "").split(/[\s,]+/);
238
- const s = r.length;
239
- for(t = 0; t < s; t++)if (r[t]) {
240
- e = r[t].replace(/\*/g, ".*?");
241
- if ("-" === e[0]) createDebug.skips.push(new RegExp("^" + e.slice(1) + "$"));
242
- else createDebug.names.push(new RegExp("^" + e + "$"));
243
- }
244
- }
245
- function disable() {
246
- const e = [
247
- ...createDebug.names.map(toNamespace),
248
- ...createDebug.skips.map(toNamespace).map((e)=>"-" + e)
249
- ].join(",");
250
- createDebug.enable("");
251
- return e;
252
- }
253
- function enabled(e) {
254
- if ("*" === e[e.length - 1]) return true;
255
- let t;
256
- let r;
257
- for(t = 0, r = createDebug.skips.length; t < r; t++)if (createDebug.skips[t].test(e)) return false;
258
- for(t = 0, r = createDebug.names.length; t < r; t++)if (createDebug.names[t].test(e)) return true;
259
- return false;
260
- }
261
- function toNamespace(e) {
262
- return e.toString().substring(2, e.toString().length - 2).replace(/\.\*\?$/, "*");
263
- }
264
- function coerce(e) {
265
- if (e instanceof Error) return e.stack || e.message;
266
- return e;
267
- }
268
- function destroy() {
269
- console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
270
- }
271
- createDebug.enable(createDebug.load());
272
- return createDebug;
273
- }
274
- e.exports = setup;
275
- },
276
- 372: (e, t, r)=>{
277
- if ("u" < typeof process || "renderer" === process.type || true === process.browser || process.__nwjs) e.exports = r(434);
278
- else e.exports = r(970);
279
- },
280
- 970: (e, t, r)=>{
281
- const s = r(224);
282
- const n = r(837);
283
- t.init = init;
284
- t.log = log;
285
- t.formatArgs = formatArgs;
286
- t.save = save;
287
- t.load = load;
288
- t.useColors = useColors;
289
- 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`.");
290
- t.colors = [
291
- 6,
292
- 2,
293
- 3,
294
- 4,
295
- 5,
296
- 1
297
- ];
298
- try {
299
- const e = r(332);
300
- if (e && (e.stderr || e).level >= 2) t.colors = [
301
- 20,
302
- 21,
303
- 26,
304
- 27,
305
- 32,
306
- 33,
307
- 38,
308
- 39,
309
- 40,
310
- 41,
311
- 42,
312
- 43,
313
- 44,
314
- 45,
315
- 56,
316
- 57,
317
- 62,
318
- 63,
319
- 68,
320
- 69,
321
- 74,
322
- 75,
323
- 76,
324
- 77,
325
- 78,
326
- 79,
327
- 80,
328
- 81,
329
- 92,
330
- 93,
331
- 98,
332
- 99,
333
- 112,
334
- 113,
335
- 128,
336
- 129,
337
- 134,
338
- 135,
339
- 148,
340
- 149,
341
- 160,
342
- 161,
343
- 162,
344
- 163,
345
- 164,
346
- 165,
347
- 166,
348
- 167,
349
- 168,
350
- 169,
351
- 170,
352
- 171,
353
- 172,
354
- 173,
355
- 178,
356
- 179,
357
- 184,
358
- 185,
359
- 196,
360
- 197,
361
- 198,
362
- 199,
363
- 200,
364
- 201,
365
- 202,
366
- 203,
367
- 204,
368
- 205,
369
- 206,
370
- 207,
371
- 208,
372
- 209,
373
- 214,
374
- 215,
375
- 220,
376
- 221
377
- ];
378
- } catch (e) {}
379
- t.inspectOpts = Object.keys(process.env).filter((e)=>/^debug_/i.test(e)).reduce((e, t)=>{
380
- const r = t.substring(6).toLowerCase().replace(/_([a-z])/g, (e, t)=>t.toUpperCase());
381
- let s = process.env[t];
382
- s = /^(yes|on|true|enabled)$/i.test(s) ? true : /^(no|off|false|disabled)$/i.test(s) ? false : "null" === s ? null : Number(s);
383
- e[r] = s;
384
- return e;
385
- }, {});
386
- function useColors() {
387
- return "colors" in t.inspectOpts ? Boolean(t.inspectOpts.colors) : s.isatty(process.stderr.fd);
388
- }
389
- function formatArgs(t) {
390
- const { namespace: r, useColors: s } = this;
391
- if (s) {
392
- const s = this.color;
393
- const n = "[3" + (s < 8 ? s : "8;5;" + s);
394
- const o = ` ${n};1m${r} `;
395
- t[0] = o + t[0].split("\n").join("\n" + o);
396
- t.push(n + "m+" + e.exports.humanize(this.diff) + "");
397
- } else t[0] = getDate() + r + " " + t[0];
398
- }
399
- function getDate() {
400
- if (t.inspectOpts.hideDate) return "";
401
- return (new Date).toISOString() + " ";
402
- }
403
- function log(...e) {
404
- return process.stderr.write(n.format(...e) + "\n");
405
- }
406
- function save(e) {
407
- if (e) process.env.DEBUG = e;
408
- else delete process.env.DEBUG;
409
- }
410
- function load() {
411
- return process.env.DEBUG;
412
- }
413
- function init(e) {
414
- e.inspectOpts = {};
415
- const r = Object.keys(t.inspectOpts);
416
- for(let s = 0; s < r.length; s++)e.inspectOpts[r[s]] = t.inspectOpts[r[s]];
417
- }
418
- e.exports = r(290)(t);
419
- const { formatters: o } = e.exports;
420
- o.o = function(e) {
421
- this.inspectOpts.colors = this.useColors;
422
- return n.inspect(e, this.inspectOpts).split("\n").map((e)=>e.trim()).join(" ");
423
- };
424
- o.O = function(e) {
425
- this.inspectOpts.colors = this.useColors;
426
- return n.inspect(e, this.inspectOpts);
427
- };
428
- },
429
- 419: (e)=>{
430
- "use strict";
431
- e.exports = (e, t)=>{
432
- t = t || process.argv;
433
- const r = e.startsWith("-") ? "" : 1 === e.length ? "-" : "--";
434
- const s = t.indexOf(r + e);
435
- const n = t.indexOf("--");
436
- return -1 !== s && (-1 === n ? true : s < n);
437
- };
438
- },
439
- 367: (e)=>{
440
- var t = 1e3;
441
- var r = 60 * t;
442
- var s = 60 * r;
443
- var n = 24 * s;
444
- var o = 7 * n;
445
- var a = 365.25 * n;
446
- e.exports = function(e, t) {
447
- t = t || {};
448
- var r = typeof e;
449
- if ("string" === r && e.length > 0) return parse(e);
450
- if ("number" === r && isFinite(e)) return t.long ? fmtLong(e) : fmtShort(e);
451
- throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(e));
452
- };
453
- function parse(e) {
454
- e = String(e);
455
- if (e.length > 100) return;
456
- 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);
457
- if (!c) return;
458
- var u = parseFloat(c[1]);
459
- var i = (c[2] || "ms").toLowerCase();
460
- switch(i){
461
- case "years":
462
- case "year":
463
- case "yrs":
464
- case "yr":
465
- case "y":
466
- return u * a;
467
- case "weeks":
468
- case "week":
469
- case "w":
470
- return u * o;
471
- case "days":
472
- case "day":
473
- case "d":
474
- return u * n;
475
- case "hours":
476
- case "hour":
477
- case "hrs":
478
- case "hr":
479
- case "h":
480
- return u * s;
481
- case "minutes":
482
- case "minute":
483
- case "mins":
484
- case "min":
485
- case "m":
486
- return u * r;
487
- case "seconds":
488
- case "second":
489
- case "secs":
490
- case "sec":
491
- case "s":
492
- return u * t;
493
- case "milliseconds":
494
- case "millisecond":
495
- case "msecs":
496
- case "msec":
497
- case "ms":
498
- return u;
499
- default:
500
- return;
501
- }
502
- }
503
- function fmtShort(e) {
504
- var o = Math.abs(e);
505
- if (o >= n) return Math.round(e / n) + "d";
506
- if (o >= s) return Math.round(e / s) + "h";
507
- if (o >= r) return Math.round(e / r) + "m";
508
- if (o >= t) return Math.round(e / t) + "s";
509
- return e + "ms";
510
- }
511
- function fmtLong(e) {
512
- var o = Math.abs(e);
513
- if (o >= n) return plural(e, o, n, "day");
514
- if (o >= s) return plural(e, o, s, "hour");
515
- if (o >= r) return plural(e, o, r, "minute");
516
- if (o >= t) return plural(e, o, t, "second");
517
- return e + " ms";
518
- }
519
- function plural(e, t, r, s) {
520
- var n = t >= 1.5 * r;
521
- return Math.round(e / r) + " " + s + (n ? "s" : "");
522
- }
523
- },
524
- 332: (e, t, r)=>{
525
- "use strict";
526
- const s = r(37);
527
- const n = r(419);
528
- const o = process.env;
529
- let a;
530
- if (n("no-color") || n("no-colors") || n("color=false")) a = false;
531
- else if (n("color") || n("colors") || n("color=true") || n("color=always")) a = true;
532
- if ("FORCE_COLOR" in o) a = 0 === o.FORCE_COLOR.length || 0 !== parseInt(o.FORCE_COLOR, 10);
533
- function translateLevel(e) {
534
- if (0 === e) return false;
535
- return {
536
- level: e,
537
- hasBasic: true,
538
- has256: e >= 2,
539
- has16m: e >= 3
540
- };
541
- }
542
- function supportsColor(e) {
543
- if (false === a) return 0;
544
- if (n("color=16m") || n("color=full") || n("color=truecolor")) return 3;
545
- if (n("color=256")) return 2;
546
- if (e && !e.isTTY && true !== a) return 0;
547
- const t = a ? 1 : 0;
548
- if ("win32" === process.platform) {
549
- const e = s.release().split(".");
550
- if (Number(process.versions.node.split(".")[0]) >= 8 && Number(e[0]) >= 10 && Number(e[2]) >= 10586) return Number(e[2]) >= 14931 ? 3 : 2;
551
- return 1;
552
- }
553
- if ("CI" in o) {
554
- if ([
555
- "TRAVIS",
556
- "CIRCLECI",
557
- "APPVEYOR",
558
- "GITLAB_CI"
559
- ].some((e)=>e in o) || "codeship" === o.CI_NAME) return 1;
560
- return t;
561
- }
562
- if ("TEAMCITY_VERSION" in o) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION) ? 1 : 0;
563
- if ("truecolor" === o.COLORTERM) return 3;
564
- if ("TERM_PROGRAM" in o) {
565
- const e = parseInt((o.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
566
- switch(o.TERM_PROGRAM){
567
- case "iTerm.app":
568
- return e >= 3 ? 3 : 2;
569
- case "Apple_Terminal":
570
- return 2;
571
- }
572
- }
573
- if (/-256(color)?$/i.test(o.TERM)) return 2;
574
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)) return 1;
575
- if ("COLORTERM" in o) return 1;
576
- o.TERM;
577
- return t;
578
- }
579
- function getSupportLevel(e) {
580
- const t = supportsColor(e);
581
- return translateLevel(t);
582
- }
583
- e.exports = {
584
- supportsColor: getSupportLevel,
585
- stdout: getSupportLevel(process.stdout),
586
- stderr: getSupportLevel(process.stderr)
587
- };
588
- },
589
- 37: (e)=>{
590
- "use strict";
591
- e.exports = require("os");
592
- },
593
- 224: (e)=>{
594
- "use strict";
595
- e.exports = require("tty");
596
- },
597
- 837: (e)=>{
598
- "use strict";
599
- e.exports = require("util");
600
- }
601
- };
602
- var t = {};
603
- function __nccwpck_require__(r) {
604
- var s = t[r];
605
- if (void 0 !== s) return s.exports;
606
- var n = t[r] = {
607
- exports: {}
608
- };
609
- var o = true;
610
- try {
611
- e[r](n, n.exports, __nccwpck_require__);
612
- o = false;
613
- } finally{
614
- if (o) delete t[r];
615
- }
616
- return n.exports;
617
- }
618
- if (void 0 !== __nccwpck_require__) __nccwpck_require__.ab = __dirname + "/";
619
- var r = __nccwpck_require__(372);
620
- module.exports = r;
621
- })();
@@ -1,20 +0,0 @@
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
-