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

@injex/core

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@injex/core - npm Package Compare versions

Comparing version 2.0.10 to 2.1.0

11

lib/injex.js

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

var loaderInstance = this._createInstance(construct, constants_1.EMPTY_ARGS);
this._injectModuleDependencies(loaderInstance, metadata);
function loaderFn() {

@@ -212,7 +211,13 @@ var args = [];

var module = _a.module, metadata = _a.metadata;
if (metadata && metadata.singleton) {
_this._injectModuleDependencies(metadata.lazyLoader || module, metadata);
}
return { module: module, metadata: metadata };
})
.map(function (_a) {
var module = _a.module, metadata = _a.metadata;
return tslib_1.__awaiter(_this, void 0, void 0, function () {
return tslib_1.__generator(this, function (_b) {
if (metadata && metadata.singleton) {
this._injectModuleDependencies(module, metadata);
return [2 /*return*/, this._invokeModuleInitMethod(module, metadata)];
return [2 /*return*/, this._invokeModuleInitMethod(metadata.lazyLoader || module, metadata)];
}

@@ -219,0 +224,0 @@ return [2 /*return*/];

{
"name": "@injex/core",
"version": "2.0.10",
"version": "2.1.0",
"description": "Simple, Decorated, Pluggable dependency-injection framework for TypeScript apps",

@@ -46,3 +46,3 @@ "keywords": [

"dependencies": {
"@injex/stdlib": "^2.0.10",
"@injex/stdlib": "^2.1.0",
"tslib": "^2.0.1"

@@ -56,3 +56,3 @@ },

},
"gitHead": "639e751e1b40318adb51967030e3672d5cc43493"
"gitHead": "1e2aaf520e73125f5108801bbc9c8c15550c5349"
}

Sorry, the diff of this file is not supported yet

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