Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-opcua-generator

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-generator - npm Package Compare versions

Comparing version 2.95.0 to 2.96.0

6

dist/generator.js

@@ -79,3 +79,2 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
var _a;
const schemaTypescriptFile = schemaName + "_Schema.ts";

@@ -113,3 +112,3 @@ const currentFolder = process.cwd();

if (generatedSourceIsOutdated) {
const module = yield (_a = localSchemaFile, Promise.resolve().then(() => require(_a)));
const module = yield Promise.resolve().then(() => require(localSchemaFile));
const schema = module[schemaName + "_Schema"];

@@ -140,3 +139,2 @@ if (!schema) {

return __awaiter(this, void 0, void 0, function* () {
var _a;
if (!schema.split) {

@@ -159,3 +157,3 @@ console.log("error !", schema);

const schemaFile = path.join(folderHint, schema + "_schema.ts");
const module = yield (_a = schemaFile, Promise.resolve().then(() => require(_a)));
const module = yield Promise.resolve().then(() => require(schemaFile));
if (!module) {

@@ -162,0 +160,0 @@ throw new Error("cannot find " + schemaFile);

{
"name": "node-opcua-generator",
"version": "2.95.0",
"version": "2.96.0",
"description": "pure nodejs OPCUA SDK - module -generator",

@@ -21,3 +21,3 @@ "main": "./dist/index.js",

"node-opcua-nodeid": "2.90.1",
"node-opcua-schemas": "2.95.0",
"node-opcua-schemas": "2.96.0",
"node-opcua-utils": "2.90.1"

@@ -50,3 +50,3 @@ },

"homepage": "http://node-opcua.github.io/",
"gitHead": "ad7086f9c4cd2ab52922e26cb6782ec6b86f9d20"
"gitHead": "43642e4aaa1ca2a3938b044cc2237544dfff764a"
}

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