node-red 3.1.4 → 3.1.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/CHANGELOG.md +25 -0
- package/lib/red.js +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
#### 3.1.6: Maintenance Release
|
|
2
|
+
|
|
3
|
+
Editor
|
|
4
|
+
|
|
5
|
+
- Do not flag env var in num typedInput as error (#4582) @knolleary
|
|
6
|
+
- Fix example flow name in import dialog (#4578) @kazuhitoyokoi
|
|
7
|
+
- Fix missing node icons in workspace (#4570) @knolleary
|
|
8
|
+
|
|
9
|
+
Runtime
|
|
10
|
+
|
|
11
|
+
- Handle undefined env vars (#4581) @knolleary
|
|
12
|
+
- fix: Removed offending MD5 crypto hash and replaced with SHA1 and SHA256 … (#4568) @JaysonHurst
|
|
13
|
+
- chore: remove never use import code (#4580) @giscafer
|
|
14
|
+
|
|
15
|
+
Nodes
|
|
16
|
+
|
|
17
|
+
- fix: template node zh-CN translation (#4575) @giscafer
|
|
18
|
+
|
|
19
|
+
#### 3.1.5: Maintenance Release
|
|
20
|
+
|
|
21
|
+
Runtime
|
|
22
|
+
|
|
23
|
+
- Fix require of dns module (#4562) @knolleary
|
|
24
|
+
- Ensure global creds object is initialised when adding first cred (#4561) @knolleary
|
|
25
|
+
|
|
1
26
|
#### 3.1.4: Maintenance Release
|
|
2
27
|
|
|
3
28
|
Editor
|
package/lib/red.js
CHANGED
|
@@ -26,8 +26,8 @@ var server = null;
|
|
|
26
26
|
var apiEnabled = false;
|
|
27
27
|
|
|
28
28
|
const NODE_MAJOR_VERSION = process.versions.node.split('.')[0];
|
|
29
|
-
if (NODE_MAJOR_VERSION
|
|
30
|
-
const dns = require('
|
|
29
|
+
if (NODE_MAJOR_VERSION >= 16) {
|
|
30
|
+
const dns = require('dns');
|
|
31
31
|
dns.setDefaultResultOrder('ipv4first');
|
|
32
32
|
}
|
|
33
33
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.6",
|
|
4
4
|
"description": "Low-code programming for event-driven applications",
|
|
5
5
|
"homepage": "https://nodered.org",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"flow"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@node-red/editor-api": "3.1.
|
|
35
|
-
"@node-red/runtime": "3.1.
|
|
36
|
-
"@node-red/util": "3.1.
|
|
37
|
-
"@node-red/nodes": "3.1.
|
|
34
|
+
"@node-red/editor-api": "3.1.6",
|
|
35
|
+
"@node-red/runtime": "3.1.6",
|
|
36
|
+
"@node-red/util": "3.1.6",
|
|
37
|
+
"@node-red/nodes": "3.1.6",
|
|
38
38
|
"basic-auth": "2.0.1",
|
|
39
39
|
"bcryptjs": "2.4.3",
|
|
40
40
|
"express": "4.18.2",
|