@dotenvx/dotenvx 0.15.0 → 0.15.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/package.json +4 -3
  2. package/src/lib/main.js +1 -1
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.15.0",
2
+ "version": "0.15.1",
3
3
  "name": "@dotenvx/dotenvx",
4
4
  "description": "a better dotenv–from the creator of `dotenv`",
5
5
  "author": "@motdotla",
@@ -23,6 +23,7 @@
23
23
  "standard:fix": "standard --fix",
24
24
  "test": "jest --verbose"
25
25
  },
26
+ "funding": "Have you seen dotenvx.com? run anywhere, cross-platform, and encrypted envs.",
26
27
  "dependencies": {
27
28
  "@inquirer/prompts": "^3.3.0",
28
29
  "axios": "^1.6.2",
@@ -30,8 +31,8 @@
30
31
  "clipboardy": "^2.3.0",
31
32
  "commander": "^11.1.0",
32
33
  "conf": "^10.2.0",
33
- "dotenv": "^16.4.0",
34
- "dotenv-expand": "^10.0.0",
34
+ "dotenv": "^16.4.2",
35
+ "dotenv-expand": "^11.0.2",
35
36
  "execa": "^5.1.1",
36
37
  "ignore": "^5.3.0",
37
38
  "open": "^8.4.2",
package/src/lib/main.js CHANGED
@@ -39,7 +39,7 @@ const parse = function (src) {
39
39
  const parseExpand = function (src) {
40
40
  const parsed = dotenv.parse(src)
41
41
  const expandPlease = {
42
- ignoreProcessEnv: true, // https://github.com/motdotla/dotenv-expand?tab=readme-ov-file#ignoreprocessenv
42
+ processEnv: {}, // https://github.com/motdotla/dotenv-expand?tab=readme-ov-file#processenv
43
43
  parsed: { ...parsed, ...process.env } // must merge process.env in order to use pre-existing envs for expansion of parsed object
44
44
  }
45
45
  const expanded = dotenvExpand.expand(expandPlease).parsed