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

node-opcua-xml2json

Package Overview
Dependencies
Maintainers
1
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-xml2json - npm Package Compare versions

Comparing version 0.5.0 to 2.0.0-alpha.2

10

package.json
{
"name": "node-opcua-xml2json",
"version": "0.5.0",
"version": "2.0.0-alpha.2",
"description": "pure nodejs OPCUA SDK - module -xml2json",

@@ -10,5 +10,5 @@ "main": "src/xml2json.js",

"dependencies": {
"bomstrip": "^0.1.4",
"bomstrip": "0.1.4",
"ltx": "^2.8.0",
"node-opcua-assert": "^0.5.0",
"node-opcua-assert": "^2.0.0-alpha.2",
"underscore": "^1.9.1"

@@ -19,3 +19,3 @@ },

"devDependencies": {
"node-opcua-nodesets": "^0.5.0",
"node-opcua-nodesets": "^2.0.0-alpha.2",
"should": "13.2.3"

@@ -36,3 +36,3 @@ },

"homepage": "http://node-opcua.github.io/",
"gitHead": "7c2f2dcb6ebdc49e57da1a028406a307df502d4e"
"gitHead": "7f57dd90e9d8bd1abcb8d330b3470999ac51e33f"
}

@@ -243,3 +243,3 @@ /* global ReaderState */

text = text.trim();
if (text.length === 0) return;
if (text.length ==0) return;
//xx console.log("txt",text);

@@ -284,7 +284,3 @@ self.current_state._on_text(text);

fs.readFile(xmlFile,function(err, data){
if (err) {
return callback(err);
}
try {
if (!err) {
if (data[0] === 0xEF && data[1] === 0xBB && data[2] === 0xBF) {

@@ -299,4 +295,4 @@ data = data.slice(3);

parser.end();
} catch(err) {
return callback(err);
} else {
callback(err);
}

@@ -303,0 +299,0 @@ });

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