Skip to content

Commit f2eaa2e

Browse files
committedJul 15, 2021
Update dependencies
1 parent a45076c commit f2eaa2e

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed
 

‎lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import stream from 'stream'
2-
import engine from 'unified-engine'
32
import chalk from 'chalk'
43
import chokidar from 'chokidar'
4+
import {engine} from 'unified-engine'
55
import {options} from './options.js'
66

77
const noop = Function.prototype

‎lib/options.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import table from 'text-table'
22
import camelcase from 'camelcase'
33
import minimist from 'minimist'
44
import json5 from 'json5'
5-
import fault from 'fault'
5+
import {fault} from 'fault'
66
import {schema} from './schema.js'
77

88
const own = {}.hasOwnProperty

‎package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,29 @@
3030
"index.js"
3131
],
3232
"dependencies": {
33-
"camelcase": "^5.0.0",
34-
"chalk": "^3.0.0",
33+
"camelcase": "^6.0.0",
34+
"chalk": "^4.0.0",
3535
"chokidar": "^3.0.0",
36-
"fault": "^1.0.2",
36+
"fault": "^2.0.0",
3737
"json5": "^2.0.0",
3838
"minimist": "^1.2.0",
3939
"text-table": "^0.2.0",
40-
"unified-engine": "^8.0.0"
40+
"unified-engine": "^9.0.0"
4141
},
4242
"devDependencies": {
43-
"bail": "^1.0.0",
43+
"bail": "^2.0.0",
4444
"c8": "^7.0.0",
4545
"execa": "^5.0.0",
46-
"figures": "^3.0.0",
46+
"figures": "^4.0.0",
4747
"prettier": "^2.0.0",
4848
"remark": "^13.0.0",
4949
"remark-cli": "^9.0.0",
5050
"remark-preset-wooorm": "^8.0.0",
51-
"strip-ansi": "^6.0.0",
51+
"strip-ansi": "^7.0.0",
5252
"tape": "^5.0.0",
5353
"touch": "^3.0.0",
5454
"unified": "^9.0.0",
55-
"vfile-reporter-json": "^2.0.0",
55+
"vfile-reporter-json": "^3.0.0",
5656
"xo": "^0.39.0"
5757
},
5858
"scripts": {

‎test/index.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from 'fs'
22
import path from 'path'
33
import execa from 'execa'
4-
import bail from 'bail'
4+
import {bail} from 'bail'
55
import test from 'tape'
66
import strip from 'strip-ansi'
77
import figures from 'figures'
@@ -374,7 +374,7 @@ test('unified-args', (t) => {
374374

375375
t.plan(1)
376376

377-
execa(bin, ['one.txt', flag, './plugin']).then(onsuccess, t.fail)
377+
execa(bin, ['one.txt', flag, './plugin.js']).then(onsuccess, t.fail)
378378

379379
function onsuccess(result) {
380380
// Attacher logs options, which are `undefined`.
@@ -393,7 +393,7 @@ test('unified-args', (t) => {
393393
t.plan(1)
394394

395395
// Should be quoted.
396-
execa(bin, ['.', flag, './plugin=foo:bar']).then(t.fail, onfail)
396+
execa(bin, ['.', flag, './plugin.js=foo:bar']).then(t.fail, onfail)
397397

398398
function onfail(result) {
399399
t.deepEqual(
@@ -406,7 +406,7 @@ test('unified-args', (t) => {
406406

407407
t.test('should honour `' + flag + '`', (t) => {
408408
const bin = path.join(fixtures, 'plugins', 'cli.js')
409-
const options = './plugin=foo:{bar:"baz",qux:1,quux:true}'
409+
const options = './plugin.js=foo:{bar:"baz",qux:1,quux:true}'
410410

411411
t.plan(1)
412412

@@ -733,7 +733,7 @@ test('unified-args', (t) => {
733733

734734
t.plan(1)
735735

736-
execa(bin, ['.', '-u', './plugin']).then(t.fail, onfail)
736+
execa(bin, ['.', '-u', './plugin.js']).then(t.fail, onfail)
737737

738738
function onfail(result) {
739739
t.deepEqual(

0 commit comments

Comments
 (0)
Please sign in to comment.