From 464bd00d39cce0d739cb79b29ba6f2b9a8e0b175 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Sun, 8 Jul 2018 10:44:25 +0200 Subject: [PATCH] Update dependencies, dev-dependencies --- cli.js | 52 +++++++++++++++++++++++++--------------------------- package.json | 30 +++++++++++++++--------------- 2 files changed, 40 insertions(+), 42 deletions(-) diff --git a/cli.js b/cli.js index 878f8aa..8cc274a 100755 --- a/cli.js +++ b/cli.js @@ -41,33 +41,31 @@ var extensions = [ notifier({pkg: pack}).notify(); /* Set-up meow. */ -var cli = meow({ - help: [ - 'Usage: alex [ ...] [options ...]', - '', - 'Options:', - '', - ' -w, --why output sources (when available)', - ' -q, --quiet output only warnings and errors', - ' -t, --text treat input as plain-text (not markdown)', - ' -d, --diff ignore unchanged lines (affects Travis only)', - '', - 'When no input files are given, searches for markdown and text', - 'files in the current directory, `doc`, and `docs`.', - '', - 'Examples', - ' $ echo "His network looks good" | alex', - ' $ alex *.md !example.md', - ' $ alex' - ] -}, { - alias: { - v: 'version', - h: 'help', - t: 'text', - d: 'diff', - q: 'quiet', - w: 'why' +var cli = meow([ + 'Usage: alex [ ...] [options ...]', + '', + 'Options:', + '', + ' -w, --why output sources (when available)', + ' -q, --quiet output only warnings and errors', + ' -t, --text treat input as plain-text (not markdown)', + ' -d, --diff ignore unchanged lines (affects Travis only)', + '', + 'When no input files are given, searches for markdown and text', + 'files in the current directory, `doc`, and `docs`.', + '', + 'Examples', + ' $ echo "His network looks good" | alex', + ' $ alex *.md !example.md', + ' $ alex' +].join('\n'), { + flags: { + version: {type: 'boolean', alias: 'v'}, + help: {type: 'boolean', alias: 'h'}, + text: {type: 'boolean', alias: 't'}, + diff: {type: 'boolean', alias: 'd'}, + quiet: {type: 'boolean', alias: 'q'}, + why: {type: 'boolean', alias: 'w'} } }); diff --git a/package.json b/package.json index 9b211a8..e817a27 100644 --- a/package.json +++ b/package.json @@ -45,31 +45,31 @@ "cli.js" ], "dependencies": { - "meow": "^3.3.0", + "meow": "^5.0.0", "remark-frontmatter": "^1.1.0", "remark-message-control": "^4.0.0", - "remark-parse": "^4.0.0", + "remark-parse": "^5.0.0", "remark-retext": "^3.0.0", "retext-english": "^3.0.0", - "retext-equality": "~3.2.0", + "retext-equality": "~3.3.0", "retext-profanities": "~4.4.0", - "unified": "^6.1.0", - "unified-diff": "^1.0.0", - "unified-engine": "^4.0.0", + "unified": "^7.0.0", + "unified-diff": "^2.0.0", + "unified-engine": "^6.0.0", "update-notifier": "^2.1.0", - "vfile": "^2.0.0", - "vfile-reporter": "^4.0.0", + "vfile": "^3.0.0", + "vfile-reporter": "^5.0.0", "vfile-sort": "^2.0.0" }, "devDependencies": { - "ava": "^0.23.0", - "browserify": "^14.0.0", + "ava": "^0.25.0", + "browserify": "^16.0.0", "esmangle": "^1.0.1", - "execa": "^0.8.0", - "nyc": "^11.0.0", - "remark-cli": "^4.0.0", - "remark-preset-wooorm": "^3.0.0", - "xo": "^0.18.1" + "execa": "^0.10.0", + "nyc": "^12.0.0", + "remark-cli": "^5.0.0", + "remark-preset-wooorm": "^4.0.0", + "xo": "^0.21.0" }, "scripts": { "build-md": "remark . -qfo",