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

minimatch

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minimatch - npm Package Compare versions

Comparing version 0.2.8 to 0.2.9

8

minimatch.js

@@ -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": {

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