254 Commits

Author SHA1 Message Date
DABH
baa0e1c7dc update roadmap v1.4.0 2019-09-22 16:45:29 -07:00
DABH
56de9f0983 Add bright/light colors, closes #128 2019-09-22 16:36:30 -07:00
DABH
b4d964b514 Make stylize() work for non-ASCI styles (#155) 2019-09-22 16:27:58 -07:00
Jacob
a1407aee04 Document colors.enable() and .disable() (#255)
Resolves #251 requesting documentation for the enable/disable functions. This documents them in the readme. My explanation doesn't really fit the tone of the rest of the readme, so I'm open to changing the wording
2019-09-22 16:12:39 -07:00
DABH
acb7f66738 Merge branch 'develop' of github.com:Marak/colors.js into develop 2019-09-22 16:11:04 -07:00
DABH
9bfb136eec more node versions 2019-09-22 16:10:58 -07:00
Josh Weinstein
5d9eb90263 Fixed: throws non-intuitive error on color.red(null) but not on colors.red(undefined) (#261) 2019-09-22 16:10:31 -07:00
Vladimir Boretskyi
aa012aab59 Redo weak equality check so we can colorize null in safe mode (#257) 2019-09-22 16:04:21 -07:00
DABH
b63ef88e52 Update roadmap, update packages, and lint v1.3.3 2018-12-09 17:34:27 -08:00
DABH
f487e8ebad Fix #244 and #248 2018-12-09 17:28:46 -08:00
DABH
2631877f88 update roadmap and bump version -- 1.3.1 release v1.3.1 2018-07-22 15:04:17 -07:00
DABH
2ff363d261 upgrade dev deps 2018-07-22 14:44:06 -07:00
DABH
ba56f52c62
Merge pull request #232 from ALE-Rainbow/master
Fix #180 - Custom with multi attr failure
2018-07-22 14:29:06 -07:00
DABH
21abbcbae5
Merge pull request #236 from Marak/solve-circular-refs
Solve circular refs
2018-07-22 14:27:01 -07:00
DABH
c76ec61860 spaces v tabs 2018-07-22 14:19:05 -07:00
DABH
3492add94b Update safe mode examples to avoid deprecated setTheme syntax 2018-07-22 14:17:35 -07:00
pii
cfef595ebb solving circular references 2018-07-22 13:45:45 -07:00
pii
f35d715e04 solving circular references 2018-07-22 13:43:20 -07:00
Vincent Bailleau
a98deca85f Add tests for custom entries with multiple values 2018-06-25 22:30:44 +02:00
zucher
dee3ab0494
Fix #180 - Custom with multi attr failure
Fix #180 - Themes can have multiple attributes - but not in safe mode
2018-06-25 14:37:45 +02:00
DABH
7aa37ffe71 Preserve multiple consecutive newlines when applying style (closes #231) 2018-06-24 22:54:09 -07:00
DABH
fa147da91b Make Travis happy, upgrade dev dependencies 2018-06-24 22:25:58 -07:00
DABH
2894751d40 Remove another dynamic require and add similar deprecation notice v1.3.0 2018-05-20 15:08:12 -07:00
DABH
a8ce90c51c Add edge case handling for undefined styles v1.2.5 2018-05-10 23:05:45 -07:00
DABH
7f146faff3 replace ternary with if/else 2018-05-04 18:18:27 -07:00
DABH
32906a23ad Merge develop 2018-05-04 17:55:31 -07:00
DABH
42ed947036 v1.2.4 v1.2.4 2018-05-04 17:54:13 -07:00
DABH
855e342c9e arg is a String object not a string literal (fixes #226) 2018-05-04 17:53:43 -07:00
DABH
ffeba270e8 fix 2018-05-02 18:44:17 -07:00
DABH
ab42ad9d84 only run eslint with newer node versions 2018-05-02 12:28:19 -07:00
DABH
1e0c77cb87
Merge pull request #224 from Marak/develop
v1.2.3
2018-04-30 15:11:19 -07:00
DABH
64a2ea2510 update roadmap v1.2.3 2018-04-30 15:09:10 -07:00
DABH
05129e7811 Revert dummy commit 2018-04-30 15:07:19 -07:00
DABH
5a6010982a Test bad lint commit 2018-04-30 15:01:59 -07:00
DABH
449ba5b3c8 Add Node 10 to CI 2018-04-30 15:00:48 -07:00
DABH
5aebc674d8 Add ESLint and lint all files; add lint check to CI 2018-04-30 14:59:34 -07:00
DABH
97cc55e8ed
Merge pull request #223 from Marak/develop
v1.2.2 Release
2018-04-30 11:41:50 -07:00
DABH
f35a3325b0 bump version 1.2.2 v1.2.2 2018-04-30 11:36:25 -07:00
DABH
410397a5fb style nits 2018-04-30 11:32:50 -07:00
DABH
c13ff984bb
Merge pull request #220 from streaka/master
Add multiline handling functionality
2018-04-30 11:26:37 -07:00
Josh Pike
118cb0a9ec used older syntax for tests for old node versions 2018-04-26 15:59:18 +07:00
Josh Pike
dfe6290c88 Merge branch 'master' of https://github.com/streaka/colors.js 2018-04-26 15:54:24 +07:00
Josh Pike
21448e0e9c improved tests to handle newlines 2018-04-26 15:54:22 +07:00
DABH
0a5a26c5e8
style nits 2018-04-23 15:41:19 -07:00
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
DABH
89a14420c7
Merge pull request #222 from bcaudan/expose-enable-disable-methods
Expose enable/disable methods
2018-04-10 12:50:19 -07:00