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 8.2.2 to 8.3.0

build/chunk-ZDG5RV4D.js

2

build/factories/main.js
import {
Application
} from "../chunk-WIOBO4NG.js";
} from "../chunk-ZDG5RV4D.js";
import "../chunk-7WA7C5MT.js";

@@ -5,0 +5,0 @@

@@ -6,3 +6,3 @@ import {

generators_default
} from "./chunk-WIOBO4NG.js";
} from "./chunk-ZDG5RV4D.js";
import "./chunk-7WA7C5MT.js";

@@ -9,0 +9,0 @@

@@ -135,3 +135,5 @@ /// <reference types="node" resolution-mode="require"/>

}): string;
testFileName(entityName: string): string;
testFileName(entityName: string): string; /**
* Cleanup registered hooks
*/
viewFileName(entityName: string): string;

@@ -198,2 +200,3 @@ };

swallowErrors?: boolean | undefined;
keepOpen?: boolean | undefined;
}, callback?: (error: Error | null) => void): void;

@@ -200,0 +203,0 @@ /**

@@ -47,3 +47,3 @@ import type { Logger } from '@poppinss/cliui';

*/
export type AssemblerHookNode<Handler extends AssemblerHookHandler | SourceFileChangedHookHandler | HttpServerMessageHookHandler> = () => Promise<{
export type AssemblerHookNode<Handler extends AssemblerHookHandler | SourceFileChangedHookHandler> = () => Promise<{
default: Handler;

@@ -66,11 +66,2 @@ }>;

/**
* Handler for the onHttpServerMessage hook
*/
export type HttpServerMessageHookHandler = (ui: {
logger: Logger;
colors: Colors;
}, message: any, actions: {
restartServer: () => void;
}) => any;
/**
* Shape of directories object with known and unknown

@@ -148,6 +139,6 @@ * directories

*
* This config can be used to configure assets bundler apart from
* vite and encore (since both are auto-detected)
*
* Set it to `false` to disable the assets bundler
* **Setting a custom assets bundler is deprecated and will be removed
* in future versions**. If you need a custom bundler, you should
* create a package integrating it with AdonisJS, probably using
* assembler hooks, like @adonisjs/vite does.
*/

@@ -203,16 +194,6 @@ assetsBundler?: {

/**
* Assembler configuration
* Assembler hooks configuration
*/
unstable_assembler?: {
hooks?: {
/**
* Configure a custom runner to start the dev server
* and tests. By default we are using ts-node but you
* are free to use any other runner
*/
runner?: {
name: string;
command: string;
args?: string[];
};
/**
* When the dev server is started

@@ -233,6 +214,2 @@ */

onBuildCompleted?: AssemblerHookNode<AssemblerHookHandler>[];
/**
* When a message is received from the HTTP server process
*/
onHttpServerMessage?: AssemblerHookNode<HttpServerMessageHookHandler>[];
};

@@ -280,3 +257,3 @@ /**

providers?: (ProviderNode | ProviderNode['file'])[];
unstable_assembler?: RcFile['unstable_assembler'];
hooks?: RcFile['hooks'];
}

@@ -283,0 +260,0 @@ /**

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

@@ -48,3 +48,3 @@ "type": "module",

"@adonisjs/tsconfig": "^1.3.0",
"@commitlint/cli": "^19.2.2",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",

@@ -56,17 +56,17 @@ "@japa/assert": "^3.0.0",

"@poppinss/cliui": "^6.4.1",
"@swc/core": "^1.4.16",
"@swc/core": "^1.5.24",
"@types/fs-extra": "^11.0.4",
"@types/glob-parent": "^5.1.3",
"@types/node": "^20.12.7",
"@types/node": "^20.13.0",
"@types/semver": "^7.5.8",
"c8": "^9.1.0",
"cross-env": "^7.0.3",
"del-cli": "^5.0.0",
"eslint": "^8.56.0",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"fs-extra": "^11.2.0",
"github-label-sync": "^2.3.1",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"release-it": "^17.1.1",
"semver": "^7.6.0",
"prettier": "^3.3.0",
"release-it": "^17.3.0",
"semver": "^7.6.2",
"ts-dedent": "^2.2.0",

@@ -73,0 +73,0 @@ "ts-node": "^10.9.2",

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