Skip to content

Commit

Permalink
2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jbnicolai committed Feb 21, 2016
1 parent fe7071c commit 7450295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ansi-styles",
"version": "2.1.0",
"version": "2.2.0",
"description": "ANSI escape codes for styling strings in the terminal",
"license": "MIT",
"repository": "chalk/ansi-styles",
Expand Down

2 comments on commit 7450295

@atticoos
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A heads up that this version introduced some breaking changes, example

import ansi from 'ansi-styles';

console.log(`${ansi.colors.red.open}hello world${ansi.colors.red.close}`)

No longer works, with the result of

undefined is not an object (evaluating _ansiStyles2.default.colors.red)

@Qix-
Copy link
Member

@Qix- Qix- commented on 7450295 Mar 28, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ajwhite Hi! Could you open an issue?

Please sign in to comment.