lib/entries.js
function getEntryParents(content) {
	const
		parents = new Set(),
		clrfx = /\.\//;

	$C(content.split(eol)).forEach((line) => {
		if (!hasImport.test(line)) {
			return;
		}

		const
			url = RegExp.$2;

		if (isNodeModule(url) && entriesDir.test(url) || insideEntry.test(url)) {
			parents.add(url.replace(clrfx, ''));
		}
	});

	return parents;
}
function getEntryParents(content) {
	const
		parents = new Set(),
		clrfx = /\.\//;

	$C(content.split(eol)).forEach((line) => {
		if (!hasImport.test(line)) {
			return;
		}

		const
			url = RegExp.$2;

		if (isNodeModule(url) && entriesDir.test(url) || insideEntry.test(url)) {
			parents.add(url.replace(clrfx, ''));
		}
	});

	return parents;
}
function getEntryParents ( content ) { const parents = new Set ( ) , clrfx = / \.\/ / ; $C ( content . split ( eol ) ) . forEach ( ( line ) => { if ( ! hasImport . test ( line ) ) { return ; } const url = RegExp . $2 ; if ( isNodeModule ( url ) && entriesDir . test ( url ) || insideEntry . test ( url ) ) { parents . add ( url . replace ( clrfx , '' ) ) ; } } ) ; return parents ; }
Returns a set of parent entries for the specified entry

@param {string} content - file content
@returns {!Set<string>}
Returns a set of parent entries for the specified entry