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

deep-kernel

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-kernel - npm Package Compare versions

Comparing version 1.12.1 to 1.12.2

70

lib.compiled/Kernel.js

@@ -345,2 +345,67 @@ /**

}, {
key: 'getMsParam',
/**
* @param {String} msIdentifier
* @param {String} paramPath
* @param {*} defaultValue
*
* @returns {*}
*/
value: function getMsParam(msIdentifier, paramPath) {
let defaultValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
return this._findParam(this._config[msIdentifier].parameters, paramPath, defaultValue);
}
/**
* @param {String} paramPath
* @param {*} defaultValue
*
* @returns {*}
*/
}, {
key: 'getParam',
value: function getParam(paramPath) {
let defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
return this._findParam(this._config.globals, paramPath, defaultValue);
}
/**
* @param {*} params
* @param {String} paramPath
* @param {*} defaultValue
*
* @returns {*}
*
* @private
*/
}, {
key: '_findParam',
value: function _findParam(params, paramPath, defaultValue) {
let paramParts = paramPath.split('|').map(x => x.trim());
let result = params;
for (let i = 0; i < paramParts.length; i++) {
let param = paramParts[i];
if (!result || typeof result !== 'object' && !result.hasOwnProperty(param)) {
return defaultValue;
}
result = result[param];
}
return result;
}
/**
* @returns {Microservice[]}
*/
}, {
key: '_buildContainer',

@@ -591,7 +656,2 @@

}
/**
* @returns {Microservice[]}
*/
}, {

@@ -598,0 +658,0 @@ key: 'microservices',

2

package.json
{
"name": "deep-kernel",
"version": "1.12.1",
"version": "1.12.2",
"description": "DEEP Kernel Library",

@@ -5,0 +5,0 @@ "keywords": [

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