@umijs/utils 4.0.0-beta.9 → 4.0.0-canary-20240513.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 (194) hide show
  1. package/compiled/@ampproject/remapping/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +70 -0
  2. package/compiled/@ampproject/remapping/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +12 -0
  3. package/compiled/@ampproject/remapping/@jridgewell/gen-mapping/dist/types/types.d.ts +35 -0
  4. package/compiled/@ampproject/remapping/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +16 -0
  5. package/compiled/@ampproject/remapping/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +74 -0
  6. package/compiled/@ampproject/remapping/@jridgewell/trace-mapping/dist/types/types.d.ts +92 -0
  7. package/compiled/@ampproject/remapping/LICENSE +202 -0
  8. package/compiled/@ampproject/remapping/dist/types/remapping.d.ts +19 -0
  9. package/compiled/@ampproject/remapping/dist/types/source-map.d.ts +17 -0
  10. package/compiled/@ampproject/remapping/dist/types/types.d.ts +14 -0
  11. package/compiled/@ampproject/remapping/index.js +1 -0
  12. package/compiled/@ampproject/remapping/package.json +1 -0
  13. package/compiled/@clack/prompts/LICENSE +23 -0
  14. package/compiled/@clack/prompts/dist/index.d.ts +38 -0
  15. package/compiled/@clack/prompts/index.js +1 -0
  16. package/compiled/@clack/prompts/package.json +1 -0
  17. package/compiled/@hapi/joi/index.d.ts +2218 -0
  18. package/compiled/@hapi/joi/index.js +1 -0
  19. package/compiled/@hapi/joi/package.json +1 -0
  20. package/compiled/axios/index.d.ts +29 -14
  21. package/compiled/axios/index.js +1 -1
  22. package/compiled/chalk/LICENSE +1 -1
  23. package/compiled/chalk/index.js +1 -1
  24. package/compiled/chalk/package.json +1 -1
  25. package/compiled/chalk/source/index.d.ts +318 -0
  26. package/compiled/chalk/source/vendor/supports-color/index.d.ts +55 -0
  27. package/compiled/color/color-convert/conversions.d.ts +87 -87
  28. package/compiled/color/color-convert/index.d.ts +75 -60
  29. package/compiled/color/color-convert/route.d.ts +271 -271
  30. package/compiled/color/index.d.ts +118 -121
  31. package/compiled/color/index.js +1 -1
  32. package/compiled/color/package.json +1 -4
  33. package/compiled/debug/LICENSE +10 -9
  34. package/compiled/debug/index.js +1 -1
  35. package/compiled/debug/package.json +1 -1
  36. package/compiled/execa/index.d.ts +467 -445
  37. package/compiled/execa/index.js +1 -1
  38. package/compiled/fastest-levenshtein/index.js +1 -0
  39. package/compiled/fastest-levenshtein/mod.d.ts +3 -0
  40. package/compiled/fastest-levenshtein/package.json +1 -0
  41. package/compiled/filesize/LICENSE +28 -0
  42. package/compiled/filesize/filesize.d.ts +131 -0
  43. package/compiled/filesize/index.js +8 -0
  44. package/compiled/filesize/package.json +1 -0
  45. package/compiled/filesize/types/filesize.d.ts +46 -0
  46. package/compiled/fs-extra/index.d.ts +930 -253
  47. package/compiled/fs-extra/index.js +1 -1
  48. package/compiled/fs-extra/jsonfile/index.d.ts +78 -0
  49. package/compiled/fs-extra/package.json +1 -1
  50. package/compiled/glob/LICENSE +1 -7
  51. package/compiled/glob/index.d.ts +3 -1
  52. package/compiled/glob/index.js +1 -1
  53. package/compiled/glob/package.json +1 -1
  54. package/compiled/gzip-size/LICENSE +9 -0
  55. package/compiled/gzip-size/index.d.ts +103 -0
  56. package/compiled/gzip-size/index.js +1 -0
  57. package/compiled/gzip-size/package.json +1 -0
  58. package/compiled/lodash/common/array.d.ts +0 -0
  59. package/compiled/lodash/common/collection.d.ts +0 -0
  60. package/compiled/lodash/common/common.d.ts +0 -0
  61. package/compiled/lodash/common/date.d.ts +0 -0
  62. package/compiled/lodash/common/function.d.ts +0 -0
  63. package/compiled/lodash/common/lang.d.ts +0 -0
  64. package/compiled/lodash/common/math.d.ts +0 -0
  65. package/compiled/lodash/common/number.d.ts +0 -0
  66. package/compiled/lodash/common/object.d.ts +0 -0
  67. package/compiled/lodash/common/seq.d.ts +0 -0
  68. package/compiled/lodash/common/string.d.ts +0 -0
  69. package/compiled/lodash/common/util.d.ts +0 -0
  70. package/compiled/magic-string/LICENSE +7 -0
  71. package/compiled/magic-string/index.d.ts +250 -0
  72. package/compiled/magic-string/index.js +1 -0
  73. package/compiled/magic-string/package.json +1 -0
  74. package/compiled/pirates/LICENSE +21 -0
  75. package/compiled/pirates/index.d.ts +82 -0
  76. package/compiled/pirates/index.js +1 -0
  77. package/compiled/pirates/package.json +1 -0
  78. package/compiled/pkg-up/LICENSE +1 -1
  79. package/compiled/pkg-up/index.d.ts +55 -44
  80. package/compiled/pkg-up/index.js +1 -1
  81. package/compiled/pkg-up/package.json +1 -1
  82. package/compiled/portfinder/index.js +1 -1
  83. package/compiled/portfinder/lib/portfinder.d.ts +16 -1
  84. package/compiled/portfinder/package.json +1 -1
  85. package/compiled/resolve/index.js +1 -1
  86. package/compiled/semver/classes/range.d.ts +1 -1
  87. package/compiled/semver/classes/semver.d.ts +1 -1
  88. package/compiled/semver/functions/compare-build.d.ts +6 -1
  89. package/compiled/semver/functions/diff.d.ts +1 -5
  90. package/compiled/semver/functions/satisfies.d.ts +1 -1
  91. package/compiled/semver/index.d.ts +3 -0
  92. package/compiled/semver/index.js +1 -1
  93. package/compiled/semver/package.json +1 -1
  94. package/compiled/semver/ranges/gtr.d.ts +1 -1
  95. package/compiled/semver/ranges/intersects.d.ts +1 -1
  96. package/compiled/semver/ranges/ltr.d.ts +1 -1
  97. package/compiled/semver/ranges/max-satisfying.d.ts +1 -1
  98. package/compiled/semver/ranges/min-satisfying.d.ts +1 -1
  99. package/compiled/semver/ranges/outside.d.ts +1 -1
  100. package/compiled/semver/ranges/subset.d.ts +1 -5
  101. package/compiled/semver/ranges/valid.d.ts +1 -1
  102. package/compiled/strip-ansi/LICENSE +1 -1
  103. package/compiled/strip-ansi/index.d.ts +2 -4
  104. package/compiled/strip-ansi/index.js +1 -1
  105. package/compiled/strip-ansi/package.json +1 -1
  106. package/compiled/tar/LICENSE +15 -0
  107. package/compiled/tar/index.d.ts +943 -0
  108. package/compiled/tar/index.js +1 -0
  109. package/compiled/tar/minipass/index.d.ts +150 -0
  110. package/compiled/tar/package.json +1 -0
  111. package/compiled/tsconfig-paths/LICENSE +21 -0
  112. package/compiled/tsconfig-paths/index.js +1 -0
  113. package/compiled/tsconfig-paths/lib/index.d.ts +5 -0
  114. package/compiled/tsconfig-paths/package.json +1 -0
  115. package/compiled/yargs-parser/index.js +1 -1
  116. package/compiled/yargs-parser/package.json +1 -1
  117. package/compiled/zod/LICENSE +21 -0
  118. package/compiled/zod/index.d.ts +2 -0
  119. package/compiled/zod/index.js +1 -0
  120. package/compiled/zod/lib/ZodError.d.ts +159 -0
  121. package/compiled/zod/lib/__tests__/Mocker.d.ts +17 -0
  122. package/compiled/zod/lib/benchmarks/discriminatedUnion.d.ts +5 -0
  123. package/compiled/zod/lib/benchmarks/index.d.ts +1 -0
  124. package/compiled/zod/lib/benchmarks/object.d.ts +5 -0
  125. package/compiled/zod/lib/benchmarks/primitives.d.ts +5 -0
  126. package/compiled/zod/lib/benchmarks/realworld.d.ts +5 -0
  127. package/compiled/zod/lib/benchmarks/string.d.ts +5 -0
  128. package/compiled/zod/lib/benchmarks/union.d.ts +5 -0
  129. package/compiled/zod/lib/errors.d.ts +5 -0
  130. package/compiled/zod/lib/external.d.ts +6 -0
  131. package/compiled/zod/lib/helpers/enumUtil.d.ts +8 -0
  132. package/compiled/zod/lib/helpers/errorUtil.d.ts +9 -0
  133. package/compiled/zod/lib/helpers/parseUtil.d.ts +78 -0
  134. package/compiled/zod/lib/helpers/partialUtil.d.ts +8 -0
  135. package/compiled/zod/lib/helpers/typeAliases.d.ts +2 -0
  136. package/compiled/zod/lib/helpers/util.d.ts +47 -0
  137. package/compiled/zod/lib/index.d.ts +4 -0
  138. package/compiled/zod/lib/locales/en.d.ts +3 -0
  139. package/compiled/zod/lib/types.d.ts +975 -0
  140. package/compiled/zod/package.json +1 -0
  141. package/dist/BaseGenerator/BaseGenerator.d.ts +3 -3
  142. package/dist/BaseGenerator/BaseGenerator.js +78 -54
  143. package/dist/BaseGenerator/generateFile.d.ts +2 -1
  144. package/dist/BaseGenerator/generateFile.js +49 -22
  145. package/dist/Generator/Generator.d.ts +18 -14
  146. package/dist/Generator/Generator.js +97 -70
  147. package/dist/aliasUtils/getAliasValue.d.ts +4 -0
  148. package/dist/aliasUtils/getAliasValue.js +66 -0
  149. package/dist/aliasUtils/index.d.ts +2 -0
  150. package/dist/aliasUtils/index.js +32 -0
  151. package/dist/aliasUtils/parseCircleAlias.d.ts +4 -0
  152. package/dist/aliasUtils/parseCircleAlias.js +66 -0
  153. package/dist/getCorejsVersion.d.ts +1 -0
  154. package/dist/getCorejsVersion.js +35 -0
  155. package/dist/getDevBanner.d.ts +5 -0
  156. package/dist/getDevBanner.js +81 -0
  157. package/dist/getFileGitIno.d.ts +47 -0
  158. package/dist/getFileGitIno.js +130 -0
  159. package/dist/getGitInfo.d.ts +6 -0
  160. package/dist/getGitInfo.js +50 -0
  161. package/dist/importLazy.js +42 -14
  162. package/dist/index.d.ts +26 -3
  163. package/dist/index.js +185 -86
  164. package/dist/installDeps.js +69 -37
  165. package/dist/isJavaScriptFile.d.ts +1 -0
  166. package/dist/isJavaScriptFile.js +32 -0
  167. package/dist/isLocalDev.d.ts +4 -0
  168. package/dist/isLocalDev.js +36 -0
  169. package/dist/isMonorepo.d.ts +5 -0
  170. package/dist/isMonorepo.js +44 -0
  171. package/dist/isStyleFile.d.ts +5 -0
  172. package/dist/isStyleFile.js +44 -0
  173. package/dist/logger.d.ts +13 -6
  174. package/dist/logger.js +166 -25
  175. package/dist/node.d.ts +4 -0
  176. package/dist/node.js +61 -0
  177. package/dist/npmClient.d.ts +3 -2
  178. package/dist/npmClient.js +86 -40
  179. package/dist/printHelp.d.ts +2 -0
  180. package/dist/printHelp.js +64 -0
  181. package/dist/randomColor/randomColor.js +47 -16
  182. package/dist/readDirFiles.d.ts +9 -0
  183. package/dist/readDirFiles.js +62 -0
  184. package/dist/register.d.ts +1 -0
  185. package/dist/register.js +75 -38
  186. package/dist/setNoDeprecation.d.ts +1 -0
  187. package/dist/setNoDeprecation.js +31 -0
  188. package/dist/tryPaths.d.ts +1 -0
  189. package/dist/tryPaths.js +35 -0
  190. package/dist/updatePackageJSON.js +50 -19
  191. package/dist/winPath.js +33 -9
  192. package/dist/zod/isZodSchema.d.ts +2 -0
  193. package/dist/zod/isZodSchema.js +31 -0
  194. package/package.json +60 -34
