Skip to content

Commit 17c3b4e

Browse files
committedMay 2, 2020
Update dependencies per "npm audit": ava.
1 parent 8d3774f commit 17c3b4e

File tree

3 files changed

+490
-1168
lines changed

3 files changed

+490
-1168
lines changed
 

‎package-lock.json

+484-1,162
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"rc": "~1.2.7"
5353
},
5454
"devDependencies": {
55-
"ava": "^2.2.0",
55+
"ava": "^3.8.1",
5656
"execa": "^2.0.4",
5757
"husky": "^3.0.4",
5858
"tap-growl": "^3.0.0",

‎test/test.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use strict';
22

3-
import fs from 'fs';
4-
import path from 'path';
5-
import test from 'ava';
6-
import execa from 'execa';
3+
const fs = require('fs');
4+
const path = require('path');
5+
const test = require('ava');
6+
const execa = require('execa');
77

88
const errorPattern = /(\.md|\.markdown|\.mdf|stdin):\d+(:\d+)? MD\d{3}/gm;
99

@@ -353,7 +353,7 @@ test('--output with invalid path fails', async t => {
353353
} catch (error) {
354354
t.is(error.stdout, '');
355355
t.is(error.stderr.replace(/: ENOENT[^]*$/, ''), 'Cannot write to output file ' + output);
356-
t.throws(() => fs.accessSync(output, 'utf8'), Error);
356+
t.throws(() => fs.accessSync(output, 'utf8'));
357357
}
358358
});
359359

0 commit comments

Comments
 (0)
Please sign in to comment.