New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-hikvision-ultimate

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-hikvision-ultimate - npm Package Compare versions

Comparing version 1.0.41 to 1.0.42

4

CHANGELOG.md

@@ -7,2 +7,6 @@ <p align="center"><img src='https://raw.githubusercontent.com/Supergiovane/node-red-contrib-hikvision-ultimate/master/img/logo.png' width="40%"></p>

<p>
<b>Version 1.0.42</b> April 2021<br/>
- Server node: the port config was totally ignored. Fixed, now you can set the port as well and it works. Thanks to @Mateiuc.<br/>
</p>
<p>
<b>Version 1.0.41</b> April 2021<br/>

@@ -9,0 +13,0 @@ - Picture Image: Better handling of automatic URLs selection.<br/>

4

nodes/ANPR-config.js

@@ -12,5 +12,5 @@

var node = this
node.port = config.port || 80;
node.debug = config.host.toString().toLowerCase().indexOf("banana") > -1;
node.host = config.host.toString().toLowerCase().replace("banana", "");
node.port = config.port;
node.host = config.host.toString().toLowerCase().replace("banana", "") + ":" + node.port;
node.protocol = config.protocol || "http";

@@ -17,0 +17,0 @@ node.nodeClients = []; // Stores the registered clients

@@ -12,5 +12,5 @@

var node = this
node.port = config.port || 80;
node.debug = config.host.toString().toLowerCase().indexOf("banana") > -1;
node.host = config.host.toString().toLowerCase().replace("banana", "");
node.port = config.port;
node.host = config.host.toString().toLowerCase().replace("banana", "") + ":" + node.port;
node.protocol = config.protocol || "http";

@@ -68,3 +68,3 @@ node.nodeClients = []; // Stores the registered clients

try {
const resInfo = await clientInfo.fetch(jParams.protocol + "://" + jParams.host + "/ISAPI/System/deviceInfo", opt);
const resInfo = await clientInfo.fetch(jParams.protocol + "://" + jParams.host + ":" + jParams.port + "/ISAPI/System/deviceInfo", opt);
const body = await resInfo.text();

@@ -71,0 +71,0 @@ xml2js(body, function (err, result) {

{
"name": "node-red-contrib-hikvision-ultimate",
"version": "1.0.41",
"version": "1.0.42",
"description": "A native set of nodes for Hikvision Cameras, Alarms, Radars etc.",

@@ -5,0 +5,0 @@ "author": "Supergiovane (https://github.com/Supergiovane)",

Sorry, the diff of this file is not supported yet

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