function onDeps( error, results ) {
			if ( errFLG ) {
				return;
			}
			if ( error ) {
				debug( 'Encountered an error when resolving package dependencies: %s (%d of %d). Error: %s', pkg, k, len, error.message );
				errFLG = true;
				return clbk( error );
			}
			debug( 'Successfully resolved package dependencies: %s (%d of %d).', pkg, k, len );

			results = transform( results );
			cache[ idx ].files = results.files;
			cache[ idx ].deps = results.deps;

			count += 1;
			debug( 'Resolved %d of %d packages.', count, len );
			if ( count === len ) {
				return clbk( null, cache );
			}
		}
Callback invoked upon resolving dependencies.

@private
@param {(Error|null)} error - error object
@param {ObjectArray} results - results
@returns {void}