minimatch
Advanced tools
Comparing version 8.0.4 to 9.0.0
@@ -39,3 +39,2 @@ import { AST } from './ast.js'; | ||
}; | ||
export default minimatch; | ||
type Sep = '\\' | '/'; | ||
@@ -42,0 +41,0 @@ export declare const sep: Sep; |
@@ -21,3 +21,2 @@ "use strict"; | ||
exports.minimatch = minimatch; | ||
exports.default = exports.minimatch; | ||
// Optimized checking for the most common glob patterns. | ||
@@ -24,0 +23,0 @@ const starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/; |
@@ -39,3 +39,2 @@ import { AST } from './ast.js'; | ||
}; | ||
export default minimatch; | ||
type Sep = '\\' | '/'; | ||
@@ -42,0 +41,0 @@ export declare const sep: Sep; |
@@ -14,3 +14,2 @@ import expand from 'brace-expansion'; | ||
}; | ||
export default minimatch; | ||
// Optimized checking for the most common glob patterns. | ||
@@ -17,0 +16,0 @@ const starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/; |
@@ -5,3 +5,3 @@ { | ||
"description": "a glob matcher in javascript", | ||
"version": "8.0.4", | ||
"version": "9.0.0", | ||
"repository": { | ||
@@ -11,3 +11,3 @@ "type": "git", | ||
}, | ||
"main": "./dist/cjs/index-cjs.js", | ||
"main": "./dist/cjs/index.js", | ||
"module": "./dist/mjs/index.js", | ||
@@ -23,3 +23,3 @@ "types": "./dist/cjs/index.d.ts", | ||
"types": "./dist/cjs/index.d.ts", | ||
"default": "./dist/cjs/index-cjs.js" | ||
"default": "./dist/cjs/index.js" | ||
} | ||
@@ -26,0 +26,0 @@ } |
@@ -18,7 +18,2 @@ # minimatch | ||
// default export also works | ||
import minimatch from 'minimatch' | ||
// or: | ||
const minimatch = require('minimatch') | ||
minimatch('bar.foo', '*.foo') // true! | ||
@@ -25,0 +20,0 @@ minimatch('bar.foo', '*.bar') // false! |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
428034
53
3840
455
7