node-opcua-schemas
Advanced tools
Comparing version 2.40.0 to 2.41.0
@@ -0,0 +0,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; |
@@ -270,8 +270,6 @@ "use strict"; | ||
case node_opcua_factory_1.FieldCategory.complex: | ||
return value.toJSON(); | ||
break; | ||
return value ? value === null || value === void 0 ? void 0 : value.toJSON() : null; | ||
case node_opcua_factory_1.FieldCategory.enumeration: | ||
case node_opcua_factory_1.FieldCategory.basic: | ||
return value instanceof Date ? new Date(value.getTime()) : (value.toJSON ? value.toJSON() : value); | ||
break; | ||
return value instanceof Date ? new Date(value.getTime()) : ((value === null || value === void 0 ? void 0 : value.toJSON) ? value === null || value === void 0 ? void 0 : value.toJSON() : value); | ||
default: | ||
@@ -278,0 +276,0 @@ /* istanbul ignore next*/ |
@@ -0,0 +0,0 @@ export * from "./parse_binary_xsd"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
import { DataTypeFactory, StructuredTypeSchema } from "node-opcua-factory"; | ||
import { MapDataTypeAndEncodingIdProvider, TypeDictionary } from "./parse_binary_xsd"; | ||
export declare function getOrCreateStructuredTypeSchema(name: string, typeDictionary: TypeDictionary, dataTypeFactory: DataTypeFactory, idProvider: MapDataTypeAndEncodingIdProvider): StructuredTypeSchema; |
@@ -0,0 +0,0 @@ "use strict"; |
import { DataTypeFactory } from "node-opcua-factory"; | ||
export declare function toTypeScript(dataTypeFactory: DataTypeFactory): string; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "node-opcua-schemas", | ||
"version": "2.40.0", | ||
"version": "2.41.0", | ||
"description": "pure nodejs OPCUA SDK - module -schemas", | ||
@@ -14,16 +14,16 @@ "main": "dist/source/index.js", | ||
"node-opcua-assert": "2.37.0", | ||
"node-opcua-binary-stream": "2.40.0", | ||
"node-opcua-data-model": "2.40.0", | ||
"node-opcua-debug": "2.40.0", | ||
"node-opcua-enum": "2.40.0", | ||
"node-opcua-extension-object": "2.40.0", | ||
"node-opcua-factory": "2.40.0", | ||
"node-opcua-nodeid": "2.40.0", | ||
"node-opcua-binary-stream": "2.41.0", | ||
"node-opcua-data-model": "2.41.0", | ||
"node-opcua-debug": "2.41.0", | ||
"node-opcua-enum": "2.41.0", | ||
"node-opcua-extension-object": "2.41.0", | ||
"node-opcua-factory": "2.41.0", | ||
"node-opcua-nodeid": "2.41.0", | ||
"node-opcua-utils": "2.40.0", | ||
"node-opcua-variant": "2.40.0", | ||
"node-opcua-xml2json": "2.40.0", | ||
"node-opcua-variant": "2.41.0", | ||
"node-opcua-xml2json": "2.41.0", | ||
"thenify": "^3.3.1" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-packet-analyzer": "2.40.0" | ||
"node-opcua-packet-analyzer": "2.41.0" | ||
}, | ||
@@ -45,3 +45,3 @@ "author": "Etienne Rossignon", | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "7315be805cf4ec57a575ca4ef1e1949f6d63ca49" | ||
"gitHead": "b707b6bfdbed37fb3bd193839adcf95d04d1ee6c" | ||
} |
@@ -340,8 +340,6 @@ /** | ||
case FieldCategory.complex: | ||
return value.toJSON(); | ||
break; | ||
return value ? value?.toJSON() : null; | ||
case FieldCategory.enumeration: | ||
case FieldCategory.basic: | ||
return value instanceof Date ? new Date(value.getTime()) : (value.toJSON ? value.toJSON() : value); | ||
break; | ||
return value instanceof Date ? new Date(value.getTime()) : (value?.toJSON ? value?.toJSON() : value); | ||
default: | ||
@@ -348,0 +346,0 @@ /* istanbul ignore next*/ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
154319
2559
+ Addednode-opcua-basic-types@2.41.0(transitive)
+ Addednode-opcua-binary-stream@2.41.0(transitive)
+ Addednode-opcua-buffer-utils@2.41.0(transitive)
+ Addednode-opcua-data-model@2.41.0(transitive)
+ Addednode-opcua-date-time@2.41.0(transitive)
+ Addednode-opcua-debug@2.41.0(transitive)
+ Addednode-opcua-enum@2.41.0(transitive)
+ Addednode-opcua-extension-object@2.41.0(transitive)
+ Addednode-opcua-factory@2.41.0(transitive)
+ Addednode-opcua-nodeid@2.41.0(transitive)
+ Addednode-opcua-status-code@2.41.0(transitive)
+ Addednode-opcua-variant@2.41.0(transitive)
+ Addednode-opcua-xml2json@2.41.0(transitive)
- Removednode-opcua-basic-types@2.40.0(transitive)
- Removednode-opcua-binary-stream@2.40.0(transitive)
- Removednode-opcua-buffer-utils@2.40.0(transitive)
- Removednode-opcua-data-model@2.40.0(transitive)
- Removednode-opcua-date-time@2.40.0(transitive)
- Removednode-opcua-debug@2.40.0(transitive)
- Removednode-opcua-enum@2.40.0(transitive)
- Removednode-opcua-extension-object@2.40.0(transitive)
- Removednode-opcua-factory@2.40.0(transitive)
- Removednode-opcua-nodeid@2.40.0(transitive)
- Removednode-opcua-status-code@2.40.0(transitive)
- Removednode-opcua-variant@2.40.0(transitive)
- Removednode-opcua-xml2json@2.40.0(transitive)
Updatednode-opcua-data-model@2.41.0
Updatednode-opcua-debug@2.41.0
Updatednode-opcua-enum@2.41.0
Updatednode-opcua-factory@2.41.0
Updatednode-opcua-nodeid@2.41.0
Updatednode-opcua-variant@2.41.0
Updatednode-opcua-xml2json@2.41.0