@nitra/check-env 4.1.1 → 4.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +2 -3
- package/types/index.d.ts +5 -5
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nitra/check-env",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3",
|
|
4
4
|
"description": "Check that the critical environment variables are set",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"check-env",
|
|
@@ -32,6 +32,5 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@nitra/pino": "^2.12.0"
|
|
35
|
-
}
|
|
36
|
-
"prettier": "@nitra/prettier-config"
|
|
35
|
+
}
|
|
37
36
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* @augments Error
|
|
6
6
|
*/
|
|
7
7
|
export class MissingEnvironmentVariableError extends Error {
|
|
8
|
-
|
|
8
|
+
constructor(envs: any)
|
|
9
9
|
}
|
|
10
|
-
export function checkEnv(required: Array<string>): void
|
|
11
|
-
export default checkEnv
|
|
10
|
+
export function checkEnv(required: Array<string>): void
|
|
11
|
+
export default checkEnv
|
|
12
12
|
/**
|
|
13
13
|
* @type {Object.<string, string>}
|
|
14
14
|
*/
|
|
15
15
|
export const env: {
|
|
16
|
-
|
|
17
|
-
}
|
|
16
|
+
[x: string]: string
|
|
17
|
+
}
|