gulp-filter
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -26,3 +26,3 @@ 'use strict'; | ||
// by minimatch (via multimatch) | ||
if (relPath.indexOf('../') === 0) { | ||
if (/^\.\.[\\/]/.test(relPath)) { | ||
relPath = path.resolve(relPath); | ||
@@ -29,0 +29,0 @@ } |
{ | ||
"name": "gulp-filter", | ||
"version": "5.0.0", | ||
"description": "Filter files in a Vinyl stream", | ||
"license": "MIT", | ||
"repository": "sindresorhus/gulp-filter", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"scripts": { | ||
"test": "xo && mocha" | ||
}, | ||
"files": [ | ||
"index.js" | ||
], | ||
"keywords": [ | ||
"gulpplugin", | ||
"filter", | ||
"ignore", | ||
"file", | ||
"files", | ||
"match", | ||
"minimatch", | ||
"glob", | ||
"globbing" | ||
], | ||
"dependencies": { | ||
"gulp-util": "^3.0.6", | ||
"multimatch": "^2.0.0", | ||
"streamfilter": "^1.0.5" | ||
}, | ||
"devDependencies": { | ||
"mocha": "*", | ||
"xo": "*" | ||
}, | ||
"xo": { | ||
"esnext": true | ||
} | ||
"name": "gulp-filter", | ||
"version": "5.0.1", | ||
"description": "Filter files in a Vinyl stream", | ||
"license": "MIT", | ||
"repository": "sindresorhus/gulp-filter", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"scripts": { | ||
"test": "xo && mocha" | ||
}, | ||
"files": [ | ||
"index.js" | ||
], | ||
"keywords": [ | ||
"gulpplugin", | ||
"filter", | ||
"ignore", | ||
"file", | ||
"files", | ||
"match", | ||
"minimatch", | ||
"glob", | ||
"globbing" | ||
], | ||
"dependencies": { | ||
"gulp-util": "^3.0.6", | ||
"multimatch": "^2.0.0", | ||
"streamfilter": "^1.0.5" | ||
}, | ||
"devDependencies": { | ||
"mocha": "*", | ||
"xo": "*" | ||
} | ||
} |
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
6961