@dotenvx/next-env 2.0.0 → 2.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.
package/README.md CHANGED
@@ -7,7 +7,7 @@ Use it when you want Next.js to load encrypted dotenvx files during Next's own e
7
7
  ```json
8
8
  {
9
9
  "dependencies": {
10
- "@dotenvx/next-env": "^1.74.0",
10
+ "@dotenvx/next-env": "^2.0.0",
11
11
  "next": "^16.0.0"
12
12
  },
13
13
  "overrides": {
package/dist/index.cjs CHANGED
@@ -6201,8 +6201,7 @@ function processEnv(loadedEnvFiles, dir, log = console, forceReload = false, onR
6201
6201
  const parsed = {};
6202
6202
  for (const envFile of loadedEnvFiles) {
6203
6203
  try {
6204
- let result = {};
6205
- result.parsed = parse(envFile.contents);
6204
+ const result = parse(envFile.contents);
6206
6205
  if (result.parsed && !previousLoadedEnvFiles.some(
6207
6206
  (item) => item.contents === envFile.contents && item.path === envFile.path
6208
6207
  )) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotenvx/next-env",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "dotenvx drop-in replacement for @next/env",
5
5
  "license": "BSD-3-Clause",
6
6
  "repository": {