micromatch 4.0.1 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of micromatch might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +6 -0
  2. package/package.json +4 -3
package/index.js CHANGED
@@ -122,6 +122,12 @@ micromatch.matcher = (pattern, options) => picomatch(pattern, options);
122
122
 
123
123
  micromatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
124
124
 
125
+ /**
126
+ * Backwards compatibility
127
+ */
128
+
129
+ micromatch.any = micromatch.isMatch;
130
+
125
131
  /**
126
132
  * Returns a list of strings that _**do not match any**_ of the given `patterns`.
127
133
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "micromatch",
3
3
  "description": "Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.",
4
- "version": "4.0.1",
4
+ "version": "4.0.2",
5
5
  "homepage": "https://github.com/micromatch/micromatch",
6
6
  "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
7
7
  "contributors": [
@@ -17,7 +17,8 @@
17
17
  "Olsten Larck (https://i.am.charlike.online)",
18
18
  "Paul Miller (paulmillr.com)",
19
19
  "Tom Byrer (https://github.com/tomByrer)",
20
- "Tyler Akins (http://rumkin.com)"
20
+ "Tyler Akins (http://rumkin.com)",
21
+ "Peter Bright <drpizza@quiscalusmexicanus.org> (https://github.com/drpizza)"
21
22
  ],
22
23
  "repository": "micromatch/micromatch",
23
24
  "bugs": {
@@ -36,7 +37,7 @@
36
37
  },
37
38
  "dependencies": {
38
39
  "braces": "^3.0.1",
39
- "picomatch": "^2.0.3"
40
+ "picomatch": "^2.0.5"
40
41
  },
41
42
  "devDependencies": {
42
43
  "fill-range": "^7.0.1",