forked from orbit-oss/chalk
Upgrade dependencies
This commit is contained in:
parent
09fd5c4ba8
commit
d7c4aac07e
2 changed files with 8 additions and 8 deletions
12
package.json
12
package.json
|
|
@ -48,14 +48,14 @@
|
|||
"ava": "^3.15.0",
|
||||
"color-convert": "^2.0.1",
|
||||
"coveralls": "^3.1.1",
|
||||
"execa": "^5.1.1",
|
||||
"log-update": "^4.0.0",
|
||||
"execa": "^6.0.0",
|
||||
"log-update": "^5.0.0",
|
||||
"matcha": "^0.7.0",
|
||||
"nyc": "^15.1.0",
|
||||
"tsd": "^0.17.0",
|
||||
"typescript": "^4.3.5",
|
||||
"xo": "^0.46.4",
|
||||
"yoctodelay": "^1.2.0"
|
||||
"tsd": "^0.19.0",
|
||||
"typescript": "^4.5.2",
|
||||
"xo": "^0.47.0",
|
||||
"yoctodelay": "^2.0.0"
|
||||
},
|
||||
"types": "./source/index.d.ts",
|
||||
"xo": {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import {fileURLToPath} from 'node:url';
|
||||
import test from 'ava';
|
||||
import execa from 'execa';
|
||||
import {execaNode} from 'execa';
|
||||
import chalk from '../source/index.js';
|
||||
|
||||
chalk.level = 1;
|
||||
|
|
@ -38,6 +38,6 @@ test('propagate enable/disable changes from child colors', t => {
|
|||
});
|
||||
|
||||
test('disable colors if they are not supported', async t => {
|
||||
const {stdout} = await execa.node(fileURLToPath(new URL('./_fixture.js', import.meta.url)));
|
||||
const {stdout} = await execaNode(fileURLToPath(new URL('./_fixture.js', import.meta.url)));
|
||||
t.is(stdout, 'testout testerr');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue