mirror of
https://github.com/morluto/rea.git
synced 2026-11-22 06:25:44 +00:00
fix(electron): resolve exact local IPC channel values (#13005)
* fix(electron): resolve exact local IPC channel values * test(electron): cover ESM IPC channel overwrites * fix(electron): reconcile wrapper registrations before resolving channels * test(electron): require inference evidence for resolved handler channels * fix(electron): preserve inferred channels on handler evidence
This commit is contained in:
1 parent
fba5e44bf5
commit
e66a27c2f2
7 files changed
+250
-84
No files matched your search
@@ -30,6 +30,7 @@ import {
|
||||
} from "./electronStaticRenderer.js";
|
||||
import { finishElectronNativeBindingsSteps } from "./electronStaticAnalysisNative.js";
|
||||
import { finishElectronDynamicCodeSteps } from "./electronStaticAnalysisDynamicCode.js";
|
||||
import { finishElectronIpcChannels } from "./electronStaticAnalysisIpc.js";
|
||||
import { inspectElectronStaticNode } from "./electronStaticAnalysis.js";
|
||||
import {
|
||||
hasPossibleCommonJsDelegateWrite,
|
||||
@@ -234,6 +235,10 @@ export function* analyzeParsedJavaScriptStaticSourceSteps(
|
||||
electronIdentity,
|
||||
() => index.indexMemberMutationFactsSteps(),
|
||||
);
|
||||
if (accumulator.pendingIpcChannels.size > 0) {
|
||||
yield* index.indexMemberMutationFactsSteps();
|
||||
finishElectronIpcChannels(accumulator, bindings);
|
||||
}
|
||||
addSourceMapDirectives(source, file.comments ?? [], accumulator);
|
||||
return finalizeStaticAnalysis(source, file, accumulator, bindings, routes);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user