Socket
Socket
Sign inDemoInstall

nanomatch

Package Overview
Dependencies
58
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.9 to 1.2.13

3

lib/parsers.js

@@ -5,3 +5,2 @@ 'use strict';

var toRegex = require('to-regex');
var isOdd = require('is-odd');

@@ -98,3 +97,3 @@ /**

var isNegated = isOdd(val.length);
var isNegated = (val.length % 2) === 1;
if (parsed === '' && !isNegated) {

@@ -101,0 +100,0 @@ val = '';

{
"name": "nanomatch",
"description": "Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)",
"version": "1.2.9",
"version": "1.2.13",
"homepage": "https://github.com/micromatch/nanomatch",

@@ -33,3 +33,2 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"fragment-cache": "^0.2.1",
"is-odd": "^2.0.0",
"is-windows": "^1.0.2",

@@ -36,0 +35,0 @@ "kind-of": "^6.0.2",

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