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

node-opcua-certificate-manager

Package Overview
Dependencies
Maintainers
1
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-certificate-manager - npm Package Compare versions

Comparing version 2.32.0 to 2.33.0

dist/make_subject.d.ts

2

dist/certificate_manager.d.ts

@@ -42,3 +42,3 @@ import { Certificate } from "node-opcua-crypto";

static registry: ObjectRegistry;
isShared: boolean;
referenceCounter: number;
automaticallyAcceptUnknownCertificate: boolean;

@@ -45,0 +45,0 @@ constructor(options: OPCUACertificateManagerOptions);

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

super(_options);
this.isShared = false;
this.referenceCounter = 0;
this.automaticallyAcceptUnknownCertificate = !!options.automaticallyAcceptUnknownCertificate;

@@ -60,3 +60,3 @@ }

return __awaiter(this, void 0, void 0, function* () {
if (!this.isShared) {
if (this.referenceCounter === 0) {
if (this.initialized) {

@@ -68,2 +68,5 @@ // OPCUACertificateManager.registry.unregister(this);

}
else {
this.referenceCounter--;
}
});

@@ -70,0 +73,0 @@ }

@@ -5,1 +5,2 @@ /**

export * from "./certificate_manager";
export * from "./make_subject";

@@ -17,2 +17,3 @@ "use strict";

__exportStar(require("./certificate_manager"), exports);
__exportStar(require("./make_subject"), exports);
//# sourceMappingURL=index.js.map
{
"name": "node-opcua-certificate-manager",
"version": "2.32.0",
"version": "2.33.0",
"description": "pure nodejs OPCUA SDK - module -client",

@@ -60,3 +60,3 @@ "scripts": {

"homepage": "http://node-opcua.github.io/",
"gitHead": "0837f665b683c6a891d495ae8cf6f701e4a8450e"
"gitHead": "6f8b408a6dc55a12711fb20775d5e0f69aff5347"
}

@@ -77,3 +77,3 @@ /**

public static registry = new ObjectRegistry({});
public isShared: boolean;
public referenceCounter: number;
public automaticallyAcceptUnknownCertificate: boolean;

@@ -95,3 +95,3 @@ /* */

this.isShared = false;
this.referenceCounter = 0;

@@ -113,3 +113,3 @@ this.automaticallyAcceptUnknownCertificate = !!options.automaticallyAcceptUnknownCertificate;

public async dispose(): Promise<void> {
if (!this.isShared) {
if (this.referenceCounter === 0) {
if (this.initialized) {

@@ -120,2 +120,4 @@ // OPCUACertificateManager.registry.unregister(this);

this.initialized = false;
} else {
this.referenceCounter--;
}

@@ -122,0 +124,0 @@ }

@@ -5,1 +5,2 @@ /**

export * from "./certificate_manager";
export * from "./make_subject";

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