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

@adonisjs/application

Package Overview
Dependencies
Maintainers
3
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 7.1.2-9 to 7.1.2-10

3

build/src/managers/preloads.js

@@ -48,2 +48,5 @@ /*

#importPreloadModule(preload) {
if (typeof preload.file === 'function') {
return preload.file();
}
return this.#importer(preload.file);

@@ -50,0 +53,0 @@ }

@@ -76,2 +76,6 @@ /*

async #resolveProvider(provider) {
if (typeof provider.file === 'function') {
const providerClass = await provider.file();
return providerClass.default;
}
const providerClass = await this.#importProvider(provider.file);

@@ -78,0 +82,0 @@ this.#ensureIsClass(provider.file, providerClass);

8

build/src/types.d.ts

@@ -76,3 +76,3 @@ import type { Application } from './application.js';

export type PreloadNode = {
file: string;
file: string | (() => Promise<any>);
environment: Exclude<AppEnvironments, 'unknown'>[];

@@ -84,3 +84,5 @@ };

export type ProviderNode = {
file: string;
file: string | (() => Promise<{
default: new (app: Application<any>) => ContainerProviderContract;
}>);
environment: Exclude<AppEnvironments, 'unknown'>[];

@@ -159,3 +161,3 @@ };

*/
commands: string[];
commands: (string | (() => Promise<any>))[];
/**

@@ -162,0 +164,0 @@ * Custom command aliases

{
"name": "@adonisjs/application",
"version": "7.1.2-9",
"version": "7.1.2-10",
"description": "AdonisJS application class to read app related data",

@@ -5,0 +5,0 @@ "type": "module",

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