Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/micromatch

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/micromatch - npm Package Compare versions

Comparing version 2.3.31 to 2.3.32

14

micromatch v2.3/index.d.ts

@@ -6,8 +6,7 @@ // Type definitions for micromatch 2.3.7

import parseGlob = require("parse-glob");
import parseGlob = require('parse-glob');
declare namespace micromatch {
type MatchFunction<T> = ((value: T) => boolean);
type Pattern = (string | RegExp | MatchFunction<string>);
type MatchFunction<T> = (value: T) => boolean;
type Pattern = string | RegExp | MatchFunction<string>;

@@ -66,3 +65,3 @@ interface Options {

pattern: string;
history: { msg: any, pattern: string }[];
history: { msg: any; pattern: string }[];
tokens: parseGlob.Result;

@@ -154,3 +153,6 @@ orig: string;

*/
filter(patterns: micromatch.Pattern | micromatch.Pattern[], opts?: micromatch.Options): micromatch.MatchFunction<any>;
filter(
patterns: micromatch.Pattern | micromatch.Pattern[],
opts?: micromatch.Options,
): micromatch.MatchFunction<any>;

@@ -157,0 +159,0 @@ /**

{
"name": "@types/micromatch",
"version": "2.3.31",
"version": "2.3.32",
"description": "TypeScript definitions for micromatch",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/micromatch",

},
"typesPublisherContentHash": "84ffaa4f3b19702e8898d424fafff6b1232b75f40038dec469cff5a6aa98c51b",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "1b1d280e5c26ebde3f00dc728801d499fde26bf98b82cbf90f854e3e541e553e",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 06 Jul 2021 22:03:04 GMT
* Last updated: Wed, 27 Sep 2023 09:42:15 GMT
* Dependencies: [@types/parse-glob](https://npmjs.com/package/@types/parse-glob)

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc