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 3.3.5 to 3.3.6

11

lib/injex.js

@@ -261,11 +261,6 @@ "use strict";

return tslib_1.__generator(this, function (_b) {
switch (_b.label) {
case 0:
if (!(metadata && metadata.singleton)) return [3 /*break*/, 2];
return [4 /*yield*/, stdlib_1.yieldToMain()];
case 1:
_b.sent();
return [2 /*return*/, this._invokeModuleInitMethod(metadata.lazyLoader || module, metadata)];
case 2: return [2 /*return*/];
if (metadata && metadata.singleton) {
return [2 /*return*/, this._invokeModuleInitMethod(metadata.lazyLoader || module, metadata)];
}
return [2 /*return*/];
});

@@ -272,0 +267,0 @@ });

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

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

"dependencies": {
"@injex/stdlib": "^3.3.5"
"@injex/stdlib": "^3.3.6"
},

@@ -57,3 +57,3 @@ "devDependencies": {

},
"gitHead": "cd50e849f1deaa8bd763e5fcbd332b310f67debf"
"gitHead": "5fe7c8f5af915094d93add33f010d92c98fb780b"
}

@@ -278,3 +278,2 @@ import { Hook, IConstructor, isFunction, isPromise, Logger, yieldToMain } from "@injex/stdlib";

if (metadata && metadata.singleton) {
await yieldToMain();
return this._invokeModuleInitMethod(

@@ -281,0 +280,0 @@ metadata.lazyLoader || module, metadata

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