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
Sindre Sorhus
4726b1bfda
Update dependencies and meta tweaks
2018-12-26 02:18:40 +01:00
George Gkasdrogkas
90c7a92ff1
Add docs comments and tests for TypeScript definitions ( #299 )
...
Fixes #293
2018-12-26 02:06:00 +01:00
Sindre Sorhus
f590a65489
Add security section
2018-12-25 14:45:17 +01:00
Timothy Yung
70bb378e8e
Strict mode in Flow definition ( #309 )
2018-11-30 11:34:09 +07:00
Atif Aziz
b827cb0817
Fix ignore chars regex flags in rainbow example ( #306 )
...
Use global matches rather than stopping after the first match.
2018-10-27 21:09:54 +07:00
Sindre Sorhus
1542c85f1b
Replace RawGit URL
...
Fixes #305
2018-10-13 12:32:09 +07:00
Sindre Sorhus
8a090d7885
Add Tidelift mention in the readme
2018-09-30 01:41:55 +07:00
Paul Melnikow
b9c95dbfd2
Add type definitions badge ( #286 )
2018-09-19 02:20:53 +07:00
Chris Harwood
6a14c58e54
Add failing test for #234 ( #235 )
2018-09-18 15:48:47 +07:00
Sindre Sorhus
2a678789b1
Validate the level option
...
Fixes #248
2018-09-18 15:33:20 +07:00
Sindre Sorhus
0307f263cb
Require Node.js 6
2018-09-18 14:32:14 +07:00
Sindre Sorhus
70f22d87ba
Tiny travis.yml tweak
2018-09-01 02:50:53 +07:00
Sindre Sorhus
a2b5fa22dc
Add some badges to the readme
2018-08-06 15:53:00 +07:00
Sindre Sorhus
a6ad945452
Fix XO linting and update some dev dependencies
...
Fixes #275
2018-05-28 09:16:44 +07:00
Sindre Sorhus
48ba5b0b9b
2.4.1
2018-04-26 12:15:49 +07:00
Jamie
01cfb5c888
Improve Flow type definition for CommonJS interop ( #268 )
2018-04-26 12:14:22 +07:00
Sindre Sorhus
fc9a7e369b
GitHub now natively supports SVG
2018-04-20 13:42:59 +07:00
Sindre Sorhus
af8b3657e9
2.4.0
2018-04-17 11:28:35 +07:00
Saad Quadri
7c6f83f719
Add Flow type definitions ( #260 )
2018-04-17 11:26:17 +07:00
Sindre Sorhus
58483b5ab1
Add a related package to the readme
2018-04-05 00:43:46 +07:00
Sindre Sorhus
0dae4c28e1
Add Patreon badge
2018-04-02 14:35:53 +07:00
Sindre Sorhus
84f27d4bd8
2.3.2
2018-03-03 00:43:48 +07:00
Sindre Sorhus
245dfa5c6f
Bump dependencies
...
Closes #255
Fixes #254
Fixes #224
2018-03-03 00:42:56 +07:00
Josh Junon
e80f02e2dd
Disable unicorn/no-hex-escape for template tests
2018-02-14 18:30:52 -08:00
Josh Junon
925397a0f5
Disable unicorn/no-unsafe-regex for template parser
2018-02-14 18:30:50 -08:00
Josh Junon
52823001a5
Revert "Fix linting"
...
This reverts commit 12d1276b36 .
2018-02-14 18:28:22 -08:00
Sindre Sorhus
12d1276b36
Fix linting
2018-02-15 00:41:45 +07:00