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.0.0-alpha.12 to 2.0.0-alpha.13

6

dist/source/xml2json.d.ts

@@ -5,3 +5,3 @@ /**

*/
export declare type Callback = (err?: Error) => void;
export declare type SimpleCallback = (err?: Error) => void;
export interface Parser {

@@ -132,3 +132,3 @@ [key: string]: ReaderState;

*/
parseString(xml_text: string, callback: Callback): void;
parseString(xml_text: string, callback: SimpleCallback): void;
/**

@@ -140,3 +140,3 @@ * @method parse

*/
parse(xmlFile: string, callback: Callback): void;
parse(xmlFile: string, callback: SimpleCallback): void;
private _promote;

@@ -143,0 +143,0 @@ private _demote;

{
"name": "node-opcua-xml2json",
"version": "2.0.0-alpha.12",
"version": "2.0.0-alpha.13",
"description": "pure nodejs OPCUA SDK - module -xml2json",

@@ -36,3 +36,3 @@ "main": "dist/source/xml2json.js",

"homepage": "http://node-opcua.github.io/",
"gitHead": "61699a99c75c631388f2e8d8e33eb209649c5eac"
"gitHead": "6a0c56afb819a44d5abd453d39ce684df6fb3505"
}

@@ -16,3 +16,3 @@ /**

export type Callback = (err?: Error) => void;
export type SimpleCallback = (err?: Error) => void;

@@ -276,3 +276,3 @@ declare interface LtxParser {

*/
public parseString(xml_text: string, callback: Callback) {
public parseString(xml_text: string, callback: SimpleCallback) {
const parser = this._prepareParser(callback);

@@ -289,3 +289,3 @@ parser.write(xml_text);

*/
public parse(xmlFile: string, callback: Callback) {
public parse(xmlFile: string, callback: SimpleCallback) {

@@ -292,0 +292,0 @@ const self = this;

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