New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-viseo-file

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-viseo-file - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

10

node-log-line.js

@@ -98,6 +98,5 @@

}
var keep = Number(config.keepFiles);
if (files.length < keep) return node.send(data);
if (files.length <= keep) return node.send(data);
files = files.sort( function(a,b) {

@@ -114,3 +113,6 @@ if (Number(a.match.substring(0,4)) > Number(b.match.substring(0,4))) return 1;

files = files.slice(0, keep+1);
for (let f of files) fs.unlinkSync(path.join(folder, f.file));
for (let f of files) {
console.log("[Log lines] Deleted file " + f.file)
fs.unlinkSync(path.join(folder, f.file));
}
return node.send(data);

@@ -117,0 +119,0 @@ });

2

package.json
{
"name": "node-red-contrib-viseo-file",
"version": "0.1.8",
"version": "0.1.9",
"author": "Jean-Philippe Encausse <jp@encausse.net> (http://encausse.net/)",

@@ -5,0 +5,0 @@ "description": "Utility nodes for SARAH",

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