Socket
Socket
Sign inDemoInstall

minimatch

Package Overview
Dependencies
2
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.4 to 9.0.0

1

dist/cjs/index.d.ts

@@ -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 = /^\*+([^+@!?\*\[\(]*)$/;

6

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc