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

node-opcua-address-space

Package Overview
Dependencies
Maintainers
1
Versions
282
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-address-space - npm Package Compare versions

Comparing version 2.67.0 to 2.68.0

test_helpers/test_fixtures/nodeset_with_utf8_special_characters.xml

6

dist/source/continuation_points/continuation_point_manager.js

@@ -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

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