Socket
Socket
Sign inDemoInstall

is-glob

Package Overview
Dependencies
0
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

4

index.js

@@ -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._
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