@alexghr/env-config
Advanced tools
Comparing version
@@ -0,1 +1,8 @@ | ||
## [1.0.4](https://github.com/alexghr/env-config/compare/v1.0.3...v1.0.4) (2022-06-19) | ||
### Bug Fixes | ||
* actually return the value ([9024428](https://github.com/alexghr/env-config/commit/9024428d465da4958355dbe0ae0c322cc5467645)) | ||
## [1.0.3](https://github.com/alexghr/env-config/compare/v1.0.2...v1.0.3) (2022-06-19) | ||
@@ -2,0 +9,0 @@ |
@@ -11,4 +11,7 @@ export function getEnvVar(mapFn, typeName = mapFn.name) { | ||
} | ||
if (typeof val !== "undefined") { | ||
return val; | ||
} | ||
throw new TypeError(`Missing required environment variable: ${envVarName}`); | ||
}; | ||
} |
{ | ||
"name": "@alexghr/env-config", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"repository": "https://github.com/alexghr/env-config.git", | ||
@@ -41,7 +41,7 @@ "author": "Alex Gherghisan <alexghr@users.noreply.github.com>", | ||
"@typescript-eslint/eslint-plugin": "^5.28.0", | ||
"@typescript-eslint/parser": "^5.23.0", | ||
"@typescript-eslint/parser": "^5.28.0", | ||
"eslint": "^8.18.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"prettier": "^2.6.2", | ||
"semantic-release": "^19.0.2", | ||
"semantic-release": "^19.0.3", | ||
"typescript": "^4.7.4" | ||
@@ -48,0 +48,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
20417
1.53%41
7.89%