is-glob
Advanced tools
Comparing version 1.1.3 to 2.0.0
@@ -10,3 +10,3 @@ /*! | ||
return typeof str === 'string' | ||
&& /[!*{}?(|)[\]]/.test(str); | ||
}; | ||
&& /[@!*+{}?(|)[\]]/.test(str); | ||
}; |
{ | ||
"name": "is-glob", | ||
"description": "Returns `true` if the given string looks like a glob pattern.", | ||
"version": "1.1.3", | ||
"version": "2.0.0", | ||
"homepage": "https://github.com/jonschlinkert/is-glob", | ||
@@ -47,2 +47,2 @@ "author": { | ||
] | ||
} | ||
} |
@@ -1,6 +0,6 @@ | ||
# 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) | ||
# 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) | ||
> Returns `true` if the given string looks like a glob pattern. | ||
## Install with [npm](npmjs.org) | ||
Install with [npm](https://www.npmjs.com/) | ||
@@ -41,8 +41,11 @@ ```bash | ||
## 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. | ||
* [is-git-url](https://github.com/jonschlinkert/is-git-url): Regex to validate that a URL is a git url. | ||
* [micromatch](https://github.com/jonschlinkert/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. Just… [more](https://github.com/jonschlinkert/micromatch) | ||
* [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 | ||
@@ -52,20 +55,24 @@ npm i -d && npm test | ||
## Contributing | ||
## 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 | ||
**Jon Schlinkert** | ||
+ [github/jonschlinkert](https://github.com/jonschlinkert) | ||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) | ||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) | ||
## License | ||
Copyright (c) 2015 Jon Schlinkert | ||
Released under the MIT license | ||
Copyright (c) 2015 Jon Schlinkert | ||
Released under the MIT license. | ||
*** | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 04, 2015._ | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 06, 2015._ | ||
[assemble]: http://assemble.io | ||
[template]: https://github.com/jonschlinkert/template | ||
[verb]: https://github.com/assemble/verb |
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
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
4147
77
9