Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

homebridge-air

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-air - npm Package Compare versions

Comparing version 1.0.0-beta.7 to 1.0.0-beta.8

6

dist/devices/airqualitysensor.js

@@ -119,8 +119,10 @@ import { interval } from 'rxjs';

let response;
let rawBody = '';
try {
response = await body.json();
rawBody = await body.text(); // Read the raw response body as text
response = JSON.parse(rawBody); // Parse the raw response body as JSON
}
catch (jsonError) {
this.errorLog(`Failed to parse JSON response: ${jsonError.message}`);
this.errorLog(`Raw response body: ${await body.text()}`);
this.errorLog(`Raw response body: ${rawBody}`);
throw jsonError;

@@ -127,0 +129,0 @@ }

@@ -5,3 +5,3 @@ {

"type": "module",
"version": "1.0.0-beta.7",
"version": "1.0.0-beta.8",
"description": "The AirNow plugin allows you to monitor the current AirQuality for your Zip Code from HomeKit and Siri.",

@@ -8,0 +8,0 @@ "author": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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