Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

glob

Package Overview
Dependencies
Maintainers
1
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glob - npm Package Compare versions

Comparing version
13.0.4
to
13.0.5
+8
-0
dist/commonjs/glob.d.ts

@@ -293,2 +293,10 @@ import { Minimatch } from 'minimatch';

includeChildMatches?: boolean;
/**
* max number of `{...}` patterns to expand. Default `1_000`.
*
* Note: this is much less than minimatch's default of `100_000`,
* because Glob has higher memory requirements due to walking
* the file system tree.
*/
braceExpandMax?: number;
}

@@ -295,0 +303,0 @@ export type GlobOptionsWithFileTypesTrue = GlobOptions & {

+2
-1

@@ -143,3 +143,3 @@ "use strict";

const mmo = {
// default nocase based on platform
braceExpandMax: 10_000,
...opts,

@@ -149,2 +149,3 @@ dot: this.dot,

nobrace: this.nobrace,
// default nocase based on platform
nocase: this.nocase,

@@ -151,0 +152,0 @@ nocaseMagicOnly,

@@ -14,2 +14,3 @@ import { GLOBSTAR } from 'minimatch';

export type GlobList = [p: string, ...rest: string[]];
declare const customInspect: unique symbol;
/**

@@ -23,2 +24,3 @@ * An immutable-ish view on an array of glob parts and their parsed

constructor(patternList: MMPattern[], globList: string[], index: number, platform: NodeJS.Platform);
[customInspect](): string;
/**

@@ -78,2 +80,3 @@ * The first entry in the parsed list of patterns

}
export {};
//# sourceMappingURL=pattern.d.ts.map

@@ -8,2 +8,3 @@ "use strict";

const isGlobList = (gl) => gl.length >= 1;
const customInspect = Symbol.for('nodejs.util.inspect.custom');
/**

@@ -84,2 +85,5 @@ * An immutable-ish view on an array of glob parts and their parsed

}
[customInspect]() {
return 'Pattern <' + this.#globList.slice(this.#index).join('/') + '>';
}
/**

@@ -86,0 +90,0 @@ * The first entry in the parsed list of patterns

@@ -293,2 +293,10 @@ import { Minimatch } from 'minimatch';

includeChildMatches?: boolean;
/**
* max number of `{...}` patterns to expand. Default `1_000`.
*
* Note: this is much less than minimatch's default of `100_000`,
* because Glob has higher memory requirements due to walking
* the file system tree.
*/
braceExpandMax?: number;
}

@@ -295,0 +303,0 @@ export type GlobOptionsWithFileTypesTrue = GlobOptions & {

@@ -140,3 +140,3 @@ import { Minimatch } from 'minimatch';

const mmo = {
// default nocase based on platform
braceExpandMax: 10_000,
...opts,

@@ -146,2 +146,3 @@ dot: this.dot,

nobrace: this.nobrace,
// default nocase based on platform
nocase: this.nocase,

@@ -148,0 +149,0 @@ nocaseMagicOnly,

@@ -14,2 +14,3 @@ import { GLOBSTAR } from 'minimatch';

export type GlobList = [p: string, ...rest: string[]];
declare const customInspect: unique symbol;
/**

@@ -23,2 +24,3 @@ * An immutable-ish view on an array of glob parts and their parsed

constructor(patternList: MMPattern[], globList: string[], index: number, platform: NodeJS.Platform);
[customInspect](): string;
/**

@@ -78,2 +80,3 @@ * The first entry in the parsed list of patterns

}
export {};
//# sourceMappingURL=pattern.d.ts.map

@@ -5,2 +5,3 @@ // this is just a very light wrapper around 2 arrays with an offset index

const isGlobList = (gl) => gl.length >= 1;
const customInspect = Symbol.for('nodejs.util.inspect.custom');
/**

@@ -81,2 +82,5 @@ * An immutable-ish view on an array of glob parts and their parsed

}
[customInspect]() {
return 'Pattern <' + this.#globList.slice(this.#index).join('/') + '>';
}
/**

@@ -83,0 +87,0 @@ * The first entry in the parsed list of patterns

@@ -5,3 +5,3 @@ {

"description": "the most correct and second fastest glob implementation in JavaScript",
"version": "13.0.4",
"version": "13.0.5",
"type": "module",

@@ -8,0 +8,0 @@ "tshy": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet