Socket
Socket
Sign inDemoInstall

egg-core

Package Overview
Dependencies
Maintainers
12
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-core - npm Package Compare versions

Comparing version 4.29.0 to 4.30.0

2

index.d.ts
import KoaApplication = require('koa');
import { Logger, EggConsoleLogger } from 'egg-logger';
import depd = require('depd');
import { Logger } from 'egg-logger';

@@ -5,0 +5,0 @@ type EggType = 'application' | 'agent';

@@ -34,2 +34,6 @@ 'use strict';

options.baseDir = options.baseDir || process.cwd();
// auto require('tsconfig-paths/register') on typescript app
if (process.env.EGG_TYPESCRIPT === 'true') {
require('tsconfig-paths').register({ cwd: options.baseDir });
}
options.type = options.type || 'application';

@@ -36,0 +40,0 @@

@@ -17,3 +17,2 @@ 'use strict';

class EggLoader {

@@ -20,0 +19,0 @@

{
"name": "egg-core",
"version": "4.29.0",
"version": "4.30.0",
"description": "A core Pluggable framework based on koa",
"main": "index.js",
"types": "index.d.ts",
"files": [
"index.js",
"lib",
"index.d.ts"
],
"scripts": {
"autod": "autod",
"lint": "eslint .",
"test": "npm run lint -- --fix && egg-bin test",
"test": "npm run lint -- --fix && npm run test-local",
"test-local": "egg-bin test",
"cov": "egg-bin cov",
"pkgfiles": "egg-bin pkgfiles",
"ci": "egg-bin pkgfiles --check && npm run lint && npm run cov",
"ci": "npm run lint && npm run cov",
"contributor": "git-contributor"

@@ -34,16 +37,6 @@ },

},
"ci": {
"type": "github",
"version": "8, 10, 12, 14, 16, 18",
"afterScript": "after_success:\n - npminstall codecov && codecov --disable=gcov",
"license": {
"year": 2016
}
},
"devDependencies": {
"autod": "^3.1.0",
"await-event": "^2.1.0",
"coffee": "^5.2.1",
"egg-bin": "^4.13.0",
"egg-ci": "^1.12.0",
"egg-bin": "^4.20.0",
"egg-utils": "^2.4.1",

@@ -81,9 +74,5 @@ "eslint": "^5.16.0",

"ready-callback": "^2.1.0",
"tsconfig-paths": "^4.1.1",
"utility": "^1.16.1"
},
"files": [
"index.js",
"lib",
"index.d.ts"
]
}
}
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