From d7c4aac07e422c8ae534897b3f1707aa71a51c73 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 26 Nov 2021 16:00:01 +0700 Subject: [PATCH] Upgrade dependencies --- package.json | 12 ++++++------ test/level.js | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 703426b..412fdad 100644 --- a/package.json +++ b/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": { diff --git a/test/level.js b/test/level.js index 5fed269..f8efeba 100644 --- a/test/level.js +++ b/test/level.js @@ -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'); });