mirror of
https://github.com/morluto/rea
synced 2026-10-26 06:16:17 -04:00
fix(javascript): distinguish Map lookups from network endpoints
Resolve unchanged Map operations through shared binding, capture, mutation, and ambient escape facts. Reuse that proof in application and captured bundle analysis; unresolved get/delete receivers remain inferred candidates. Preserve repeated native operations without manufacturing receiver escapes. Retain uncertainty for real escapes, opaque eval, and changed constructor adder hooks. Converge stored aliases at the producing boundary. Adapt the JavaScript changes from #4863, excluding its Linux resource fix. Add captured-bundle parity, repeated-operation and constructor-hook coverage. Fixes #4853 Co-authored-by: abdooo2235 <abdalrhmantheiv15@gmail.com>
This commit is contained in:
@@ -655,7 +655,10 @@ export const endpointArgument = (
|
||||
)
|
||||
return undefined;
|
||||
return {
|
||||
kind: isRequestUrlReference(value) ? "endpoint" : "candidate",
|
||||
kind:
|
||||
method !== "get" && method !== "delete" && isRequestUrlReference(value)
|
||||
? "endpoint"
|
||||
: "candidate",
|
||||
value,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user