Skip to content

Commit d6bde8b

Browse files
authored
fix(deps): update dependency dotenv-expand to v10 (#14391)
1 parent 2f60b9e commit d6bde8b

File tree

6 files changed

+29
-40
lines changed

6 files changed

+29
-40
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@
118118
}
119119
},
120120
"patchedDependencies": {
121-
122121
123-
122+
123+
124124
},
125125
"peerDependencyRules": {
126126
"allowedVersions": {

packages/vite/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"debug": "^4.3.4",
105105
"dep-types": "link:./src/types",
106106
"dotenv": "^16.3.1",
107-
"dotenv-expand": "^9.0.0",
107+
"dotenv-expand": "^10.0.0",
108108
"es-module-lexer": "^1.3.0",
109109
"escape-html": "^1.0.3",
110110
"estree-walker": "^3.0.3",

packages/vite/rollup.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function createCjsConfig(isProduction: boolean) {
195195
...Object.keys(pkg.dependencies),
196196
...(isProduction ? [] : Object.keys(pkg.devDependencies)),
197197
],
198-
plugins: [...createNodePlugins(false, false, false), bundleSizeLimit(161)],
198+
plugins: [...createNodePlugins(false, false, false), bundleSizeLimit(162)],
199199
})
200200
}
201201

patches/[email protected]

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
diff --git a/lib/main.js b/lib/main.js
2+
index 79d973c22f06403bfee45ff122bd384841c30da8..9392de262140f8f336146bef2419794532e4170f 100644
3+
--- a/lib/main.js
4+
+++ b/lib/main.js
5+
@@ -69,9 +69,10 @@ function expand (config) {
6+
)
7+
}
8+
9+
- for (const processKey in config.parsed) {
10+
- environment[processKey] = config.parsed[processKey]
11+
- }
12+
+ // PATCH: don't write to process.env
13+
+ // for (const processKey in config.parsed) {
14+
+ // environment[processKey] = config.parsed[processKey]
15+
+ // }
16+
17+
return config
18+
}

patches/[email protected]

-29
This file was deleted.

pnpm-lock.yaml

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)