Socket
Socket
Sign inDemoInstall

homebridge-http-base

Package Overview
Dependencies
49
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

7

http.js

@@ -30,6 +30,9 @@ const request = require("request");

multipleHttpRequests: function (urlObjectArray, callback) {
multipleHttpRequests: function (urlObjectArray, callback, asyncFunction) {
if (urlObjectArray.length === 0)
throw new Error("Empty urlObject array");
if (!asyncFunction)
asyncFunction = async.parallel;
const taskArray = new Array(urlObjectArray.length);

@@ -43,3 +46,3 @@

async.parallel(async.reflectAll(taskArray), (ignored, results) => {
asyncFunction(async.reflectAll(taskArray), (ignored, results) => {
const callbackArray = new Array(results.length);

@@ -46,0 +49,0 @@

{
"name": "homebridge-http-base",
"version": "1.0.1",
"version": "1.0.2",
"description": "Base and utils for homebridge-http devices",

@@ -5,0 +5,0 @@ "license": "ISC",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc