function isCommonDepWithoutSvelteField(dependency) {
	return (
		COMMON_DEPENDENCIES_WITHOUT_SVELTE_FIELD.includes(dependency) ||
		COMMON_PREFIXES_WITHOUT_SVELTE_FIELD.some(
			(prefix) =>
				prefix.startsWith('@')
					? dependency.startsWith(prefix)
					: dependency.substring(dependency.lastIndexOf('/') + 1).startsWith(prefix) // check prefix omitting @scope/
		)
	);
}
Test for common dependency names that tell us it is not a package including a svelte field, eg. eslint + plugins.

This speeds up the find process as we don't have to try and require the package.json for all of them

@param {string} dependency
@returns {boolean} true if it is a dependency without a svelte field