db-migrate / node-db-migrate

Database migration framework for node
Other
2.32k stars 360 forks source link

chore: upgrade dotenv and npm audit fix #827

Open naseemkullah opened 8 months ago

naseemkullah commented 8 months ago

The main reason for this PR is actually to support new features in dotenv related to config via env vars.

see https://github.com/motdotla/dotenv#preload for examples of DOTENVCONFIG* env vars.

Note, this makes the use of the require('rc')('db-migrate') added via aef82c3300dec288d6fdfbdde4672e521eda6479 somewhat redundant, since DOTENV_CONFIG_PATH is one of the env vars supported by dotenv.

naseemkullah commented 5 months ago

@wzrdtales friendly ping