MCPcopy Create free account
hub / github.com/CodeForBreakfast/eventsourcing / extractDependencies

Function extractDependencies

scripts/validate-changesets.ts:352–356  ·  view source on GitHub ↗
(pkg: unknown, key: string)

Source from the content-addressed store, hash-verified

350};
351
352const extractDependencies = (pkg: unknown, key: string): Record<string, string> => {
353 const record = pkg as Record<string, unknown> | null;
354 const deps = record?.[key];
355 return (deps as Record<string, string> | undefined) || {};
356};
357
358const compareDependencyChanges = (
359 beforeContent: unknown,

Callers 1

compareDependencyChangesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected