Skip to content

Commit 2b931ba

Browse files
committed
Update dev-dependencies
1 parent d6016ea commit 2b931ba

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ var unist = require('unist-util-assert');
1010
var hast = zwitch('type');
1111

1212
/* Expose. */
13-
module.exports = exports = unist.wrap(hast);
13+
exports = unist.wrap(hast);
14+
module.exports = exports;
1415

1516
exports.parent = unist.wrap(parent);
1617
exports.text = unist.text;
@@ -19,7 +20,8 @@ exports.wrap = unist.wrap;
1920
exports.all = mapz(exports, {key: 'children', indices: false});
2021

2122
/* Core interface. */
22-
hast.invalid = hast.unknown = unknown;
23+
hast.invalid = unknown;
24+
hast.unknown = unknown;
2325

2426
/* Per-type handling. */
2527
hast.handlers = {

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"browserify": "^13.0.1",
2828
"esmangle": "^1.0.1",
2929
"nyc": "^10.0.0",
30-
"remark-cli": "^2.1.0",
31-
"remark-preset-wooorm": "^1.0.0",
30+
"remark-cli": "^3.0.0",
31+
"remark-preset-wooorm": "^2.0.0",
3232
"tape": "^4.0.0",
33-
"xo": "^0.17.0"
33+
"xo": "^0.18.0"
3434
},
3535
"scripts": {
3636
"build-md": "remark . --quiet --frail --output",
@@ -44,6 +44,7 @@
4444
},
4545
"xo": {
4646
"space": true,
47+
"esnext": false,
4748
"rules": {
4849
"no-eq-null": "off",
4950
"eqeqeq": "off",
@@ -60,6 +61,8 @@
6061
"branches": 100
6162
},
6263
"remarkConfig": {
63-
"presets": "wooorm"
64+
"plugins": [
65+
"preset-wooorm"
66+
]
6467
}
6568
}

0 commit comments

Comments
 (0)