is-glob
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -5,3 +5,3 @@ /*! | ||
* Copyright (c) 2014-2015, Jon Schlinkert. | ||
* Licensed under the MIT License | ||
* Licensed under the MIT License. | ||
*/ | ||
@@ -12,2 +12,2 @@ | ||
&& /[!*{}?(|)[\]]/.test(str); | ||
}; | ||
}; |
{ | ||
"name": "is-glob", | ||
"description": "Returns `true` if the given string looks like a glob pattern.", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"homepage": "https://github.com/jonschlinkert/is-glob", | ||
@@ -10,13 +10,10 @@ "author": { | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/jonschlinkert/is-glob.git" | ||
}, | ||
"repository": "jonschlinkert/is-glob", | ||
"bugs": { | ||
"url": "https://github.com/jonschlinkert/is-glob/issues" | ||
}, | ||
"license": { | ||
"type": "MIT", | ||
"url": "https://github.com/jonschlinkert/is-glob/blob/master/LICENSE" | ||
}, | ||
"license": "MIT", | ||
"files": [ | ||
"index.js" | ||
], | ||
"main": "index.js", | ||
@@ -27,3 +24,3 @@ "engines": { | ||
"scripts": { | ||
"test": "mocha -R spec" | ||
"test": "mocha" | ||
}, | ||
@@ -39,4 +36,6 @@ "devDependencies": { | ||
"exec", | ||
"extglob", | ||
"expression", | ||
"glob", | ||
"globbing", | ||
"globstar", | ||
@@ -43,0 +42,0 @@ "match", |
@@ -16,2 +16,6 @@ # is-glob [![NPM version](https://badge.fury.io/js/is-glob.svg)](http://badge.fury.io/js/is-glob) | ||
isGlob('foo.js'); | ||
//=> 'false' | ||
isGlob('!foo.js'); | ||
//=> 'true' | ||
isGlob('*.js'); | ||
@@ -61,2 +65,2 @@ //=> 'true' | ||
_This file was generated by [verb](https://github.com/assemble/verb) on January 16, 2015._ | ||
_This file was generated by [verb](https://github.com/assemble/verb) on February 20, 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
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
10
64
3431