Skip to content

Commit 483d314

Browse files
committed
Update nth-check
1 parent 4c2390e commit 483d314

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
@@ -3,7 +3,7 @@
33
module.exports = parse
44

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

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"hast-util-to-string": "^1.0.0",
3939
"hast-util-whitespace": "^1.0.0",
4040
"not": "^0.1.0",
41-
"nth-check": "^1.0.0",
41+
"nth-check": "^2.0.0",
4242
"property-information": "^5.0.0",
4343
"space-separated-tokens": "^1.0.0",
4444
"unist-util-visit": "^2.0.0",

0 commit comments

Comments
 (0)