minimatch 3.0.7 → 3.0.8

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.
Files changed (2) hide show
  1. package/minimatch.js +2 -0
  2. package/package.json +1 -1
package/minimatch.js CHANGED
@@ -134,6 +134,8 @@ function Minimatch (pattern, options) {
134
134
 
135
135
  if (!options) options = {}
136
136
 
137
+ pattern = pattern.trim()
138
+
137
139
  // windows support: need to use /, not \
138
140
  if (path.sep !== '/') {
139
141
  pattern = pattern.split(path.sep).join('/')
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
3
3
  "name": "minimatch",
4
4
  "description": "a glob matcher in javascript",
5
- "version": "3.0.7",
5
+ "version": "3.0.8",
6
6
  "publishConfig": {
7
7
  "tag": "v3.0-legacy"
8
8
  },