Comparing version 4.9.0 to 4.9.1
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 @@ ================== |
@@ -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 @@ |
{ | ||
"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" | ||
] | ||
} |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
102567
23
2461
20