You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@alexghr/env-config

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alexghr/env-config - npm Package Compare versions

Comparing version

to
1.0.4

7

CHANGELOG.md

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

3

dist/env.js

@@ -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}`);
};
}

6

package.json
{
"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