node-opcua-generator
Advanced tools
Comparing version 2.133.0 to 2.134.0
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -129,3 +106,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
if (generatedSourceIsOutdated) { | ||
const module = await Promise.resolve(`${localSchemaFile}`).then(s => __importStar(require(s))); | ||
const module = await import(localSchemaFile); | ||
const schema = module[schemaName + "_Schema"]; | ||
@@ -167,3 +144,3 @@ if (!schema) { | ||
const schemaFile = path_1.default.join(folderHint, schema + "_schema.ts"); | ||
const module = await Promise.resolve(`${schemaFile}`).then(s => __importStar(require(s))); | ||
const module = await import(schemaFile); | ||
if (!module) { | ||
@@ -170,0 +147,0 @@ throw new Error("cannot find " + schemaFile); |
{ | ||
"name": "node-opcua-generator", | ||
"version": "2.133.0", | ||
"version": "2.134.0", | ||
"description": "pure nodejs OPCUA SDK - module generator", | ||
@@ -19,12 +19,12 @@ "main": "./dist/index.js", | ||
"node-opcua-debug": "2.133.0", | ||
"node-opcua-factory": "2.133.0", | ||
"node-opcua-factory": "2.134.0", | ||
"node-opcua-nodeid": "2.133.0", | ||
"node-opcua-schemas": "2.133.0", | ||
"node-opcua-schemas": "2.134.0", | ||
"node-opcua-utils": "2.133.0" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-basic-types": "2.133.0", | ||
"node-opcua-basic-types": "2.134.0", | ||
"node-opcua-binary-stream": "2.133.0", | ||
"node-opcua-extension-object": "2.133.0", | ||
"node-opcua-packet-analyzer": "2.133.0", | ||
"node-opcua-extension-object": "2.134.0", | ||
"node-opcua-packet-analyzer": "2.134.0", | ||
"node-opcua-status-code": "2.133.0", | ||
@@ -48,3 +48,3 @@ "underscore": "^1.13.7" | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "921bb04f2e7ce3109dd051ff27a2210edf700344", | ||
"gitHead": "ccb34926a3c195f6a7e66fca58a2f101858e78be", | ||
"files": [ | ||
@@ -51,0 +51,0 @@ "dist", |
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
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
4
167561
2786
+ Added@types/long@4.0.0(transitive)
+ Addedlong@4.0.0(transitive)
+ Addednode-opcua-basic-types@2.134.0(transitive)
+ Addednode-opcua-data-model@2.134.0(transitive)
+ Addednode-opcua-date-time@2.134.0(transitive)
+ Addednode-opcua-extension-object@2.134.0(transitive)
+ Addednode-opcua-factory@2.134.0(transitive)
+ Addednode-opcua-schemas@2.134.0(transitive)
+ Addednode-opcua-variant@2.134.0(transitive)
- Removedlong@5.2.3(transitive)
- Removednode-opcua-basic-types@2.133.0(transitive)
- Removednode-opcua-data-model@2.133.0(transitive)
- Removednode-opcua-date-time@2.133.0(transitive)
- Removednode-opcua-extension-object@2.133.0(transitive)
- Removednode-opcua-factory@2.133.0(transitive)
- Removednode-opcua-schemas@2.133.0(transitive)
- Removednode-opcua-variant@2.133.0(transitive)
Updatednode-opcua-factory@2.134.0
Updatednode-opcua-schemas@2.134.0