Socket
Socket
Sign inDemoInstall

fritzapi

Package Overview
Dependencies
93
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.10.5 to 0.10.6

devices.json

13

index.js

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

this.password = password;
this.options = { url: uri || 'http://fritz.box' };

@@ -214,9 +215,2 @@

/*
* Functional API
*/
var defaults = { url: 'http://fritz.box' };
/**

@@ -235,3 +229,3 @@ * Check if numeric value

return new Promise(function(resolve, reject) {
req = extend({}, defaults, req, options);
req = extend({}, options.url, req, options);
req.url += path;

@@ -337,3 +331,2 @@

if (typeof password !== 'string') throw new Error('Invalid password');
return executeCommand(null, null, null, options, '/login_sid.lua').then(function(body) {

@@ -422,3 +415,3 @@ var challenge = body.match("<Challenge>(.*?)</Challenge>")[1];

// get basic device info (XML)
module.exports.getBasicDeviceStats = function(sid, options)
module.exports.getBasicDeviceStats = function(sid, ain, options)
{

@@ -425,0 +418,0 @@ return executeCommand(sid, 'getbasicdevicestats', ain, options);

{
"name": "fritzapi",
"version": "0.10.5",
"version": "0.10.6",
"author": "Andreas Goetz <cpuidle@gmx.de>",

@@ -52,4 +52,4 @@ "description": "Home automation node API for Fritz!Box, Fritz!DECT and FRITZ!Powerline devices",

"cheerio": "^0.22.0",
"command-line-args": "^4.0.1",
"command-line-usage": "^4.0.0",
"command-line-args": "^5.1.1",
"command-line-usage": "^6.0.2",
"extend": "^3.0.0",

@@ -60,7 +60,7 @@ "request": "^2.87.0",

"devDependencies": {
"chai": "4.1.x",
"chai": "4.2.x",
"istanbul": "^0.4.5",
"jshint": "^2.9.5",
"mocha": "^5.2.0"
"mocha": "^6.2.0"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc