node-red-contrib-blynk-ws
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -10,2 +10,8 @@ # Changelog | ||
## [1.0.9] - 2023-01-12 | ||
### Changed | ||
- Updated dependencies | ||
- Updated images docs | ||
## [1.0.8] - 2023-01-09 | ||
@@ -307,3 +313,4 @@ | ||
[unreleased]: https://github.com/gablau/node-red-contrib-blynk-ws/compare/1.0.8...HEAD | ||
[unreleased]: https://github.com/gablau/node-red-contrib-blynk-ws/compare/1.0.9...HEAD | ||
[1.0.9]: https://github.com/gablau/node-red-contrib-blynk-ws/compare/1.0.9...1.0.9 | ||
[1.0.8]: https://github.com/gablau/node-red-contrib-blynk-ws/compare/1.0.7...1.0.8 | ||
@@ -310,0 +317,0 @@ [1.0.7]: https://github.com/gablau/node-red-contrib-blynk-ws/compare/1.0.6...1.0.7 |
@@ -6,3 +6,3 @@ const ws = require('ws'); | ||
const path = require('path'); | ||
const compVer = require('compare-versions'); | ||
const { compareVersions } = require('compare-versions'); | ||
@@ -17,4 +17,4 @@ | ||
module.exports = (RED) => { | ||
const LIBRARY_VERSION = '1.0.8'; // node-red lib version | ||
const LIBRARY_DATE = '2023-01-09'; // node-red lib date | ||
const LIBRARY_VERSION = '1.0.9'; // node-red lib version | ||
const LIBRARY_DATE = '2023-01-12'; // node-red lib date | ||
@@ -146,3 +146,3 @@ const RECONNECT_TIMEOUT_SECONDS = 5; // number of seconds for reconnection when disconnected or socket error | ||
// check if node >= 8.6.4 and apply curve parameter for ssl | ||
if (compVer(process.version, '8.6.4') >= 0) { | ||
if (compareVersions (process.version, '8.6.4') >= 0) { | ||
wsArgs.ecdhCurve = 'auto'; | ||
@@ -149,0 +149,0 @@ } |
{ | ||
"name": "node-red-contrib-blynk-ws", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Node Red integration with Blynk App and Server through websockets", | ||
@@ -26,3 +26,3 @@ "scripts": { | ||
"dependencies": { | ||
"compare-versions": "^4.x.x", | ||
"compare-versions": "^5.x.x", | ||
"https-proxy-agent": ">=5.0.0", | ||
@@ -29,0 +29,0 @@ "secure-random-string": ">=1.1.x", |
249885
+ Addedcompare-versions@5.0.3(transitive)
- Removedcompare-versions@4.1.4(transitive)
Updatedcompare-versions@^5.x.x