microframework
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -131,3 +131,3 @@ "use strict"; | ||
value: function getEnvironment() { | ||
if (!this.settings.environment) return process.env.NODE_ENV; | ||
if (!this.settings.environment && process.env.MICROFRAMEWORK_ENV) return process.env.MICROFRAMEWORK_ENV; | ||
return this.settings.environment; | ||
@@ -134,0 +134,0 @@ } |
{ | ||
"name": "microframework", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Micro framework is a bundle of express.js, mongodb ODM, validator, dependancy injection framework and restful controllers for your apps using Typescript", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
61897
5