Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jun 26, 2019
1 parent cc7867b commit eac4a04
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 19 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"mdast-util-assert": "^2.0.0",
"mdast-util-compact": "^1.0.0",
"mdast-zone": "^3.0.1",
"nyc": "^13.0.0",
"nyc": "^14.0.0",
"prettier": "^1.14.3",
"remark-preset-wooorm": "^4.0.0",
"remark-preset-wooorm": "^5.0.0",
"tape": "^4.5.1",
"tinyify": "^2.4.3",
"unist-builder": "^1.0.2",
"unist-util-remove-position": "^1.1.0",
"xo": "^0.23.0"
"xo": "^0.24.0"
},
"scripts": {
"postinstall": "lerna bootstrap --no-ci",
Expand Down
2 changes: 1 addition & 1 deletion packages/remark-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"unified-args": "^6.0.0"
},
"devDependencies": {
"execa": "^1.0.0",
"execa": "^2.0.0",
"tape": "^4.9.1"
},
"scripts": {
Expand Down
10 changes: 5 additions & 5 deletions packages/remark-cli/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ test('remark-cli', function(t) {

st.plan(1)

execa.stdout(bin, ['--help']).then(function(result) {
execa(bin, ['--help']).then(function(result) {
st.equal(
result,
result.stdout,
[
'Usage: remark [options] [path | glob ...]',
'',
Expand Down Expand Up @@ -68,14 +68,14 @@ test('remark-cli', function(t) {

st.plan(2)

execa.stdout(bin, ['--version']).then(function(result) {
execa(bin, ['--version']).then(function(result) {
st.ok(
/remark: \d+\.\d+\.\d+/.test(result),
/remark: \d+\.\d+\.\d+/.test(result.stdout),
'should include remark version'
)

st.ok(
/remark-cli: \d+\.\d+\.\d+/.test(result),
/remark-cli: \d+\.\d+\.\d+/.test(result.stdout),
'should include remark-cli version'
)
})
Expand Down
3 changes: 1 addition & 2 deletions packages/remark-parse/lib/tokenize/list.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
'use strict'

/* eslint-disable max-params */

var trim = require('trim')
var repeat = require('repeat-string')
var decimal = require('is-decimal')
Expand Down Expand Up @@ -434,6 +432,7 @@ function normalListItem(ctx, value, position) {

return trimmedLines.join(lineFeed)

/* eslint-disable-next-line max-params */
function replacer($0, $1, $2, $3, $4) {
bullet = $1 + $2 + $3
rest = $4
Expand Down
4 changes: 2 additions & 2 deletions packages/remark-parse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
},
"devDependencies": {
"tape": "^4.9.1",
"unified": "^7.0.0",
"vfile": "^3.0.0"
"unified": "^8.0.0",
"vfile": "^4.0.0"
},
"scripts": {
"test": "tape test.js"
Expand Down
10 changes: 5 additions & 5 deletions packages/remark-parse/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,9 @@ The parser knows two types of tokenizers: block level and inline level.
Block level tokenizers are the same as inline level tokenizers, with
the exception that the latter must have a [locator][].

Tokenizers _test_ whether a document starts with a certain syntactic
entity. In _silent_ mode, they return whether that test passes.
In _normal_ mode, they consume that token, a process which is called
Tokenizers *test* whether a document starts with a certain syntactic
entity. In *silent* mode, they return whether that test passes.
In *normal* mode, they consume that token, a process which is called
“eating”. Locators enable tokenizers to function faster by providing
information on where the next entity may occur.

Expand Down Expand Up @@ -343,8 +343,8 @@ information on where the next entity may occur.

###### Returns

* In _silent_ mode, whether a node can be found at the start of `value`
* In _normal_ mode, a node if it can be found at the start of `value`
* In *silent* mode, whether a node can be found at the start of `value`
* In *normal* mode, a node if it can be found at the start of `value`

### `tokenizer.locator(value, fromIndex)`

Expand Down
2 changes: 1 addition & 1 deletion packages/remark-stringify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"devDependencies": {
"tape": "^4.9.1",
"unified": "^7.0.0",
"unified": "^8.0.0",
"unist-builder": "^1.0.3",
"unist-util-visit": "^1.4.0",
"wcwidth": "^1.0.1"
Expand Down

0 comments on commit eac4a04

Please sign in to comment.