Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update chalk to the latest version 🚀 #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Jun 30, 2017

Version 2.0.0 of chalk just got published.

Dependency chalk
Current Version 1.1.3
Type dependency

The version 2.0.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of chalk.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes 2.0.0

version 2

Chalk is a Node.js module for styling and colorizing terminal output.

Two years ago, @Qix- asked me about adding 256/Truecolor support to Chalk. He soon after joined the Chalk team. And now we’re finally able to ship Truecolor support in Chalk!

Chalk has had an immense growth since the 1.0.0 release in 2015. It's now trusted by more than 17.000 packages, up from 3000, and it's the 5th most depended upon package on npm.

Highlights

Breaking changes

  • Requires Node.js 4 or later.
  • Removed chalk.hasColor(). Use the has-ansi package directly instead. 04cae22
  • Removed chalk.stripColor(). Use the strip-ansi package directly instead. 04cae22
  • Removed chalk.styles. Use the ansi-styles package directly instead. 8702496

256/Truecolor support

chalk rainbow

Chalk now supports 256 colors and Truecolor (16 million colors). Terminal apps like Hyper and iTerm supports Truecolor, enabling you to create really immersive CLI experiences. Chalk is smart enough to downsample the colors to whatever the terminal supports, so you can use any colors without having to think whether it's supported or not.

Read more in the docs.

cb3f230

Tagged template literal

Chalk now ships with a tagged template literal that makes it much nicer to create long strings with lots of different styling.

const name = 'Sindre';
console.log(chalk`{bold Hello ${name}}`);

Read more in the docs.

f66271e

Other

All changes

v1.1.3...v2.0.0


Made with ♥ by Josh, Sindre, and all our wonderful contributors.

Commits

