From b41eacd31e81e1e3c254117b60ab7a0aa2634c42 Mon Sep 17 00:00:00 2001 From: rory Date: Mon, 7 Sep 2026 11:49:20 -0700 Subject: [PATCH] Replace banned object type in memoizedShallowEqual --- lib/memoizedShallowEqual.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/memoizedShallowEqual.ts b/lib/memoizedShallowEqual.ts index 4a015f3d9..c89ea939a 100644 --- a/lib/memoizedShallowEqual.ts +++ b/lib/memoizedShallowEqual.ts @@ -8,7 +8,7 @@ import {shallowEqual} from 'fast-equals'; * the O(keys) walk and the rest resolve in O(1). WeakMap keys make stale entries impossible to * read (lookup requires holding both exact objects) and let GC reclaim them. */ -const shallowEqualVerdicts = new WeakMap>(); +const shallowEqualVerdicts = new WeakMap>(); /** * Identity-pair-memoized shallowEqual: same (a, b) references → cached verdict, no walk.