lib/cjs_amd.js
function collectDependenciesIds(ast) {
	var ids = [];

	visitRequireArgument(ast, function(argument) {
		ids.push(argument.value);
	});

	return ids;
}
function collectDependenciesIds(ast) {
	var ids = [];

	visitRequireArgument(ast, function(argument) {
		ids.push(argument.value);
	});

	return ids;
}
function collectDependenciesIds ( ast ) { var ids = [ ] ; visitRequireArgument ( ast , function ( argument ) { ids . push ( argument . value ) ; } ) ; return ids ; }
Given an AST, returns the module identifiers passed to `require` calls
@param {Object} ast - The ast to walk
@return {Array.<String>} The module identifiers
Given an AST returns the module identifiers passed to require calls