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

@appolo/inject

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appolo/inject - npm Package Compare versions

Comparing version 8.0.9 to 8.0.10

2

lib/events.js

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

this.beforeInitialize = new index_1.Event();
this.beforeInitMethods = new index_1.Event();
this.beforeBootstrapMethods = new index_1.Event();
this.afterInitialize = new index_1.Event();

@@ -14,0 +16,0 @@ }

@@ -14,4 +14,6 @@ import {Event, IEvent} from "@appolo/events/index";

public readonly beforeInitialize: IEvent<void> = new Event();
public readonly beforeInitMethods: IEvent<void> = new Event();
public readonly beforeBootstrapMethods: IEvent<void> = new Event();
public readonly afterInitialize: IEvent<void> = new Event();
}

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

}
await this._events.beforeInitMethods.fireEventAsync();
let keys = Object.keys(this._instances);

@@ -141,2 +142,3 @@ await Promise.all(this.children.map(injector => injector.initInitMethods()));

}
await this._events.beforeBootstrapMethods.fireEventAsync();
let asyncBootstrapPromises = [];

@@ -143,0 +145,0 @@ for (let i = 0, len = keys.length; i < len; i++) {

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

await (this._events.beforeInitMethods as Event<void>).fireEventAsync()
let keys = Object.keys(this._instances);

@@ -226,2 +228,5 @@

await (this._events.beforeBootstrapMethods as Event<void>).fireEventAsync();
let asyncBootstrapPromises = [];

@@ -228,0 +233,0 @@

2

package.json

@@ -34,3 +34,3 @@ {

"main": "./index.js",
"version": "8.0.9",
"version": "8.0.10",
"license": "MIT",

@@ -37,0 +37,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

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