Socket
Socket
Sign inDemoInstall

anymatch

Package Overview
Dependencies
2
Maintainers
5
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.2 to 3.1.3

1

index.d.ts

@@ -13,2 +13,3 @@ type AnymatchFn = (testString: string) => boolean;

(matchers: AnymatchMatcher): AnymatchTester;
(matchers: AnymatchMatcher, testString: null, returnIndex: true | PicomatchOptions): AnymatchTester;
(matchers: AnymatchMatcher, testString: string|any[], returnIndex: true | PicomatchOptions): number;

@@ -15,0 +16,0 @@ (matchers: AnymatchMatcher, testString: string|any[]): boolean;

2

index.js

@@ -50,3 +50,3 @@ 'use strict';

}
const path = normalizePath(_path);
const path = normalizePath(_path, false);

@@ -53,0 +53,0 @@ for (let index = 0; index < negPatterns.length; index++) {

{
"name": "anymatch",
"version": "3.1.2",
"version": "3.1.3",
"description": "Matches strings against configurable strings, globs, regular expressions, and/or functions",

@@ -5,0 +5,0 @@ "files": [

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