eggjs-community / generator-eggjs

Yeoman generator for egg
MIT License
3 stars 1 forks source link

fix(deps): update dependency chalk to ^2.0.0 #11

Closed renovate[bot] closed 6 years ago

renovate[bot] commented 6 years ago

This Pull Request updates dependency chalk from ^1.1.3 to ^2.0.0

Release Notes ### [`v2.0.0`](https://github.com/chalk/chalk/releases/v2.0.0) ![version 2](https://user-images.githubusercontent.com/170270/27715287-7c5b1b0e-5d36-11e7-8536-b5cd061d5caf.gif) > Chalk is a [Node.js](https://nodejs.org) module for styling and colorizing terminal output. Two years ago, @​qix- [asked me about adding 256/Truecolor support to Chalk](https://twitter.com/IAmQix/status/613445958777507840). 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](https://github.com/chalk/chalk/releases/tag/v1.0.0) 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`](https://github.com/chalk/has-ansi) package directly instead. https://github.com/chalk/chalk/commit/04cae226cc0fc11fd7898f3fa91fdc4a3b3e496b - Removed `chalk.stripColor()`. Use the [`strip-ansi`](https://github.com/chalk/strip-ansi) package directly instead. https://github.com/chalk/chalk/commit/04cae226cc0fc11fd7898f3fa91fdc4a3b3e496b - Removed `chalk.styles`. Use the [`ansi-styles`](https://github.com/chalk/ansi-styles) package directly instead. https://github.com/chalk/chalk/commit/870249689acc6b04e81e96d2c09c39b76c640a94 ##### 256/Truecolor support ![chalk rainbow](https://user-images.githubusercontent.com/170270/27715291-8106fa38-5d36-11e7-9623-47bfc5e9cca3.gif) Chalk now supports [256 colors and Truecolor (16 million colors)](https://github.com/chalk/chalk#​256-and-truecolor-color-support). Terminal apps like [Hyper](https://hyper.is) and [iTerm](https://www.iterm2.com/) 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.](https://github.com/chalk/chalk#​256-and-truecolor-color-support) https://github.com/chalk/chalk/commit/cb3f2308e17cd2878d2722db7762bdc725e9ff48 ##### Tagged template literal Chalk now ships with a [tagged template literal](http://exploringjs.com/es6/ch_template-literals.html#_tagged-template-literals) that makes it much nicer to create long strings with lots of different styling. ```js const name = 'Sindre'; console.log(chalk`{bold Hello ${name}}`); ``` [Read more in the docs.](https://github.com/chalk/chalk#tagged-template-literal) https://github.com/chalk/chalk/commit/f66271e01a901470a3d5afcb3feae552848ccf0c ##### Other - Added bright color variants. https://github.com/chalk/ansi-styles/commit/d1d855e75b9178700312d4076a42b510c9e0c289 - Fixed a bleed issue on macOS. https://github.com/chalk/chalk/commit/05f87e25e108726ee469aa56cc88fcc160a911ed - Added support for 256 color output on Windows 10 build 10586 or newer. https://github.com/chalk/supports-color/commit/340588ef8225d294d72aea7dd3343287220ed093 #### All changes --- Made with ♥ by [Josh](https://github.com/Qix-), [Sindre], and all our wonderful [contributors](https://github.com/sindresorhus/chalk/graphs/contributors). --- ### [`v2.2.0`](https://github.com/chalk/chalk/releases/v2.2.0) Chalk now comes with TypeScript type definitions built-in. https://github.com/chalk/chalk/commit/f653b061d6fbdb1c7224f7d80476391202c47877 Note: It's incompatible with `@types/chalk` if you're currently using that: `https://github.com/chalk/chalk/issues/215` --- ### [`v2.3.0`](https://github.com/chalk/chalk/releases/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. https://github.com/chalk/chalk/commit/dc092b4a5f5ca77dd1e22607cdf2fdd388803064 - TypeScript type definitions improvements. https://github.com/chalk/chalk/commit/7be154c074026f77b99e7d854b3a4cdd5e4ae502 --- ### [`v2.3.1`](https://github.com/chalk/chalk/releases/v2.3.1) - Calculate proper `level` when forcing color. https://github.com/chalk/supports-color/commit/b16e9a4b9f13b3930e184e2f582b55091216fe47 - Detect 16m color support on Windows >=10.0.14931. https://github.com/chalk/supports-color/commit/cf7bd05b814246e76c7f09bdb8e14a2ee581a2dd --- ### [`v2.3.2`](https://github.com/chalk/chalk/releases/v2.3.2) - Fixed detection of color support for VSCode debug console. https://github.com/chalk/supports-color/commit/b764af94766fd44e8a2ebf690c1c1b2e86d61328 - Fixed detection of 24M colors in Konsole. https://github.com/chalk/supports-color/commit/d6e08c83d0e24241cb7d24206ef8753e839103eb - Fixed using `chalk.ansi256` when in a terminal with 256-color level support. https://github.com/chalk/ansi-styles/commit/1ac7472f8bb4f583299b6d5ef87a383f7b564b4b ---
Commits #### v2.0.0 - [`2653218`](https://github.com/chalk/chalk/commit/2653218312383882256dd2b9217b74bfc4a5dd01) meta tweaks - [`fe2e4b0`](https://github.com/chalk/chalk/commit/fe2e4b093e446b2e7e037476919c113873aba394) update code of conduct - [`6c3e573`](https://github.com/chalk/chalk/commit/6c3e57351bb8b3db20a400745b0ad249e66c3927) test on Node.js 6 - [`a125eb0`](https://github.com/chalk/chalk/commit/a125eb0e726f51a3ad6499831f6edcabcc5411db) OS X → macOS - [`d939a3f`](https://github.com/chalk/chalk/commit/d939a3f9bc70b9f6d265934047e4a191078180b4) fix XO lint issue - [`74c087d`](https://github.com/chalk/chalk/commit/74c087db82e56837a69aa3c2c636ed268b3c75a6) minor doc improvements (#​120) - [`835ca3d`](https://github.com/chalk/chalk/commit/835ca3d9503fa987725bde711b97ca4be2386221) You've just reached 10,000 dependent modules. (#​122) - [`7c02cf4`](https://github.com/chalk/chalk/commit/7c02cf45f80d9c16c1d53496b28c4caeb382a36c) Add log statement to chalk examples (#​129) - [`4ce73b6`](https://github.com/chalk/chalk/commit/4ce73b632b8203227e8966a603f90f7fca7c53a8) make XO happy - [`492f11f`](https://github.com/chalk/chalk/commit/492f11fb597094199c2e1926a73c64b94c759f06) add example file - [`5a69476`](https://github.com/chalk/chalk/commit/5a6947614290da16f513780c56217e925cfab533) add XO badge - [`0d21449`](https://github.com/chalk/chalk/commit/0d2144904b9b5769076106aa67583273e160f801) check parent builder object for enabled status (#​142) - [`9b60021`](https://github.com/chalk/chalk/commit/9b60021fa605a6ebf62fbfd42d02c45597b10e6e) Drop support for Node.js 0.10 and 0.12 - [`dbae68d`](https://github.com/chalk/chalk/commit/dbae68d623270e86300b9e066bf960b42961b820) Update dependent package count in the readme (#​154) - [`cb3f230`](https://github.com/chalk/chalk/commit/cb3f2308e17cd2878d2722db7762bdc725e9ff48) Add RGB (256/Truecolor) support (#​140) - [`249b9ac`](https://github.com/chalk/chalk/commit/249b9ac7e75077de5fc9d8063df35918745e8471) ES2015ify the codebase - [`0412cdf`](https://github.com/chalk/chalk/commit/0412cdf07be9869fcb165d90f1949a805292d41b) Minor code improvements - [`8702496`](https://github.com/chalk/chalk/commit/870249689acc6b04e81e96d2c09c39b76c640a94) Remove `chalk.styles` - [`6f4d6b3`](https://github.com/chalk/chalk/commit/6f4d6b30fba5d207b45e3ee0aff318e08380f1cb) Bump dependencies - [`1d73b21`](https://github.com/chalk/chalk/commit/1d73b211116d95bb4706b66523b59299952e83e5) Improve readme - [`54975fb`](https://github.com/chalk/chalk/commit/54975fb20d54eba20d7c4053fc6be8c475c26852) TEMPORARY: emergency travis CI fix (see comments) - [`523b998`](https://github.com/chalk/chalk/commit/523b998e64cbf1398d6a34138be23f53651597c1) Revert "TEMPORARY: emergency travis CI fix (see comments)" - [`18f2e7c`](https://github.com/chalk/chalk/commit/18f2e7c122690070ea148fbbe846e839fa6a8962) add host information output - [`608242a`](https://github.com/chalk/chalk/commit/608242a4fc05bf187d4bfb33052e94e011d4b30e) spoof supports-color - [`09fb2d8`](https://github.com/chalk/chalk/commit/09fb2d86060e6c46e57a696c5bf682be0245b47b) Re-implement `chalk.enabled` (#​160) - [`c015568`](https://github.com/chalk/chalk/commit/c0155688cf57edb6bee5b97dcc3548f47454e645) add rainbow example - [`23ef1c7`](https://github.com/chalk/chalk/commit/23ef1c7ca2f64f905f0c17edc1b78ebf9def82cd) fix linter errors - [`f66271e`](https://github.com/chalk/chalk/commit/f66271e01a901470a3d5afcb3feae552848ccf0c) Add tagged template literal (#​163) - [`3fca615`](https://github.com/chalk/chalk/commit/3fca6150e23439e783409f5c8f948f767c2ddc5a) 2.0.0 #### v2.0.1 - [`caeb7d8`](https://github.com/chalk/chalk/commit/caeb7d8dca24cc09ade47ea48f762693a4926ed6) fix missing TERM cases - [`5827081`](https://github.com/chalk/chalk/commit/5827081719944a2f903b52a88baeec1ec8581f82) 2.0.1 #### v2.1.0 - [`3d10f8f`](https://github.com/chalk/chalk/commit/3d10f8fad76737fd9443219997d83a24e88dffb0) Code style tweaks - [`5ec90cb`](https://github.com/chalk/chalk/commit/5ec90cb35460008ef7d3adb506ba3ce2cd46672d) Link to v2 release notes - [`8d26c14`](https://github.com/chalk/chalk/commit/8d26c1401cac1b1123e6b82f20f866e1d8756986) Minor meta tweaks - [`23092ee`](https://github.com/chalk/chalk/commit/23092eefd2401f1a41d9fb931ce9091ec2f624c5) add note about brightBlack (ref chalk/ansi-styles#​33) - [`5cdd9ed`](https://github.com/chalk/chalk/commit/5cdd9eddf8d1e53c03b3bb122004786fb90706bf) Demonstrate crash when using Truecolor methods and color is unsupported (#​174) - [`e8d28f3`](https://github.com/chalk/chalk/commit/e8d28f3041251c650ee05b4cdd34a3ff95754d02) Return empty `string` when there are no arguments (#​183) - [`4c4eb1f`](https://github.com/chalk/chalk/commit/4c4eb1fd0aa9efea2b469f130ed01d6891670ac4) Move testing to `ava` (#​182) - [`4c4ba2d`](https://github.com/chalk/chalk/commit/4c4ba2df3d7630fd16f0c49c4b7c923109338807) Fix template literal test - [`7dbd8c3`](https://github.com/chalk/chalk/commit/7dbd8c3993e3b2ccfa0ac0864b8266e43799461b) Add related packages in the readme (#​193) - [`7a75399`](https://github.com/chalk/chalk/commit/7a75399b7263bd68e3bfcded88f6624890aea01f) Add failing template tests - [`fbd17e7`](https://github.com/chalk/chalk/commit/fbd17e7a699e7a7a1d3ebbb0ce4961b5ea172449) Escape backslashes in template arguments (fixes #​177) - [`0827d3b`](https://github.com/chalk/chalk/commit/0827d3b6327dfd5e132589b1308703c9b4e127ef) Fix level when supportsColor returns falsey (fixes #​176, #​175) - [`f0c0178`](https://github.com/chalk/chalk/commit/f0c0178d12c4e0b2b3a3e92afb15dbabb2882b9b) Allow multiple arguments in base chalk object (fixes #​187) - [`106f086`](https://github.com/chalk/chalk/commit/106f086aaf00467b7161f8cec4b6cd255c30169f) Rewrite templating system (closes #​186, fixes #​184) - [`69ac663`](https://github.com/chalk/chalk/commit/69ac663f29e92d309b0b221e117ccb6be4ed4ecd) Fix undefined and null interpolated expressions (fixes #​194) - [`38f641a`](https://github.com/chalk/chalk/commit/38f641a222d7ee0e607e4e5209d3931d2af1e409) v2.1.0 #### v2.2.0 - [`a9f0c77`](https://github.com/chalk/chalk/commit/a9f0c771422b0bae65d3ff1ae4835de416350715) Use a `Map` and some minor regex tweaks - [`37db75e`](https://github.com/chalk/chalk/commit/37db75e1fd6efaabda7e7ba7751d359a34ab75cd) Add related package in the readme - [`7898eda`](https://github.com/chalk/chalk/commit/7898eda561759850852fe63ba0895a49fe5b4b72) Update chalk-pipe description - [`5e6d5fd`](https://github.com/chalk/chalk/commit/5e6d5fda44aa08e24a6b279bc16caf148c28e2db) Add `strip-ansi-stream` to related modules - [`f653b06`](https://github.com/chalk/chalk/commit/f653b061d6fbdb1c7224f7d80476391202c47877) Add TypeScript definitions (#​207) - [`f0533f6`](https://github.com/chalk/chalk/commit/f0533f655d237f04ec1b8744e45de60c42a7bee2) Bump dev dependencies - [`d86db88`](https://github.com/chalk/chalk/commit/d86db88e778fa856f4d6f5f68c588750ca06b822) 2.2.0 #### v2.2.2 - [`4372d27`](https://github.com/chalk/chalk/commit/4372d27f7eb887c4d33cdca1f9484f321ceab3dd) Add Awesome mentioned badge - [`dc092b4`](https://github.com/chalk/chalk/commit/dc092b4a5f5ca77dd1e22607cdf2fdd388803064) Add .visible for emitting text only when enabled (fixes #​192) - [`6adf579`](https://github.com/chalk/chalk/commit/6adf5794a38552923ea474c4b60c372ef0582035) 2.2.1 - [`ede3103`](https://github.com/chalk/chalk/commit/ede310303b9893146bd7cc24261a50e3b47c633a) add failing test for .visible bug - [`e2a4aa4`](https://github.com/chalk/chalk/commit/e2a4aa427568ff1c5d649739c4d1f8319cf0d072) fix .visible when called after .enable is set to false - [`e1177ec`](https://github.com/chalk/chalk/commit/e1177ec3628f6d0d37489c1e1accd2c389a376a8) 2.2.2 #### v2.3.0 - [`7be154c`](https://github.com/chalk/chalk/commit/7be154c074026f77b99e7d854b3a4cdd5e4ae502) TypeScript fixes (#​217) - [`14e0aa9`](https://github.com/chalk/chalk/commit/14e0aa97727019b22f0a003fdc631aeec5e2e24c) 2.3.0 #### v2.3.1 - [`5392313`](https://github.com/chalk/chalk/commit/539231341426d4b3951b062e806123137b452bf7) Correct HSV and HWB examples - [`a8c60e3`](https://github.com/chalk/chalk/commit/a8c60e37fa5fd9024c727e296bd24c37f7d725d1) Fix spelling error in readme (#​232) - [`bc3dd75`](https://github.com/chalk/chalk/commit/bc3dd75329b43eeda3200ac9a161b6e5a9b9dfe3) Update usage stats in the readme (#​242) - [`6554030`](https://github.com/chalk/chalk/commit/655403055099299cc8c5053af970366d0c4c32b7) Use svg screenshot - [`011dd04`](https://github.com/chalk/chalk/commit/011dd0421e14b21a07392b8d9d28ba9e851397b4) Fix usage example in the readme (#​251) - [`678152c`](https://github.com/chalk/chalk/commit/678152cf1952f3afe1e523a306c0413ad57c34b3) Update chalk to use the latest updates to supports-color (#​247) - [`b55dd79`](https://github.com/chalk/chalk/commit/b55dd79f8bbd37725de562ce7422cd3ba8c87c3e) Force bump dependencies - [`ae8a03f`](https://github.com/chalk/chalk/commit/ae8a03f2c5c49896adeb3dd4ec5350e4ab9449a2) 2.3.1 #### v2.3.2 - [`576d8d2`](https://github.com/chalk/chalk/commit/576d8d217179d2e913e29639586204c2c2a76dc3) Update URL to XO - [`12d1276`](https://github.com/chalk/chalk/commit/12d1276b36cc026ecea1bdfe1771198b242f7b1d) Fix linting - [`5282300`](https://github.com/chalk/chalk/commit/52823001a59ea2270c186cb41c36b0e3e0a6da37) Revert "Fix linting" - [`925397a`](https://github.com/chalk/chalk/commit/925397a0f5d7f17605eaabd6ee3bb26d77280d2d) Disable unicorn/no-unsafe-regex for template parser - [`e80f02e`](https://github.com/chalk/chalk/commit/e80f02e2ddae53b897fa2d9751d5d86fae493b45) Disable unicorn/no-hex-escape for template tests - [`245dfa5`](https://github.com/chalk/chalk/commit/245dfa5c6fc4200894fc812eaa4b4159d153e0bb) Bump dependencies - [`84f27d4`](https://github.com/chalk/chalk/commit/84f27d4bd86f7f482a32652ae536cd996ad204bd) 2.3.2

This PR has been generated by Renovate Bot.