MCPcopy
hub / github.com/rollup/rollup / doAttributesDiffer

Function doAttributesDiffer

src/utils/parseImportAttributes.ts:78–87  ·  view source on GitHub ↗
(
	assertionA: Record<string, string>,
	assertionB: Record<string, string>
)

Source from the content-addressed store, hash-verified

76}
77
78export function doAttributesDiffer(
79 assertionA: Record<string, string>,
80 assertionB: Record<string, string>
81): boolean {
82 const keysA = Object.keys(assertionA);
83 return (
84 keysA.length !== Object.keys(assertionB).length ||
85 keysA.some(key => assertionA[key] !== assertionB[key])
86 );
87}

Callers 4

fetchModuleMethod · 0.90
resolveDynamicImportMethod · 0.90
addSourceMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…