src/src.js
function parseOptions(options={}, vinylCjsDeps) {
	const _options = Object.assign({
		gulp: vinylCjsDeps.gulp || require('gulp'),
		base: options.cwd || process.cwd(),
		cwd: options.base || process.cwd(),
		internalOnly: false,
		debugVcjd: false
	}, options);

	_options.mapper = Object.assign({}, options.mapper || {});
	_options.lookup = new Map(options.lookup || []);
	_options.resolver = createResolver(options);

	return _options;
}
function parseOptions(options={}, vinylCjsDeps) {
	const _options = Object.assign({
		gulp: vinylCjsDeps.gulp || require('gulp'),
		base: options.cwd || process.cwd(),
		cwd: options.base || process.cwd(),
		internalOnly: false,
		debugVcjd: false
	}, options);

	_options.mapper = Object.assign({}, options.mapper || {});
	_options.lookup = new Map(options.lookup || []);
	_options.resolver = createResolver(options);

	return _options;
}
Parse the src options adding defaults.

@param {object} options			Options object.
@param {Object} vinylCjsDeps		The module.
@returns {Object}				Mutated options (defaults added).