parse-gitignore
Advanced tools
Comparing version 0.3.1 to 0.4.0
/*! | ||
* parse-gitignore <https://github.com/jonschlinkert/parse-gitignore> | ||
* | ||
* Copyright (c) 2015, Jon Schlinkert. | ||
* Licensed under the MIT License. | ||
* Copyright (c) 2015, 2017, Jon Schlinkert. | ||
* Released under the MIT License. | ||
*/ | ||
@@ -15,3 +15,2 @@ | ||
function gitignore(fp, patterns, options) { | ||
@@ -33,3 +32,2 @@ if (!fp || !fs.existsSync(fp)) return []; | ||
var arr = unique(gitignore.parse(lines, options)); | ||
arr.sort(); | ||
@@ -36,0 +34,0 @@ if (options.cache !== false) { |
{ | ||
"name": "parse-gitignore", | ||
"description": "Parse a gitignore file into an array of patterns. Comments and empty lines are stripped.", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"homepage": "https://github.com/jonschlinkert/parse-gitignore", | ||
"author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"contributors": [ | ||
"Jon Schlinkert <jon.schlinkert@sellside.com> (http://twitter.com/jonschlinkert)", | ||
"Michael Mayer <michael@schnittstabil.de> (http://schnittstabil.de)" | ||
], | ||
"repository": "jonschlinkert/parse-gitignore", | ||
@@ -13,5 +17,3 @@ "bugs": { | ||
"files": [ | ||
"index.js", | ||
"LICENSE", | ||
"README.md" | ||
"index.js" | ||
], | ||
@@ -26,9 +28,11 @@ "main": "index.js", | ||
"dependencies": { | ||
"array-unique": "^0.2.1", | ||
"is-glob": "^2.0.1" | ||
"array-unique": "^0.3.2", | ||
"is-glob": "^3.1.0" | ||
}, | ||
"devDependencies": { | ||
"gulp-format-md": "^0.1.9", | ||
"mocha": "^2.5.3", | ||
"should": "^9.0.2" | ||
"glob-fs": "^0.1.6", | ||
"gulp-format-md": "^0.1.11", | ||
"micromatch": "^2.3.11", | ||
"mocha": "^3.2.0", | ||
"should": "^11.2.1" | ||
}, | ||
@@ -49,7 +53,7 @@ "keywords": [ | ||
], | ||
"lint": { | ||
"reflinks": true | ||
}, | ||
"related": { | ||
"list": [] | ||
"list": [ | ||
"parse-author", | ||
"parse-git-config" | ||
] | ||
}, | ||
@@ -59,4 +63,7 @@ "reflinks": [ | ||
"verb-generate-readme" | ||
] | ||
], | ||
"lint": { | ||
"reflinks": true | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
8273
4
0
82
5
100
+ Addedarray-unique@0.3.2(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@3.1.0(transitive)
- Removedarray-unique@0.2.1(transitive)
- Removedis-extglob@1.0.0(transitive)
- Removedis-glob@2.0.1(transitive)
Updatedarray-unique@^0.3.2
Updatedis-glob@^3.1.0