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

node-opcua-utils

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-utils - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

test/test_getFunctionParameterNames.js

0

index.js

@@ -0,0 +0,0 @@ "use strict";

2

package.json
{
"name": "node-opcua-utils",
"version": "0.2.1",
"version": "0.2.2",
"description": "pure nodejs OPCUA SDK - module -utils",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -18,3 +18,3 @@ "use strict";

get_clock_tick = function get_clock_tick() {
return (new Date()).getTime();
return Date.now();
};

@@ -21,0 +21,0 @@ }

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict"

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -10,3 +10,3 @@ "use strict";

this._counter = 0;
this._current_time = new Date();
this._current_time = Date.now();
this._visit_subscriber_b = this._visit_subscriber.bind(this);

@@ -44,3 +44,3 @@ this._timer = null;

var self = this;
self._current_time = new Date();
self._current_time = Date.now();

@@ -60,3 +60,3 @@ var expired_subscribers = _.filter(self._subscriber, function (watchDogData) {

});
self._current_time = new Date();
//xx self._current_time = Date.now();
};

@@ -68,5 +68,5 @@

assert(_.isNumber(self._watchDogData.key));
self._watchDogData.last_seen = new Date();
self._watchDogData.last_seen = Date.now();
if (self.onClientSeen) {
self.onClientSeen(self._watchDogData .last_seen);
self.onClientSeen(new Date(self._watchDogData.last_seen));
}

@@ -93,3 +93,3 @@ }

self._current_time = new Date();
self._current_time = Date.now();

@@ -117,3 +117,3 @@ timeout = timeout || 1000;

if (subscriber.onClientSeen) {
subscriber.onClientSeen(subscriber._watchDogData .last_seen);
subscriber.onClientSeen(new Date(subscriber._watchDogData.last_seen));
}

@@ -120,0 +120,0 @@

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