fix(javascript): retain distinct module provenance path components

This commit is contained in:
Rudy Celekli authored and morluto committed 2026-10-10 01:45:00 +08:00
1 parent e995b19f83
commit 2bd7de6f8c
2 files changed
+17 -1

No files matched your search

@@ -48,7 +48,7 @@ export const uniqueSemanticOrigins = (
);
const semanticOriginKey = (origin: JavaScriptModuleOrigin): string =>
`${origin.specifier}\0${origin.importedPath.join("\0")}`;
JSON.stringify([origin.specifier, origin.importedPath]);
/** Canonically distinguish primitive values across type boundaries. */
export const semanticPrimitiveKey = (