@ctx-core/env
Advanced tools
Comparing version 6.0.28 to 6.0.29
@@ -18,2 +18,6 @@ import { _has__dom } from '@ctx-core/dom' | ||
} | ||
/** | ||
* Throws an error for for a missing env variable | ||
* @param name__env | ||
*/ | ||
export function throw__missing__env(name__env) { | ||
@@ -25,3 +29,3 @@ const error_message = [ | ||
].join('\n') | ||
throw__error({}, { error_message }) | ||
} | ||
throw__error({ error_message, type: 'missing_env' }) | ||
} |
{ | ||
"name": "@ctx-core/env", | ||
"version": "6.0.28", | ||
"version": "6.0.29", | ||
"description": "ctx-core env", | ||
@@ -24,9 +24,9 @@ "main": "env.js", | ||
"dependencies": { | ||
"@ctx-core/error": "^4.0.25", | ||
"@ctx-core/logger": "^3.0.23", | ||
"@ctx-core/object": "^5.0.1", | ||
"@ctx-core/error": "^5.0.0", | ||
"@ctx-core/logger": "^3.0.24", | ||
"@ctx-core/object": "^5.0.2", | ||
"@ctx-core/package": "^3.0.23", | ||
"dotenv": "^8.0.0" | ||
}, | ||
"gitHead": "c97042056c7030acb6501292a8e45b8b4d62549c" | ||
"gitHead": "56e78df3eb92b1fa2abccd93c93b66b7d4711e82" | ||
} |
2213
43
+ Added@ctx-core/error@5.1.110(transitive)
- Removed@ctx-core/error@4.0.25(transitive)
Updated@ctx-core/error@^5.0.0
Updated@ctx-core/logger@^3.0.24
Updated@ctx-core/object@^5.0.2