Skip to content

Commit 0ff29cc

Browse files
committed
Upgrade dependencies
1 parent 03b1cdf commit 0ff29cc

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import ansiStyles from 'ansi-styles';
44

55
const ESCAPES = new Set([
66
'\u001B',
7-
'\u009B'
7+
'\u009B',
88
]);
99

1010
const END_CODE = 39;

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@
4949
"text"
5050
],
5151
"dependencies": {
52-
"ansi-styles": "^6.0.0",
53-
"string-width": "^5.0.0",
54-
"strip-ansi": "^7.0.0"
52+
"ansi-styles": "^6.1.0",
53+
"string-width": "^5.0.1",
54+
"strip-ansi": "^7.0.1"
5555
},
5656
"devDependencies": {
5757
"ava": "^3.15.0",
58-
"chalk": "^4.1.0",
59-
"coveralls": "^3.1.0",
60-
"has-ansi": "^5.0.0",
58+
"chalk": "^4.1.2",
59+
"coveralls": "^3.1.1",
60+
"has-ansi": "^5.0.1",
6161
"nyc": "^15.1.0",
62-
"xo": "^0.38.2"
62+
"xo": "^0.44.0"
6363
}
6464
}

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test('does not break strings longer than "cols" characters', t => {
3232
const result = wrapAnsi(fixture, 5, {hard: false});
3333

3434
t.is(result, 'The\nquick\nbrown\n\u001B[31mfox\u001B[39m\n\u001B[31mjumped\u001B[39m\n\u001B[31mover\u001B[39m\n\u001B[31m\u001B[39mthe\nlazy\n\u001B[32mdog\u001B[39m\n\u001B[32mand\u001B[39m\n\u001B[32mthen\u001B[39m\n\u001B[32mran\u001B[39m\n\u001B[32maway\u001B[39m\n\u001B[32mwith\u001B[39m\n\u001B[32mthe\u001B[39m\n\u001B[32municorn.\u001B[39m');
35-
t.true(stripAnsi(result).split('\n').filter(line => line.length > 5).length > 0);
35+
t.true(stripAnsi(result).split('\n').some(line => line.length > 5));
3636
});
3737

3838
test('handles colored string that wraps on to multiple lines', t => {

0 commit comments

Comments
 (0)