@@ -17,133 +17,133 @@ export type APPLE = [number, number, number];
17
17
  export type GRAY = [number];
18
18
 
19
19
  export namespace rgb {
20
- const channels: 3;
21
- const labels: 'rgb';
22
- function hsl(rgb: RGB): HSL;
23
- function hsl(...rgb: RGB): HSL;
24
- function hsv(rgb: RGB): HSV;
25
- function hsv(...rgb: RGB): HSV;
26
- function hwb(rgb: RGB): HWB;
27
- function hwb(...rgb: RGB): HWB;
28
- function cmyk(rgb: RGB): CMYK;
29
- function cmyk(...rgb: RGB): CMYK;
30
- function keyword(rgb: RGB): KEYWORD;
31
- function keyword(...rgb: RGB): KEYWORD;
32
- function xyz(rgb: RGB): XYZ;
33
- function xyz(...rgb: RGB): XYZ;
34
- function lab(rgb: RGB): LAB;
35
- function lab(...rgb: RGB): LAB;
36
- function ansi16(rgb: RGB): ANSI16;
37
- function ansi16(...rgb: RGB): ANSI16;
38
- function ansi256(rgb: RGB): ANSI256;
39
- function ansi256(...rgb: RGB): ANSI256;
40
- function hex(rgb: RGB): HEX;
41
- function hex(...rgb: RGB): HEX;
42
- function hcg(rgb: RGB): HCG;
43
- function hcg(...rgb: RGB): HCG;
44
- function apple(rgb: RGB): APPLE;
45
- function apple(...rgb: RGB): APPLE;
46
- function gray(rgb: RGB): GRAY;
47
- function gray(...rgb: RGB): GRAY;
20
+ const channels: 3;
21
+ const labels: 'rgb';
22
+ function hsl(rgb: RGB): HSL;
23
+ function hsl(...rgb: RGB): HSL;
24
+ function hsv(rgb: RGB): HSV;
25
+ function hsv(...rgb: RGB): HSV;
26
+ function hwb(rgb: RGB): HWB;
27
+ function hwb(...rgb: RGB): HWB;
28
+ function cmyk(rgb: RGB): CMYK;
29
+ function cmyk(...rgb: RGB): CMYK;
30
+ function keyword(rgb: RGB): KEYWORD;
31
+ function keyword(...rgb: RGB): KEYWORD;
32
+ function xyz(rgb: RGB): XYZ;
33
+ function xyz(...rgb: RGB): XYZ;
34
+ function lab(rgb: RGB): LAB;
35
+ function lab(...rgb: RGB): LAB;
36
+ function ansi16(rgb: RGB): ANSI16;
37
+ function ansi16(...rgb: RGB): ANSI16;
38
+ function ansi256(rgb: RGB): ANSI256;
39
+ function ansi256(...rgb: RGB): ANSI256;
40
+ function hex(rgb: RGB): HEX;
41
+ function hex(...rgb: RGB): HEX;
42
+ function hcg(rgb: RGB): HCG;
43
+ function hcg(...rgb: RGB): HCG;
44
+ function apple(rgb: RGB): APPLE;
45
+ function apple(...rgb: RGB): APPLE;
46
+ function gray(rgb: RGB): GRAY;
47
+ function gray(...rgb: RGB): GRAY;
48
48
  }
