@adonisjs/repl
Advanced tools
Comparing version 4.0.0-4 to 4.0.0-5
@@ -33,2 +33,18 @@ /// <reference types="@types/node" resolution-mode="require"/> | ||
/** | ||
* Returns the collection of registered methods | ||
*/ | ||
getMethods(): { | ||
[name: string]: { | ||
handler: MethodCallback; | ||
options: MethodOptions & { | ||
width: number; | ||
}; | ||
}; | ||
}; | ||
/** | ||
* Register a compiler. Make sure register the compiler before | ||
* calling the start method | ||
*/ | ||
useCompiler(compiler: Compiler): this; | ||
/** | ||
* Start the REPL server | ||
@@ -35,0 +51,0 @@ */ |
@@ -286,2 +286,16 @@ /* | ||
/** | ||
* Returns the collection of registered methods | ||
*/ | ||
getMethods() { | ||
return this.#customMethods; | ||
} | ||
/** | ||
* Register a compiler. Make sure register the compiler before | ||
* calling the start method | ||
*/ | ||
useCompiler(compiler) { | ||
this.#compiler = compiler; | ||
return this; | ||
} | ||
/** | ||
* Start the REPL server | ||
@@ -288,0 +302,0 @@ */ |
{ | ||
"name": "@adonisjs/repl", | ||
"description": "REPL for AdonisJS", | ||
"version": "4.0.0-4", | ||
"version": "4.0.0-5", | ||
"engines": { | ||
@@ -6,0 +6,0 @@ "node": ">=18.16.0" |
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
17688
431