Skip to content

Commit e662c13

Browse files
committed
Update dev-dependencies
1 parent ee8f286 commit e662c13

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

package.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"nlcst-to-string": "^2.0.0"
2020
},
2121
"devDependencies": {
22-
"browserify": "^14.0.0",
22+
"browserify": "^16.0.0",
2323
"esmangle": "^1.0.0",
2424
"nyc": "^11.0.0",
25-
"remark-cli": "^4.0.0",
26-
"remark-preset-wooorm": "^3.0.0",
25+
"remark-cli": "^5.0.0",
26+
"remark-preset-wooorm": "^4.0.0",
2727
"tape": "^4.0.0",
28-
"xo": "^0.18.2"
28+
"xo": "^0.20.0"
2929
},
3030
"scripts": {
3131
"build-md": "remark . --quiet --frail --output",
@@ -46,6 +46,11 @@
4646
"xo": {
4747
"space": true,
4848
"esnext": false,
49+
"rules": {
50+
"guard-for-in": "off",
51+
"no-var": "off",
52+
"prefer-arrow-callback": "off"
53+
},
4954
"ignore": [
5055
"nlcst-normalize.js"
5156
]

test.js

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

33
var test = require('tape');
4-
var normalize = require('./');
4+
var normalize = require('.');
55

66
test('Basic', function (t) {
77
t.throws(
@@ -24,8 +24,7 @@ test('Case', function (t) {
2424
t.equal(
2525
normalize({
2626
type: 'WordNode',
27-
children: [{type: 'TextNode', value: 'Dont'}
28-
]
27+
children: [{type: 'TextNode', value: 'Dont'}]
2928
}),
3029
'dont',
3130
'should normalize case (node)'
@@ -260,9 +259,9 @@ test('Apostrophes', function (t) {
260259

261260
test('Dashes', function (t) {
262261
t.equal(
263-
normalize('Don\'t Block-Level'),
264-
'dont blocklevel',
265-
'should normalize dashes (string)'
262+
normalize('Don\'t Block-Level'),
263+
'dont blocklevel',
264+
'should normalize dashes (string)'
266265
);
267266

268267
t.equal(

0 commit comments

Comments
 (0)