validate-glob-opts
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -78,4 +78,4 @@ /*! | ||
if (obj.sync !== undefined) { | ||
results.push(new TypeError( | ||
("`sync` option is deprecated and there is no need to pass any values to the option, but " + (inspect(obj.sync)) + " is provided.") | ||
results.push(new Error( | ||
("`sync` option is deprecated and there’s no need to pass any values to that option, but " + (inspect(obj.sync)) + " was provided.") | ||
)); | ||
@@ -82,0 +82,0 @@ } |
{ | ||
"name": "validate-glob-opts", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Validate glob options", | ||
@@ -5,0 +5,0 @@ "repository": "shinnn/validate-glob-opts", |
@@ -16,3 +16,3 @@ # validate-glob-opts | ||
/* => [ | ||
TypeError: `sync` option is deprecated and there is no need to pass any values to the option, but true is provided., | ||
Error: `sync` option is deprecated and there’s no need to pass any values to that option, but true was provided., | ||
TypeError: node-glob expected `mark` option to be a Boolean value, but got '/'., | ||
@@ -71,3 +71,3 @@ Error: node-glob doesn't have `caches` option. Probably you meant `cache`. | ||
const results = validateGlobOpts(ok); | ||
const results = validateGlobOpts(notOk); | ||
results.length; //=> 4 | ||
@@ -74,0 +74,0 @@ results[0]; |
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
10956