node-opcua-generator
Advanced tools
Comparing version 2.88.0 to 2.89.0
@@ -79,2 +79,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a; | ||
const schemaTypescriptFile = schemaName + "_Schema.ts"; | ||
@@ -112,3 +113,3 @@ const currentFolder = process.cwd(); | ||
if (generatedSourceIsOutdated) { | ||
const module = yield Promise.resolve().then(() => require(localSchemaFile)); | ||
const module = yield (_a = localSchemaFile, Promise.resolve().then(() => require(_a))); | ||
const schema = module[schemaName + "_Schema"]; | ||
@@ -139,2 +140,3 @@ if (!schema) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a; | ||
if (!schema.split) { | ||
@@ -157,3 +159,3 @@ console.log("error !", schema); | ||
const schemaFile = path.join(folderHint, schema + "_schema.ts"); | ||
const module = yield Promise.resolve().then(() => require(schemaFile)); | ||
const module = yield (_a = schemaFile, Promise.resolve().then(() => require(_a))); | ||
if (!module) { | ||
@@ -160,0 +162,0 @@ throw new Error("cannot find " + schemaFile); |
{ | ||
"name": "node-opcua-generator", | ||
"version": "2.88.0", | ||
"version": "2.89.0", | ||
"description": "pure nodejs OPCUA SDK - module -generator", | ||
@@ -19,14 +19,14 @@ "main": "./dist/index.js", | ||
"node-opcua-debug": "2.88.0", | ||
"node-opcua-factory": "2.88.0", | ||
"node-opcua-factory": "2.89.0", | ||
"node-opcua-nodeid": "2.88.0", | ||
"node-opcua-schemas": "2.88.0", | ||
"node-opcua-schemas": "2.89.0", | ||
"node-opcua-utils": "2.88.0" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-basic-types": "2.88.0", | ||
"node-opcua-binary-stream": "2.88.0", | ||
"node-opcua-extension-object": "2.88.0", | ||
"node-opcua-packet-analyzer": "2.88.0", | ||
"node-opcua-status-code": "2.88.0", | ||
"prettier": "^2.8.1", | ||
"node-opcua-basic-types": "2.89.0", | ||
"node-opcua-binary-stream": "2.89.0", | ||
"node-opcua-extension-object": "2.89.0", | ||
"node-opcua-packet-analyzer": "2.89.0", | ||
"node-opcua-status-code": "2.89.0", | ||
"prettier": "^2.8.2", | ||
"should": "^13.2.3", | ||
@@ -50,3 +50,3 @@ "underscore": "^1.13.6" | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "0c20078b474f36855b799557f8fe931dbe20c2ca" | ||
"gitHead": "93d5502a1b71afbb5e5fa56846615c412b63cc1b" | ||
} |
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
170511
2831
+ Addednode-opcua-basic-types@2.89.0(transitive)
+ Addednode-opcua-binary-stream@2.89.0(transitive)
+ Addednode-opcua-data-model@2.89.0(transitive)
+ Addednode-opcua-date-time@2.89.0(transitive)
+ Addednode-opcua-extension-object@2.89.0(transitive)
+ Addednode-opcua-factory@2.89.0(transitive)
+ Addednode-opcua-schemas@2.89.0(transitive)
+ Addednode-opcua-status-code@2.89.0(transitive)
+ Addednode-opcua-variant@2.89.0(transitive)
- Removednode-opcua-basic-types@2.88.0(transitive)
- Removednode-opcua-binary-stream@2.88.0(transitive)
- Removednode-opcua-data-model@2.88.0(transitive)
- Removednode-opcua-date-time@2.88.0(transitive)
- Removednode-opcua-extension-object@2.88.0(transitive)
- Removednode-opcua-factory@2.88.0(transitive)
- Removednode-opcua-schemas@2.88.0(transitive)
- Removednode-opcua-status-code@2.88.0(transitive)
- Removednode-opcua-variant@2.88.0(transitive)
Updatednode-opcua-factory@2.89.0
Updatednode-opcua-schemas@2.89.0