Skip to content

Commit 707a575

Browse files
renovate[bot]renovate-botRoman Vaivod
authored
chore(deps): update dependency dotenv-expand to v8 (#876)
* chore(deps): update dependency dotenv-expand to v8 * Fix for breaking changes Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Roman Vaivod <[email protected]>
1 parent 25895ff commit 707a575

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

bin/node-pg-migrate

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ if (dotenv) {
230230
// Load config from ".env" file
231231
const myEnv = dotenv.config(dotenvConfig)
232232
const dotenvExpand = tryRequire('dotenv-expand')
233-
if (dotenvExpand) {
234-
dotenvExpand(myEnv)
233+
if (dotenvExpand && dotenvExpand.expand) {
234+
dotenvExpand.expand(myEnv)
235235
}
236236
}
237237

package-lock.json

Lines changed: 12 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"cross-env": "7.0.3",
6767
"docsify-cli": "4.4.3",
6868
"dotenv": "10.0.0",
69-
"dotenv-expand": "5.1.0",
69+
"dotenv-expand": "8.0.3",
7070
"eslint": "8.4.1",
7171
"eslint-config-airbnb-base": "15.0.0",
7272
"eslint-config-prettier": "8.3.0",

0 commit comments

Comments
 (0)