node-opcua-xml2json
Advanced tools
Comparing version 2.0.0-alpha.12 to 2.0.0-alpha.13
@@ -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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
37166
0