Comparing version 2.0.0 to 2.0.1
@@ -115,4 +115,4 @@ /** | ||
if (!exports.isSelectorValid(selector)) { | ||
var error = new Error("'#{selector}' is not a valid selector") | ||
error.code = 'EBADSELECTOR' | ||
var error = new SyntaxError(selector + ' is not a valid selector'); | ||
error.code = 'EBADSELECTOR'; | ||
throw error; | ||
@@ -119,0 +119,0 @@ } |
{ | ||
"name": "clear-cut", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Calculate specificity of CSS selectors", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6251