@uniconvex/dotenv 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/lib/main.js +1 -1
  2. package/package.json +1 -1
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.0",
3
+ "version": "1.0.1",
4
4
  "description": "Loads environment variables from .env file",
5
5
  "main": "lib/main.js",
6
6
  "types": "lib/main.d.ts",