@nestjs/config
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -37,3 +37,3 @@ "use strict"; | ||
if (!options.ignoreEnvVars) { | ||
config = Object.assign(Object.assign({}, process.env), config); | ||
config = Object.assign(Object.assign({}, config), process.env); | ||
} | ||
@@ -133,4 +133,3 @@ if (options.validationSchema) { | ||
} | ||
const keys = Object.keys(config).filter(key => !(key in process.env) || | ||
(key in process.env && process.env[key] !== config[key])); | ||
const keys = Object.keys(config).filter(key => !(key in process.env)); | ||
keys.forEach(key => (process.env[key] = config[key])); | ||
@@ -137,0 +136,0 @@ } |
{ | ||
"name": "@nestjs/config", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@config)", | ||
@@ -40,5 +40,5 @@ "author": "Kamil Mysliwiec", | ||
"@types/uuid": "7.0.3", | ||
"@typescript-eslint/eslint-plugin": "2.31.0", | ||
"@typescript-eslint/parser": "2.31.0", | ||
"eslint": "6.8.0", | ||
"@typescript-eslint/eslint-plugin": "2.32.0", | ||
"@typescript-eslint/parser": "2.32.0", | ||
"eslint": "7.0.0", | ||
"eslint-config-prettier": "6.11.0", | ||
@@ -54,3 +54,3 @@ "eslint-plugin-import": "2.20.2", | ||
"rxjs": "6.5.5", | ||
"ts-jest": "25.5.0", | ||
"ts-jest": "25.5.1", | ||
"typescript": "3.8.3" | ||
@@ -57,0 +57,0 @@ }, |
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
5
25426
478