npm-crawl.js
function(){
		// If it is already loaded check to see if it's semver compatible
		// and if so use it. Otherwise reject.
		var loadedPkg = this.context.paths[this.fileUrl];
		if(loadedPkg) {
			this._fetchedPackage = loadedPkg;
			if(!this.isCompatibleVersion()) {
				this.failed = true;
			}
			return Promise.resolve();
		}
	}
function(){
		// If it is already loaded check to see if it's semver compatible
		// and if so use it. Otherwise reject.
		var loadedPkg = this.context.paths[this.fileUrl];
		if(loadedPkg) {
			this._fetchedPackage = loadedPkg;
			if(!this.isCompatibleVersion()) {
				this.failed = true;
			}
			return Promise.resolve();
		}
	}
function ( ) { // If it is already loaded check to see if it's semver compatible // and if so use it. Otherwise reject. var loadedPkg = this . context . paths [ this . fileUrl ] ; if ( loadedPkg ) { this . _fetchedPackage = loadedPkg ; if ( ! this . isCompatibleVersion ( ) ) { this . failed = true ; } return Promise . resolve ( ) ; } }
Handle the case where this fileUrl has already loaded.
Handle the case where this fileUrl has already loaded .