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.0.0 to 4.1.0

2

minimatch.js

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

// windows support: need to use /, not \
if (path.sep !== '/') {
if (!options.allowWindowsEscape && path.sep !== '/') {
pattern = pattern.split(path.sep).join('/')

@@ -173,0 +173,0 @@ }

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

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

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

"postversion": "npm publish",
"postpublish": "git push origin --all; git push origin --tags"
"prepublishOnly": "git push origin --follow-tags"
},

@@ -19,0 +19,0 @@ "engines": {

@@ -190,2 +190,8 @@ # minimatch

### allowWindowsEscape
Windows path separator `\` is by default converted to `/`, which
prohibits the usage of `\` as a escape character. This flag skips that
behavior and allows using the escape character.
## Comparisons to other fnmatch/glob implementations

@@ -192,0 +198,0 @@

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