diff --git a/README.md b/README.md index 1e20e4e123..45232ecdf1 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,16 @@ To make a change to the node-red runtime being used by K4 avalanche: 6. Run `npm run build` 7. Manually publish to NPM with `npm publish` - Request creds from ops for this +Note: You need xcode installed to be able to install/build/publish this module properly + # CHANGE-LOG +## 0.18.7-patch-10.1 +2022-12-7 +- Added logging in a catch block with no logging +- Removed subflow ID auto-generation + ## 0.18.7-patch-10 2021-07-14 - Updated logic to swap back org to correct value when possible diff --git a/package-lock.json b/package-lock.json index 55a2c917f0..a209deaae5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@servisbot/node-red", - "version": "0.18.7-patch-9.1", + "version": "0.18.7-patch-10.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -5551,9 +5551,9 @@ "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==" }, "moment-timezone": { - "version": "0.5.33", - "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.33.tgz", - "integrity": "sha512-PTc2vcT8K9J5/9rDEPe5czSIKgLoGsH8UNpA4qZTVw0Vd/Uz19geE9abbIOQKaAQFcnQ3v5YEXrbSc5BpshH+w==", + "version": "0.5.39", + "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.39.tgz", + "integrity": "sha512-hoB6suq4ISDj7BDgctiOy6zljBsdYT0++0ZzZm9rtxIvJhIbQ3nmbgSWe7dNFGurl6/7b1OUkHlmN9JWgXVz7w==", "requires": { "moment": ">= 2.9.0" } diff --git a/package.json b/package.json index 7217e45872..21ca3f9f58 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@servisbot/node-red", - "version": "0.18.7-patch-10", + "version": "0.18.7-patch-10.1", "description": "A visual tool for wiring the Internet of Things", "homepage": "http://nodered.org", "license": "Apache-2.0", diff --git a/red/runtime/nodes/flows/Flow.js b/red/runtime/nodes/flows/Flow.js index 4fcdf6f581..28d1ddb575 100644 --- a/red/runtime/nodes/flows/Flow.js +++ b/red/runtime/nodes/flows/Flow.js @@ -329,10 +329,8 @@ function createSubflow(sf,sfn,subflows,globalSubflows,activeNodes) { var createNodeInSubflow = function(def) { node = clone(def); - var nid = redUtil.generateId(); node_map[node.id] = node; node._alias = node.id; - node.id = nid; node.z = sfn.id; newNodes.push(node); } diff --git a/red/runtime/nodes/flows/index.js b/red/runtime/nodes/flows/index.js index d1ba541f50..af790d6f5e 100644 --- a/red/runtime/nodes/flows/index.js +++ b/red/runtime/nodes/flows/index.js @@ -166,6 +166,8 @@ function setFlows(_config,type,muteLog,forceStart) { }); return flowRevision; }).catch(function(err) { + log.error('setFlows error'); + log.error(err); }) } else { events.emit("runtime-event",{id:"runtime-deploy",payload:{revision:flowRevision},retain: true});