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

@types/multimatch

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/multimatch - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

65

multimatch/index.d.ts
// Type definitions for multimatch 2.1
// Project: https://github.com/sindresorhus/multimatch
// Definitions by: Stephen Lautier <https://github.com/stephenlautier>
// BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { IOptions } from 'minimatch';
/**
* Match utility function which supports multiple pattern globbing.
*
* @param paths list to match against.
* @param paths paths to match against.
* @param patterns globbing patterns to use. e.g. `[*, "!cake"]`.
*/
declare function multimatch(paths: string[], patterns: string | string[], options?: multimatch.MultimatchOptions): string[];
declare function multimatch(
paths: string | string[],
patterns: string | string[],
options?: multimatch.MultimatchOptions
): string[];
declare namespace multimatch {
/**
* Options based on [minimatch](https://github.com/isaacs/minimatch#minimatchmatchlist-pattern-options)
*/
interface MultimatchOptions {
/** Dump a ton of stuff to stderr. */
debug?: boolean;
/** Do not expand `{a,b}` and `{1..3}` brace sets. */
nobrace?: boolean;
/** Disable `**` matching against multiple folder names. */
noglobstar?: boolean;
/**
* Allow patterns to match filenames starting with a period, even if
* the pattern does not explicitly have a period in that spot.
*
* Note that by default, `a/** /b` will **not** match `a/.d/b`, unless `dot` is set.
*/
dot?: boolean;
/** Disable "extglob" style patterns like `+(a|b)`. */
noext?: boolean;
/** Perform a case-insensitive match. */
nocase?: boolean;
/**
* When a match is not found by `minimatch.match`, return a list containing
* the pattern itself if this option is set. When not set, an empty list
* is returned if there are no matches.
*/
nonull?: boolean;
/**
* If set, then patterns without slashes will be matched
* against the basename of the path if it contains slashes. For example,
* `a?b` would match the path `/xyz/123/acb`, but not `/xyz/acb/123`.
*/
matchBase?: boolean;
/** Suppress the behavior of treating `#` at the start of a pattern as a comment. */
nocomment?: boolean;
/** Suppress the behavior of treating a leading `!` character as negation. */
nonegate?: boolean;
/**
* Returns from negate expressions the same as if they were not negated.
* (Ie, true on a hit, false on a miss.)
*/
flipNegate?: boolean;
}
type MultimatchOptions = IOptions;
}
export = multimatch;

16

multimatch/package.json
{
"name": "@types/multimatch",
"version": "2.1.2",
"version": "2.1.3",
"description": "TypeScript definitions for multimatch",

@@ -11,13 +11,21 @@ "license": "MIT",

"githubUsername": "stephenlautier"
},
{
"name": "BendingBender",
"url": "https://github.com/BendingBender",
"githubUsername": "BendingBender"
}
],
"main": "",
"types": "index",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "bd5bc1139fc841121966e73db86decd3424bf040535e9b48e7ee7aabe9a1fcb7",
"dependencies": {
"@types/minimatch": "*"
},
"typesPublisherContentHash": "c46f2600d0cec56c295440a6ed309534bd735d589c8db88d8df473427bf16f28",
"typeScriptVersion": "2.0"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/multimatch
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/multimatch
Additional Details
* Last updated: Wed, 25 Oct 2017 01:11:51 GMT
* Dependencies: none
* Last updated: Tue, 18 Dec 2018 21:29:08 GMT
* Dependencies: @types/minimatch
* Global values: none
# Credits
These definitions were written by Stephen Lautier <https://github.com/stephenlautier>.
These definitions were written by Stephen Lautier <https://github.com/stephenlautier>, BendingBender <https://github.com/BendingBender>.
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