node-opcua-xml2json 2.86.0 → 2.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ReaderStateParserLike } from "./xml2json";
|
|
2
|
-
type UAString = string | null;
|
|
3
|
-
type NodeIdLike = string | null;
|
|
4
|
-
type Int32 = number;
|
|
5
|
-
type UInt32 = number;
|
|
6
|
-
type UABoolean = boolean;
|
|
7
|
-
type LocalizedTextLike = string | null;
|
|
2
|
+
declare type UAString = string | null;
|
|
3
|
+
declare type NodeIdLike = string | null;
|
|
4
|
+
declare type Int32 = number;
|
|
5
|
+
declare type UInt32 = number;
|
|
6
|
+
declare type UABoolean = boolean;
|
|
7
|
+
declare type LocalizedTextLike = string | null;
|
|
8
8
|
export interface StructureFieldOptions {
|
|
9
9
|
name?: UAString;
|
|
10
10
|
description?: (LocalizedTextLike | null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IReaderState, ReaderStateBase, Xml2Json, XmlAttributes } from "./xml2json";
|
|
2
|
-
export type withPojoLambda = (name: string, pojo: any) => void;
|
|
2
|
+
export declare type withPojoLambda = (name: string, pojo: any) => void;
|
|
3
3
|
export declare class ReaderState2 extends ReaderStateBase {
|
|
4
4
|
_stack: any;
|
|
5
5
|
_pojo: any;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* node -> see if https://github.com/isaacs/sax-js could be used instead
|
|
4
4
|
*/
|
|
5
5
|
declare const LtxParser: any;
|
|
6
|
-
export type SimpleCallback = (err?: Error) => void;
|
|
7
|
-
export type Callback<T> = (err?: Error | null, result?: T) => void;
|
|
6
|
+
export declare type SimpleCallback = (err?: Error) => void;
|
|
7
|
+
export declare type Callback<T> = (err?: Error | null, result?: T) => void;
|
|
8
8
|
declare interface LtxParser {
|
|
9
9
|
write(str: string): void;
|
|
10
10
|
end(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-xml2json",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.90.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module -xml2json",
|
|
5
5
|
"main": "dist/source/index.js",
|
|
6
6
|
"types": "dist/source/index.d.ts",
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"ltx": "^3.0.0",
|
|
16
|
-
"node-opcua-assert": "2.
|
|
17
|
-
"node-opcua-utils": "2.
|
|
16
|
+
"node-opcua-assert": "2.88.0",
|
|
17
|
+
"node-opcua-utils": "2.88.0",
|
|
18
18
|
"thenify": "^3.3.1",
|
|
19
19
|
"xml-writer": "^1.7.0"
|
|
20
20
|
},
|
|
21
21
|
"author": "Etienne Rossignon",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"mocha": "^10.
|
|
25
|
-
"node-opcua-debug": "2.
|
|
26
|
-
"node-opcua-nodesets": "2.
|
|
24
|
+
"mocha": "^10.2.0",
|
|
25
|
+
"node-opcua-debug": "2.90.0",
|
|
26
|
+
"node-opcua-nodesets": "2.88.0",
|
|
27
27
|
"should": "^13.2.3"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"internet of things"
|
|
40
40
|
],
|
|
41
41
|
"homepage": "http://node-opcua.github.io/",
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "d55f9150c3ffa5b86fbe1a0baba69a2543c3090a"
|
|
43
43
|
}
|