From 2410a29223ee1cecdb5cd2d23ff34a8710932d86 Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Wed, 2 Jan 2019 16:59:30 -0700 Subject: [PATCH] Blob, File and React Elements are not mergable --- src/seamless-immutable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/seamless-immutable.js b/src/seamless-immutable.js index f9ead88..fa1143c 100644 --- a/src/seamless-immutable.js +++ b/src/seamless-immutable.js @@ -73,7 +73,7 @@ function immutableInit(config) { } function isMergableObject(target) { - return target !== null && typeof target === "object" && !(Array.isArray(target)) && !(target instanceof Date); + return target !== null && typeof target === "object" && !(Array.isArray(target)) && !(target instanceof Date) && !isBlobObject(target) && !isFileObject(target) && !isReactElement(target); } var mutatingObjectMethods = [