egg-core
Advanced tools
Comparing version 4.19.1 to 4.20.0
4.20.0 / 2020-09-23 | ||
================== | ||
**features** | ||
* [[`9684589`](http://github.com/eggjs/egg-core/commit/9684589dd13cdd97068d4ecdfe98bca68aa51632)] - feat: expose set config meta (#227) (TZ | 天猪 <<atian25@qq.com>>) | ||
4.19.1 / 2020-09-15 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -9,4 +9,2 @@ 'use strict'; | ||
const SET_CONFIG_META = Symbol('Loader#setConfigMeta'); | ||
module.exports = { | ||
@@ -98,3 +96,3 @@ | ||
// store config meta, check where is the property of config come from. | ||
this[SET_CONFIG_META](config, filepath); | ||
this._setConfigMeta(config, filepath); | ||
@@ -109,3 +107,3 @@ return config; | ||
const envConfig = JSON.parse(envConfigStr); | ||
this[SET_CONFIG_META](envConfig, '<process.env.EGG_APP_CONFIG>'); | ||
this._setConfigMeta(envConfig, '<process.env.EGG_APP_CONFIG>'); | ||
return envConfig; | ||
@@ -117,3 +115,3 @@ } catch (err) { | ||
[SET_CONFIG_META](config, filepath) { | ||
_setConfigMeta(config, filepath) { | ||
config = extend(true, {}, config); | ||
@@ -120,0 +118,0 @@ setConfig(config, filepath); |
{ | ||
"name": "egg-core", | ||
"version": "4.19.1", | ||
"version": "4.20.0", | ||
"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
127802
2965