Socket
Socket
Sign inDemoInstall

minimatch

Package Overview
Dependencies
3
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.1.0 to 4.1.1

9

minimatch.js

@@ -20,2 +20,3 @@ const minimatch = module.exports = (p, pattern, options = {}) => {

const GLOBSTAR = Symbol('globstar **')
minimatch.GLOBSTAR = GLOBSTAR
const expand = require('brace-expansion')

@@ -367,7 +368,3 @@

if (typeof p === 'string') {
if (options.nocase) {
hit = f.toLowerCase() === p.toLowerCase()
} else {
hit = f === p
}
hit = f === p
this.debug('string match', p, f, hit)

@@ -435,3 +432,3 @@ } else {

let re = ''
let hasMagic = false
let hasMagic = !!options.nocase
let escaping = false

@@ -438,0 +435,0 @@ // ? => one single character

@@ -5,3 +5,3 @@ {

"description": "a glob matcher in javascript",
"version": "4.1.0",
"version": "4.1.1",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc