Skip to content

Commit d4f914a

Browse files
committed
Update dev-dependencies
1 parent 5ba5fad commit d4f914a

File tree

8 files changed

+8
-20
lines changed

8 files changed

+8
-20
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
"devDependencies": {
2727
"browserify": "^13.0.1",
2828
"esmangle": "^1.0.1",
29-
"nyc": "^7.0.0",
29+
"nyc": "^8.0.0",
3030
"remark-cli": "^2.1.0",
3131
"remark-preset-wooorm": "^1.0.0",
3232
"tape": "^4.0.0",
33-
"xo": "^0.16.0"
33+
"xo": "^0.17.0"
3434
},
3535
"scripts": {
3636
"build-md": "remark . --quiet --frail --output",

test/children.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
'use strict';
22

3-
/* eslint-env node */
4-
53
/* Dependencies. */
64
var test = require('tape');
75
var assert = require('..');
@@ -19,7 +17,7 @@ test('children', function (t) {
1917
function () {
2018
assert({type: 'paragraph', children: ['one']});
2119
},
22-
/^AssertionError: node should be an object: `'one'` in `{ type: 'paragraph', children: \[ 'one' \] }`$/,
20+
/^AssertionError: node should be an object: `'one'` in `{ type: 'paragraph', children: \[ 'one' ] }`$/,
2321
'should throw if given a non-node child in children'
2422
);
2523

@@ -37,7 +35,7 @@ test('children', function (t) {
3735
children: ['one']
3836
}]});
3937
},
40-
/^AssertionError: node should be an object: `'one'` in `{ type: 'bar', children: \[ 'one' \] }`$/,
38+
/^AssertionError: node should be an object: `'one'` in `{ type: 'bar', children: \[ 'one' ] }`$/,
4139
'should throw on invalid descendants'
4240
);
4341

test/comment.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
'use strict';
22

3-
/* eslint-env node */
4-
53
/* Dependencies. */
64
var test = require('tape');
75
var assert = require('..');

test/doctype.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
'use strict';
22

3-
/* eslint-env node */
4-
53
/* Dependencies. */
64
var test = require('tape');
75
var assert = require('..');

test/element.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
'use strict';
22

3-
/* eslint-env node */
4-
53
/* Dependencies. */
64
var test = require('tape');
75
var assert = require('..');
@@ -19,15 +17,15 @@ test('assert(element)', function (t) {
1917
function () {
2018
assert({type: 'element', children: []});
2119
},
22-
/^AssertionError: `element` should have a `tagName`: `{ type: 'element', children: \[\] }`$/,
20+
/^AssertionError: `element` should have a `tagName`: `{ type: 'element', children: \[] }`$/,
2321
'should throw if a `element` has no `tagName`'
2422
);
2523

2624
t.throws(
2725
function () {
2826
assert({type: 'element', tagName: '', children: []});
2927
},
30-
/^AssertionError: `element.tagName` should not be empty: `{ type: 'element', tagName: '', children: \[\] }`$/,
28+
/^AssertionError: `element.tagName` should not be empty: `{ type: 'element', tagName: '', children: \[] }`$/,
3129
'should throw if a `element` has an empty `tagName`'
3230
);
3331

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
/* eslint-env node */
3+
/* eslint-disable import/no-unassigned-import */
44

55
/* Dependencies. */
66

test/node.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
'use strict';
22

3-
/* eslint-env node */
4-
53
/* Dependencies. */
64
var test = require('tape');
75
var assert = require('..');

test/root.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
'use strict';
22

3-
/* eslint-env node */
4-
53
/* Dependencies. */
64
var test = require('tape');
75
var assert = require('..');
@@ -19,7 +17,7 @@ test('assert(root)', function (t) {
1917
function () {
2018
assert({type: 'root', children: [{type: 'root', children: []}]});
2119
},
22-
/^AssertionError: `root` should not have a parent: `{ type: 'root', children: \[\] }` in `{ type: 'root', children: \[ { type: 'root', children: \[\] } \] }`$/,
20+
/^AssertionError: `root` should not have a parent: `{ type: 'root', children: \[] }` in `{ type: 'root', children: \[ { type: 'root', children: \[] } ] }`$/,
2321
'should throw if a `root` has a parent'
2422
);
2523

0 commit comments

Comments
 (0)