egg-core
Advanced tools
Comparing version 4.17.4 to 4.17.5
4.17.5 / 2020-08-04 | ||
================== | ||
**others** | ||
* [[`8cb0a6e`](http://github.com/eggjs/egg-core/commit/8cb0a6ef56f47b5e003a2fd8bc3be9d037736149)] - chore(typings): add EggLoader interface (#221) (Kiho · Cham <<monkindey@163.com>>) | ||
4.17.4 / 2019-12-11 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -365,3 +365,7 @@ import KoaApplication = require('koa'); | ||
export class EggLoader<T = EggCore, Config = any> { | ||
export class EggLoader< | ||
T extends EggCore = EggCore, | ||
Config = any, | ||
Options extends EggLoaderOptions = EggLoaderOptions | ||
> { | ||
app: T; | ||
@@ -374,2 +378,3 @@ eggPaths: string[]; | ||
config: Config; | ||
options: Options; | ||
@@ -434,2 +439,6 @@ /** | ||
getEggPaths(): string[]; | ||
getServerEnv(): string; | ||
/** | ||
@@ -436,0 +445,0 @@ * Load files using {@link FileLoader}, inject to {@link Application} |
{ | ||
"name": "egg-core", | ||
"version": "4.17.4", | ||
"version": "4.17.5", | ||
"description": "A core Pluggable framework based on koa", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
124465
2930
0