MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / mapOf

Function mapOf

packages/bumpy/test/utils/package-manager.test.ts:132–134  ·  view source on GitHub ↗
(obj: Record<string, Record<string, string>>)

Source from the content-addressed store, hash-verified

130
131describe('diffCatalogMaps', () => {
132 function mapOf(obj: Record<string, Record<string, string>>): CatalogMap {
133 return new Map(Object.entries(obj));
134 }
135
136 test('returns empty when catalogs are identical', () => {
137 const a = mapOf({ '': { react: '^19.0.0' } });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…