@node-red/runtime
Advanced tools
Comparing version 3.1.5 to 3.1.6
@@ -488,3 +488,3 @@ /** | ||
if (this._env.hasOwnProperty(key)) { | ||
return (Object.hasOwn(this._env[key], 'value') && this._env[key].__clone__) ? clone(this._env[key].value) : this._env[key] | ||
return (this._env[key] && Object.hasOwn(this._env[key], 'value') && this._env[key].__clone__) ? clone(this._env[key].value) : this._env[key] | ||
} | ||
@@ -491,0 +491,0 @@ } else { |
@@ -44,3 +44,3 @@ const flowUtil = require("./util"); | ||
if (this._env.hasOwnProperty(key)) { | ||
return (Object.hasOwn(this._env[key], 'value') && this._env[key].__clone__) ? clone(this._env[key].value) : this._env[key] | ||
return (this._env[key] && Object.hasOwn(this._env[key], 'value') && this._env[key].__clone__) ? clone(this._env[key].value) : this._env[key] | ||
} | ||
@@ -47,0 +47,0 @@ } else { |
@@ -379,3 +379,3 @@ /** | ||
if (this._env.hasOwnProperty(key)) { | ||
return (Object.hasOwn(this._env[key], 'value') && this._env[key].__clone__) ? clone(this._env[key].value) : this._env[key] | ||
return (this._env[key] && Object.hasOwn(this._env[key], 'value') && this._env[key].__clone__) ? clone(this._env[key].value) : this._env[key] | ||
} | ||
@@ -382,0 +382,0 @@ } else { |
@@ -80,3 +80,3 @@ /** | ||
}; | ||
result.rev = crypto.createHash('md5').update(JSON.stringify(result.flows)).digest("hex"); | ||
result.rev = crypto.createHash('sha256').update(JSON.stringify(result.flows)).digest("hex"); | ||
return result; | ||
@@ -99,3 +99,3 @@ }) | ||
return storageModule.saveFlows(flows, user).then(function() { | ||
return crypto.createHash('md5').update(JSON.stringify(config.flows)).digest("hex"); | ||
return crypto.createHash('sha256').update(JSON.stringify(config.flows)).digest("hex"); | ||
}) | ||
@@ -102,0 +102,0 @@ }); |
{ | ||
"name": "@node-red/runtime", | ||
"version": "3.1.5", | ||
"version": "3.1.6", | ||
"license": "Apache-2.0", | ||
@@ -19,4 +19,4 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@node-red/registry": "3.1.5", | ||
"@node-red/util": "3.1.5", | ||
"@node-red/registry": "3.1.6", | ||
"@node-red/util": "3.1.6", | ||
"async-mutex": "0.4.0", | ||
@@ -23,0 +23,0 @@ "clone": "2.1.2", |
613053
+ Added@node-red/registry@3.1.6(transitive)
+ Added@node-red/util@3.1.6(transitive)
- Removed@node-red/registry@3.1.5(transitive)
- Removed@node-red/util@3.1.5(transitive)
Updated@node-red/registry@3.1.6
Updated@node-red/util@3.1.6