🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

filewalker

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filewalker - npm Package Compare versions

Comparing version

to
0.0.3

@@ -37,3 +37,7 @@

Filewalker.prototype._path = function(p) {
return path.relative(this.root, p).split('\\').join('/');
if(path.relative) {
return path.relative(this.root, p).split('\\').join('/');
} else {
return p.substr(this.root.length).split('\\').join('/');
}
};

@@ -40,0 +44,0 @@

{
"name": "filewalker",
"version": "0.0.2",
"version": "0.0.3",
"description": "Fast and rock-solid asynchronous traversing of directories and files for node.js",

@@ -20,3 +20,4 @@ "author": {

"engines": {"node": ">= 0.4.x"},
"dependencies": {},
"dependencies": {
},
"scripts": {

@@ -23,0 +24,0 @@ "test": "mocha -R spec"

Sorry, the diff of this file is not supported yet