immosquare-cleaner 0.1.23 → 0.1.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/lib/immosquare-cleaner/version.rb +1 -1
  3. data/linters/rubocop-3.2.2.yml +1 -0
  4. data/linters/rubocop.yml +2 -0
  5. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/LICENSE +19 -0
  6. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/README.md +71 -0
  7. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/conf/config-schema.js +79 -0
  8. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/conf/environments.js +215 -0
  9. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +1104 -0
  10. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +1 -0
  11. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +4333 -0
  12. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +1 -0
  13. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +532 -0
  14. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +523 -0
  15. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +115 -0
  16. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +145 -0
  17. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +238 -0
  18. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/index.js +19 -0
  19. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +225 -0
  20. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array-factory.js +1149 -0
  21. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/flat-compat.js +318 -0
  22. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/index-universal.js +29 -0
  23. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/index.js +56 -0
  24. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/ajv.js +191 -0
  25. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +135 -0
  26. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +325 -0
  27. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +63 -0
  28. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/naming.js +96 -0
  29. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +42 -0
  30. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/types.js +149 -0
  31. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/index.d.ts +36 -0
  32. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/index.js +77 -0
  33. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/license +9 -0
  34. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/package.json +47 -0
  35. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/readme.md +78 -0
  36. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/package.json +82 -0
  37. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/universal.js +9 -0
  38. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/LICENSE +19 -0
  39. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/README.md +57 -0
  40. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/package.json +31 -0
  41. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/src/configs/eslint-all.js +278 -0
  42. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/src/configs/eslint-recommended.js +76 -0
  43. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/src/index.js +17 -0
  44. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/LICENSE +201 -0
  45. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/README.md +342 -0
  46. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/api.js +1061 -0
  47. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/CHANGELOG.md +8 -0
  48. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/LICENSE +29 -0
  49. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/README.md +234 -0
  50. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/package.json +33 -0
  51. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/src/index.js +7 -0
  52. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/src/merge-strategy.js +53 -0
  53. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/src/object-schema.js +235 -0
  54. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/src/validation-strategy.js +102 -0
  55. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/tests/merge-strategy.js +66 -0
  56. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/tests/object-schema.js +611 -0
  57. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/tests/validation-strategy.js +186 -0
  58. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/LICENSE +15 -0
  59. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/README.md +224 -0
  60. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/minimatch.js +947 -0
  61. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/node_modules/brace-expansion/LICENSE +21 -0
  62. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/node_modules/brace-expansion/README.md +129 -0
  63. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/node_modules/brace-expansion/index.js +201 -0
  64. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/node_modules/brace-expansion/package.json +47 -0
  65. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/package.json +33 -0
  66. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/package.json +61 -0
  67. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/index.d.ts +415 -0
  68. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/license +9 -0
  69. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/package.json +68 -0
  70. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/readme.md +341 -0
  71. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/source/index.js +229 -0
  72. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/source/templates.js +134 -0
  73. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/source/util.js +39 -0
  74. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/LICENSE +15 -0
  75. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/README.md +230 -0
  76. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/minimatch.js +947 -0
  77. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/LICENSE +21 -0
  78. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/README.md +129 -0
  79. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/index.js +201 -0
  80. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/package.json +47 -0
  81. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/package.json +33 -0
  82. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/index.d.ts +17 -0
  83. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/index.js +4 -0
  84. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/license +9 -0
  85. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +37 -0
  86. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.js +10 -0
  87. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/license +9 -0
  88. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/package.json +55 -0
  89. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +78 -0
  90. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/package.json +54 -0
  91. data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/readme.md +46 -0
  92. data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/index.js +162 -0
  93. data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/license.md +21 -0
  94. data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/package.json +38 -0
  95. data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/readme.md +59 -0
  96. data/node_modules/npm-check-updates/build/package.json +2 -3
  97. data/node_modules/npm-check-updates/build/src/lib/runGlobal.js +18 -11
  98. data/node_modules/npm-check-updates/build/src/lib/runGlobal.js.map +1 -1
  99. data/node_modules/npm-check-updates/build/src/package-managers/bun.js +2 -3
  100. data/node_modules/npm-check-updates/build/src/package-managers/bun.js.map +1 -1
  101. data/node_modules/npm-check-updates/build/src/package-managers/npm.js +12 -8
  102. data/node_modules/npm-check-updates/build/src/package-managers/npm.js.map +1 -1
  103. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js +37 -14
  104. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js.map +1 -1
  105. data/node_modules/npm-check-updates/build/src/package-managers/yarn.js +36 -11
  106. data/node_modules/npm-check-updates/build/src/package-managers/yarn.js.map +1 -1
  107. data/node_modules/npm-check-updates/package.json +2 -3
  108. data/node_modules/prettier/LICENSE +3 -3
  109. data/node_modules/prettier/index.cjs +1 -1
  110. data/node_modules/prettier/index.mjs +14 -22
  111. data/node_modules/prettier/package.json +1 -1
  112. data/node_modules/prettier/plugins/acorn.js +10 -10
  113. data/node_modules/prettier/plugins/acorn.mjs +10 -10
  114. data/node_modules/prettier/plugins/angular.js +1 -1
  115. data/node_modules/prettier/plugins/angular.mjs +1 -1
  116. data/node_modules/prettier/plugins/babel.js +8 -8
  117. data/node_modules/prettier/plugins/babel.mjs +8 -8
  118. data/node_modules/prettier/plugins/estree.js +24 -24
  119. data/node_modules/prettier/plugins/estree.mjs +24 -24
  120. data/node_modules/prettier/plugins/flow.js +17 -17
  121. data/node_modules/prettier/plugins/flow.mjs +17 -17
  122. data/node_modules/prettier/plugins/graphql.js +6 -6
  123. data/node_modules/prettier/plugins/graphql.mjs +6 -6
  124. data/node_modules/prettier/plugins/html.js +1 -1
  125. data/node_modules/prettier/plugins/html.mjs +1 -1
  126. data/node_modules/prettier/plugins/markdown.js +1 -1
  127. data/node_modules/prettier/plugins/markdown.mjs +1 -1
  128. data/node_modules/prettier/plugins/meriyah.js +4 -4
  129. data/node_modules/prettier/plugins/meriyah.mjs +4 -4
  130. data/node_modules/prettier/plugins/typescript.js +19 -19
  131. data/node_modules/prettier/plugins/typescript.mjs +19 -19
  132. data/node_modules/prettier/standalone.js +10 -10
  133. data/node_modules/prettier/standalone.mjs +9 -9
  134. data/package.json +2 -2
  135. metadata +95 -4
