@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.
Files changed (69) hide show
  1. package/compiled/axios/index.d.ts +29 -14
  2. package/compiled/axios/index.js +1 -1
  3. package/compiled/chalk/LICENSE +1 -1
  4. package/compiled/chalk/index.js +1 -1
  5. package/compiled/chalk/package.json +1 -1
  6. package/compiled/chalk/source/index.d.ts +318 -0
  7. package/compiled/chalk/source/vendor/supports-color/index.d.ts +55 -0
  8. package/compiled/color/color-convert/conversions.d.ts +87 -87
  9. package/compiled/color/color-convert/index.d.ts +75 -60
  10. package/compiled/color/color-convert/route.d.ts +271 -271
  11. package/compiled/color/index.d.ts +118 -121
  12. package/compiled/color/index.js +1 -1
  13. package/compiled/color/package.json +1 -4
  14. package/compiled/debug/LICENSE +10 -9
  15. package/compiled/debug/index.js +1 -1
  16. package/compiled/debug/package.json +1 -1
  17. package/compiled/execa/index.d.ts +467 -445
  18. package/compiled/execa/index.js +1 -1
  19. package/compiled/globby/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  20. package/compiled/globby/@nodelib/fs.scandir/out/index.d.ts +12 -0
  21. package/compiled/globby/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  22. package/compiled/globby/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  23. package/compiled/globby/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  24. package/compiled/globby/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  25. package/compiled/globby/@nodelib/fs.stat/out/index.d.ts +12 -0
  26. package/compiled/globby/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  27. package/compiled/globby/@nodelib/fs.stat/out/settings.d.ts +16 -0
  28. package/compiled/globby/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  29. package/compiled/globby/@nodelib/fs.walk/out/index.d.ts +14 -0
  30. package/compiled/globby/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  31. package/compiled/globby/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  32. package/compiled/globby/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  33. package/compiled/globby/@nodelib/fs.walk/out/settings.d.ts +30 -0
  34. package/compiled/globby/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  35. package/compiled/globby/LICENSE +9 -0
  36. package/compiled/globby/fast-glob/out/index.d.ts +27 -0
  37. package/compiled/globby/fast-glob/out/managers/tasks.d.ts +22 -0
  38. package/compiled/globby/fast-glob/out/settings.d.ts +164 -0
  39. package/compiled/globby/fast-glob/out/types/index.d.ts +31 -0
  40. package/compiled/globby/index.d.ts +206 -0
  41. package/compiled/globby/index.js +37 -0
  42. package/compiled/globby/package.json +1 -0
  43. package/compiled/pirates/LICENSE +21 -0
  44. package/compiled/pirates/index.d.ts +82 -0
  45. package/compiled/pirates/index.js +1 -0
  46. package/compiled/pirates/package.json +1 -0
  47. package/compiled/pkg-up/LICENSE +1 -1
  48. package/compiled/pkg-up/index.d.ts +55 -44
  49. package/compiled/pkg-up/index.js +1 -1
  50. package/compiled/pkg-up/package.json +1 -1
  51. package/compiled/resolve/index.js +1 -1
  52. package/compiled/strip-ansi/LICENSE +1 -1
  53. package/compiled/strip-ansi/index.d.ts +2 -4
  54. package/compiled/strip-ansi/index.js +1 -1
  55. package/compiled/strip-ansi/package.json +1 -1
  56. package/compiled/yargs-parser/index.js +1 -1
  57. package/dist/getCorejsVersion.d.ts +1 -0
  58. package/dist/getCorejsVersion.js +11 -0
  59. package/dist/index.d.ts +5 -3
  60. package/dist/index.js +6 -5
  61. package/dist/installDeps.js +20 -4
  62. package/dist/isStyleFile.d.ts +5 -0
  63. package/dist/isStyleFile.js +16 -0
  64. package/dist/logger.d.ts +8 -6
  65. package/dist/logger.js +8 -1
  66. package/dist/register.js +21 -22
  67. package/dist/tryPaths.d.ts +1 -0
  68. package/dist/tryPaths.js +11 -0
  69. 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
- route.rgb & {
12
- [F in keyof route.rgb]: {
13
- raw: route.rgb[F];
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
- route.hsl & {
19
- [F in keyof route.hsl]: {
20
- raw: route.hsl[F];
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
- route.hsv & {
26
- [F in keyof route.hsv]: {
27
- raw: route.hsv[F];
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
- route.hwb & {
33
- [F in keyof route.hwb]: {
34
- raw: route.hwb[F];
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
- route.cmyk & {
40
- [F in keyof route.cmyk]: {
41
- raw: route.cmyk[F];
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
- route.xyz & {
47
- [F in keyof route.xyz]: {
48
- raw: route.xyz[F];
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
- route.lab & {
54
- [F in keyof route.lab]: {
55
- raw: route.lab[F];
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
- route.lch & {
61
- [F in keyof route.lch]: {
62
- raw: route.lch[F];
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
- route.hex & {
68
- [F in keyof route.hex]: {
69
- raw: route.hex[F];
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
- route.keyword & {
75
- [F in keyof route.keyword]: {
76
- raw: route.keyword[F];
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
- route.ansi16 & {
82
- [F in keyof route.ansi16]: {
83
- raw: route.ansi16[F];
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
- route.ansi256 & {
89
- [F in keyof route.ansi256]: {
90
- raw: route.ansi256[F];
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
- route.hcg & {
96
- [F in keyof route.hcg]: {
97
- raw: route.hcg[F];
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
- route.apple & {
103
- [F in keyof route.apple]: {
104
- raw: route.apple[F];
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
- route.gray & {
110
- [F in keyof route.gray]: {
111
- raw: route.gray[F];
123
+ route.gray &
124
+ {
125
+ [F in keyof route.gray]: {
126
+ raw: route.gray[F];
127
+ };
112
128
  };
113
- };