@node-red/runtime 4.0.0-beta.4 → 4.0.0

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.
@@ -1,5 +1,6 @@
1
1
  const flowUtil = require("./util");
2
2
  const credentials = require("../nodes/credentials");
3
+ const clone = require("clone");
3
4
 
4
5
  /**
5
6
  * This class represents a group within the runtime.
@@ -462,9 +462,8 @@ function stop(type,diff,muteLog,isDeploy) {
462
462
  if (type === 'nodes') {
463
463
  stopList = diff.changed.concat(diff.removed);
464
464
  } else if (type === 'flows') {
465
- stopList = diff.changed.concat(diff.removed).concat(diff.linked);
465
+ stopList = diff.changed.concat(diff.removed).concat(diff.linked).concat(diff.rewired);
466
466
  }
467
-
468
467
  events.emit("flows:stopping",{config: activeConfig, type: type, diff: diff})
469
468
 
470
469
  // Stop the global flow object last
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-red/runtime",
3
- "version": "4.0.0-beta.4",
3
+ "version": "4.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./lib/index.js",
6
6
  "repository": {
@@ -16,8 +16,8 @@
16
16
  }
17
17
  ],
18
18
  "dependencies": {
19
- "@node-red/registry": "4.0.0-beta.4",
20
- "@node-red/util": "4.0.0-beta.4",
19
+ "@node-red/registry": "4.0.0",
20
+ "@node-red/util": "4.0.0",
21
21
  "async-mutex": "0.5.0",
22
22
  "clone": "2.1.2",
23
23
  "express": "4.19.2",