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

node-opcua-service-filter

Package Overview
Dependencies
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-service-filter - npm Package Compare versions

Comparing version 0.1.0-11 to 0.1.0-13

test/test_filter_service.js

2

_generated_/_auto_generated_AttributeOperand.js

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-10-25T06:54:45.711Z
// --------- This code has been automatically generated !!! 2017-11-30T12:53:07.588Z
"use strict";

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

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-10-25T06:54:45.728Z
// --------- This code has been automatically generated !!! 2017-11-30T12:53:07.601Z
"use strict";

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

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-10-25T06:54:45.721Z
// --------- This code has been automatically generated !!! 2017-11-30T12:53:07.595Z
"use strict";

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

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-10-25T06:54:45.598Z
// --------- This code has been automatically generated !!! 2017-11-30T12:53:07.492Z
"use strict";

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

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-10-25T06:54:45.735Z
// --------- This code has been automatically generated !!! 2017-11-30T12:53:07.607Z
"use strict";

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

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-10-25T06:54:45.559Z
// --------- This code has been automatically generated !!! 2017-11-30T12:53:07.454Z
"use strict";

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

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-10-25T06:54:45.645Z
// --------- This code has been automatically generated !!! 2017-11-30T12:53:07.527Z
"use strict";

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

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-10-25T06:54:45.523Z
// --------- This code has been automatically generated !!! 2017-11-30T12:53:07.426Z
"use strict";

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

@@ -1,2 +0,2 @@

// --------- This code has been automatically generated !!! 2017-10-25T06:54:45.588Z
// --------- This code has been automatically generated !!! 2017-11-30T12:53:07.481Z
"use strict";

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

@@ -0,0 +0,0 @@ var generator = require("node-opcua-generator");

@@ -0,0 +0,0 @@ module.exports = {

{
"name": "node-opcua-service-filter",
"version": "0.1.0-11",
"version": "0.1.0-13",
"description": "pure nodejs OPCUA SDK - module -service-filter",

@@ -12,19 +12,19 @@ "main": "./index.js",

"dependencies": {
"node-opcua-assert": "^0.1.0-4",
"node-opcua-basic-types": "^0.1.0-11",
"node-opcua-constants": "^0.1.0-4",
"node-opcua-data-model": "^0.1.0-11",
"node-opcua-debug": "^0.1.0-11",
"node-opcua-factory": "^0.1.0-11",
"node-opcua-nodeid": "^0.1.0-7",
"node-opcua-numeric-range": "^0.1.0-11",
"node-opcua-service-translate-browse-path": "^0.1.0-11",
"node-opcua-status-code": "^0.1.0-7",
"node-opcua-variant": "^0.1.0-11",
"node-opcua-assert": "^0.1.0-13",
"node-opcua-basic-types": "^0.1.0-13",
"node-opcua-constants": "^0.1.0-13",
"node-opcua-data-model": "^0.1.0-13",
"node-opcua-debug": "^0.1.0-13",
"node-opcua-factory": "^0.1.0-13",
"node-opcua-nodeid": "^0.1.0-13",
"node-opcua-numeric-range": "^0.1.0-13",
"node-opcua-service-translate-browse-path": "^0.1.0-13",
"node-opcua-status-code": "^0.1.0-13",
"node-opcua-variant": "^0.1.0-13",
"underscore": "^1.8.3"
},
"devDependencies": {
"node-opcua-generator": "^0.1.0-11",
"node-opcua-service-secure-channel": "^0.1.0-11",
"should": "13.1.0"
"node-opcua-generator": "^0.1.0-13",
"node-opcua-service-secure-channel": "^0.1.0-13",
"should": "13.1.3"
},

@@ -31,0 +31,0 @@ "author": "Etienne Rossignon",

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

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

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

@@ -0,0 +0,0 @@ require("node-opcua-variant");

@@ -0,0 +0,0 @@ var NumericRange = require("node-opcua-numeric-range").NumericRange;

@@ -198,6 +198,13 @@ "use strict";

selectClause.browsePath = selectClause.browsePath || [];
if (selectClause.browsePath.length === 0 && selectClause.attributeId === AttributeIds.NodeId) {
// "ns=0;i=2782" => ConditionType
// "ns=0;i=2041" => BaseEventType
if (selectClause.typeId.toString() !== "ns=0;i=2782") {
// not ConditionType
throw new Error("this case is not handled yet");
console.warn("this case is not handled yet : selectClause.typeId = " + selectClause.typeId.toString());
const eventSource = eventData.$eventDataSource;
return new Variant({dataType: DataType.NodeId, value: eventSource.nodeId});
}

@@ -211,3 +218,3 @@ const conditionTypeNodeId = resolveNodeId("ConditionType");

// eventSource is a EventType class
return new Variant()
return new Variant();
}

@@ -214,0 +221,0 @@ const addressSpace = eventSource.addressSpace;

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