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

fritznode

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fritznode - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

examples/callist.js

20

examples/devices.js

@@ -22,17 +22,17 @@ /**

let devices = await con.getDeviceList();
console.log( fix("Name", 30) + fix("IP", 25) + fix("Type", 10) + fix("ID", 20));
console.log( fix("Name", 30) + fix("IP", 20) + fix("MAC", 20) + fix("Type", 10) + fix("ID", 20)+ fix("Active", 6) + fix("Block", 6));
console.log( fix("", 110, '-'));
for( n=0; n<devices.length; n++ ) {
let d = devices[n];
if(d.active) { // Only active devices
console.log(
fix(d.name, 30)
+ fix(d.ip, 25)
+ fix(d.type, 10)
+ fix(d.id, 20)
+ (d.blocked? 'blocked' : '')
);
}
console.log(
fix(d.name, 30)
+ fix(d.ip, 20)
+ fix(d.mac, 20)
+ fix(d.type, 10)
+ fix(d.id, 20)
+ fix((d.active? '*' : ''), 6)
+ fix((d.blocked? '*' : ''), 6)
);
}
};
run();
{
"name": "fritznode",
"version": "0.0.5",
"version": "0.0.6",
"description": "Fritz box API access",

@@ -5,0 +5,0 @@ "main": "index.js",

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