46 Commits

Author SHA1 Message Date
Josh Pike
9aebcadf1b Merge branch 'master' of https://github.com/streaka/colors.js 2018-04-23 17:11:02 +07:00
Josh Pike
373be07fab Performance related tweaks 2018-04-23 17:10:59 +07:00
DABH
c067109a29
rm blank line 2018-04-15 22:18:32 -07:00
Josh Pike
5fe02b870b fixed compatibility issues with node <=5 2018-04-16 12:08:00 +07:00
Josh Pike
01bb5cf845 fixed spacing, condensed line replacement call 2018-04-16 12:02:15 +07:00
Josh Pike
00ee8f1ecd
Fixed typo 2018-04-03 13:45:37 +07:00
Josh Pike
e020f97ea9
Fixed test case
Test failed because /n was appended even when line count was 1
2018-04-03 13:42:53 +07:00
Josh Pike
172098b1f5
Add multiline handling functionality
Allows multiline logs to have each line styled properly.
2018-04-03 13:35:15 +07:00
DABH
5c84a86797
Merge pull request #203 from jpap/settheme-webpack-warning
Remove setTheme dynamic require(...) that is problematic with webpack
2018-02-16 14:38:45 -08:00
DABH
0da00b2e32
Update colors.js
Setting a theme using a dynamic require is bad practice and causes lots of problems.  In case anyone is using that "feature," though, we return a warning that very explicitly tells them the (very simple) change they need to make to their code.
2018-02-16 14:32:59 -08:00
DABH
1d7180a8a1 better way to call updated supportsColor 2018-02-16 14:17:42 -08:00
paladox
fccafd2ad8
Update has-flag.js 2018-02-14 02:17:48 +00:00
paladox
24ab40b4ad
Update has-flag.js 2018-02-14 02:12:04 +00:00
paladox
e90c3c5088
Update supports-colors.js 2018-02-14 02:11:16 +00:00
paladox
fdd9b55cd1
Update has-flag.js 2018-02-14 01:10:20 +00:00
paladox
007f4d1cd5
Update supports-colors.js 2018-02-14 01:09:26 +00:00
paladox
2c38a68a7c
Update supports-colors.js 2018-02-14 01:02:05 +00:00
paladox
493733638d
Update supports-colors.js 2018-02-14 00:58:15 +00:00
paladox
a0bb404163
Update has-flag.js 2018-02-14 00:54:30 +00:00
paladox
f7227f2e87
Update has-flag.js 2018-02-14 00:51:51 +00:00
paladox
8d1da39bb4
Update has-flag.js 2018-02-14 00:48:12 +00:00
paladox
2dc605c8cd
Update supports-colors.js 2018-02-14 00:47:45 +00:00
paladox
2b739138b3
Update supports-colors.js 2018-02-14 00:35:35 +00:00
paladox
431627771e
Create has-flag.js 2018-02-14 00:35:13 +00:00
paladox
93dd9c7730
Merge branch 'develop' into patch-4 2018-02-14 00:28:13 +00:00
paladox
7bf2511fb3
Update supports-colors.js 2018-02-14 00:26:25 +00:00
paladox
4dbe3933ed
Update supports-colors.js 2018-02-14 00:25:47 +00:00
John Papandriopoulos
c018e0b1fb Remove setTheme dynamic require(...) that is problematic with webpack 2017-09-29 15:49:30 -07:00
Osman Mesut OZCAN
511aa7f822 Update stringPrototypeBlacklist object
stringPrototypeBlacklist is updated according to ES6
String.prototype.repeat() method
2017-01-31 18:17:11 +08:00
Osman Mesut Ozcan
7e1e601ddc Update stringPrototypeBlacklist object
stringPrototypeBlacklist is updated according to ES6
String.prototype.repeat() method.
2017-01-31 17:52:50 +08:00
paladox
c74f2c3088 Update supports-colors.js 2016-09-22 16:24:11 +01:00
Marak
81981ae7c6 [fix] In-proper scope reference. Closes #124 2015-06-17 14:49:52 +02:00
Pavan Kumar Sunkara
e64daad776 Merge pull request #98 from jennings/zalgo-options
Use the options when summoning Zalgo
2015-01-27 11:12:36 +05:30
Pavan Kumar Sunkara
13dd5a84e3 Revert "Reverted to the latest tag"
This reverts commit 1f617ecdc56d0e9592526326ca12deb2c15d7803.
2015-01-24 16:55:56 +01:00
Pavan Kumar Sunkara
1f617ecdc5 Reverted to the latest tag 2015-01-24 16:54:45 +01:00
Pavan Kumar Sunkara
b34d3ba66a Merge pull request #103 from konsumer/master
Multiple styles in themes
2015-01-24 16:43:06 +01:00
Alex Yursha
ddf2f8769e Get rid of redundant variable 2015-01-24 14:15:51 +01:00
xiangshouding
1774321751 add an blank line 2015-01-23 21:59:24 +08:00
David Konsumer
c11d23d96a resolves #72 2015-01-20 17:03:46 -08:00
Stephen Jennings
cbbb12442b Fix some Zalgo typos 2014-12-30 20:24:24 -08:00
Stephen Jennings
9e0ecb6bdc Use the options when summoning Zalgo 2014-12-30 14:57:02 -08:00
xiangshouding
f6ebbfe14c fix --no-color is not work 2014-12-16 16:17:42 +08:00
Marak
8046bf032c [fix] #87 Add stripColors method for backwards compat 2014-10-09 11:56:30 +02:00
Marak
6a6353f9cd [fix] Map themes to safe api even if module is being used in normal mode #82 2014-10-01 18:06:04 +02:00
Marak
936cf564be [minor] [fix] Add defaults for .trap and .zalgo. .random now using correct api. Update docs and screenshot. 2014-10-01 13:00:33 +02:00
Marak
dfb15b5538 [refactor] [major] Code cleanup. Node has changed a bit since 2010.
[api] Added ability to safely require colors without messing with String.prototype
[api] Removed browser functionality
[dist] Add travis file
2014-09-30 22:41:24 +02:00