Socket
Socket
Sign inDemoInstall

@node-red/util

Package Overview
Dependencies
Maintainers
2
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@node-red/util - npm Package Compare versions

Comparing version 1.3.5 to 2.0.0-beta.1

lib/hooks.js

10

index.js

@@ -22,2 +22,3 @@ /*!

const exec = require("./lib/exec");
const hooks = require("./lib/hooks");

@@ -73,3 +74,10 @@ /**

*/
exec: exec
exec: exec,
/**
* Runtime hooks
* @mixes @node-red/util_hooks
* @memberof @node-red/util
*/
hooks: hooks
}

8

lib/util.js

@@ -34,3 +34,7 @@ /**

function generateId() {
return (1+Math.random()*4294967295).toString(16);
var bytes = [];
for (var i=0;i<8;i++) {
bytes.push(Math.round(0xff*Math.random()).toString(16).padStart(2,'0'));
}
return bytes.join("");
}

@@ -876,3 +880,3 @@

return value;
}," ");
});
} else {

@@ -879,0 +883,0 @@ try { msg.msg = msg.msg.toString(); }

{
"name": "@node-red/util",
"version": "1.3.5",
"version": "2.0.0-beta.1",
"license": "Apache-2.0",

@@ -19,3 +19,3 @@ "repository": {

"clone": "2.1.2",
"i18next": "15.1.2",
"i18next": "20.3.1",
"json-stringify-safe": "5.0.1",

@@ -22,0 +22,0 @@ "jsonata": "1.8.4",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc