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

egg-core

Package Overview
Dependencies
Maintainers
5
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.9.0 to 4.9.1

index.d.ts

6

History.md
4.9.1 / 2018-07-12
==================
* revert: #172 loadUnit.name (#175)
* chore(typings): add pkg.types and pkg.files entry for index.d.ts (#176)
4.9.0 / 2018-07-09

@@ -3,0 +9,0 @@ ==================

5

lib/loader/egg_loader.js

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

assert(eggPath && typeof eggPath === 'string', 'Symbol.for(\'egg#eggPath\') should be string');
assert(fs.existsSync(eggPath), `${eggPath} not exists`);
const realpath = fs.realpathSync(eggPath);

@@ -343,3 +344,2 @@ if (!eggPaths.includes(realpath)) {

type: 'plugin',
name: plugin.name,
});

@@ -351,7 +351,5 @@ }

for (const eggPath of this.eggPaths) {
const frameworkInfo = require(path.join(eggPath, 'package.json'));
dirs.push({
path: eggPath,
type: 'framework',
name: frameworkInfo.name,
});

@@ -364,3 +362,2 @@ }

type: 'app',
name: this.pkg.name,
});

@@ -367,0 +364,0 @@

6

package.json
{
"name": "egg-core",
"version": "4.9.0",
"version": "4.9.1",
"description": "A core Pluggable framework based on koa",
"main": "index.js",
"types": "index.d.ts",
"scripts": {

@@ -70,4 +71,5 @@ "autod": "autod",

"index.js",
"lib"
"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