parse-glob
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -139,3 +139,4 @@ /*! | ||
var re = /\{([^{}]*?)}|\(([^()]*?)\)|\[([^\[\]]*?)\]/g; | ||
return str.replace(re, function (outter, inner) { | ||
return str.replace(re, function (outter, braces, parens, brackets) { | ||
var inner = braces || parens || brackets; | ||
if (!inner) { return outter; } | ||
@@ -142,0 +143,0 @@ return outter.split(inner).join(esc(inner)); |
{ | ||
"name": "parse-glob", | ||
"description": "Parse a glob pattern into an object of tokens.", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"homepage": "https://github.com/jonschlinkert/parse-glob", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -5,3 +5,3 @@ # parse-glob [![NPM version](https://badge.fury.io/js/parse-glob.svg)](http://badge.fury.io/js/parse-glob) [![Build Status](https://travis-ci.org/jonschlinkert/parse-glob.svg)](https://travis-ci.org/jonschlinkert/parse-glob) | ||
**Changes from v1.0.0 to v3.0.0** | ||
**Changes from v1.0.0 to v3.0.1** | ||
@@ -84,7 +84,7 @@ - all path-related properties are now on the `path` object | ||
## Related | ||
* [glob-base](https://github.com/jonschlinkert/glob-base): Returns an object with the (non-glob) base path and the actual pattern. | ||
* [glob-parent](https://github.com/es128/glob-parent): Strips glob magic from a string to provide the parent path | ||
* [is-glob](https://github.com/jonschlinkert/is-glob): Returns `true` if the given string looks like a glob pattern. | ||
* [glob-path-regex](https://github.com/regexps/glob-path-regex): Regular expression for matching the parts of glob pattern. | ||
* [micromatch](https://github.com/jonschlinkert/micromatch): Glob matching for javascript/node.js. A faster alternative to minimatch (10-45x faster on avg), with all the features you're used to using in your Grunt and gulp tasks. | ||
* [glob-base](https://github.com/jonschlinkert/glob-base): Returns an object with the (non-glob) base path and the actual pattern. | ||
* [glob-parent](https://github.com/es128/glob-parent): Strips glob magic from a string to provide the parent path | ||
* [is-glob](https://github.com/jonschlinkert/is-glob): Returns `true` if the given string looks like a glob pattern. | ||
* [glob-path-regex](https://github.com/regexps/glob-path-regex): Regular expression for matching the parts of glob pattern. | ||
* [micromatch](https://github.com/jonschlinkert/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. Just use `micromatch.isMatch()` instead of `minimatch()`, or use `micromatch()` instead of `multimatch()`. | ||
@@ -94,5 +94,4 @@ ## Contributing | ||
## Tests | ||
Install dev dependencies. | ||
Install dev dependencies: | ||
@@ -103,7 +102,6 @@ ```bash | ||
## Author | ||
**Jon Schlinkert** | ||
+ [github/jonschlinkert](https://github.com/jonschlinkert) | ||
@@ -118,2 +116,2 @@ + [twitter/jonschlinkert](http://twitter.com/jonschlinkert) | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 08, 2015._ | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on April 18, 2015._ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10053
131
0
113