is-glob
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -10,3 +10,5 @@ /*! | ||
return typeof str === 'string' | ||
&& /[!*{}?(|)[\]]/.test(str); | ||
// && /[!*{}?[\](|)]|(?:\(.*\|.*\))/.test(str); | ||
&& /[!*{}?[\](|)]/.test(str); | ||
// && /[*{}?[\]]|(?:\(.*\|.*\))/.test(str); | ||
}; |
{ | ||
"name": "is-glob", | ||
"description": "Returns `true` if the given string looks like a glob pattern.", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"homepage": "https://github.com/jonschlinkert/is-glob", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -1,2 +0,2 @@ | ||
# is-glob [![NPM version](https://badge.fury.io/js/is-glob.svg)](http://badge.fury.io/js/is-glob) | ||
# is-glob [![NPM version](https://badge.fury.io/js/is-glob.svg)](http://badge.fury.io/js/is-glob) [![Build Status](https://travis-ci.org/jonschlinkert/is-glob.svg)](https://travis-ci.org/jonschlinkert/is-glob) | ||
@@ -40,13 +40,18 @@ > Returns `true` if the given string looks like a glob pattern. | ||
## Related | ||
* [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. | ||
* [parse-glob](https://github.com/jonschlinkert/parse-glob): Parse a glob pattern into an object of tokens. | ||
## Run tests | ||
Install dev dependencies. | ||
Install dev dependencies: | ||
```bash | ||
npm i -d && mocha | ||
npm i -d && npm test | ||
``` | ||
## Contributing | ||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-glob/issues) | ||
## Author | ||
@@ -65,2 +70,2 @@ | ||
_This file was generated by [verb](https://github.com/assemble/verb) on February 20, 2015._ | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 04, 2015._ |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
4004
12
69
0