Socket
Socket
Sign inDemoInstall

@node-red/registry

Package Overview
Dependencies
Maintainers
2
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@node-red/registry - npm Package Compare versions

Comparing version 1.0.0-beta.2 to 1.0.0-beta.3

7

lib/deprecated.js

@@ -53,3 +53,8 @@ /**

"tail": {module:"node-red-node-tail"}
"tail": {module:"node-red-node-tail"},
"rpi-gpio in": {module:"node-red-node-pi-gpio"},
"rpi-gpio out": {module:"node-red-node-pi-gpio"},
"rpi-mouse": {module:"node-red-node-pi-gpio"},
"rpi-keyboard": {module:"node-red-node-pi-gpio"}
}

@@ -56,0 +61,0 @@

2

lib/library.js

@@ -54,3 +54,2 @@ /**

})
resolve(result);

@@ -65,2 +64,3 @@ })

return getFlowsFromPath(path).then(function(result) {
if (JSON.stringify(result).indexOf('{"f":') === -1) { return; }
exampleFlows = exampleFlows||{};

@@ -67,0 +67,0 @@ exampleFlows[module] = result;

@@ -375,4 +375,6 @@ /**

// If this finds an svg and a png with the same name, it will only list the svg
function scanIconDir(dir) {
var iconList = [];
var svgs = {};
try {

@@ -382,4 +384,8 @@ var files = fs.readdirSync(dir);

var stats = fs.statSync(path.join(dir, file));
if (stats.isFile() && iconFileExtensions.indexOf(path.extname(file)) !== -1) {
var ext = path.extname(file).toLowerCase();
if (stats.isFile() && iconFileExtensions.indexOf(ext) !== -1) {
iconList.push(file);
if (ext === ".svg") {
svgs[file.substring(0,file.length-4)] = true;
}
}

@@ -389,2 +395,5 @@ });

}
iconList = iconList.filter(f => {
return /.svg$/i.test(f) || !svgs[f.substring(0,f.length-4)]
})
return iconList;

@@ -391,0 +400,0 @@ }

{
"name": "@node-red/registry",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"license": "Apache-2.0",

@@ -19,7 +19,7 @@ "main": "./lib/index.js",

"dependencies": {
"@node-red/util": "1.0.0-beta.2",
"semver": "6.0.0",
"uglify-js": "3.5.15",
"@node-red/util": "1.0.0-beta.3",
"semver": "6.3.0",
"uglify-js": "3.6.0",
"when": "3.7.8"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc