Sindre Sorhus
95d74cbe8d
4.1.2 - Readme updates
2021-07-30 14:02:12 +02:00
Sindre Sorhus
89e9e3a5b0
4.1.1 - Add sponsors
2021-04-21 15:54:01 +07:00
Sindre Sorhus
4c3df88472
4.1.0
2020-06-09 15:43:27 +08:00
Toon Baeyens
09ddbadcb5
Support template literals for nested calls ( #392 )
...
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-06-09 15:36:34 +08:00
Steven
55816cdd4d
Update readme links to use https ( #396 )
2020-04-16 05:56:23 +02:00
Sindre Sorhus
31fa942080
4.0.0
2020-04-02 16:17:06 +08:00
Sindre Sorhus
61999a4e77
Require Node.js 10
2020-04-02 16:10:07 +08:00
Sindre Sorhus
f0f4638a92
Change the TypeScript Level type to be a union instead of enum
...
Fixes #373
Fixes #382
2020-04-02 15:51:17 +08:00
Richie Bendall
7f21f209da
Properly check if level is an integer ( #393 )
2020-04-02 15:49:20 +08:00
Bradley Farias
63469d30e4
Use Object.setPrototypeOf as __proto__ could potentially be disabled ( #387 )
2020-04-02 15:47:12 +08:00
Sindre Sorhus
797461ee32
Meta tweaks
2020-01-01 19:40:12 +01:00
Edwin Kofler
0e6fecc7f7
Add link to replit run ( #379 )
2019-12-12 21:12:22 +01:00
Sindre Sorhus
20002d8bd1
3.0.0
2019-11-09 13:58:44 +07:00
Sindre Sorhus
b3930189a5
Meta tweaks
2019-11-09 13:57:31 +07:00
Mark Pedrotti
18c280da2e
Add ansi and bgAnsi to TypeScript declaration ( #369 )
2019-11-09 11:22:55 +05:00
Sindre Sorhus
628b5954cf
Tidelift tasks
2019-10-30 19:38:56 +07:00
Sindre Sorhus
4de1841129
3.0.0-beta.2
2019-10-08 16:21:40 +07:00
Mark Pedrotti
fb8e85ab87
Add ansi256 and bgAnsi256 to TypeScript declarations ( #368 )
2019-10-08 16:02:34 +07:00
Mark Pedrotti
eef8c8c191
Replace level list with table in readme.md ( #367 )
...
* Replace level list with table in readme.md
* Capitalize table headings and center level numbers
2019-10-01 03:13:15 +02:00
Sindre Sorhus
48905d0805
3.0.0-beta.1
2019-09-27 12:07:07 +07:00
Sindre Sorhus
1953816afd
Update dependencies
2019-09-27 11:16:49 +07:00
Yanis Benson
61aca7cb76
Improve require speed ( #358 )
2019-09-27 10:55:19 +07:00
Khải
4e65299e7b
Fix const enum for TypeScript ( #364 )
2019-09-27 10:53:54 +07:00
Yanis Benson
2a53389d72
Add chalk.stderr ( #359 )
2019-09-22 16:07:33 +07:00
Simen Bekkhus
6b4d20683f
Export TypeScript types for colors and modifiers ( #357 )
...
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2019-08-22 15:28:25 +02:00
Qix
1f77953f1a
Remove the .enabled property in favor of .level ( #356 )
2019-07-13 12:45:31 +07:00
Ahad Birang
87156ce8e2
Fix support for nested styles ( #335 )
2019-07-13 01:49:56 +07:00
Sindre Sorhus
c25c32a25f
Update dependencies
2019-07-12 14:13:58 +07:00
Sindre Sorhus
655653bb0c
Meta tweaks
2019-07-12 14:13:02 +07:00
Boris K
af4a078245
Update docs for FORCE_COLOR environment variable ( #315 )
2019-07-12 14:11:25 +07:00
Yanis Benson
c08417e88c
Improve performance greatly ( #337 )
2019-07-12 13:40:23 +07:00
Qix
983094883c
Fix support for bracketed Unicode escapes in template literals ( #350 )
2019-07-12 13:35:11 +07:00
Marcos Marado
e2dd171597
Remove outdated info in the readme ( #351 )
2019-06-30 23:11:52 +07:00
Florian Reuschel
d82b2a6638
Add missing false type to chalk.supportsColor ( #347 )
2019-06-11 00:47:16 +07:00
Sindre Sorhus
4ab4665994
Tidelift tasks
2019-05-31 14:53:04 +07:00
Sindre Sorhus
4990a3578a
Add GitHub Sponsors button to the repo
2019-05-23 16:47:28 +07:00
ExE Boss
b3e9b91405
Fix TypeScript types for supportsColor which is top‑level only ( #342 )
...
Co-Authored-By: Dimitri Benin <BendingBender@users.noreply.github.com>
2019-05-11 15:04:20 +07:00
Sindre Sorhus
d3be9c65b1
Drop built-in Flow type definition
...
I don't want to be responsible for maintaining it.
Submit it to https://github.com/flow-typed/flow-typed if you need it.
2019-05-03 15:03:53 +07:00
Dimitri Benin
98628d9f08
Use CommonJS-compatible export in TypeScript definition ( #344 )
2019-04-28 11:10:44 +07:00
Sindre Sorhus
7b9211be50
Minor refactoring
2019-03-15 00:08:50 +07:00
Sindre Sorhus
cd5de7a2f6
Remove dim style workaround for Windows ( #331 )
...
See: https://github.com/chalk/chalk/pull/330/#issuecomment-471977551
The issue seems to have been fixed in newer Windows 10 builds. We're not interested in adding a conditional for older Windows versions as the fix severely complicates the codebase, and it also creates problems for consumers as it makes the output unpredictable.
2019-03-13 00:24:34 +07:00
Sindre Sorhus
2ca015c4c5
Remove the blue color workaround for Windows ( #330 )
...
The illegible blue color has been fixed in Windows 10 build 16257: https://blogs.msdn.microsoft.com/commandline/2017/08/02/updating-the-windows-console-colors/
The workaround causes all kinds of problems, so better to remove it than adding conditionals for older Windows versions.
Fixes #329
2019-03-12 20:31:33 +07:00
Sindre Sorhus
3ef170b457
Require Node.js 8
2019-03-12 20:15:36 +07:00
Tom Sherman
de2f4cd606
Deprecate chalk.constructor() in favor of new chalk.Instance() ( #322 )
2019-03-12 19:53:03 +07:00
Richie Bendall
60959e05cf
Update depended packages count
2019-03-01 07:18:47 +01:00
Jonathan Van Buren
7f6e5630b0
Change tagged template literal argument type to accept unknown instead of just string ( #316 )
2018-12-28 12:13:56 +01:00
Sindre Sorhus
587a5fbcbb
Code style tweaks
2018-12-26 03:13:52 +01:00
Chris Harwood
076f0c9eb6
Add extra level/enabled property info in the readme ( #308 )
2018-12-26 02:29:32 +01:00
Sindre Sorhus
1284415013
Enforce chalk.constructor to be called with new in TypeScript
2018-12-26 02:27:57 +01:00
Sindre Sorhus
cf6615647a
Type definition improvements
2018-12-26 02:27:02 +01:00