diff --git a/deepequals_fix.patch b/deepequals_fix.patch index ac88c02c65..e69de29bb2 100644 --- a/deepequals_fix.patch +++ b/deepequals_fix.patch @@ -1,14 +0,0 @@ ---- a/src/bun.js/bindings/bindings.cpp -+++ b/src/bun.js/bindings/bindings.cpp -@@ -270,6 +270,11 @@ bool readFlagsAndProcessPromise(JSValue& instanceValue, ExpectFlags& flags, JSG - - AsymmetricMatcherResult matchAsymmetricMatcherAndGetFlags(JSGlobalObject* globalObject, JSValue matcherProp, JSValue otherProp, ThrowScope* throwScope, ExpectFlags& flags) - { -+ // Add check to ensure matcherProp is actually a cell before calling asCell() -+ if (!matcherProp.isCell()) { -+ return AsymmetricMatcherResult::NOT_MATCHER; -+ } -+ - JSCell* matcherPropCell = matcherProp.asCell(); - AsymmetricMatcherConstructorType constructorType = AsymmetricMatcherConstructorType::none; -