Bump packages to fix linter

This commit is contained in:
Henry Mercer 2023-01-18 20:50:03 +00:00
parent ed9506bbaf
commit 0a11e3fdd9
6063 changed files with 378752 additions and 306784 deletions

16
node_modules/ava/lib/cli.js generated vendored
View file

@ -5,10 +5,10 @@ import process from 'node:process';
import arrify from 'arrify';
import ciParallelVars from 'ci-parallel-vars';
import del from 'del';
import {deleteAsync} from 'del';
import figures from 'figures';
import yargs from 'yargs';
import {hideBin} from 'yargs/helpers'; // eslint-disable-line node/file-extension-in-import
import {hideBin} from 'yargs/helpers'; // eslint-disable-line n/file-extension-in-import
import Api from './api.js';
import {chalk} from './chalk.js';
@ -124,7 +124,7 @@ export default async function loadCli() { // eslint-disable-line complexity
// run AVA with the debug command, though it's allowed.
let activeInspector = false;
try {
const {default: inspector} = await import('node:inspector'); // eslint-disable-line node/no-unsupported-features/es-syntax
const {default: inspector} = await import('node:inspector');
activeInspector = inspector.url() !== undefined;
} catch {}
@ -242,16 +242,16 @@ export default async function loadCli() { // eslint-disable-line complexity
const chalkOptions = {level: 0};
if (combined.color !== false) {
const {supportsColor: {level}} = await import('chalk'); // eslint-disable-line node/no-unsupported-features/es-syntax, unicorn/import-style
const {supportsColor: {level}} = await import('chalk'); // eslint-disable-line unicorn/import-style
chalkOptions.level = level;
}
const {set: setChalk} = await import('./chalk.js'); // eslint-disable-line node/no-unsupported-features/es-syntax
const {set: setChalk} = await import('./chalk.js');
setChalk(chalkOptions);
if (confError) {
if (confError.parent) {
exit(`${confError.message}\n\n${chalk.gray((confError.parent && confError.parent.stack) || confError.parent)}`);
if (confError.cause) {
exit(`${confError.message}\n\n${chalk.gray(confError.cause?.stack ?? confError.cause)}`);
} else {
exit(confError.message);
}
@ -262,7 +262,7 @@ export default async function loadCli() { // eslint-disable-line complexity
const cacheDir = path.join(projectDir, 'node_modules', '.cache', 'ava');
try {
const deletedFilePaths = await del('*', {cwd: cacheDir});
const deletedFilePaths = await deleteAsync('*', {cwd: cacheDir});
if (deletedFilePaths.length === 0) {
console.log(`\n${chalk.green(figures.tick)} No cache files to remove`);