node-opcua-generator
Advanced tools
Comparing version 2.86.0 to 2.86.1
@@ -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.86.0", | ||
"version": "2.86.1", | ||
"description": "pure nodejs OPCUA SDK - module -generator", | ||
@@ -19,13 +19,13 @@ "main": "./dist/index.js", | ||
"node-opcua-debug": "2.86.0", | ||
"node-opcua-factory": "2.86.0", | ||
"node-opcua-factory": "2.86.1", | ||
"node-opcua-nodeid": "2.86.0", | ||
"node-opcua-schemas": "2.86.0", | ||
"node-opcua-schemas": "2.86.1", | ||
"node-opcua-utils": "2.86.0" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-basic-types": "2.86.0", | ||
"node-opcua-basic-types": "2.86.1", | ||
"node-opcua-binary-stream": "2.86.0", | ||
"node-opcua-extension-object": "2.86.0", | ||
"node-opcua-packet-analyzer": "2.86.0", | ||
"node-opcua-status-code": "2.86.0", | ||
"node-opcua-extension-object": "2.86.1", | ||
"node-opcua-packet-analyzer": "2.86.1", | ||
"node-opcua-status-code": "2.86.1", | ||
"prettier": "^2.8.0", | ||
@@ -50,3 +50,3 @@ "should": "^13.2.3", | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "36afc46fe2c91aa5664a8c5418f4db5a354670c3" | ||
"gitHead": "389ba18585ff4b62f6fee58b69bd871a8e6b0dff" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
170448
2829
+ Addednode-opcua-basic-types@2.86.1(transitive)
+ Addednode-opcua-data-model@2.86.1(transitive)
+ Addednode-opcua-extension-object@2.86.1(transitive)
+ Addednode-opcua-factory@2.86.1(transitive)
+ Addednode-opcua-schemas@2.86.1(transitive)
+ Addednode-opcua-status-code@2.86.1(transitive)
+ Addednode-opcua-variant@2.86.1(transitive)
- Removednode-opcua-basic-types@2.86.0(transitive)
- Removednode-opcua-data-model@2.86.0(transitive)
- Removednode-opcua-extension-object@2.86.0(transitive)
- Removednode-opcua-factory@2.86.0(transitive)
- Removednode-opcua-schemas@2.86.0(transitive)
- Removednode-opcua-status-code@2.86.0(transitive)
- Removednode-opcua-variant@2.86.0(transitive)
Updatednode-opcua-factory@2.86.1
Updatednode-opcua-schemas@2.86.1