From 16771fc5b466d5698238159cc3e2ffeafea17c4c Mon Sep 17 00:00:00 2001 From: Gerwin van Beek Date: Thu, 11 Aug 2022 19:48:37 +0200 Subject: [PATCH] Option to set null/undefined properties with setObjectProperty --- packages/node_modules/@node-red/util/lib/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/util/lib/util.js b/packages/node_modules/@node-red/util/lib/util.js index d82de0d1d..85c7f317f 100644 --- a/packages/node_modules/@node-red/util/lib/util.js +++ b/packages/node_modules/@node-red/util/lib/util.js @@ -473,7 +473,7 @@ function setObjectProperty(msg,prop,value,createMissing) { for (var i=0;i 1 && ((typeof obj[key] !== "object" && typeof obj[key] !== "function") || obj[key] === null)) { // Break out early as we cannot create a property beneath // this type of value