node-opcua-convert-nodeset-to-javascript 2.154.0 → 2.155.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/dist/main.js +2 -1
- package/dist/main.js.map +1 -1
- package/package.json +12 -12
- package/source/main.ts +3 -1
package/dist/main.js
CHANGED
|
@@ -18,13 +18,14 @@ async function main() {
|
|
|
18
18
|
baseFolder: path_1.default.join(__dirname, "../../"),
|
|
19
19
|
prefix: "node-opcua-nodeset-",
|
|
20
20
|
};
|
|
21
|
+
// const nodesetCatalog2 = nodesetCatalog.filter((meta) => meta.name == "scales");
|
|
21
22
|
await Promise.all(node_opcua_nodesets_1.nodesetCatalog.map((meta) => {
|
|
22
23
|
const index = addressSpace.getNamespaceIndex(meta.uri);
|
|
23
24
|
if (index === -1) {
|
|
24
25
|
console.log("namespace not found", meta.uri);
|
|
25
26
|
return;
|
|
26
27
|
}
|
|
27
|
-
(0, convert_namespace_to_typescript_1.convertNamespaceTypeToTypescript)(session, index, {
|
|
28
|
+
return (0, convert_namespace_to_typescript_1.convertNamespaceTypeToTypescript)(session, index, {
|
|
28
29
|
...options,
|
|
29
30
|
nsName: meta.name,
|
|
30
31
|
});
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../source/main.ts"],"names":[],"mappings":";;;;;AAAA,gDAAwB;AACxB,uEAAuE;AACvE,4DAAuE;AACvE,6DAA+E;AAC/E,uFAAqF;AACrF,qEAAgE;AAEhE,KAAK,UAAU,IAAI;IACf,MAAM,YAAY,GAAG,uCAAY,CAAC,MAAM,EAAE,CAAC;IAE3C,MAAM,QAAQ,GAAG,oCAAc,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,8CAAwB,EAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IACpF,MAAM,IAAA,6BAAoB,EAAC,YAAY,EAAE,QAAQ,C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O,CAAC,GAAG,CAAC,oCAAc,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QAC1C,MAAM,KAAK,GAAG,YAAY,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACvD,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;YACf,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;YAC7C,OAAO;QACX,CAAC;QACD,OAAO,IAAA,kEAAgC,EAAC,OAAO,EAAE,KAAK,EAAE;YACpD,GAAG,OAAO;YACV,MAAM,EAAE,IAAI,CAAC,IAAI;SACpB,CAAC,CAAA;IACN,CAAC,CACA,CAAC,CAAC;IACH,MAAM,IAAA,6CAAoB,GAAE,CAAC;AACjC,CAAC;AACD,KAAK,IAAI,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-convert-nodeset-to-javascript",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.155.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module convert-nodeset-to-javascript",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,27 +16,27 @@
|
|
|
16
16
|
"@types/wordwrap": "^1.0.3",
|
|
17
17
|
"case-anything": "1.1.5",
|
|
18
18
|
"chalk": "4.1.2",
|
|
19
|
-
"node-opcua-address-space": "2.
|
|
20
|
-
"node-opcua-address-space-base": "2.
|
|
19
|
+
"node-opcua-address-space": "2.155.0",
|
|
20
|
+
"node-opcua-address-space-base": "2.155.0",
|
|
21
21
|
"node-opcua-assert": "2.139.0",
|
|
22
22
|
"node-opcua-constants": "2.139.0",
|
|
23
|
-
"node-opcua-data-model": "2.
|
|
23
|
+
"node-opcua-data-model": "2.155.0",
|
|
24
24
|
"node-opcua-debug": "2.153.0",
|
|
25
|
-
"node-opcua-extension-object": "2.
|
|
25
|
+
"node-opcua-extension-object": "2.155.0",
|
|
26
26
|
"node-opcua-nodeid": "2.153.0",
|
|
27
|
-
"node-opcua-nodesets": "2.
|
|
28
|
-
"node-opcua-pseudo-session": "2.
|
|
27
|
+
"node-opcua-nodesets": "2.155.0",
|
|
28
|
+
"node-opcua-pseudo-session": "2.155.0",
|
|
29
29
|
"node-opcua-status-code": "2.153.0",
|
|
30
|
-
"node-opcua-types": "2.
|
|
30
|
+
"node-opcua-types": "2.155.0",
|
|
31
31
|
"node-opcua-utils": "2.153.0",
|
|
32
|
-
"node-opcua-variant": "2.
|
|
32
|
+
"node-opcua-variant": "2.155.0",
|
|
33
33
|
"ts-morph": "25.0.1",
|
|
34
34
|
"wordwrap": "^1.0.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"node-opcua-leak-detector": "2.154.0",
|
|
38
|
-
"node-opcua-packet-analyzer": "2.
|
|
39
|
-
"node-opcua-service-translate-browse-path": "2.
|
|
38
|
+
"node-opcua-packet-analyzer": "2.155.0",
|
|
39
|
+
"node-opcua-service-translate-browse-path": "2.155.0"
|
|
40
40
|
},
|
|
41
41
|
"author": "Etienne Rossignon",
|
|
42
42
|
"license": "MIT",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"internet of things"
|
|
54
54
|
],
|
|
55
55
|
"homepage": "http://node-opcua.github.io/",
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "3fa553a530bc732ad6c658dc41187769f4995b68",
|
|
57
57
|
"files": [
|
|
58
58
|
"dist",
|
|
59
59
|
"source"
|
package/source/main.ts
CHANGED
|
@@ -16,13 +16,15 @@ async function main() {
|
|
|
16
16
|
baseFolder: path.join(__dirname, "../../"),
|
|
17
17
|
prefix: "node-opcua-nodeset-",
|
|
18
18
|
};
|
|
19
|
+
// const nodesetCatalog2 = nodesetCatalog.filter((meta) => meta.name == "scales");
|
|
20
|
+
|
|
19
21
|
await Promise.all(nodesetCatalog.map((meta) => {
|
|
20
22
|
const index = addressSpace.getNamespaceIndex(meta.uri);
|
|
21
23
|
if (index === -1) {
|
|
22
24
|
console.log("namespace not found", meta.uri);
|
|
23
25
|
return;
|
|
24
26
|
}
|
|
25
|
-
convertNamespaceTypeToTypescript(session, index, {
|
|
27
|
+
return convertNamespaceTypeToTypescript(session, index, {
|
|
26
28
|
...options,
|
|
27
29
|
nsName: meta.name,
|
|
28
30
|
})
|