Skip to content

Commit 445988b

Browse files
committed
Update dev-dependencies
1 parent aeedcae commit 445988b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/enter-state.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @typedef {import('./types.js').HastNode} HastNode
44
* @typedef {import('./types.js').ElementChild} ElementChild
55
* @typedef {import('./types.js').Direction} Direction
6-
* @typedef {import('unist-util-visit').Visitor<ElementChild>} Visitor
6+
* @typedef {import('unist-util-visit/complex-types').Visitor<ElementChild>} Visitor
77
*/
88

99
import {direction} from 'direction'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"type-coverage": "^2.0.0",
6868
"typescript": "^4.0.0",
6969
"unist-builder": "^3.0.0",
70-
"xo": "^0.44.0"
70+
"xo": "^0.46.0"
7171
},
7272
"scripts": {
7373
"prepack": "npm run build && npm run format",

test/matches.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ test('select.matches()', (t) => {
118118
() => {
119119
matches(':' + pseudo + '()', h(''))
120120
},
121-
new RegExp('Error: Cannot use `:' + pseudo + '` without parent'),
121+
/n-th rule couldn't be parsed/,
122122
'should throw on `' + pseudo + '()`'
123123
)
124124
}

0 commit comments

Comments
 (0)