micromatch
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -299,15 +299,15 @@ 'use strict'; | ||
utils.unixify = function(options) { | ||
options = options || {}; | ||
var opts = options || {}; | ||
return function(filepath) { | ||
if (utils.isWindows() || options.unixify === true) { | ||
filepath = utils.toPosixPath(filepath); | ||
} | ||
if (options.stripPrefix !== false) { | ||
if (opts.stripPrefix !== false) { | ||
filepath = utils.stripPrefix(filepath); | ||
} | ||
if (options.unescape === true) { | ||
if (opts.unescape === true) { | ||
filepath = utils.unescape(filepath); | ||
} | ||
if (opts.unixify === true || utils.isWindows()) { | ||
filepath = utils.toPosixPath(filepath); | ||
} | ||
return filepath; | ||
}; | ||
}; |
{ | ||
"name": "micromatch", | ||
"description": "Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"homepage": "https://github.com/micromatch/micromatch", | ||
@@ -47,3 +47,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"kind-of": "^6.0.0", | ||
"nanomatch": "^1.2.4", | ||
"nanomatch": "^1.2.5", | ||
"object.pick": "^1.3.0", | ||
@@ -50,0 +50,0 @@ "regex-not": "^1.0.0", |
84996
Updatednanomatch@^1.2.5