Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed May 21, 2019
1 parent 6a22d21 commit bfc5146
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 19 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
},
"devDependencies": {
"browserify": "^16.0.0",
"nyc": "^12.0.0",
"prettier": "^1.12.1",
"remark": "^9.0.0",
"remark-cli": "^5.0.0",
"remark-preset-wooorm": "^4.0.0",
"tape": "^4.5.1",
"tinyify": "^2.4.3",
"xo": "^0.21.0"
"nyc": "^14.0.0",
"prettier": "^1.0.0",
"remark": "^10.0.0",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^5.0.0",
"tape": "^4.0.0",
"tinyify": "^2.0.0",
"xo": "^0.24.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
Expand Down
46 changes: 35 additions & 11 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ test('unist-util-visit', function(t) {
st.end()

function visitor(node) {
assert.equal(node.type, types[n], 'should be the expected type')
assert.strictEqual(node.type, types[n], 'should be the expected type')
n++
}
})
Expand All @@ -85,7 +85,11 @@ test('unist-util-visit', function(t) {
st.end()

function visitor(node) {
assert.equal(node.type, reverseTypes[n], 'should be the expected type')
assert.strictEqual(
node.type,
reverseTypes[n],
'should be the expected type'
)
n++
}
})
Expand All @@ -100,7 +104,7 @@ test('unist-util-visit', function(t) {
st.end()

function visitor(node) {
assert.equal(node.type, 'text', 'should be the expected type')
assert.strictEqual(node.type, 'text', 'should be the expected type')
n++
}
})
Expand All @@ -117,7 +121,7 @@ test('unist-util-visit', function(t) {

function visitor(node) {
n++
assert.notEqual(types.indexOf(node.type), -1, 'should match')
assert.notStrictEqual(types.indexOf(node.type), -1, 'should match')
}
})

Expand Down Expand Up @@ -173,7 +177,7 @@ test('unist-util-visit', function(t) {
st.end()

function visitor(node) {
assert.equal(node.type, types[n++], 'should be the expected type')
assert.strictEqual(node.type, types[n++], 'should be the expected type')
return n === STOP ? visit.EXIT : visit.CONTINUE
}
})
Expand All @@ -188,7 +192,11 @@ test('unist-util-visit', function(t) {
st.end()

function visitor(node) {
assert.equal(node.type, reverseTypes[n++], 'should be the expected type')
assert.strictEqual(
node.type,
reverseTypes[n++],
'should be the expected type'
)
return n === STOP ? visit.EXIT : visit.CONTINUE
}
})
Expand All @@ -208,7 +216,7 @@ test('unist-util-visit', function(t) {
st.end()

function visitor(node) {
assert.equal(node.type, types[n++], 'should be the expected type')
assert.strictEqual(node.type, types[n++], 'should be the expected type')
count++

if (n === SKIP) {
Expand All @@ -233,7 +241,11 @@ test('unist-util-visit', function(t) {
st.end()

function visitor(node) {
assert.equal(node.type, reverseTypes[n++], 'should be the expected type')
assert.strictEqual(
node.type,
reverseTypes[n++],
'should be the expected type'
)
count++

if (n === SKIP_REVERSE) {
Expand Down Expand Up @@ -275,7 +287,11 @@ test('unist-util-visit', function(t) {
st.end()

function visitor(node) {
assert.equal(node.type, expected[n++], 'should be the expected type')
assert.strictEqual(
node.type,
expected[n++],
'should be the expected type'
)

if (again === false && node.type === 'strong') {
again = true
Expand Down Expand Up @@ -308,7 +324,11 @@ test('unist-util-visit', function(t) {
st.end()

function visitor(node, index, parent) {
assert.equal(node.type, expected[n++], 'should be the expected type')
assert.strictEqual(
node.type,
expected[n++],
'should be the expected type'
)

if (again === false && node.type === 'strong') {
again = true
Expand Down Expand Up @@ -343,7 +363,11 @@ test('unist-util-visit', function(t) {
st.end()

function visitor(node, index) {
assert.equal(node.type, expected[n++], 'should be the expected type')
assert.strictEqual(
node.type,
expected[n++],
'should be the expected type'
)

if (again === false && node.type === 'strong') {
again = true
Expand Down

0 comments on commit bfc5146

Please sign in to comment.