mirror of
https://github.com/morluto/rea.git
synced 2026-11-06 23:06:18 +00:00
refactor(domain): consolidate canonical ordering and digest helpers (#624)
* refactor(domain): consolidate canonical ordering and digest helpers Single owner for code-point ordering (domain/canonicalOrdering.ts) and canonical JSON digests (domain/comparisonSemantics.ts). Delete all local compareCodePoints/compareText/digestCanonical duplicates and migrate every importer. No re-export shims. * fix(ci): allow slower real browser startup
This commit is contained in:
1 parent
38b293329c
commit
ba3869c597
74 files changed
+438
-530
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { compareCodePoints } from "./javascriptApplicationGraph.js";
|
||||
import { uniqueSorted } from "./canonicalOrdering.js";
|
||||
import type { JavaScriptSemanticGraph } from "./javascriptSemanticGraph.js";
|
||||
import type { JavaScriptSemanticGraphUnknown } from "./javascriptSemanticGraphSchemas.js";
|
||||
import type { JavaScriptSemanticQueryResult } from "./javascriptSemanticQuerySchemas.js";
|
||||
@@ -77,6 +77,3 @@ const queryLimitations = (
|
||||
"Candidate relations remain ambiguous and do not establish a resolved semantic path.",
|
||||
]),
|
||||
]);
|
||||
|
||||
const uniqueSorted = (values: readonly string[]): string[] =>
|
||||
[...new Set(values)].sort(compareCodePoints);
|
||||
Reference in new issue
Block a user