@node-red/runtime 4.0.5 → 4.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/flows/util.js CHANGED
@@ -113,6 +113,10 @@ async function evaluateEnvProperties(flow, env, credentials) {
113
113
  resolve()
114
114
  });
115
115
  }))
116
+ } else if (type === "conf-type" && /^\${[^}]+}$/.test(value)) {
117
+ // Get the config node from the parent subflow
118
+ const name = value.substring(2, value.length - 1);
119
+ value = flow.getSetting(name);
116
120
  } else {
117
121
  try {
118
122
  value = redUtil.evaluateNodeProperty(value, type, {_flow: flow}, null, null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-red/runtime",
3
- "version": "4.0.5",
3
+ "version": "4.0.6",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./lib/index.js",
6
6
  "repository": {
@@ -16,11 +16,11 @@
16
16
  }
17
17
  ],
18
18
  "dependencies": {
19
- "@node-red/registry": "4.0.5",
20
- "@node-red/util": "4.0.5",
19
+ "@node-red/registry": "4.0.6",
20
+ "@node-red/util": "4.0.6",
21
21
  "async-mutex": "0.5.0",
22
22
  "clone": "2.1.2",
23
- "express": "4.21.1",
23
+ "express": "4.21.2",
24
24
  "fs-extra": "11.2.0",
25
25
  "json-stringify-safe": "5.0.1",
26
26
  "rfdc": "^1.3.1"