Skip to content

Commit 958d8f1

Browse files
chore(deps): bump dotenv from 16.x to 17.0.0 (#13228)
* chore(deps): bump dotenv from 16.6.0 to 17.0.0 * chore(deps): bump dotenv from 16.5.0 to 17.0.0 in /cloud-function * chore(dotenv): set `quiet: true` to maintain previous behavior --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claas Augner <caugner@mozilla.com>
1 parent 716ff8c commit 958d8f1

File tree

10 files changed

+16
-11
lines changed

10 files changed

+16
-11
lines changed

build/build-options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as dotenv from "dotenv";
2-
dotenv.config();
2+
dotenv.config({ quiet: true });
33

44
import { FLAW_LEVELS, VALID_FLAW_CHECKS } from "../libs/constants/index.js";
55
import {

client/config/env.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const dotenvFile = ENV_FILE
1818

1919
dotenv.config({
2020
path: dotenvFile,
21+
quiet: true,
2122
});
2223

2324
// We support resolving modules according to `NODE_PATH`.

cloud-function/package-lock.json

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

cloud-function/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@yari-internal/slug-utils": "file:src/internal/slug-utils",
3939
"accept-language-parser": "^1.5.0",
4040
"cookie-parser": "^1.4.7",
41-
"dotenv": "^16.5.0",
41+
"dotenv": "^17.0.0",
4242
"express": "^4.21.1",
4343
"http-proxy-middleware": "^3.0.5",
4444
"sanitize-filename": "^1.6.3"

cloud-function/src/build-canonicals.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
1111
const root = join(__dirname, "..", "..");
1212
dotenv.config({
1313
path: join(root, process.env["ENV_FILE"] || ".env"),
14+
quiet: true,
1415
});
1516

1617
async function buildCanonicals() {

cloud-function/src/build-redirects.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const dirname = path.dirname(fileURLToPath(import.meta.url));
1111
const root = path.join(dirname, "..", "..");
1212
dotenv.config({
1313
path: path.join(root, process.env["ENV_FILE"] || ".env"),
14+
quiet: true,
1415
});
1516

1617
function buildRedirectsMap() {

cloud-function/src/env.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { Request } from "express";
66

77
dotenv.config({
88
path: path.join(cwd(), process.env["ENV_FILE"] || ".env"),
9+
quiet: true,
910
});
1011

1112
export const LOCAL_CONTENT = "http://localhost:8100/";

libs/env/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function parse(value) {
2222

2323
dotenv.config({
2424
path: path.join(cwd(), process.env.ENV_FILE || ".env"),
25+
quiet: true,
2526
});
2627

2728
// -----

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"css-tree": "^2.3.1",
111111
"dayjs": "^1.11.13",
112112
"dexie": "^4.0.11",
113-
"dotenv": "^16.6.0",
113+
"dotenv": "^17.0.0",
114114
"ejs": "^3.1.10",
115115
"express": "^4.21.2",
116116
"fdir": "^6.4.6",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6529,10 +6529,10 @@ dot-prop@^8.0.2:
65296529
dependencies:
65306530
type-fest "^3.8.0"
65316531

6532-
dotenv@^16.6.0:
6533-
version "16.6.0"
6534-
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.6.0.tgz#b96bd4e7c2043ba5f51cbe1b8f9347850c864850"
6535-
integrity sha512-Omf1L8paOy2VJhILjyhrhqwLIdstqm1BvcDPKg4NGAlkwEu9ODyrFbvk8UymUOMCT+HXo31jg1lArIrVAAhuGA==
6532+
dotenv@^17.0.0:
6533+
version "17.0.0"
6534+
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-17.0.0.tgz#0b0336dc1a4237bcfa772e01d5587e98ebb7e3c2"
6535+
integrity sha512-A0BJ5lrpJVSfnMMXjmeO0xUnoxqsBHWCoqqTnGwGYVdnctqXXUEhJOO7LxmgxJon9tEZFGpe0xPRX0h2v3AANQ==
65366536

65376537
download@^6.2.2:
65386538
version "6.2.5"

0 commit comments

Comments
 (0)