npm-crawl.js
function(context, pkg, isRoot, deps){
		var stealPkg = utils.filter(deps, function(dep){
			return dep && dep.name === "steal";
		})[0];

		if(stealPkg) {
			return crawl.fetchDep(context, pkg, stealPkg, isRoot)
				.then(function(childPkg){
					if(childPkg) {
						return crawl.deps(context, childPkg);
					}
				});
		} else {
			return Promise.resolve();
		}
	}
function(context, pkg, isRoot, deps){
		var stealPkg = utils.filter(deps, function(dep){
			return dep && dep.name === "steal";
		})[0];

		if(stealPkg) {
			return crawl.fetchDep(context, pkg, stealPkg, isRoot)
				.then(function(childPkg){
					if(childPkg) {
						return crawl.deps(context, childPkg);
					}
				});
		} else {
			return Promise.resolve();
		}
	}
function ( context , pkg , isRoot , deps ) { var stealPkg = utils . filter ( deps , function ( dep ) { return dep && dep . name === "steal" ; } ) [ 0 ] ; if ( stealPkg ) { return crawl . fetchDep ( context , pkg , stealPkg , isRoot ) . then ( function ( childPkg ) { if ( childPkg ) { return crawl . deps ( context , childPkg ) ; } } ) ; } else { return Promise . resolve ( ) ; } }
Load steal and its dependencies, if needed
Load steal and its dependencies if needed