@umijs/utils 4.0.0-beta.9 → 4.0.0-rc.3
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.
- package/compiled/axios/index.d.ts +29 -14
- package/compiled/axios/index.js +1 -1
- package/compiled/chalk/LICENSE +1 -1
- package/compiled/chalk/index.js +1 -1
- package/compiled/chalk/package.json +1 -1
- package/compiled/chalk/source/index.d.ts +318 -0
- package/compiled/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/compiled/color/color-convert/conversions.d.ts +87 -87
- package/compiled/color/color-convert/index.d.ts +75 -60
- package/compiled/color/color-convert/route.d.ts +271 -271
- package/compiled/color/index.d.ts +118 -121
- package/compiled/color/index.js +1 -1
- package/compiled/color/package.json +1 -4
- package/compiled/debug/LICENSE +10 -9
- package/compiled/debug/index.js +1 -1
- package/compiled/debug/package.json +1 -1
- package/compiled/execa/index.d.ts +467 -445
- package/compiled/execa/index.js +1 -1
- package/compiled/globby/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
- package/compiled/globby/@nodelib/fs.scandir/out/index.d.ts +12 -0
- package/compiled/globby/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
- package/compiled/globby/@nodelib/fs.scandir/out/settings.d.ts +20 -0
- package/compiled/globby/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
- package/compiled/globby/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
- package/compiled/globby/@nodelib/fs.stat/out/index.d.ts +12 -0
- package/compiled/globby/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
- package/compiled/globby/@nodelib/fs.stat/out/settings.d.ts +16 -0
- package/compiled/globby/@nodelib/fs.stat/out/types/index.d.ts +4 -0
- package/compiled/globby/@nodelib/fs.walk/out/index.d.ts +14 -0
- package/compiled/globby/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
- package/compiled/globby/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
- package/compiled/globby/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
- package/compiled/globby/@nodelib/fs.walk/out/settings.d.ts +30 -0
- package/compiled/globby/@nodelib/fs.walk/out/types/index.d.ts +8 -0
- package/compiled/globby/LICENSE +9 -0
- package/compiled/globby/fast-glob/out/index.d.ts +27 -0
- package/compiled/globby/fast-glob/out/managers/tasks.d.ts +22 -0
- package/compiled/globby/fast-glob/out/settings.d.ts +164 -0
- package/compiled/globby/fast-glob/out/types/index.d.ts +31 -0
- package/compiled/globby/index.d.ts +206 -0
- package/compiled/globby/index.js +37 -0
- package/compiled/globby/package.json +1 -0
- package/compiled/pirates/LICENSE +21 -0
- package/compiled/pirates/index.d.ts +82 -0
- package/compiled/pirates/index.js +1 -0
- package/compiled/pirates/package.json +1 -0
- package/compiled/pkg-up/LICENSE +1 -1
- package/compiled/pkg-up/index.d.ts +55 -44
- package/compiled/pkg-up/index.js +1 -1
- package/compiled/pkg-up/package.json +1 -1
- package/compiled/resolve/index.js +1 -1
- package/compiled/strip-ansi/LICENSE +1 -1
- package/compiled/strip-ansi/index.d.ts +2 -4
- package/compiled/strip-ansi/index.js +1 -1
- package/compiled/strip-ansi/package.json +1 -1
- package/compiled/yargs-parser/index.js +1 -1
- package/dist/getCorejsVersion.d.ts +1 -0
- package/dist/getCorejsVersion.js +11 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +6 -5
- package/dist/installDeps.js +20 -4
- package/dist/isStyleFile.d.ts +5 -0
- package/dist/isStyleFile.js +16 -0
- package/dist/logger.d.ts +8 -6
- package/dist/logger.js +8 -1
- package/dist/register.js +21 -22
- package/dist/tryPaths.d.ts +1 -0
- package/dist/tryPaths.js +11 -0
- package/package.json +19 -18
|
@@ -8,106 +8,121 @@ import conversions = require('./conversions');
|
|
|
8
8
|
import route = require('./route');
|
|
9
9
|
|
|
10
10
|
export const rgb: typeof conversions.rgb &
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
route.rgb &
|
|
12
|
+
{
|
|
13
|
+
[F in keyof route.rgb]: {
|
|
14
|
+
raw: route.rgb[F];
|
|
15
|
+
};
|
|
14
16
|
};
|
|
15
|
-
};
|
|
16
17
|
|
|
17
18
|
export const hsl: typeof conversions.hsl &
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
route.hsl &
|
|
20
|
+
{
|
|
21
|
+
[F in keyof route.hsl]: {
|
|
22
|
+
raw: route.hsl[F];
|
|
23
|
+
};
|
|
21
24
|
};
|
|
22
|
-
};
|
|
23
25
|
|
|
24
26
|
export const hsv: typeof conversions.hsv &
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
route.hsv &
|
|
28
|
+
{
|
|
29
|
+
[F in keyof route.hsv]: {
|
|
30
|
+
raw: route.hsv[F];
|
|
31
|
+
};
|
|
28
32
|
};
|
|
29
|
-
};
|
|
30
33
|
|
|
31
34
|
export const hwb: typeof conversions.hwb &
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
route.hwb &
|
|
36
|
+
{
|
|
37
|
+
[F in keyof route.hwb]: {
|
|
38
|
+
raw: route.hwb[F];
|
|
39
|
+
};
|
|
35
40
|
};
|
|
36
|
-
};
|
|
37
41
|
|
|
38
42
|
export const cmyk: typeof conversions.cmyk &
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
route.cmyk &
|
|
44
|
+
{
|
|
45
|
+
[F in keyof route.cmyk]: {
|
|
46
|
+
raw: route.cmyk[F];
|
|
47
|
+
};
|
|
42
48
|
};
|
|
43
|
-
};
|
|
44
49
|
|
|
45
50
|
export const xyz: typeof conversions.xyz &
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
51
|
+
route.xyz &
|
|
52
|
+
{
|
|
53
|
+
[F in keyof route.xyz]: {
|
|
54
|
+
raw: route.xyz[F];
|
|
55
|
+
};
|
|
49
56
|
};
|
|
50
|
-
};
|
|
51
57
|
|
|
52
58
|
export const lab: typeof conversions.lab &
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
59
|
+
route.lab &
|
|
60
|
+
{
|
|
61
|
+
[F in keyof route.lab]: {
|
|
62
|
+
raw: route.lab[F];
|
|
63
|
+
};
|
|
56
64
|
};
|
|
57
|
-
};
|
|
58
65
|
|
|
59
66
|
export const lch: typeof conversions.lch &
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
67
|
+
route.lch &
|
|
68
|
+
{
|
|
69
|
+
[F in keyof route.lch]: {
|
|
70
|
+
raw: route.lch[F];
|
|
71
|
+
};
|
|
63
72
|
};
|
|
64
|
-
};
|
|
65
73
|
|
|
66
74
|
export const hex: typeof conversions.hex &
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
75
|
+
route.hex &
|
|
76
|
+
{
|
|
77
|
+
[F in keyof route.hex]: {
|
|
78
|
+
raw: route.hex[F];
|
|
79
|
+
};
|
|
70
80
|
};
|
|
71
|
-
};
|
|
72
81
|
|
|
73
82
|
export const keyword: typeof conversions.keyword &
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
83
|
+
route.keyword &
|
|
84
|
+
{
|
|
85
|
+
[F in keyof route.keyword]: {
|
|
86
|
+
raw: route.keyword[F];
|
|
87
|
+
};
|
|
77
88
|
};
|
|
78
|
-
};
|
|
79
89
|
|
|
80
90
|
export const ansi16: typeof conversions.ansi16 &
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
91
|
+
route.ansi16 &
|
|
92
|
+
{
|
|
93
|
+
[F in keyof route.ansi16]: {
|
|
94
|
+
raw: route.ansi16[F];
|
|
95
|
+
};
|
|
84
96
|
};
|
|
85
|
-
};
|
|
86
97
|
|
|
87
98
|
export const ansi256: typeof conversions.ansi256 &
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
99
|
+
route.ansi256 &
|
|
100
|
+
{
|
|
101
|
+
[F in keyof route.ansi256]: {
|
|
102
|
+
raw: route.ansi256[F];
|
|
103
|
+
};
|
|
91
104
|
};
|
|
92
|
-
};
|
|
93
105
|
|
|
94
106
|
export const hcg: typeof conversions.hcg &
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
107
|
+
route.hcg &
|
|
108
|
+
{
|
|
109
|
+
[F in keyof route.hcg]: {
|
|
110
|
+
raw: route.hcg[F];
|
|
111
|
+
};
|
|
98
112
|
};
|
|
99
|
-
};
|
|
100
113
|
|
|
101
114
|
export const apple: typeof conversions.apple &
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
115
|
+
route.apple &
|
|
116
|
+
{
|
|
117
|
+
[F in keyof route.apple]: {
|
|
118
|
+
raw: route.apple[F];
|
|
119
|
+
};
|
|
105
120
|
};
|
|
106
|
-
};
|
|
107
121
|
|
|
108
122
|
export const gray: typeof conversions.gray &
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
123
|
+
route.gray &
|
|
124
|
+
{
|
|
125
|
+
[F in keyof route.gray]: {
|
|
126
|
+
raw: route.gray[F];
|
|
127
|
+
};
|
|
112
128
|
};
|
|
113
|
-
};
|