apidoc-core
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -1,3 +0,4 @@ | ||
var fs = require('fs-extra'); | ||
var os = require('os'); | ||
var fs = require('fs-extra'); | ||
var klawSync = require('klaw-sync'); | ||
var os = require('os'); | ||
@@ -62,3 +63,5 @@ var FileError = require('../errors/file_error'); | ||
try { | ||
files = fs.walkSync(self.path); | ||
files = klawSync(self.path).map( function(entry) { | ||
return entry.path; | ||
}); | ||
@@ -139,8 +142,10 @@ // create RegExp Include Filter List | ||
files = files.map( function(filename) { | ||
return filename.substr(self.path.length); | ||
if (filename.startsWith(self.path)) { | ||
return filename.substr(self.path.length + 1); // + 1 / at the end | ||
} | ||
return filename; | ||
}); | ||
} | ||
} | ||
return files; | ||
}; |
{ | ||
"name": "apidoc-core", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "Core parser library to generate apidoc result following the apidoc-spec", | ||
@@ -33,5 +33,6 @@ "author": "Peter Rottmann <rottmann@inveris.de>", | ||
"dependencies": { | ||
"fs-extra": "^1.0.0", | ||
"fs-extra": "^2.0.0", | ||
"glob": "^7.1.1", | ||
"iconv-lite": "^0.4.15", | ||
"klaw-sync": "^1.0.2", | ||
"lodash": "~4.17.4", | ||
@@ -38,0 +39,0 @@ "semver": "~5.3.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
102526
2828
6
+ Addedklaw-sync@^1.0.2
+ Addedarr-diff@2.0.0(transitive)
+ Addedarr-flatten@1.1.0(transitive)
+ Addedarray-unique@0.2.1(transitive)
+ Addedbraces@1.8.5(transitive)
+ Addedexpand-brackets@0.1.5(transitive)
+ Addedexpand-range@1.8.2(transitive)
+ Addedextglob@0.3.2(transitive)
+ Addedfilename-regex@2.0.1(transitive)
+ Addedfill-range@2.2.4(transitive)
+ Addedfor-in@1.0.2(transitive)
+ Addedfor-own@0.1.5(transitive)
+ Addedfs-extra@2.1.2(transitive)
+ Addedglob-base@0.3.0(transitive)
+ Addedglob-parent@2.0.0(transitive)
+ Addedis-buffer@1.1.6(transitive)
+ Addedis-dotfile@1.0.3(transitive)
+ Addedis-equal-shallow@0.1.3(transitive)
+ Addedis-extendable@0.1.1(transitive)
+ Addedis-extglob@1.0.0(transitive)
+ Addedis-glob@2.0.1(transitive)
+ Addedis-number@2.1.04.0.0(transitive)
+ Addedis-posix-bracket@0.1.1(transitive)
+ Addedis-primitive@2.0.0(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedisobject@2.1.0(transitive)
+ Addedkind-of@3.2.26.0.3(transitive)
+ Addedklaw-sync@1.1.2(transitive)
+ Addedmath-random@1.0.4(transitive)
+ Addedmicromatch@2.3.11(transitive)
+ Addednormalize-path@2.1.1(transitive)
+ Addedobject.omit@2.0.1(transitive)
+ Addedparse-glob@3.0.4(transitive)
+ Addedpreserve@0.2.0(transitive)
+ Addedrandomatic@3.1.1(transitive)
+ Addedregex-cache@0.4.4(transitive)
+ Addedremove-trailing-separator@1.1.0(transitive)
+ Addedrepeat-element@1.1.4(transitive)
+ Addedrepeat-string@1.6.1(transitive)
- Removedfs-extra@1.0.0(transitive)
- Removedklaw@1.3.1(transitive)
Updatedfs-extra@^2.0.0