Socket
Socket
Sign inDemoInstall

minimatch

Package Overview
Dependencies
2
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.1.0 to 5.1.1

8

minimatch.js

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

if (negateOffset) this.pattern = pattern.substr(negateOffset)
if (negateOffset) this.pattern = pattern.slice(negateOffset)
this.negate = negate

@@ -623,3 +623,3 @@ }

sp = this.parse(cs, SUBPARSE)
re = re.substr(0, reClassStart) + '\\[' + sp[0] + '\\]'
re = re.substring(0, reClassStart) + '\\[' + sp[0] + '\\]'
hasMagic = hasMagic || sp[1]

@@ -657,5 +657,5 @@ inClass = false

// any characters that were passed through as-is
cs = pattern.substr(classStart + 1)
cs = pattern.slice(classStart + 1)
sp = this.parse(cs, SUBPARSE)
re = re.substr(0, reClassStart) + '\\[' + sp[0]
re = re.substring(0, reClassStart) + '\\[' + sp[0]
hasMagic = hasMagic || sp[1]

@@ -662,0 +662,0 @@ }

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

"description": "a glob matcher in javascript",
"version": "5.1.0",
"version": "5.1.1",
"repository": {

@@ -26,3 +26,3 @@ "type": "git",

"devDependencies": {
"tap": "^15.1.6"
"tap": "^16.3.2"
},

@@ -29,0 +29,0 @@ "license": "ISC",

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