@@ -0,0 +1,415 @@
1
+ /**
2
+ Basic foreground colors.
3
+
4
+ [More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support)
5
+ */
6
+ declare type ForegroundColor =
7
+ | 'black'
8
+ | 'red'
9
+ | 'green'
10
+ | 'yellow'
11
+ | 'blue'
12
+ | 'magenta'
13
+ | 'cyan'
14
+ | 'white'
15
+ | 'gray'
16
+ | 'grey'
17
+ | 'blackBright'
18
+ | 'redBright'
19
+ | 'greenBright'
20
+ | 'yellowBright'
21
+ | 'blueBright'
22
+ | 'magentaBright'
23
+ | 'cyanBright'
24
+ | 'whiteBright';
25
+
26
+ /**
27
+ Basic background colors.
28
+
29
+ [More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support)
30
+ */
31
+ declare type BackgroundColor =
32
+ | 'bgBlack'
33
+ | 'bgRed'
34
+ | 'bgGreen'
35
+ | 'bgYellow'
36
+ | 'bgBlue'
37
+ | 'bgMagenta'
38
+ | 'bgCyan'
39
+ | 'bgWhite'
40
+ | 'bgGray'
41
+ | 'bgGrey'
42
+ | 'bgBlackBright'
43
+ | 'bgRedBright'
44
+ | 'bgGreenBright'
45
+ | 'bgYellowBright'
46
+ | 'bgBlueBright'
47
+ | 'bgMagentaBright'
48
+ | 'bgCyanBright'
49
+ | 'bgWhiteBright';
50
+
51
+ /**
52
+ Basic colors.
53
+
54
+ [More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support)
55
+ */
56
+ declare type Color = ForegroundColor | BackgroundColor;
57
+
58
+ declare type Modifiers =
59
+ | 'reset'
60
+ | 'bold'
61
+ | 'dim'
62
+ | 'italic'
63
+ | 'underline'
64
+ | 'inverse'
65
+ | 'hidden'
66
+ | 'strikethrough'
67
+ | 'visible';
68
+
69
+ declare namespace chalk {
70
+ /**
71
+ Levels:
72
+ - `0` - All colors disabled.
73
+ - `1` - Basic 16 colors support.
74
+ - `2` - ANSI 256 colors support.
75
+ - `3` - Truecolor 16 million colors support.
76
+ */
77
+ type Level = 0 | 1 | 2 | 3;
78
+
79
+ interface Options {
80
+ /**
81
+ Specify the color support for Chalk.
82
+
83
+ By default, color support is automatically detected based on the environment.
84
+
85
+ Levels:
86
+ - `0` - All colors disabled.
87
+ - `1` - Basic 16 colors support.
88
+ - `2` - ANSI 256 colors support.
89
+ - `3` - Truecolor 16 million colors support.
90
+ */
91
+ level?: Level;
92
+ }
93
+
94
+ /**
95
+ Return a new Chalk instance.
96
+ */
97
+ type Instance = new (options?: Options) => Chalk;
98
+
99
+ /**
100
+ Detect whether the terminal supports color.
101
+ */
102
+ interface ColorSupport {
103
+ /**
104
+ The color level used by Chalk.
105
+ */
106
+ level: Level;
107
+
108
+ /**
109
+ Return whether Chalk supports basic 16 colors.
110
+ */
111
+ hasBasic: boolean;
112
+
113
+ /**
114
+ Return whether Chalk supports ANSI 256 colors.
115
+ */
116
+ has256: boolean;
117
+
118
+ /**
119
+ Return whether Chalk supports Truecolor 16 million colors.
120
+ */
121
+ has16m: boolean;
122
+ }
123
+
124
+ interface ChalkFunction {
125
+ /**
126
+ Use a template string.
127
+
128
+ @remarks Template literals are unsupported for nested calls (see [issue #341](https://github.com/chalk/chalk/issues/341))
129
+
130
+ @example
131
+ ```
132
+ import chalk = require('chalk');
133
+
134
+ log(chalk`
135
+ CPU: {red ${cpu.totalPercent}%}
136
+ RAM: {green ${ram.used / ram.total * 100}%}
137
+ DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%}
138
+ `);
139
+ ```
140
+
141
+ @example
142
+ ```
143
+ import chalk = require('chalk');
144
+
145
+ log(chalk.red.bgBlack`2 + 3 = {bold ${2 + 3}}`)
146
+ ```
147
+ */
148
+ (text: TemplateStringsArray, ...placeholders: unknown[]): string;
149
+
150
+ (...text: unknown[]): string;
151
+ }
152
+
153
+ interface Chalk extends ChalkFunction {
154
+ /**
155
+ Return a new Chalk instance.
156
+ */
157
+ Instance: Instance;
158
+
159
+ /**
160
+ The color support for Chalk.
161
+
162
+ By default, color support is automatically detected based on the environment.
163
+
164
+ Levels:
165
+ - `0` - All colors disabled.
166
+ - `1` - Basic 16 colors support.
167
+ - `2` - ANSI 256 colors support.
168
+ - `3` - Truecolor 16 million colors support.
169
+ */
170
+ level: Level;
171
+
172
+ /**
173
+ Use HEX value to set text color.
174
+
175
+ @param color - Hexadecimal value representing the desired color.
176
+
177
+ @example
178
+ ```
179
+ import chalk = require('chalk');
180
+
181
+ chalk.hex('#DEADED');
182
+ ```
183
+ */
184
+ hex(color: string): Chalk;
185
+
186
+ /**
187
+ Use keyword color value to set text color.
188
+
189
+ @param color - Keyword value representing the desired color.
190
+
191
+ @example
192
+ ```
193
+ import chalk = require('chalk');
194
+
195
+ chalk.keyword('orange');
196
+ ```
197
+ */
198
+ keyword(color: string): Chalk;
199
+
200
+ /**
201
+ Use RGB values to set text color.
202
+ */
203
+ rgb(red: number, green: number, blue: number): Chalk;
204
+
205
+ /**
206
+ Use HSL values to set text color.
207
+ */
208
+ hsl(hue: number, saturation: number, lightness: number): Chalk;
209
+
210
+ /**
211
+ Use HSV values to set text color.
212
+ */
213
+ hsv(hue: number, saturation: number, value: number): Chalk;
214
+
215
+ /**
216
+ Use HWB values to set text color.
217
+ */
218
+ hwb(hue: number, whiteness: number, blackness: number): Chalk;
219
+
220
+ /**
221
+ Use a [Select/Set Graphic Rendition](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters) (SGR) [color code number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) to set text color.
222
+
223
+ 30 <= code && code < 38 || 90 <= code && code < 98
224
+ For example, 31 for red, 91 for redBright.
225
+ */
226
+ ansi(code: number): Chalk;
227
+
228
+ /**
229
+ Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color.
230
+ */
231
+ ansi256(index: number): Chalk;
232
+
233
+ /**
234
+ Use HEX value to set background color.
235
+
236
+ @param color - Hexadecimal value representing the desired color.
237
+
238
+ @example
239
+ ```
240
+ import chalk = require('chalk');
241
+
242
+ chalk.bgHex('#DEADED');
243
+ ```
244
+ */
245
+ bgHex(color: string): Chalk;
246
+
247
+ /**
248
+ Use keyword color value to set background color.
249
+
250
+ @param color - Keyword value representing the desired color.
251
+
252
+ @example
253
+ ```
254
+ import chalk = require('chalk');
255
+
256
+ chalk.bgKeyword('orange');
257
+ ```
258
+ */
259
+ bgKeyword(color: string): Chalk;
260
+
261
+ /**
262
+ Use RGB values to set background color.
263
+ */
264
+ bgRgb(red: number, green: number, blue: number): Chalk;
265
+
266
+ /**
267
+ Use HSL values to set background color.
268
+ */
269
+ bgHsl(hue: number, saturation: number, lightness: number): Chalk;
270
+
271
+ /**
272
+ Use HSV values to set background color.
273
+ */
274
+ bgHsv(hue: number, saturation: number, value: number): Chalk;
275
+
276
+ /**
277
+ Use HWB values to set background color.
278
+ */
279
+ bgHwb(hue: number, whiteness: number, blackness: number): Chalk;
280
+
281
+ /**
282
+ Use a [Select/Set Graphic Rendition](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters) (SGR) [color code number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) to set background color.
283
+
284
+ 30 <= code && code < 38 || 90 <= code && code < 98
285
+ For example, 31 for red, 91 for redBright.
286
+ Use the foreground code, not the background code (for example, not 41, nor 101).
287
+ */
288
+ bgAnsi(code: number): Chalk;
289
+
290
+ /**
291
+ Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set background color.
292
+ */
293
+ bgAnsi256(index: number): Chalk;
294
+
295
+ /**
296
+ Modifier: Resets the current color chain.
297
+ */
298
+ readonly reset: Chalk;
299
+
300
+ /**
301
+ Modifier: Make text bold.
302
+ */
303
+ readonly bold: Chalk;
304
+
305
+ /**
306
+ Modifier: Emitting only a small amount of light.
307
+ */
308
+ readonly dim: Chalk;
309
+
310
+ /**
311
+ Modifier: Make text italic. (Not widely supported)
312
+ */
313
+ readonly italic: Chalk;
314
+
315
+ /**
316
+ Modifier: Make text underline. (Not widely supported)
317
+ */
318
+ readonly underline: Chalk;
319
+
320
+ /**
321
+ Modifier: Inverse background and foreground colors.
322
+ */
323
+ readonly inverse: Chalk;
324
+
325
+ /**
326
+ Modifier: Prints the text, but makes it invisible.
327
+ */
328
+ readonly hidden: Chalk;
329
+
330
+ /**
331
+ Modifier: Puts a horizontal line through the center of the text. (Not widely supported)
332
+ */
333
+ readonly strikethrough: Chalk;
334
+
335
+ /**
336
+ Modifier: Prints the text only when Chalk has a color support level > 0.
337
+ Can be useful for things that are purely cosmetic.
338
+ */
339
+ readonly visible: Chalk;
340
+
341
+ readonly black: Chalk;
342
+ readonly red: Chalk;
343
+ readonly green: Chalk;
344
+ readonly yellow: Chalk;
345
+ readonly blue: Chalk;
346
+ readonly magenta: Chalk;
347
+ readonly cyan: Chalk;
348
+ readonly white: Chalk;
349
+
350
+ /*
351
+ Alias for `blackBright`.
352
+ */
353
+ readonly gray: Chalk;
354
+
355
+ /*
356
+ Alias for `blackBright`.
357
+ */
358
+ readonly grey: Chalk;
359
+
360
+ readonly blackBright: Chalk;
361
+ readonly redBright: Chalk;
362
+ readonly greenBright: Chalk;
363
+ readonly yellowBright: Chalk;
364
+ readonly blueBright: Chalk;
365
+ readonly magentaBright: Chalk;
366
+ readonly cyanBright: Chalk;
367
+ readonly whiteBright: Chalk;
368
+
369
+ readonly bgBlack: Chalk;
370
+ readonly bgRed: Chalk;
371
+ readonly bgGreen: Chalk;
372
+ readonly bgYellow: Chalk;
373
+ readonly bgBlue: Chalk;
374
+ readonly bgMagenta: Chalk;
375
+ readonly bgCyan: Chalk;
376
+ readonly bgWhite: Chalk;
377
+
378
+ /*
379
+ Alias for `bgBlackBright`.
380
+ */
381
+ readonly bgGray: Chalk;
382
+
383
+ /*
384
+ Alias for `bgBlackBright`.
385
+ */
386
+ readonly bgGrey: Chalk;
387
+
388
+ readonly bgBlackBright: Chalk;
389
+ readonly bgRedBright: Chalk;
390
+ readonly bgGreenBright: Chalk;
391
+ readonly bgYellowBright: Chalk;
392
+ readonly bgBlueBright: Chalk;
393
+ readonly bgMagentaBright: Chalk;
394
+ readonly bgCyanBright: Chalk;
395
+ readonly bgWhiteBright: Chalk;
396
+ }
397
+ }
398
+
399
+ /**
400
+ Main Chalk object that allows to chain styles together.
401
+ Call the last one as a method with a string argument.
402
+ Order doesn't matter, and later styles take precedent in case of a conflict.
403
+ This simply means that `chalk.red.yellow.green` is equivalent to `chalk.green`.
404
+ */
405
+ declare const chalk: chalk.Chalk & chalk.ChalkFunction & {
406
+ supportsColor: chalk.ColorSupport | false;
407
+ Level: chalk.Level;
408
+ Color: Color;
409
+ ForegroundColor: ForegroundColor;
410
+ BackgroundColor: BackgroundColor;
411
+ Modifiers: Modifiers;
412
+ stderr: chalk.Chalk & {supportsColor: chalk.ColorSupport | false};
413
+ };
414
+
415
+ export = chalk;
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "chalk",
3
+ "version": "4.1.2",
4
+ "description": "Terminal string styling done right",
5
+ "license": "MIT",
6
+ "repository": "chalk/chalk",
7
+ "funding": "https://github.com/chalk/chalk?sponsor=1",
8
+ "main": "source",
9
+ "engines": {
10
+ "node": ">=10"
11
+ },
12
+ "scripts": {
13
+ "test": "xo && nyc ava && tsd",
14
+ "bench": "matcha benchmark.js"
15
+ },
16
+ "files": [
17
+ "source",
18
+ "index.d.ts"
19
+ ],
20
+ "keywords": [
21
+ "color",
22
+ "colour",
23
+ "colors",
24
+ "terminal",
25
+ "console",
26
+ "cli",
27
+ "string",
28
+ "str",
29
+ "ansi",
30
+ "style",
31
+ "styles",
32
+ "tty",
33
+ "formatting",
34
+ "rgb",
35
+ "256",
36
+ "shell",
37
+ "xterm",
38
+ "log",
39
+ "logging",
40
+ "command-line",
41
+ "text"
42
+ ],
43
+ "dependencies": {
44
+ "ansi-styles": "^4.1.0",
45
+ "supports-color": "^7.1.0"
46
+ },
47
+ "devDependencies": {
48
+ "ava": "^2.4.0",
49
+ "coveralls": "^3.0.7",
50
+ "execa": "^4.0.0",
51
+ "import-fresh": "^3.1.0",
52
+ "matcha": "^0.7.0",
53
+ "nyc": "^15.0.0",
54
+ "resolve-from": "^5.0.0",
55
+ "tsd": "^0.7.4",
56
+ "xo": "^0.28.2"
57
+ },
58
+ "xo": {
59
+ "rules": {
60
+ "unicorn/prefer-string-slice": "off",
61
+ "unicorn/prefer-includes": "off",
62
+ "@typescript-eslint/member-ordering": "off",
63
+ "no-redeclare": "off",
64
+ "unicorn/string-content": "off",
65
+ "unicorn/better-regex": "off"
66
+ }
67
+ }
68
+ }