wildcard-match
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -6,5 +6,2 @@ interface MatchFn { | ||
declare function wildcardMatch(pattern: string, separator?: string): MatchFn; | ||
declare namespace wildcardMatch { | ||
var default: typeof wildcardMatch; | ||
} | ||
export = wildcardMatch; |
@@ -53,4 +53,8 @@ "use strict"; | ||
} | ||
wildcardMatch.default = wildcardMatch; | ||
// Support both CommonJS and ES6-like modules. | ||
// Could be `wildcardMatch.default = wildcardMatch`, but TypeScript has a bug: | ||
// https://github.com/microsoft/TypeScript/issues/32470 | ||
// eslint-disable-next-line dot-notation | ||
wildcardMatch['default'] = wildcardMatch; | ||
module.exports = wildcardMatch; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "wildcard-match", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Check if a string matches a pattern containing * and ** wildcards", | ||
@@ -5,0 +5,0 @@ "author": "Alex Schneider <me@schneider.ax>", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
7959
64
0