Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 5, 2023
1 parent a37d231 commit f78eb0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -42,20 +42,20 @@
},
"devDependencies": {
"@types/extend": "^3.0.0",
"@types/tape": "^4.0.0",
"@types/tape": "^5.0.0",
"bail": "^2.0.0",
"c8": "^7.0.0",
"c8": "^8.0.0",
"is-hidden": "^2.0.0",
"prettier": "^2.0.0",
"rehype": "^12.0.0",
"remark-cli": "^10.0.0",
"remark-cli": "^11.0.0",
"remark-preset-wooorm": "^9.0.0",
"rimraf": "^3.0.0",
"tape": "^5.0.0",
"to-vfile": "^7.0.0",
"type-coverage": "^2.0.0",
"typescript": "~4.4.0",
"xo": "^0.47.0"
"typescript": "^5.0.0",
"xo": "^0.54.0"
},
"scripts": {
"build": "rimraf \"lib/**/*.d.ts\" \"test/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage",
Expand Down
4 changes: 2 additions & 2 deletions test/index.js
Expand Up @@ -66,15 +66,15 @@ test('rehypeAutolinkHeadings', (t) => {
.data('settings', {fragment: true})
.use(rehypeAutolinkHeadings, {
behavior: 'after',
group: (node) => {
group(node) {
t.equal(
node.properties && node.properties.id,
'a',
'should pass `node` to `group`'
)
return {type: 'element', tagName: 'div', properties: {}, children: []}
},
content: (node) => {
content(node) {
t.equal(
node.properties && node.properties.id,
'a',
Expand Down

0 comments on commit f78eb0b

Please sign in to comment.