Skip to content

Commit 67a1898

Browse files
committed
Update dev-dependencies
1 parent bad72c0 commit 67a1898

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
coverage/
22
hast-util-raw.js
33
hast-util-raw.min.js
4+
*.json
5+
*.md

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,20 @@
4040
"browserify": "^16.0.0",
4141
"hastscript": "^5.0.0",
4242
"nyc": "^15.0.0",
43-
"prettier": "^1.0.0",
44-
"rehype-stringify": "^6.0.0",
45-
"remark-cli": "^7.0.0",
46-
"remark-parse": "^7.0.0",
47-
"remark-preset-wooorm": "^6.0.0",
48-
"remark-rehype": "^5.0.0",
49-
"tape": "^4.0.0",
43+
"prettier": "^2.0.0",
44+
"rehype-stringify": "^8.0.0",
45+
"remark-cli": "^8.0.0",
46+
"remark-parse": "^8.0.0",
47+
"remark-preset-wooorm": "^7.0.0",
48+
"remark-rehype": "^7.0.0",
49+
"tape": "^5.0.0",
5050
"tinyify": "^2.0.0",
51-
"unified": "^8.0.0",
51+
"unified": "^9.0.0",
5252
"unist-builder": "^2.0.0",
53-
"xo": "^0.27.0"
53+
"xo": "^0.32.0"
5454
},
5555
"scripts": {
56-
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
56+
"format": "remark . -qfo && prettier . --write && xo --fix",
5757
"build-bundle": "browserify index.js -s hastUtilRaw > hast-util-raw.js",
5858
"build-mangle": "browserify index.js -s hastUtilRaw -p tinyify > hast-util-raw.min.js",
5959
"build": "npm run build-bundle && npm run build-mangle",

test.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ var remark2rehype = require('remark-rehype')
99
var stringify = require('rehype-stringify')
1010
var raw = require('.')
1111

12-
test('raw', function(t) {
12+
test('raw', function (t) {
1313
t.throws(
14-
function() {
14+
function () {
1515
raw(u('unknown'))
1616
},
1717
/^Error: Cannot compile `unknown` node$/,
@@ -169,14 +169,14 @@ test('raw', function(t) {
169169
t.end()
170170
})
171171

172-
test('integration', function(t) {
172+
test('integration', function (t) {
173173
unified()
174174
.use(parse)
175-
.use(remark2rehype, {allowDangerousHTML: true})
176-
.use(function() {
175+
.use(remark2rehype, {allowDangerousHtml: true})
176+
.use(function () {
177177
return raw
178178
})
179-
.use(function() {
179+
.use(function () {
180180
return transformer
181181
function transformer(tree) {
182182
t.deepEqual(
@@ -556,7 +556,7 @@ test('integration', function(t) {
556556
'<p>Hello, world!',
557557
''
558558
].join('\n'),
559-
function(err, file) {
559+
function (err, file) {
560560
t.ifErr(err, 'should not fail')
561561

562562
t.equal(

0 commit comments

Comments
 (0)