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 2.13.0 to 2.15.0

18

dist/source/definition_parser.js

@@ -38,4 +38,4 @@ "use strict";

this.parent.description = this.text;
}
}
},
},
},

@@ -63,3 +63,3 @@ finish() {

if (this.attrs.ArrayDimensions !== undefined) {
obj.arrayDimensions = this.attrs.ArrayDimensions;
obj.arrayDimensions = this.attrs.ArrayDimensions.split(",").map((e) => parseInt(e, 10));
}

@@ -71,9 +71,9 @@ obj.isOptional = this.attrs.IsOptional === "true" ? true : false;

this.parent.array.push(obj);
}
}
}
},
},
},
};
exports.definitionReaderStateParser = {
parser: {
Definition: exports._definitionParser
Definition: exports._definitionParser,
},

@@ -83,6 +83,6 @@ endElement() {

name: this.definitionName,
fields: this.definitionFields
fields: this.definitionFields,
};
}
},
};
//# sourceMappingURL=definition_parser.js.map
{
"name": "node-opcua-xml2json",
"version": "2.13.0",
"version": "2.15.0",
"description": "pure nodejs OPCUA SDK - module -xml2json",

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

"homepage": "http://node-opcua.github.io/",
"gitHead": "3c8a33e1e9d7923c9434607ad22d51d6d8d58918"
"gitHead": "d92ce0bdee1ed90c2b38ee20420f091fe9bf7365"
}

@@ -7,6 +7,3 @@ // <Definition Name="SomeName">

import assert from "node-opcua-assert";
import {
ReaderStateParserLike,
XmlAttributes
} from "./xml2json";
import { ReaderStateParserLike, XmlAttributes } from "./xml2json";

@@ -41,4 +38,4 @@ // <Definition Name="SomeName">

this.parent.description = this.text;
}
}
},
},
},

@@ -65,3 +62,3 @@ finish(this: any) {

if (this.attrs.ArrayDimensions !== undefined) {
obj.arrayDimensions = this.attrs.ArrayDimensions;
obj.arrayDimensions = this.attrs.ArrayDimensions.split(",").map((e: string) => parseInt(e, 10));
}

@@ -75,9 +72,9 @@

this.parent.array.push(obj);
}
}
}
},
},
},
};
export const definitionReaderStateParser: ReaderStateParserLike = {
parser: {
Definition: _definitionParser
Definition: _definitionParser,
},

@@ -88,5 +85,5 @@ endElement(this: any) {

fields: this.definitionFields
fields: this.definitionFields,
};
}
},
};

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