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.0.0 to 1.1.0

4

index.js
/*!
* is-glob <https://github.com/jonschlinkert/is-glob>
*
* Copyright (c) 2014-2015 Jon Schlinkert.
* Copyright (c) 2014-2015, Jon Schlinkert.
* Licensed under the MIT License

@@ -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.0.0",
"version": "1.1.0",
"homepage": "https://github.com/jonschlinkert/is-glob",

@@ -33,9 +33,12 @@ "author": {

"keywords": [
"bash",
"braces",
"check",
"exec",
"expression",
"glob",
"globstar",
"match",
"matches",
"pattern",
"re",
"regex",

@@ -42,0 +45,0 @@ "regular",

@@ -60,2 +60,2 @@ # is-glob [![NPM version](https://badge.fury.io/js/is-glob.svg)](http://badge.fury.io/js/is-glob)

_This file was generated by [verb](https://github.com/assemble/verb) on January 13, 2015._
_This file was generated by [verb](https://github.com/assemble/verb) on January 16, 2015._

Sorry, the diff of this file is not supported yet

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