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

node-opcua-extension-object

Package Overview
Dependencies
Maintainers
1
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-extension-object - npm Package Compare versions

Comparing version 2.7.0 to 2.8.0

0

dist/extension_object.d.ts

@@ -0,0 +0,0 @@ /// <reference types="node" />

7

dist/extension_object.js

@@ -64,2 +64,9 @@ "use strict";

else {
if (object instanceof OpaqueStructure) {
// Writing raw Opaque buffer as Opaque Structure ...
node_opcua_basic_types_1.encodeNodeId(object.nodeId, stream);
stream.writeUInt8(0x01); // 0x01 The body is encoded as a ByteString.
stream.writeByteStream(object.buffer);
return;
}
/* istanbul ignore next */

@@ -66,0 +73,0 @@ if (!(object instanceof node_opcua_factory_1.BaseUAObject)) {

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

2

dist/index.js

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

for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
}
Object.defineProperty(exports, "__esModule", { value: true });

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

{
"name": "node-opcua-extension-object",
"version": "2.7.0",
"version": "2.8.0",
"description": "pure nodejs OPCUA SDK - module -extension-object",

@@ -16,7 +16,7 @@ "main": "./dist/index.js",

"node-opcua-assert": "^2.6.1",
"node-opcua-basic-types": "^2.7.0",
"node-opcua-basic-types": "^2.8.0",
"node-opcua-binary-stream": "^2.6.1",
"node-opcua-debug": "^2.6.1",
"node-opcua-factory": "^2.7.0",
"node-opcua-nodeid": "^2.6.1"
"node-opcua-factory": "^2.8.0",
"node-opcua-nodeid": "^2.8.0"
},

@@ -38,3 +38,3 @@ "author": "Etienne Rossignon",

"homepage": "http://node-opcua.github.io/",
"gitHead": "868b9f5d0bf0411f30476a0947301dc1d487e462"
"gitHead": "e3b0892d751900c13898ca82be84bbfe66997f0c"
}

@@ -75,4 +75,12 @@ /**

} else {
if (object instanceof OpaqueStructure) {
// Writing raw Opaque buffer as Opaque Structure ...
encodeNodeId(object.nodeId, stream);
stream.writeUInt8(0x01); // 0x01 The body is encoded as a ByteString.
stream.writeByteStream(object.buffer);
return;
}
/* istanbul ignore next */
if (!((object as any) instanceof BaseUAObject)) {
if (!(object instanceof BaseUAObject)) {
throw new Error("Expecting a extension object");

@@ -79,0 +87,0 @@ }

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

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