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

dependency-injection-cat

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dependency-injection-cat - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

5

exceptions/runtime/NoContextByKey.js

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

exports.NoContextByKey = void 0;
var lodash_1 = require("lodash");
var NoContextByKey = /** @class */ (function (_super) {

@@ -27,3 +28,5 @@ __extends(NoContextByKey, _super);

_this.name = 'NotFoundException';
_this.message = "Context with name " + _this.contextName + " and key " + _this.contextKey + " was not initialized";
_this.message = lodash_1.isString(contextKey)
? "Context " + _this.contextName + " and key " + _this.contextKey + " was not initialized"
: "Context " + _this.contextName + " was not initialized";
return _this;

@@ -30,0 +33,0 @@ }

4

external/config/initDiConfig.js

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

var diConfig_1 = require("./diConfig");
var logLogo_1 = require("../../core/transformers/logLogo");
var wasInitialized = false;

@@ -13,2 +14,5 @@ var initDiConfig = function (config) {

wasInitialized = true;
if (!(config === null || config === void 0 ? void 0 : config.disableLogoPrint)) {
logLogo_1.logLogo();
}
lodash_1.mergeWith(diConfig_1.diConfig, config, function (objValue, srcValue) {

@@ -15,0 +19,0 @@ if (lodash_1.isArray(objValue)) {

{
"name": "dependency-injection-cat",
"version": "0.1.10",
"version": "0.1.11",
"main": "index.js",

@@ -5,0 +5,0 @@ "types": "index.d.ts",

@@ -235,2 +235,3 @@ # Dependency Injection Cat

compiledContextOutputDir ?: string; // Output directory of transformed contextMap, can be specified for debug purposes. Default: node_modules/dependency-injection-cat/external/built-context
disableLogoPrint ?: boolean; // Disable exposing dependency-injections-cat logo into console
}

@@ -237,0 +238,0 @@ ```

@@ -9,7 +9,5 @@ "use strict";

var runCompile_1 = require("../../core/runCompile");
var logLogo_1 = require("../../core/transformers/logLogo");
var getTransformerFactory_1 = require("../../core/transformers/getTransformerFactory");
var libraryName_1 = require("../../constants/libraryName");
var ProgramRepository_1 = require("../../core/program/ProgramRepository");
logLogo_1.logLogo();
function default_1(api, options) {

@@ -16,0 +14,0 @@ config_1.initDiConfig(options);

@@ -6,4 +6,2 @@ "use strict";

var getTransformerFactory_1 = require("../../core/transformers/getTransformerFactory");
var logLogo_1 = require("../../core/transformers/logLogo");
logLogo_1.logLogo();
exports.default = (function (program, config) {

@@ -10,0 +8,0 @@ config_1.initDiConfig(config);

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