Merge pull request #4352 from anshumanr/rfdc

changed cloning library to rfdc for runtime module
This commit is contained in:
Nick O'Leary 2024-03-07 16:29:31 +00:00 committed by GitHub
commit 5beb6dbeee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 4 deletions

View File

@ -73,6 +73,7 @@
"passport-http-bearer": "1.0.1", "passport-http-bearer": "1.0.1",
"passport-oauth2-client-password": "0.1.2", "passport-oauth2-client-password": "0.1.2",
"raw-body": "2.5.2", "raw-body": "2.5.2",
"rfdc": "^1.3.0",
"semver": "7.5.4", "semver": "7.5.4",
"tar": "6.1.13", "tar": "6.1.13",
"tough-cookie": "4.1.3", "tough-cookie": "4.1.3",

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
**/ **/
const clone = require("clone"); const clone = require("rfdc")({proto:true, circles: true});
const redUtil = require("@node-red/util").util; const redUtil = require("@node-red/util").util;
const events = require("@node-red/util").events; const events = require("@node-red/util").events;
const flowUtil = require("./util"); const flowUtil = require("./util");

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
**/ **/
const clone = require("clone"); const clone = require("rfdc")({proto:true, circles: true});
const Flow = require('./Flow').Flow; const Flow = require('./Flow').Flow;
const context = require('../nodes/context'); const context = require('../nodes/context');
const util = require("util"); const util = require("util");

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
**/ **/
var clone = require("clone"); var clone = require("rfdc")({proto:true, circles: true});
var Flow = require('./Flow'); var Flow = require('./Flow');

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
**/ **/
const clone = require("clone"); const clone = require("rfdc")({proto:true, circles: true});
const redUtil = require("@node-red/util").util; const redUtil = require("@node-red/util").util;
const Log = require("@node-red/util").log; const Log = require("@node-red/util").log;
const typeRegistry = require("@node-red/registry"); const typeRegistry = require("@node-red/registry");