Socket
Socket
Sign inDemoInstall

egg-core

Package Overview
Dependencies
Maintainers
13
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.19.1 to 4.20.0

6

History.md
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 @@ ==================

8

lib/loader/mixin/config.js

@@ -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",

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