@dotenvx/dotenvx 1.47.7 → 1.48.0

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/CHANGELOG.md CHANGED
@@ -2,7 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- [Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.47.7...main)
5
+ [Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.48.0...main)
6
+
7
+ ## 1.48.0
8
+
9
+ ### Added
10
+
11
+ * Include `beforeEnv` and `afterEnv` for user debugging ([#644](https://github.com/dotenvx/dotenvx/pull/644))
6
12
 
7
13
  ## 1.47.7
8
14
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.47.7",
2
+ "version": "1.48.0",
3
3
  "name": "@dotenvx/dotenvx",
4
4
  "description": "a better dotenv–from the creator of `dotenv`",
5
5
  "author": "@motdotla",
@@ -27,6 +27,7 @@ class Run {
27
27
  this.readableFilepaths = new Set()
28
28
  this.readableStrings = new Set()
29
29
  this.uniqueInjectedKeys = new Set()
30
+ this.beforeEnv = { ...this.processEnv }
30
31
  }
31
32
 
32
33
  run () {
@@ -52,7 +53,9 @@ class Run {
52
53
  processedEnvs: this.processedEnvs,
53
54
  readableStrings: [...this.readableStrings],
54
55
  readableFilepaths: [...this.readableFilepaths],
55
- uniqueInjectedKeys: [...this.uniqueInjectedKeys]
56
+ uniqueInjectedKeys: [...this.uniqueInjectedKeys],
57
+ beforeEnv: this.beforeEnv,
58
+ afterEnv: { ...this.processEnv }
56
59
  }
57
60
  }
58
61