npm-packlist
Advanced tools
Comparing version 1.1.5 to 1.1.6
11
index.js
@@ -137,2 +137,10 @@ 'use strict' | ||
// override parent onstat function to nix all symlinks | ||
onstat (st, entry, file, dir, then) { | ||
if (st.isSymbolicLink()) | ||
then() | ||
else | ||
super.onstat(st, entry, file, dir, then) | ||
} | ||
onReadIgnoreFile (file, data, then) { | ||
@@ -162,4 +170,5 @@ if (file === 'package.json') | ||
class WalkerSync extends npmWalker(IgnoreWalkerSync) { | ||
walker (entry) { | ||
walker (entry, then) { | ||
new WalkerSync(this.walkerOpt(entry)).start() | ||
then() | ||
} | ||
@@ -166,0 +175,0 @@ } |
{ | ||
"name": "npm-packlist", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"main": "index.js", | ||
"dependencies": { | ||
"ignore-walk": "^2.0.2", | ||
"ignore-walk": "^3.0.0", | ||
"npm-bundled": "^1.0.1" | ||
@@ -8,0 +8,0 @@ }, |
10304
182
+ Addedignore-walk@3.0.4(transitive)
- Removedignore-walk@2.0.5(transitive)
Updatedignore-walk@^3.0.0