Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

validate-glob-opts

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

validate-glob-opts - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

4

index-es5.js

@@ -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];

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc