mirror of
https://github.com/morluto/rea.git
synced 2026-10-28 02:15:44 +00:00
fix(javascript): retain distinct module provenance path components
This commit is contained in:
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 = (
|
||||
|
||||
Reference in new issue
Block a user