@bleedingdev/modern-js-utils 3.2.0-ultramodern.0 → 3.2.0-ultramodern.10

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 (238) hide show
  1. package/dist/types/cli/alias.d.ts +2 -2
  2. package/dist/types/cli/get/data.d.ts +1 -1
  3. package/dist/types/cli/prettyInstructions.d.ts +1 -4
  4. package/dist/types/cli/watch.d.ts +1 -1
  5. package/package.json +3 -3
  6. package/dist/compiled/address/index.js +0 -171
  7. package/dist/compiled/address/lib/address.d.ts +0 -28
  8. package/dist/compiled/address/package.json +0 -1
  9. package/dist/compiled/browserslist/index.d.ts +0 -178
  10. package/dist/compiled/browserslist/index.js +0 -1329
  11. package/dist/compiled/browserslist/license +0 -20
  12. package/dist/compiled/browserslist/package.json +0 -1
  13. package/dist/compiled/chalk/index.d.ts +0 -415
  14. package/dist/compiled/chalk/index.js +0 -2368
  15. package/dist/compiled/chalk/license +0 -9
  16. package/dist/compiled/chalk/package.json +0 -1
  17. package/dist/compiled/chokidar/anymatch/index.d.ts +0 -19
  18. package/dist/compiled/chokidar/fsevents.node +0 -0
  19. package/dist/compiled/chokidar/index.js +0 -4162
  20. package/dist/compiled/chokidar/index.js.LICENSE.txt +0 -41
  21. package/dist/compiled/chokidar/license +0 -21
  22. package/dist/compiled/chokidar/package.json +0 -1
  23. package/dist/compiled/chokidar/types/index.d.ts +0 -188
  24. package/dist/compiled/commander/index.js +0 -1540
  25. package/dist/compiled/commander/index.mjs +0 -2
  26. package/dist/compiled/commander/license +0 -22
  27. package/dist/compiled/commander/package.json +0 -1
  28. package/dist/compiled/commander/typings/index.d.ts +0 -890
  29. package/dist/compiled/debug/index.d.ts +0 -54
  30. package/dist/compiled/debug/index.js +0 -621
  31. package/dist/compiled/debug/license +0 -20
  32. package/dist/compiled/debug/ms/index.d.ts +0 -25
  33. package/dist/compiled/debug/package.json +0 -1
  34. package/dist/compiled/dotenv/index.js +0 -101
  35. package/dist/compiled/dotenv/license +0 -23
  36. package/dist/compiled/dotenv/package.json +0 -1
  37. package/dist/compiled/dotenv/types/index.d.ts +0 -59
  38. package/dist/compiled/dotenv-expand/index.d.ts +0 -15
  39. package/dist/compiled/dotenv-expand/index.js +0 -54
  40. package/dist/compiled/dotenv-expand/license +0 -24
  41. package/dist/compiled/dotenv-expand/package.json +0 -1
  42. package/dist/compiled/execa/index.d.ts +0 -564
  43. package/dist/compiled/execa/index.js +0 -1738
  44. package/dist/compiled/execa/license +0 -9
  45. package/dist/compiled/execa/package.json +0 -1
  46. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
  47. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +0 -12
  48. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
  49. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +0 -20
  50. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
  51. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
  52. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +0 -12
  53. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
  54. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +0 -16
  55. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +0 -4
  56. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +0 -14
  57. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
  58. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
  59. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
  60. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +0 -30
  61. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +0 -8
  62. package/dist/compiled/fast-glob/index.js +0 -4665
  63. package/dist/compiled/fast-glob/index.js.LICENSE.txt +0 -38
  64. package/dist/compiled/fast-glob/license +0 -21
  65. package/dist/compiled/fast-glob/out/index.d.ts +0 -27
  66. package/dist/compiled/fast-glob/out/managers/tasks.d.ts +0 -22
  67. package/dist/compiled/fast-glob/out/settings.d.ts +0 -164
  68. package/dist/compiled/fast-glob/out/types/index.d.ts +0 -31
  69. package/dist/compiled/fast-glob/package.json +0 -1
  70. package/dist/compiled/filesize/filesize.d.ts +0 -131
  71. package/dist/compiled/filesize/index.js +0 -198
  72. package/dist/compiled/filesize/index.js.LICENSE.txt +0 -7
  73. package/dist/compiled/filesize/license +0 -28
  74. package/dist/compiled/filesize/package.json +0 -1
  75. package/dist/compiled/fs-extra/index.d.ts +0 -563
  76. package/dist/compiled/fs-extra/index.js +0 -2222
  77. package/dist/compiled/fs-extra/license +0 -15
  78. package/dist/compiled/fs-extra/package.json +0 -1
  79. package/dist/compiled/glob/index.d.ts +0 -91
  80. package/dist/compiled/glob/index.js +0 -2011
  81. package/dist/compiled/glob/license +0 -21
  82. package/dist/compiled/glob/minimatch/index.d.ts +0 -204
  83. package/dist/compiled/glob/package.json +0 -1
  84. package/dist/compiled/globby/index.d.ts +0 -186
  85. package/dist/compiled/globby/index.js +0 -690
  86. package/dist/compiled/globby/license +0 -9
  87. package/dist/compiled/globby/package.json +0 -1
  88. package/dist/compiled/gzip-size/index.d.ts +0 -96
  89. package/dist/compiled/gzip-size/index.js +0 -157
  90. package/dist/compiled/gzip-size/license +0 -9
  91. package/dist/compiled/gzip-size/package.json +0 -1
  92. package/dist/compiled/import-lazy/index.d.ts +0 -26
  93. package/dist/compiled/import-lazy/index.js +0 -45
  94. package/dist/compiled/import-lazy/license +0 -9
  95. package/dist/compiled/import-lazy/package.json +0 -1
  96. package/dist/compiled/inquirer/index.d.ts +0 -997
  97. package/dist/compiled/inquirer/index.js +0 -20167
  98. package/dist/compiled/inquirer/index.js.LICENSE.txt +0 -7
  99. package/dist/compiled/inquirer/lib/objects/choice.d.ts +0 -65
  100. package/dist/compiled/inquirer/lib/objects/choices.d.ts +0 -206
  101. package/dist/compiled/inquirer/lib/objects/separator.d.ts +0 -37
  102. package/dist/compiled/inquirer/lib/ui/baseUI.d.ts +0 -37
  103. package/dist/compiled/inquirer/lib/ui/bottom-bar.d.ts +0 -65
  104. package/dist/compiled/inquirer/lib/ui/prompt.d.ts +0 -104
  105. package/dist/compiled/inquirer/license +0 -22
  106. package/dist/compiled/inquirer/package.json +0 -1
  107. package/dist/compiled/inquirer/through/index.d.ts +0 -25
  108. package/dist/compiled/js-yaml/index.d.ts +0 -154
  109. package/dist/compiled/js-yaml/index.js +0 -2191
  110. package/dist/compiled/js-yaml/index.mjs +0 -2167
  111. package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +0 -1
  112. package/dist/compiled/js-yaml/license +0 -21
  113. package/dist/compiled/js-yaml/package.json +0 -1
  114. package/dist/compiled/json5/index.js +0 -983
  115. package/dist/compiled/json5/lib/index.d.ts +0 -4
  116. package/dist/compiled/json5/lib/parse.d.ts +0 -15
  117. package/dist/compiled/json5/lib/stringify.d.ts +0 -89
  118. package/dist/compiled/json5/package.json +0 -1
  119. package/dist/compiled/lodash/common/array.d.ts +0 -2126
  120. package/dist/compiled/lodash/common/collection.d.ts +0 -1930
  121. package/dist/compiled/lodash/common/common.d.ts +0 -280
  122. package/dist/compiled/lodash/common/date.d.ts +0 -23
  123. package/dist/compiled/lodash/common/function.d.ts +0 -1446
  124. package/dist/compiled/lodash/common/lang.d.ts +0 -1693
  125. package/dist/compiled/lodash/common/math.d.ts +0 -405
  126. package/dist/compiled/lodash/common/number.d.ts +0 -131
  127. package/dist/compiled/lodash/common/object.d.ts +0 -2519
  128. package/dist/compiled/lodash/common/seq.d.ts +0 -210
  129. package/dist/compiled/lodash/common/string.d.ts +0 -788
  130. package/dist/compiled/lodash/common/util.d.ts +0 -1220
  131. package/dist/compiled/lodash/index.d.ts +0 -46
  132. package/dist/compiled/lodash/index.js +0 -1
  133. package/dist/compiled/lodash/index.mjs +0 -1
  134. package/dist/compiled/lodash/license +0 -47
  135. package/dist/compiled/lodash/package.json +0 -1
  136. package/dist/compiled/mime-types/index.d.ts +0 -14
  137. package/dist/compiled/mime-types/index.js +0 -116
  138. package/dist/compiled/mime-types/index.js.LICENSE.txt +0 -13
  139. package/dist/compiled/mime-types/license +0 -23
  140. package/dist/compiled/mime-types/package.json +0 -1
  141. package/dist/compiled/minimist/index.d.ts +0 -95
  142. package/dist/compiled/minimist/index.js +0 -202
  143. package/dist/compiled/minimist/license +0 -18
  144. package/dist/compiled/minimist/package.json +0 -1
  145. package/dist/compiled/nanoid/index.d.ts +0 -91
  146. package/dist/compiled/nanoid/index.js +0 -83
  147. package/dist/compiled/nanoid/index.mjs +0 -69
  148. package/dist/compiled/nanoid/license +0 -20
  149. package/dist/compiled/nanoid/package.json +0 -1
  150. package/dist/compiled/ora/cli-spinners/index.d.ts +0 -125
  151. package/dist/compiled/ora/index.d.ts +0 -277
  152. package/dist/compiled/ora/index.js +0 -3936
  153. package/dist/compiled/ora/index.js.LICENSE.txt +0 -1
  154. package/dist/compiled/ora/license +0 -9
  155. package/dist/compiled/ora/package.json +0 -1
  156. package/dist/compiled/pkg-up/index.d.ts +0 -48
  157. package/dist/compiled/pkg-up/index.js +0 -15
  158. package/dist/compiled/pkg-up/license +0 -9
  159. package/dist/compiled/pkg-up/package.json +0 -1
  160. package/dist/compiled/semver/classes/comparator.d.ts +0 -17
  161. package/dist/compiled/semver/classes/range.d.ts +0 -21
  162. package/dist/compiled/semver/classes/semver.d.ts +0 -62
  163. package/dist/compiled/semver/functions/clean.d.ts +0 -8
  164. package/dist/compiled/semver/functions/cmp.d.ts +0 -16
  165. package/dist/compiled/semver/functions/coerce.d.ts +0 -12
  166. package/dist/compiled/semver/functions/compare-build.d.ts +0 -16
  167. package/dist/compiled/semver/functions/compare-loose.d.ts +0 -5
  168. package/dist/compiled/semver/functions/compare.d.ts +0 -20
  169. package/dist/compiled/semver/functions/diff.d.ts +0 -13
  170. package/dist/compiled/semver/functions/eq.d.ts +0 -9
  171. package/dist/compiled/semver/functions/gt.d.ts +0 -9
  172. package/dist/compiled/semver/functions/gte.d.ts +0 -9
  173. package/dist/compiled/semver/functions/inc.d.ts +0 -15
  174. package/dist/compiled/semver/functions/lt.d.ts +0 -9
  175. package/dist/compiled/semver/functions/lte.d.ts +0 -8
  176. package/dist/compiled/semver/functions/major.d.ts +0 -9
  177. package/dist/compiled/semver/functions/minor.d.ts +0 -9
  178. package/dist/compiled/semver/functions/neq.d.ts +0 -9
  179. package/dist/compiled/semver/functions/parse.d.ts +0 -12
  180. package/dist/compiled/semver/functions/patch.d.ts +0 -9
  181. package/dist/compiled/semver/functions/prerelease.d.ts +0 -12
  182. package/dist/compiled/semver/functions/rcompare.d.ts +0 -15
  183. package/dist/compiled/semver/functions/rsort.d.ts +0 -9
  184. package/dist/compiled/semver/functions/satisfies.d.ts +0 -14
  185. package/dist/compiled/semver/functions/sort.d.ts +0 -9
  186. package/dist/compiled/semver/functions/valid.d.ts +0 -11
  187. package/dist/compiled/semver/index.d.ts +0 -133
  188. package/dist/compiled/semver/index.js +0 -1779
  189. package/dist/compiled/semver/internals/identifiers.d.ts +0 -13
  190. package/dist/compiled/semver/license +0 -15
  191. package/dist/compiled/semver/package.json +0 -1
  192. package/dist/compiled/semver/ranges/gtr.d.ts +0 -14
  193. package/dist/compiled/semver/ranges/intersects.d.ts +0 -13
  194. package/dist/compiled/semver/ranges/ltr.d.ts +0 -14
  195. package/dist/compiled/semver/ranges/max-satisfying.d.ts +0 -14
  196. package/dist/compiled/semver/ranges/min-satisfying.d.ts +0 -14
  197. package/dist/compiled/semver/ranges/min-version.d.ts +0 -10
  198. package/dist/compiled/semver/ranges/outside.d.ts +0 -15
  199. package/dist/compiled/semver/ranges/simplify.d.ts +0 -14
  200. package/dist/compiled/semver/ranges/subset.d.ts +0 -13
  201. package/dist/compiled/semver/ranges/to-comparators.d.ts +0 -9
  202. package/dist/compiled/semver/ranges/valid.d.ts +0 -12
  203. package/dist/compiled/signale/index.d.ts +0 -162
  204. package/dist/compiled/signale/index.js +0 -1704
  205. package/dist/compiled/signale/package.json +0 -1
  206. package/dist/compiled/slash/index.d.ts +0 -25
  207. package/dist/compiled/slash/index.js +0 -32
  208. package/dist/compiled/slash/license +0 -9
  209. package/dist/compiled/slash/package.json +0 -1
  210. package/dist/compiled/strip-ansi/index.d.ts +0 -17
  211. package/dist/compiled/strip-ansi/index.js +0 -34
  212. package/dist/compiled/strip-ansi/license +0 -9
  213. package/dist/compiled/strip-ansi/package.json +0 -1
  214. package/dist/compiled/tsconfig-paths/index.js +0 -629
  215. package/dist/compiled/tsconfig-paths/index.mjs +0 -2
  216. package/dist/compiled/tsconfig-paths/lib/config-loader.d.ts +0 -33
  217. package/dist/compiled/tsconfig-paths/lib/filesystem.d.ts +0 -34
  218. package/dist/compiled/tsconfig-paths/lib/index.d.ts +0 -5
  219. package/dist/compiled/tsconfig-paths/lib/mapping-entry.d.ts +0 -18
  220. package/dist/compiled/tsconfig-paths/lib/match-path-async.d.ts +0 -21
  221. package/dist/compiled/tsconfig-paths/lib/match-path-sync.d.ts +0 -32
  222. package/dist/compiled/tsconfig-paths/lib/register.d.ts +0 -12
  223. package/dist/compiled/tsconfig-paths/lib/try-path.d.ts +0 -15
  224. package/dist/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +0 -28
  225. package/dist/compiled/tsconfig-paths/license +0 -21
  226. package/dist/compiled/tsconfig-paths/package.json +0 -1
  227. package/dist/compiled/upath/index.js +0 -135
  228. package/dist/compiled/upath/license +0 -22
  229. package/dist/compiled/upath/package.json +0 -1
  230. package/dist/compiled/upath/upath.d.ts +0 -241
  231. package/dist/compiled/url-join/index.d.ts +0 -17
  232. package/dist/compiled/url-join/index.js +0 -61
  233. package/dist/compiled/url-join/license +0 -21
  234. package/dist/compiled/url-join/package.json +0 -1
  235. package/dist/compiled/webpack-chain/index.js +0 -1475
  236. package/dist/compiled/webpack-chain/license +0 -373
  237. package/dist/compiled/webpack-chain/package.json +0 -1
  238. 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
-