49
49
 
50
50
  export namespace hsl {
51
- const channels: 3;
52
- const labels: 'hsl';
53
- function rgb(hsl: HSL): RGB;
54
- function hsv(hsl: HSL): HSV;
55
- function hcg(hsl: HSL): HCG;
51
+ const channels: 3;
52
+ const labels: 'hsl';
53
+ function rgb(hsl: HSL): RGB;
54
+ function hsv(hsl: HSL): HSV;
55
+ function hcg(hsl: HSL): HCG;
56
56
  }
57
57
 
58
58
  export namespace hsv {
59
- const channels: 3;
60
- const labels: 'hsv';
61
- function rgb(hsv: HSV): RGB;
62
- function hsl(hsv: HSV): HSL;
63
- function ansi16(hsv: HSV): ANSI16;
64
- function hcg(hsv: HSV): HCG;
59
+ const channels: 3;
60
+ const labels: 'hsv';
61
+ function rgb(hsv: HSV): RGB;
62
+ function hsl(hsv: HSV): HSL;
63
+ function ansi16(hsv: HSV): ANSI16;
64
+ function hcg(hsv: HSV): HCG;
65
65
  }
66
66
 
67
67
  export namespace hwb {
68
- const channels: 3;
69
- const labels: 'hwb';
70
- function rgb(hwb: HWB): RGB;
71
- function hcg(hwb: HWB): HCG;
68
+ const channels: 3;
69
+ const labels: 'hwb';
70
+ function rgb(hwb: HWB): RGB;
71
+ function hcg(hwb: HWB): HCG;
72
72
  }
