Comparing version 10.4.4 to 10.4.5
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { Minimatch } from 'minimatch'; | ||
@@ -3,0 +2,0 @@ import { Minipass } from 'minipass'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { Minimatch, MinimatchOptions } from 'minimatch'; | ||
@@ -3,0 +2,0 @@ import { Path } from 'path-scurry'; |
@@ -94,5 +94,5 @@ import { Minipass } from 'minipass'; | ||
hasMagic: (pattern: string | string[], options?: GlobOptions) => boolean; | ||
escape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape"> | undefined) => string; | ||
unescape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape"> | undefined) => string; | ||
escape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape">) => string; | ||
unescape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape">) => string; | ||
}; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.glob = exports.sync = exports.iterate = exports.iterateSync = exports.stream = exports.streamSync = exports.globIterate = exports.globIterateSync = exports.globSync = exports.globStream = exports.globStreamSync = exports.Ignore = exports.hasMagic = exports.Glob = exports.unescape = exports.escape = void 0; | ||
exports.glob = exports.sync = exports.iterate = exports.iterateSync = exports.stream = exports.streamSync = exports.Ignore = exports.hasMagic = exports.Glob = exports.unescape = exports.escape = void 0; | ||
exports.globStreamSync = globStreamSync; | ||
exports.globStream = globStream; | ||
exports.globSync = globSync; | ||
exports.globIterateSync = globIterateSync; | ||
exports.globIterate = globIterate; | ||
const minimatch_1 = require("minimatch"); | ||
@@ -19,11 +24,8 @@ const glob_js_1 = require("./glob.js"); | ||
} | ||
exports.globStreamSync = globStreamSync; | ||
function globStream(pattern, options = {}) { | ||
return new glob_js_1.Glob(pattern, options).stream(); | ||
} | ||
exports.globStream = globStream; | ||
function globSync(pattern, options = {}) { | ||
return new glob_js_1.Glob(pattern, options).walkSync(); | ||
} | ||
exports.globSync = globSync; | ||
async function glob_(pattern, options = {}) { | ||
@@ -35,7 +37,5 @@ return new glob_js_1.Glob(pattern, options).walk(); | ||
} | ||
exports.globIterateSync = globIterateSync; | ||
function globIterate(pattern, options = {}) { | ||
return new glob_js_1.Glob(pattern, options).iterate(); | ||
} | ||
exports.globIterate = globIterate; | ||
// aliases: glob.sync.stream() glob.stream.sync() glob.sync() etc | ||
@@ -42,0 +42,0 @@ exports.streamSync = globStreamSync; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { GLOBSTAR } from 'minimatch'; | ||
@@ -3,0 +2,0 @@ export type MMPattern = string | RegExp | typeof GLOBSTAR; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
/** | ||
@@ -3,0 +2,0 @@ * Single-use utility classes to provide functionality to the {@link Glob} |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { Minimatch } from 'minimatch'; | ||
@@ -3,0 +2,0 @@ import { Minipass } from 'minipass'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { Minimatch, MinimatchOptions } from 'minimatch'; | ||
@@ -3,0 +2,0 @@ import { Path } from 'path-scurry'; |
@@ -94,5 +94,5 @@ import { Minipass } from 'minipass'; | ||
hasMagic: (pattern: string | string[], options?: GlobOptions) => boolean; | ||
escape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape"> | undefined) => string; | ||
unescape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape"> | undefined) => string; | ||
escape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape">) => string; | ||
unescape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape">) => string; | ||
}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { GLOBSTAR } from 'minimatch'; | ||
@@ -3,0 +2,0 @@ export type MMPattern = string | RegExp | typeof GLOBSTAR; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/** | ||
@@ -3,0 +2,0 @@ * Single-use utility classes to provide functionality to the {@link Glob} |
{ | ||
"author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me/)", | ||
"publishConfig": { | ||
"tag": "legacy-v10" | ||
}, | ||
"name": "glob", | ||
"description": "the most correct and second fastest glob implementation in JavaScript", | ||
"version": "10.4.4", | ||
"version": "10.4.5", | ||
"type": "module", | ||
@@ -21,3 +24,2 @@ "tshy": { | ||
"import": { | ||
"source": "./src/index.ts", | ||
"types": "./dist/esm/index.d.ts", | ||
@@ -27,3 +29,2 @@ "default": "./dist/esm/index.js" | ||
"require": { | ||
"source": "./src/index.ts", | ||
"types": "./dist/commonjs/index.d.ts", | ||
@@ -99,6 +100,3 @@ "default": "./dist/commonjs/index.js" | ||
}, | ||
"engines": { | ||
"node": "14 >=14.21 || 16 >=16.20 || 18 || 20 || >=22" | ||
}, | ||
"module": "./dist/esm/index.js" | ||
} |
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 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 not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
474716
4436