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

node-opcua-numeric-range

Package Overview
Dependencies
Maintainers
1
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-numeric-range - npm Package Compare versions

Comparing version 2.72.1 to 2.72.2

2

dist/numeric_range.d.ts

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

export interface ExtractResult<T> {
array?: T;
array?: T | null;
statusCode: StatusCode;

@@ -97,0 +97,0 @@ dimensions?: number[];

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

}
return { array: [], statusCode: node_opcua_status_code_1.StatusCodes.BadIndexRangeNoData };
return { array: null, statusCode: node_opcua_status_code_1.StatusCodes.BadIndexRangeNoData };
}

@@ -517,3 +517,3 @@ return {

}
return { array: [], statusCode: node_opcua_status_code_1.StatusCodes.BadIndexRangeNoData };
return { array: null, statusCode: node_opcua_status_code_1.StatusCodes.BadIndexRangeNoData };
}

@@ -534,3 +534,3 @@ // clamp high index

return {
array: [],
array: null,
statusCode: node_opcua_status_code_1.StatusCodes.BadIndexRangeNoData

@@ -550,3 +550,3 @@ };

return {
array: [],
array: null,
statusCode: node_opcua_status_code_1.StatusCodes.BadIndexRangeNoData

@@ -553,0 +553,0 @@ };

{
"name": "node-opcua-numeric-range",
"version": "2.72.1",
"version": "2.72.2",
"description": "pure nodejs OPCUA SDK - module -numeric-range",

@@ -42,3 +42,3 @@ "main": "./dist/index.js",

"homepage": "http://node-opcua.github.io/",
"gitHead": "ba98dd91a9eada9815268c66c98ca5391bc884e7"
"gitHead": "07dcdd8e8c7f2b55544c6e23023093e35674829c"
}

@@ -602,3 +602,3 @@ /**

export interface ExtractResult<T> {
array?: T;
array?: T | null;
statusCode: StatusCode;

@@ -621,3 +621,3 @@ dimensions?: number[];

}
return { array: [] as any as T, statusCode: StatusCodes.BadIndexRangeNoData };
return { array: null as any as T, statusCode: StatusCodes.BadIndexRangeNoData };
}

@@ -638,3 +638,3 @@ return {

}
return { array: [] as any as T, statusCode: StatusCodes.BadIndexRangeNoData };
return { array: null as any as T, statusCode: StatusCodes.BadIndexRangeNoData };
}

@@ -664,3 +664,3 @@ // clamp high index

return {
array: [] as any as T,
array: null,
statusCode: StatusCodes.BadIndexRangeNoData

@@ -680,3 +680,3 @@ };

return {
array: [] as any as T,
array: null,
statusCode: StatusCodes.BadIndexRangeNoData

@@ -683,0 +683,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