node-opcua-numeric-range
Advanced tools
Comparing version 2.72.1 to 2.72.2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81035