The new version differs by 53 commits ahead by 53, behind by 1.

  • 3fca615 2.0.0
  • f66271e Add tagged template literal (#163)
  • 23ef1c7 fix linter errors
  • c015568 add rainbow example
  • 09fb2d8 Re-implement chalk.enabled (#160)
  • 608242a spoof supports-color
  • 18f2e7c add host information output
  • 523b998 Revert "TEMPORARY: emergency travis CI fix (see comments)"
  • 54975fb TEMPORARY: emergency travis CI fix (see comments)
  • 1d73b21 Improve readme
  • 6f4d6b3 Bump dependencies
  • 8702496 Remove chalk.styles
  • 0412cdf Minor code improvements
  • 249b9ac ES2015ify the codebase
  • cb3f230 Add RGB (256/Truecolor) support (#140)

There are 53 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

@codecov
Copy link

codecov bot commented Jun 30, 2017

Codecov Report

Merging #85 into master will decrease coverage by 0.49%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #85     +/-   ##
=========================================
- Coverage    12.8%   12.31%   -0.5%     
=========================================
  Files          40       40             
  Lines        1015     1015             
=========================================
- Hits          130      125      -5     
- Misses        885      890      +5
Impacted Files Coverage Δ
src/commands/index.js 75.75% <0%> (-15.16%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe5bfde...d9e96c0. Read the comment docs.

@codecov
Copy link

codecov bot commented Jun 30, 2017

Codecov Report

Merging #85 into master will decrease coverage by 0.49%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #85     +/-   ##
=========================================
- Coverage    12.8%   12.31%   -0.5%     
=========================================
  Files          40       40             
  Lines        1015     1015             
=========================================
- Hits          130      125      -5     
- Misses        885      890      +5
Impacted Files Coverage Δ
src/commands/index.js 75.75% <0%> (-15.16%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe5bfde...d9e96c0. Read the comment docs.

greenkeeper bot added a commit that referenced this pull request Jun 30, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 30, 2017

Version 2.0.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 2 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 7, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Aug 7, 2017

Version 2.1.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 16 commits.

  • 38f641a v2.1.0
  • 69ac663 Fix undefined and null interpolated expressions (fixes #194)
  • 106f086 Rewrite templating system (closes #186, fixes #184)
  • f0c0178 Allow multiple arguments in base chalk object (fixes #187)
  • 0827d3b Fix level when supportsColor returns falsey (fixes #176, #175)
  • fbd17e7 Escape backslashes in template arguments (fixes #177)
  • 7a75399 Add failing template tests
  • 7dbd8c3 Add related packages in the readme (#193)
  • 4c4ba2d Fix template literal test
  • 4c4eb1f Move testing to ava (#182)
  • e8d28f3 Return empty string when there are no arguments (#183)
  • 5cdd9ed Demonstrate crash when using Truecolor methods and color is unsupported (#174)
  • 23092ee add note about brightBlack (ref chalk/ansi-styles#33)
  • 8d26c14 Minor meta tweaks
  • 5ec90cb Link to v2 release notes

There are 16 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 18, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 18, 2017

Version 2.2.0 just got published.

Update to this version instead 🚀

Release Notes v2.2.0

Chalk now comes with TypeScript type definitions built-in. f653b06

v2.1.0...v2.2.0

Commits

The new version differs by 7 commits.

  • d86db88 2.2.0
  • f0533f6 Bump dev dependencies
  • f653b06 Add TypeScript definitions (#207)
  • 5e6d5fd Add strip-ansi-stream to related modules
  • 7898eda Update chalk-pipe description
  • 37db75e Add related package in the readme
  • a9f0c77 Use a Map and some minor regex tweaks

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 24, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 24, 2017

Version 2.2.2 just got published.

Update to this version instead 🚀

Commits

The new version differs by 6 commits.

  • e1177ec 2.2.2
  • e2a4aa4 fix .visible when called after .enable is set to false
  • ede3103 add failing test for .visible bug
  • 6adf579 2.2.1
  • dc092b4 Add .visible for emitting text only when enabled (fixes #192)
  • 4372d27 Add Awesome mentioned badge

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 24, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 24, 2017

Version 2.3.0 just got published.

Update to this version instead 🚀

Release Notes v2.3.0
  • Added a .visible() method for emitting text only when Chalk is enabled. This can be useful for purely cosmetic content that shouldn't be shown when there are no colors, like when piping the output. dc092b4
  • TypeScript type definitions improvements. 7be154c

v2.2.0...v2.3.0

Commits

The new version differs by 2 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 11, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 11, 2018

Version 2.3.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 8 commits.

  • ae8a03f 2.3.1
  • b55dd79 Force bump dependencies
  • 678152c Update chalk to use the latest updates to supports-color (#247)
  • 011dd04 Fix usage example in the readme (#251)
  • 6554030 Use svg screenshot
  • bc3dd75 Update usage stats in the readme (#242)
  • a8c60e3 Fix spelling error in readme (#232)
  • 5392313 Correct HSV and HWB examples

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 2, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 2, 2018

Version 2.3.2 just got published.

Update to this version instead 🚀

Release Notes v2.3.2

v2.3.1...v2.3.2

Commits

The new version differs by 7 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Apr 17, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 17, 2018

Version 2.4.0 just got published.

Update to this version instead 🚀

Release Notes v2.4.0
  • Added Flow type definitions. 7c6f83f

v2.3.2...v2.4.0

Commits

The new version differs by 4 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jan 6, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 6, 2019

  • The dependency chalk was updated from 1.1.3 to 2.4.2.

Update to this version instead 🚀

Release Notes for v2.4.2

This release is done from the v2-release branch, as master branch targets the work-in-progress v3 release.

Commits

The new version differs by 5 commits.

  • 9776a2a 2.4.2
  • f95d9ec Strict mode in Flow definition (#309)
  • 48ba5b0 2.4.1
  • 01cfb5c Improve Flow type definition for CommonJS interop (#268)
  • fc9a7e3 GitHub now natively supports SVG

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 9, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Nov 9, 2019

  • The dependency chalk was updated from 1.1.3 to 3.0.0.

Update to this version instead 🚀

Commits

The new version differs by 52 commits ahead by 52, behind by 2.

  • 20002d8 3.0.0
  • b393018 Meta tweaks
  • 18c280d Add ansi and bgAnsi to TypeScript declaration (#369)
  • 628b595 Tidelift tasks
  • 4de1841 3.0.0-beta.2
  • fb8e85a Add ansi256 and bgAnsi256 to TypeScript declarations (#368)
  • eef8c8c Replace level list with table in readme.md (#367)
  • 48905d0 3.0.0-beta.1
  • 1953816 Update dependencies
  • 61aca7c Improve require speed (#358)
  • 4e65299 Fix const enum for TypeScript (#364)
  • 2a53389 Add chalk.stderr (#359)
  • 6b4d206 Export TypeScript types for colors and modifiers (#357)
  • 1f77953 Remove the .enabled property in favor of .level (#356)
  • 87156ce Fix support for nested styles (#335)

There are 52 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Apr 2, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 2, 2020

  • The dependency chalk was updated from 1.1.3 to 4.0.0.

Update to this version instead 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants