@adonisjs/application
Advanced tools
Comparing version 3.0.14 to 3.0.15
@@ -475,3 +475,7 @@ "use strict"; | ||
this.registrar = new fold_1.Registrar([this], this.appRoot); | ||
const registeredProviders = this.registrar.useProviders(providers).register(); | ||
const registeredProviders = this.registrar | ||
.useProviders(providers, (provider) => { | ||
return new provider(provider['needsApplication'] ? this : this.container); | ||
}) | ||
.register(); | ||
/** | ||
@@ -478,0 +482,0 @@ * Keep reference of providers that are using ready or shutdown hooks |
{ | ||
"name": "@adonisjs/application", | ||
"version": "3.0.14", | ||
"version": "3.0.15", | ||
"description": "AdonisJS application class to read app related data", | ||
@@ -37,3 +37,3 @@ "main": "build/index.js", | ||
"@poppinss/dev-utils": "^1.0.10", | ||
"@types/node": "^14.11.2", | ||
"@types/node": "^14.11.8", | ||
"@types/semver": "^7.3.4", | ||
@@ -43,3 +43,3 @@ "commitizen": "^4.2.1", | ||
"del-cli": "^3.0.1", | ||
"eslint": "^7.10.0", | ||
"eslint": "^7.11.0", | ||
"eslint-config-prettier": "^6.12.0", | ||
@@ -51,4 +51,4 @@ "eslint-plugin-adonis": "^1.0.15", | ||
"japa": "^3.1.1", | ||
"jsonschema": "^1.2.8", | ||
"mrm": "^2.5.1", | ||
"jsonschema": "^1.2.11", | ||
"mrm": "^2.5.2", | ||
"np": "^6.5.0", | ||
@@ -81,3 +81,3 @@ "npm-audit-html": "^1.4.3", | ||
"@adonisjs/env": "^2.0.3", | ||
"@adonisjs/fold": "^7.0.5", | ||
"@adonisjs/fold": "^7.0.6", | ||
"@adonisjs/logger": "^3.0.1", | ||
@@ -84,0 +84,0 @@ "@adonisjs/profiler": "^5.0.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48725
1328
Updated@adonisjs/fold@^7.0.6