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 2.85.0 to 2.86.0

2

dist/make_content_filter.d.ts

@@ -12,3 +12,3 @@ /**

export declare function s(attributeId: AttributeIds, path: string): SimpleAttributeOperand;
declare type A = LiteralOperand | SimpleAttributeOperand | AttributeOperand | ContentFilterElement;
type A = LiteralOperand | SimpleAttributeOperand | AttributeOperand | ContentFilterElement;
export declare function or(a: A, b: A): ContentFilterElement;

@@ -15,0 +15,0 @@ export declare function and(a: A, b: A): ContentFilterElement;

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

const node_opcua_nodeid_1 = require("node-opcua-nodeid");
const node_opcua_status_code_1 = require("node-opcua-status-code");
const node_opcua_variant_1 = require("node-opcua-variant");

@@ -85,3 +84,3 @@ const warningLog = (0, node_opcua_debug_1.make_warningLog)("Filter");

if (browseResult &&
browseResult.statusCode === node_opcua_status_code_1.StatusCodes.Good &&
browseResult.statusCode.isGood() &&
browseResult.targets &&

@@ -95,3 +94,3 @@ browseResult.targets.length === 1) {

const browseResult = addressSpace.browsePath(browsePath);
if (browseResult.statusCode !== node_opcua_status_code_1.StatusCodes.Good || !browseResult.targets || browseResult.targets.length !== 1) {
if (browseResult.statusCode.isNotGood() || !browseResult.targets || browseResult.targets.length !== 1) {
return null;

@@ -107,3 +106,3 @@ }

function prepare(dataValue) {
if (dataValue.statusCode === node_opcua_status_code_1.StatusCodes.Good) {
if (dataValue.statusCode.isGood()) {
return dataValue.value;

@@ -110,0 +109,0 @@ }

{
"name": "node-opcua-service-filter",
"version": "2.85.0",
"version": "2.86.0",
"description": "pure nodejs OPCUA SDK - module -service-filter",

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

"dependencies": {
"node-opcua-address-space-base": "2.85.0",
"node-opcua-address-space-base": "2.86.0",
"node-opcua-assert": "2.77.0",
"node-opcua-basic-types": "2.85.0",
"node-opcua-basic-types": "2.86.0",
"node-opcua-constants": "2.77.0",
"node-opcua-data-model": "2.85.0",
"node-opcua-data-value": "2.85.0",
"node-opcua-debug": "2.85.0",
"node-opcua-extension-object": "2.85.0",
"node-opcua-nodeid": "2.85.0",
"node-opcua-service-translate-browse-path": "2.85.0",
"node-opcua-status-code": "2.85.0",
"node-opcua-types": "2.85.0",
"node-opcua-variant": "2.85.0"
"node-opcua-data-model": "2.86.0",
"node-opcua-data-value": "2.86.0",
"node-opcua-debug": "2.86.0",
"node-opcua-extension-object": "2.86.0",
"node-opcua-nodeid": "2.86.0",
"node-opcua-service-translate-browse-path": "2.86.0",
"node-opcua-status-code": "2.86.0",
"node-opcua-types": "2.86.0",
"node-opcua-variant": "2.86.0"
},
"devDependencies": {
"node-opcua-numeric-range": "2.85.0",
"node-opcua-packet-analyzer": "2.85.0",
"node-opcua-numeric-range": "2.86.0",
"node-opcua-packet-analyzer": "2.86.0",
"should": "^13.2.3"

@@ -48,3 +48,3 @@ },

"homepage": "http://node-opcua.github.io/",
"gitHead": "68498fcf7b20ea9f7bd66e8529c546221daf5d52"
"gitHead": "36afc46fe2c91aa5664a8c5418f4db5a354670c3"
}

@@ -107,3 +107,3 @@ import {

browseResult &&
browseResult.statusCode === StatusCodes.Good &&
browseResult.statusCode.isGood() &&
browseResult.targets &&

@@ -119,3 +119,3 @@ browseResult.targets.length === 1

const browseResult = addressSpace.browsePath(browsePath);
if (browseResult.statusCode !== StatusCodes.Good || !browseResult.targets || browseResult.targets.length !== 1) {
if (browseResult.statusCode.isNotGood() || !browseResult.targets || browseResult.targets.length !== 1) {
return null;

@@ -132,3 +132,3 @@ }

function prepare(dataValue: DataValue): Variant {
if (dataValue.statusCode === StatusCodes.Good) {
if (dataValue.statusCode.isGood()) {
return dataValue.value;

@@ -135,0 +135,0 @@ }

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