node-opcua-address-space
Advanced tools
Comparing version 2.67.0 to 2.68.0
@@ -71,3 +71,3 @@ "use strict"; | ||
counter += 1; | ||
return Buffer.from(counter.toString(), "ascii"); | ||
return Buffer.from(counter.toString(), "utf-8"); | ||
} | ||
@@ -151,3 +151,3 @@ class ContinuationPointManager { | ||
const key = make_key(); | ||
const keyHash = key.toString("ascii"); | ||
const keyHash = key.toString("utf-8"); | ||
const result = { | ||
@@ -174,3 +174,3 @@ continuationPoint: key, | ||
} | ||
const keyHash = continuationData.continuationPoint.toString("ascii"); | ||
const keyHash = continuationData.continuationPoint.toString("utf-8"); | ||
const data = this._map.get(keyHash); | ||
@@ -177,0 +177,0 @@ if (!data) { |
@@ -113,3 +113,3 @@ "use strict"; | ||
extractDataValues(historyReadRawModifiedDetails, maxNumberToExtract, isReversed, reverseDataValue, callback) { | ||
(0, node_opcua_assert_1.assert)(callback instanceof Function); | ||
(0, node_opcua_assert_1.assert)(typeof callback === 'function'); | ||
let dataValues = filter_dequeue(this._timeline, historyReadRawModifiedDetails, maxNumberToExtract, isReversed); | ||
@@ -239,3 +239,3 @@ if (reverseDataValue) { | ||
function _historyReadRawAsync(historyReadRawModifiedDetails, maxNumberToExtract, isReversed, reverseDataValue, callback) { | ||
(0, node_opcua_assert_1.assert)(callback instanceof Function); | ||
(0, node_opcua_assert_1.assert)(typeof callback === 'function'); | ||
this.varHistorian.extractDataValues(historyReadRawModifiedDetails, maxNumberToExtract, isReversed, reverseDataValue, callback); | ||
@@ -410,3 +410,3 @@ } | ||
function _historyRead(context, historyReadDetails, indexRange, dataEncoding, continuationData, callback) { | ||
(0, node_opcua_assert_1.assert)(callback instanceof Function); | ||
(0, node_opcua_assert_1.assert)(typeof callback === 'function'); | ||
if (historyReadDetails instanceof node_opcua_service_history_1.ReadRawModifiedDetails) { | ||
@@ -413,0 +413,0 @@ // note: only ReadRawModifiedDetails supported at this time |
@@ -29,3 +29,3 @@ "use strict"; | ||
debugLog(" parsing ", xmlFile); | ||
const xmlData = yield fs.promises.readFile(xmlFile, "ascii"); | ||
const xmlData = yield fs.promises.readFile(xmlFile, "utf-8"); | ||
return xmlData; | ||
@@ -32,0 +32,0 @@ }); |
{ | ||
"name": "node-opcua-address-space", | ||
"version": "2.67.0", | ||
"version": "2.68.0", | ||
"description": "pure nodejs OPCUA SDK - module -address-space", | ||
@@ -24,31 +24,31 @@ "main": "./dist/src/index_current.js", | ||
"lodash": "4.17.21", | ||
"node-opcua-address-space-base": "2.67.0", | ||
"node-opcua-address-space-base": "2.68.0", | ||
"node-opcua-assert": "2.66.0", | ||
"node-opcua-basic-types": "2.67.0", | ||
"node-opcua-client-dynamic-extension-object": "2.67.0", | ||
"node-opcua-basic-types": "2.68.0", | ||
"node-opcua-client-dynamic-extension-object": "2.68.0", | ||
"node-opcua-constants": "2.67.0", | ||
"node-opcua-data-access": "2.67.0", | ||
"node-opcua-data-model": "2.67.0", | ||
"node-opcua-data-value": "2.67.0", | ||
"node-opcua-date-time": "2.67.0", | ||
"node-opcua-debug": "2.67.0", | ||
"node-opcua-data-access": "2.68.0", | ||
"node-opcua-data-model": "2.68.0", | ||
"node-opcua-data-value": "2.68.0", | ||
"node-opcua-date-time": "2.68.0", | ||
"node-opcua-debug": "2.68.0", | ||
"node-opcua-enum": "2.67.0", | ||
"node-opcua-factory": "2.67.0", | ||
"node-opcua-nodeid": "2.67.0", | ||
"node-opcua-nodeset-ua": "2.67.0", | ||
"node-opcua-numeric-range": "2.67.0", | ||
"node-opcua-object-registry": "2.67.0", | ||
"node-opcua-pseudo-session": "2.67.0", | ||
"node-opcua-schemas": "2.67.0", | ||
"node-opcua-service-browse": "2.67.0", | ||
"node-opcua-service-call": "2.67.0", | ||
"node-opcua-service-filter": "2.67.0", | ||
"node-opcua-service-history": "2.67.0", | ||
"node-opcua-service-translate-browse-path": "2.67.0", | ||
"node-opcua-service-write": "2.67.0", | ||
"node-opcua-factory": "2.68.0", | ||
"node-opcua-nodeid": "2.68.0", | ||
"node-opcua-nodeset-ua": "2.68.0", | ||
"node-opcua-numeric-range": "2.68.0", | ||
"node-opcua-object-registry": "2.68.0", | ||
"node-opcua-pseudo-session": "2.68.0", | ||
"node-opcua-schemas": "2.68.0", | ||
"node-opcua-service-browse": "2.68.0", | ||
"node-opcua-service-call": "2.68.0", | ||
"node-opcua-service-filter": "2.68.0", | ||
"node-opcua-service-history": "2.68.0", | ||
"node-opcua-service-translate-browse-path": "2.68.0", | ||
"node-opcua-service-write": "2.68.0", | ||
"node-opcua-status-code": "2.67.0", | ||
"node-opcua-types": "2.67.0", | ||
"node-opcua-types": "2.68.0", | ||
"node-opcua-utils": "2.67.0", | ||
"node-opcua-variant": "2.67.0", | ||
"node-opcua-xml2json": "2.67.0", | ||
"node-opcua-variant": "2.68.0", | ||
"node-opcua-xml2json": "2.68.0", | ||
"semver": "7.3.5", | ||
@@ -64,7 +64,7 @@ "set-prototype-of": "^1.0.0", | ||
"node-opcua-binary-stream": "2.67.0", | ||
"node-opcua-extension-object": "2.67.0", | ||
"node-opcua-leak-detector": "2.67.0", | ||
"node-opcua-extension-object": "2.68.0", | ||
"node-opcua-leak-detector": "2.68.0", | ||
"node-opcua-nodesets": "2.66.0", | ||
"node-opcua-packet-analyzer": "2.67.0", | ||
"node-opcua-test-fixtures": "2.67.0", | ||
"node-opcua-packet-analyzer": "2.68.0", | ||
"node-opcua-test-fixtures": "2.68.0", | ||
"should": "^13.2.3", | ||
@@ -89,3 +89,3 @@ "sinon": "^13.0.1", | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "74c2fd7d4ce3eb48d25a911258bf90a64218ea0e" | ||
"gitHead": "363b466440d0910acddd0cde2c37792ce4724d76" | ||
} |
@@ -21,3 +21,3 @@ import * as fs from "fs"; | ||
debugLog(" parsing ", xmlFile); | ||
const xmlData = await fs.promises.readFile(xmlFile, "ascii"); | ||
const xmlData = await fs.promises.readFile(xmlFile, "utf-8"); | ||
return xmlData; | ||
@@ -24,0 +24,0 @@ } |
@@ -78,3 +78,3 @@ /** | ||
counter += 1; | ||
return Buffer.from(counter.toString(), "ascii"); | ||
return Buffer.from(counter.toString(), "utf-8"); | ||
} | ||
@@ -185,3 +185,3 @@ | ||
const key = make_key(); | ||
const keyHash = key.toString("ascii"); | ||
const keyHash = key.toString("utf-8"); | ||
@@ -215,3 +215,3 @@ const result = { | ||
} | ||
const keyHash = continuationData.continuationPoint.toString("ascii"); | ||
const keyHash = continuationData.continuationPoint.toString("utf-8"); | ||
const data = this._map.get(keyHash); | ||
@@ -218,0 +218,0 @@ if (!data) { |
@@ -175,3 +175,3 @@ /** | ||
): void { | ||
assert(callback instanceof Function); | ||
assert(typeof callback === 'function'); | ||
@@ -326,3 +326,3 @@ let dataValues = filter_dequeue(this._timeline, historyReadRawModifiedDetails, maxNumberToExtract, isReversed); | ||
) { | ||
assert(callback instanceof Function); | ||
assert(typeof callback === 'function'); | ||
this.varHistorian!.extractDataValues(historyReadRawModifiedDetails, maxNumberToExtract, isReversed, reverseDataValue, callback); | ||
@@ -551,3 +551,3 @@ } | ||
) { | ||
assert(callback instanceof Function); | ||
assert(typeof callback === 'function'); | ||
if (historyReadDetails instanceof ReadRawModifiedDetails) { | ||
@@ -554,0 +554,0 @@ // note: only ReadRawModifiedDetails supported at this time |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
3613291
490
+ Addednode-opcua-address-space-base@2.68.0(transitive)
+ Addednode-opcua-basic-types@2.68.0(transitive)
+ Addednode-opcua-client-dynamic-extension-object@2.68.0(transitive)
+ Addednode-opcua-data-access@2.68.0(transitive)
+ Addednode-opcua-data-model@2.68.0(transitive)
+ Addednode-opcua-data-value@2.68.0(transitive)
+ Addednode-opcua-date-time@2.68.0(transitive)
+ Addednode-opcua-debug@2.68.0(transitive)
+ Addednode-opcua-extension-object@2.68.0(transitive)
+ Addednode-opcua-factory@2.68.0(transitive)
+ Addednode-opcua-generator@2.68.0(transitive)
+ Addednode-opcua-nodeid@2.68.0(transitive)
+ Addednode-opcua-nodeset-ua@2.68.0(transitive)
+ Addednode-opcua-numeric-range@2.68.0(transitive)
+ Addednode-opcua-object-registry@2.68.0(transitive)
+ Addednode-opcua-packet-analyzer@2.68.0(transitive)
+ Addednode-opcua-pseudo-session@2.68.0(transitive)
+ Addednode-opcua-schemas@2.68.0(transitive)
+ Addednode-opcua-service-browse@2.68.0(transitive)
+ Addednode-opcua-service-call@2.68.0(transitive)
+ Addednode-opcua-service-filter@2.68.0(transitive)
+ Addednode-opcua-service-history@2.68.0(transitive)
+ Addednode-opcua-service-read@2.68.0(transitive)
+ Addednode-opcua-service-secure-channel@2.68.0(transitive)
+ Addednode-opcua-service-subscription@2.68.0(transitive)
+ Addednode-opcua-service-translate-browse-path@2.68.0(transitive)
+ Addednode-opcua-service-write@2.68.0(transitive)
+ Addednode-opcua-types@2.68.0(transitive)
+ Addednode-opcua-variant@2.68.0(transitive)
+ Addednode-opcua-xml2json@2.68.0(transitive)
- Removednode-opcua-address-space-base@2.67.0(transitive)
- Removednode-opcua-basic-types@2.67.0(transitive)
- Removednode-opcua-client-dynamic-extension-object@2.67.0(transitive)
- Removednode-opcua-data-access@2.67.0(transitive)
- Removednode-opcua-data-model@2.67.0(transitive)
- Removednode-opcua-data-value@2.67.0(transitive)
- Removednode-opcua-date-time@2.67.0(transitive)
- Removednode-opcua-debug@2.67.0(transitive)
- Removednode-opcua-extension-object@2.67.0(transitive)
- Removednode-opcua-factory@2.67.0(transitive)
- Removednode-opcua-generator@2.67.0(transitive)
- Removednode-opcua-nodeid@2.67.0(transitive)
- Removednode-opcua-nodeset-ua@2.67.0(transitive)
- Removednode-opcua-numeric-range@2.67.0(transitive)
- Removednode-opcua-object-registry@2.67.0(transitive)
- Removednode-opcua-packet-analyzer@2.67.0(transitive)
- Removednode-opcua-pseudo-session@2.67.0(transitive)
- Removednode-opcua-schemas@2.67.0(transitive)
- Removednode-opcua-service-browse@2.67.0(transitive)
- Removednode-opcua-service-call@2.67.0(transitive)
- Removednode-opcua-service-filter@2.67.0(transitive)
- Removednode-opcua-service-history@2.67.0(transitive)
- Removednode-opcua-service-read@2.67.0(transitive)
- Removednode-opcua-service-secure-channel@2.67.0(transitive)
- Removednode-opcua-service-subscription@2.67.0(transitive)
- Removednode-opcua-service-translate-browse-path@2.67.0(transitive)
- Removednode-opcua-service-write@2.67.0(transitive)
- Removednode-opcua-types@2.67.0(transitive)
- Removednode-opcua-variant@2.67.0(transitive)
- Removednode-opcua-xml2json@2.67.0(transitive)
Updatednode-opcua-data-model@2.68.0
Updatednode-opcua-data-value@2.68.0
Updatednode-opcua-date-time@2.68.0
Updatednode-opcua-debug@2.68.0
Updatednode-opcua-factory@2.68.0
Updatednode-opcua-nodeid@2.68.0
Updatednode-opcua-nodeset-ua@2.68.0
Updatednode-opcua-schemas@2.68.0
Updatednode-opcua-types@2.68.0
Updatednode-opcua-variant@2.68.0
Updatednode-opcua-xml2json@2.68.0