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 2.56.0 to 2.57.0

1

dist/watchdog.d.ts

@@ -23,2 +23,3 @@ /// <reference types="node" />

export declare class WatchDog extends EventEmitter {
static lastSeenToDuration(lastSeen: number): number;
static emptyKeepAlive: () => void;

@@ -25,0 +26,0 @@ /**

5

dist/watchdog.js

@@ -51,2 +51,5 @@ "use strict";

}
static lastSeenToDuration(lastSeen) {
return _getCurrentSystemTick() - lastSeen;
}
/**

@@ -114,3 +117,3 @@ * returns the number of subscribers using the WatchDog object.

delete subscriber._watchDog;
delete subscriber._watchDogData;
// leave it as it might be usefull, delete subscriber._watchDogData;
subscriber.keepAlive = WatchDog.emptyKeepAlive;

@@ -117,0 +120,0 @@ // delete timer when the last subscriber comes out

{
"name": "node-opcua-utils",
"version": "2.56.0",
"version": "2.57.0",
"description": "pure nodejs OPCUA SDK - module -utils",

@@ -39,3 +39,3 @@ "main": "./dist/index.js",

"homepage": "http://node-opcua.github.io/",
"gitHead": "9f6eac1c658c0d182fbe03cf58f799af468615eb"
"gitHead": "cb6a995ab35ea6231ffca85fbd0b624fe37119d2"
}

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -63,2 +63,7 @@ /**

export class WatchDog extends EventEmitter {
static lastSeenToDuration(lastSeen: number): number {
return _getCurrentSystemTick() - lastSeen;
}
static emptyKeepAlive = (): void => {

@@ -155,3 +160,3 @@ /* */

delete subscriber._watchDog;
delete subscriber._watchDogData;
// leave it as it might be usefull, delete subscriber._watchDogData;
subscriber.keepAlive = WatchDog.emptyKeepAlive;

@@ -158,0 +163,0 @@

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