mirror of
https://github.com/morluto/rea
synced 2026-10-26 14:25:49 -04:00
refactor(domain): reuse canonical ordering and digest owners
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { uniqueSortedBy } from "../canonicalOrdering.js";
|
||||
import * as t from "@babel/types";
|
||||
import { RETURNED_REFERENCE_WIDENING_LIMITATION } from "./javascriptSemanticCoverage.js";
|
||||
import { collectElectronWrappedCallPaths } from "./electronWrappedCallPaths.js";
|
||||
@@ -20,7 +21,6 @@ import {
|
||||
detectVendors,
|
||||
failedJavaScriptStaticAnalysis,
|
||||
registrationKey,
|
||||
sortedUnique,
|
||||
stringValue,
|
||||
} from "./javascriptStaticAnalysisHelpers.js";
|
||||
import {
|
||||
@@ -218,7 +218,7 @@ const finalizeStaticAnalysis = (
|
||||
accumulator.storage,
|
||||
accumulator.moduleRangeIndex,
|
||||
),
|
||||
bundler_registrations: sortedUnique(
|
||||
bundler_registrations: uniqueSortedBy(
|
||||
accumulator.registrations,
|
||||
registrationKey,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user