Skip to content

Commit 732da9a

Browse files
committed
Update nth-check
1 parent 0f2d796 commit 732da9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/parse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = parse
44

55
var Parser = require('css-selector-parser').CssSelectorParser
66
var zwitch = require('zwitch')
7-
var nthCheck = require('nth-check')
7+
var nthCheck = require('nth-check').default
88

99
var nth = ['nth-child', 'nth-last-child', 'nth-of-type', 'nth-last-of-type']
1010

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"dependencies": {
4848
"css-selector-parser": "^1.0.0",
4949
"not": "^0.1.0",
50-
"nth-check": "^1.0.0",
50+
"nth-check": "^2.0.0",
5151
"unist-util-is": "^4.0.0",
5252
"zwitch": "^1.0.0"
5353
},

0 commit comments

Comments
 (0)