73
73
 
74
74
  export namespace cmyk {
75
- const channels: 4;
76
- const labels: 'cmyk';
77
- function rgb(cmyk: CMYK): RGB;
75
+ const channels: 4;
76
+ const labels: 'cmyk';
77
+ function rgb(cmyk: CMYK): RGB;
78
78
  }
79
79
 
80
80
  export namespace xyz {
81
- const channels: 3;
82
- const labels: 'xyz';
83
- function rgb(xyz: XYZ): RGB;
84
- function lab(xyz: XYZ): LAB;
81
+ const channels: 3;
82
+ const labels: 'xyz';
83
+ function rgb(xyz: XYZ): RGB;
84
+ function lab(xyz: XYZ): LAB;
85
85
  }
86
86
 
87
87
  export namespace lab {
88
- const channels: 3;
89
- const labels: 'lab';
90
- function xyz(lab: LAB): XYZ;
91
- function lch(lab: LAB): LCH;
88
+ const channels: 3;
89
+ const labels: 'lab';
90
+ function xyz(lab: LAB): XYZ;
91
+ function lch(lab: LAB): LCH;
92
92
  }
93
93
 
94
94
  export namespace lch {
95
- const channels: 3;
96
- const labels: 'lch';
97
- function lab(lch: LCH): LAB;
95
+ const channels: 3;
96
+ const labels: 'lch';
97
+ function lab(lch: LCH): LAB;
98
98
  }
