Skip to content

Commit

Permalink
Axios security update and housekeeping
Browse files Browse the repository at this point in the history
* Housekeeping of error warning levels for consistency.
* Address Server-Side Request Forgery in axios by making minimum axios revision level 1.7.3 - GHSA-8hc4-vh64-cxmj
  • Loading branch information
DMBlakeley committed Aug 13, 2024
1 parent 1853ae1 commit 074c134
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 208 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/).

## v5.12.1
* Housekeeping of error warning levels for consistency.
* Address Server-Side Request Forgery in axios by making minimum axios revision level 1.7.3 - https://github.com/advisories/GHSA-8hc4-vh64-cxmj

## v5.12.0
* Confirm plug-in operation with Homebridge 2.0.0. Updated package.json per homebridge instructions.

Expand Down
241 changes: 36 additions & 205 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": false,
"displayName": "Homebridge Awair2",
"name": "homebridge-awair2",
"version": "5.12.0",
"version": "5.12.1",
"description": "HomeKit integration of Awair air quality monitor as Dynamic Platform.",
"main": "dist/index.js",
"scripts": {
Expand Down Expand Up @@ -61,7 +61,7 @@
"typescript": "^5.0.2"
},
"dependencies": {
"axios": "^1.2.2",
"axios": "^1.7.3",
"minimist": "^1.2.7",
"optimist": "^0.5.2"
}
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ class AwairPlatform implements DynamicPlatformPlugin {

} else { // acessory exists, use data from cache
if (this.config.logging) {
this.log.error(`[${device.macAddress}] ${accessory.context.deviceUUID} LED Mode accessory exists, using data from cache`);
this.log.warn(`[${device.macAddress}] ${accessory.context.deviceUUID} LED Mode accessory exists, using data from cache`);
}
}
return;
Expand Down

0 comments on commit 074c134

Please sign in to comment.