-
Notifications
You must be signed in to change notification settings - Fork 2
Depend on versions of colors that are compatible #2
Conversation
colors.js recently released version 1.0.0, which breaks how colors-tmpl uses it.
Depend on versions of colors that are compatible
thanks @misterdjules, n00b move there on my part |
@rvagg No problem, thank you for merging this! |
The versions should always be compatible. What broke? Did you try updating to latest version? v1.0.0 had a bug in it. |
@Marak Here's how colors-tmpl uses colors.js: https://github.com/rvagg/colors-tmpl/blob/master/colors-tmpl.js. It seems to me that it relies on implementation details, which is why it broke with latest colors.js versions. |
@misterdjules - Did you try with colors |
@Marak Yes, I tried with several versions of colors.js. Here's the output from the tests when using colors.js@1.0.2:
You can see that a lot of tests fail. When using colors.js@0.6.2, all tests pass:
|
Fixed, upgraded to colors@1 and released as colors-tmpl@1.0.0. It was simply because we were using |
@rvagg Thanks! |
colors.js recently released version 1.0.0, which breaks how colors-tmpl
uses it.