99
99
 
100
100
  export namespace hex {
101
- const channels: 1;
102
- const labels: ['hex'];
103
- function rgb(hex: HEX): RGB;
101
+ const channels: 1;
102
+ const labels: ['hex'];
103
+ function rgb(hex: HEX): RGB;
104
104
  }
105
105
 
106
106
  export namespace keyword {
107
- const channels: 1;
108
- const labels: ['keyword'];
109
- function rgb(keyword: KEYWORD): RGB;
107
+ const channels: 1;
108
+ const labels: ['keyword'];
109
+ function rgb(keyword: KEYWORD): RGB;
110
110
  }
111
111
 
112
112
  export namespace ansi16 {
113
- const channels: 1;
114
- const labels: ['ansi16'];
115
- function rgb(ansi16: ANSI16): RGB;
113
+ const channels: 1;
114
+ const labels: ['ansi16'];
115
+ function rgb(ansi16: ANSI16): RGB;
116
116
  }
117
117
 
118
118
  export namespace ansi256 {
119
- const channels: 1;
120
- const labels: ['ansi256'];
121
- function rgb(ansi256: ANSI256): RGB;
119
+ const channels: 1;
120
+ const labels: ['ansi256'];
121
+ function rgb(ansi256: ANSI256): RGB;
122
122
  }
123
123
 
124
124
  export namespace hcg {
125
- const channels: 3;
126
- const labels: ['h', 'c', 'g'];
127
- function rgb(hcg: HCG): RGB;
128
- function hsv(hcg: HCG): HSV;
129
- function hsl(hcg: HCG): HSL;
130
- function hwb(hcg: HCG): HWB;
125
+ const channels: 3;
126
+ const labels: ['h', 'c', 'g'];
127
+ function rgb(hcg: HCG): RGB;
128
+ function hsv(hcg: HCG): HSV;
129
+ function hsl(hcg: HCG): HSL;
130
+ function hwb(hcg: HCG): HWB;
131
131
  }
132
132
 
133
133
  export namespace apple {
134
- const channels: 3;
135
- const labels: ['r16', 'g16', 'b16'];
136
- function rgb(apple: APPLE): RGB;
134
+ const channels: 3;
135
+ const labels: ['r16', 'g16', 'b16'];
136
+ function rgb(apple: APPLE): RGB;
137
137
  }
138
138
 
139
139
  export namespace gray {
140
- const channels: 1;
141
- const labels: ['gray'];
142
- function rgb(gray: GRAY): RGB;
143
- function hsl(gray: GRAY): HSL;
144
- function hsv(gray: GRAY): HSV;
145
- function hwb(gray: GRAY): HWB;
146
- function cmyk(gray: GRAY): CMYK;
147
- function lab(gray: GRAY): LAB;
148
- function hex(gray: GRAY): HEX;
140
+ const channels: 1;
141
+ const labels: ['gray'];
142
+ function rgb(gray: GRAY): RGB;
143
+ function hsl(gray: GRAY): HSL;
144
+ function hsv(gray: GRAY): HSV;
145
+ function hwb(gray: GRAY): HWB;
146
+ function cmyk(gray: GRAY): CMYK;
147
+ function lab(gray: GRAY): LAB;
148
+ function hex(gray: GRAY): HEX;
149
149
  }
@@ -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
- };