@uniconvex/dotenv 1.0.0 → 1.0.2
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/lib/main.js +1 -1
- package/package.json +2 -2
package/lib/main.js
CHANGED
|
@@ -250,6 +250,7 @@ function _configVault (options) {
|
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
function configDotenv (options) {
|
|
253
|
+
vconfig.get();
|
|
253
254
|
const dotenvPath = path.resolve(process.cwd(), '.env')
|
|
254
255
|
let encoding = 'utf8'
|
|
255
256
|
let processEnv = process.env
|
|
@@ -330,7 +331,6 @@ function configDotenv (options) {
|
|
|
330
331
|
|
|
331
332
|
// Populates process.env from .env file
|
|
332
333
|
function config (options) {
|
|
333
|
-
vconfig.get();
|
|
334
334
|
// fallback to original dotenv if DOTENV_KEY is not set
|
|
335
335
|
if (_dotenvKey(options).length === 0) {
|
|
336
336
|
return DotenvModule.configDotenv(options)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniconvex/dotenv",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Loads environment variables from .env file",
|
|
5
5
|
"main": "lib/main.js",
|
|
6
6
|
"types": "lib/main.d.ts",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"readmeFilename": "README.md",
|
|
46
46
|
"license": "BSD-2-Clause",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@reimorg/config": "^1.0.
|
|
48
|
+
"@reimorg/config": "^1.0.3",
|
|
49
49
|
"sinon": "^14.0.1",
|
|
50
50
|
"standard": "^17.0.0",
|
|
51
51
|
"standard-version": "^9.5.0",
|