Skip to content

Commit

Permalink
Bump dotenv from 5.0.1 to 16.4.7 in /frontend (#570)
Browse files Browse the repository at this point in the history
* Bump dotenv from 5.0.1 to 16.4.7 in /frontend

Bumps [dotenv](https://github.com/motdotla/dotenv) from 5.0.1 to 16.4.7.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](motdotla/dotenv@v5.0.1...v16.4.7)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Change dotenv to use .config()

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Hüppi <maede97@hotmail.com>
  • Loading branch information
dependabot[bot] and maede97 authored Dec 13, 2024
1 parent 8a340c7 commit 7b18d8a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
14 changes: 8 additions & 6 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@googlemaps/polyline-codec": "^1.0.28",
"angular-split": "^18.0.0",
"colors": "^1.4.0",
"dotenv": "^5.0.0",
"dotenv": "^16.4.7",
"echarts": "^5.5.1",
"ngx-echarts": "19.0.0",
"ol": "^10.3.1",
Expand Down
2 changes: 1 addition & 1 deletion frontend/set-env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const targetPath = './src/environments/environment.ts';

// Load node modules
const colors = require('colors');
require('dotenv').load();
require('dotenv').config();

// `environment.ts` file structure
const envConfigFile = `export const environment = {
Expand Down

0 comments on commit 7b18d8a

Please sign in to comment.