@bcoe/dotignore
Advanced tools
Comparing version 0.1.1 to 0.1.2
var minimatch = require('minimatch'); | ||
var path = require('path'); | ||
@@ -29,3 +30,3 @@ function IgnoreMatcher(str) { | ||
} | ||
IgnoreMatcher.prototype.delimiter = '/'; | ||
IgnoreMatcher.prototype.delimiter = path.sep; | ||
IgnoreMatcher.prototype.shouldIgnore = function (filename) { | ||
@@ -32,0 +33,0 @@ var isMatching = false; |
{ | ||
"name": "@bcoe/dotignore", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "ignorefile/includefile matching .gitignore spec", | ||
@@ -13,3 +13,4 @@ "main": "index.js", | ||
"coverage-quiet": "covert --quiet test/test.js", | ||
"lint": "jscs *.js */*.js" | ||
"lint": "jscs *.js */*.js", | ||
"release": "standard-version" | ||
}, | ||
@@ -35,6 +36,7 @@ "repository": { | ||
"devDependencies": { | ||
"tape": "^4.2.0", | ||
"covert": "^1.1.0", | ||
"jscs": "^2.1.0" | ||
"jscs": "^2.1.0", | ||
"standard-version": "^4.2.0", | ||
"tape": "^4.2.0" | ||
} | ||
} |
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
6828
6
130
4