New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-opcua-schemas

Package Overview
Dependencies
Maintainers
1
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-schemas - npm Package Compare versions

Comparing version 2.40.0 to 2.41.0

0

dist/source/dynamic_extension_object.d.ts

@@ -0,0 +0,0 @@ import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";

6

dist/source/dynamic_extension_object.js

@@ -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 @@ "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

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