function normalizeEntries(map) {
  return [...map.entries()]
    .sort()
    .map(([packagePath, canonicalName]) => [
      path.normalize(path.relative(__dirname, packagePath)),
      canonicalName,
    ])
}
@param {import('../src/index.js').CanonicalNameMap} map