Socket
Socket
Sign inDemoInstall

@adonisjs/application

Package Overview
Dependencies
Maintainers
2
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/application - npm Package Compare versions

Comparing version 3.0.7 to 3.0.8

2

build/adonis-typings/application.d.ts

@@ -172,3 +172,3 @@ declare module '@ioc:Adonis/Core/Application' {

*/
isReady: boolean;
readonly isReady: boolean;
/**

@@ -175,0 +175,0 @@ * A boolean to know if application is running in production

@@ -67,6 +67,5 @@ /// <reference path="../adonis-typings/application.d.ts" />

/**
* A boolean to know if application has received a shutdown signal
* like `SIGINT` or `SIGTERM`.
* A boolean to know if app is preparing to shutdown
*/
get isShuttingDown(): boolean;
isShuttingDown: boolean;
/**

@@ -73,0 +72,0 @@ * The namespace of exception handler that will handle exceptions

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

/**
* A boolean to know if app is preparing to shutdown
*/
this.isShuttingDown = false;
/**
* It is unknown until the `setup` method is called

@@ -103,12 +107,5 @@ */

get isReady() {
return this.state === 'ready';
return this.state === 'ready' && !this.isShuttingDown;
}
/**
* A boolean to know if application has received a shutdown signal
* like `SIGINT` or `SIGTERM`.
*/
get isShuttingDown() {
return this.state === 'shutdown';
}
/**
* Resolve a given module from the application root. The callback is invoked

@@ -552,2 +549,3 @@ * when the module is missing

}
this.isShuttingDown = true;
this.state = 'shutdown';

@@ -554,0 +552,0 @@ await this.profiler.profileAsync('providers:shutdown', {}, async () => {

{
"name": "@adonisjs/application",
"version": "3.0.7",
"version": "3.0.8",
"description": "AdonisJS application class to read app related data",

@@ -5,0 +5,0 @@ "main": "build/index.js",

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