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

node-opcua-nodeid

Package Overview
Dependencies
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-nodeid - npm Package Compare versions

Comparing version 2.44.0 to 2.45.0

6

dist/nodeid.js

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

if (this.value) {
str = "ns=" + this.namespace + ";b=" + this.value.toString("hex");
str = "ns=" + this.namespace + ";b=" + this.value.toString("base64");
}

@@ -207,3 +207,3 @@ else {

identifierType = NodeIdType.BYTESTRING;
value = Buffer.from(value.substr(2), "hex");
value = Buffer.from(value.substr(2), "base64");
}

@@ -230,3 +230,3 @@ else if (twoFirst === "g=") {

namespace = parseInt(matches[1], 10);
value = Buffer.from(matches[2], "hex");
value = Buffer.from(matches[2], "base64");
}

@@ -233,0 +233,0 @@ else if ((matches = regexNamespaceG.exec(value)) !== null) {

@@ -5,3 +5,3 @@ {

"types": "./dist/index.d.ts",
"version": "2.44.0",
"version": "2.45.0",
"description": "pure nodejs OPCUA SDK - module -nodeid",

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

"homepage": "http://node-opcua.github.io/",
"gitHead": "ba4e499a38b101a283e2121729802d15d77a319c"
"gitHead": "7c12c77714688a60d4bdf384190ec03066513c79"
}

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

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

@@ -128,3 +128,3 @@ /**

if (this.value) {
str = "ns=" + this.namespace + ";b=" + (this.value as Buffer).toString("hex");
str = "ns=" + this.namespace + ";b=" + (this.value as Buffer).toString("base64");
} else {

@@ -232,3 +232,3 @@ str = "ns=" + this.namespace + ";b=<null>";

identifierType = NodeIdType.BYTESTRING;
value = Buffer.from(value.substr(2), "hex");
value = Buffer.from(value.substr(2), "base64");
} else if (twoFirst === "g=") {

@@ -250,3 +250,3 @@ identifierType = NodeIdType.GUID;

namespace = parseInt(matches[1], 10);
value = Buffer.from(matches[2], "hex");
value = Buffer.from(matches[2], "base64");
} else if ((matches = regexNamespaceG.exec(value)) !== null) {

@@ -253,0 +253,0 @@ identifierType = NodeIdType.GUID;

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