minimatch
Advanced tools
Comparing version 0.2.8 to 0.2.9
@@ -9,2 +9,5 @@ ;(function (require, exports, module, platform) { | ||
switch (id) { | ||
case "sigmund": return function sigmund (obj) { | ||
return JSON.stringify(obj) | ||
} | ||
case "path": return { basename: function (f) { | ||
@@ -36,2 +39,3 @@ f = f.split(/[\/\\]/) | ||
, GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {} | ||
, sigmund = require("sigmund") | ||
@@ -162,5 +166,3 @@ var path = require("path") | ||
// and turning it into a regexp can get pretty costly. | ||
var cacheKey = pattern + "\n" + Object.keys(options).filter(function (k) { | ||
return options[k] | ||
}).join(":") | ||
var cacheKey = pattern + "\n" + sigmund(options) | ||
var cached = minimatch.cache.get(cacheKey) | ||
@@ -167,0 +169,0 @@ if (cached) return cached |
@@ -5,3 +5,3 @@ { | ||
"description": "a glob matcher in javascript", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"repository": { | ||
@@ -19,3 +19,4 @@ "type": "git", | ||
"dependencies": { | ||
"lru-cache": "~2.0.0" | ||
"lru-cache": "~2.0.0", | ||
"sigmund": "~1.0.0" | ||
}, | ||
@@ -22,0 +23,0 @@ "devDependencies": { |
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
58472
1454
2
+ Addedsigmund@~1.0.0
+ Addedsigmund@1.0.1(transitive)