Skip to content

Commit 67d1f8b

Browse files
authored
chore(deps): bump dotenv and configure it so it does not spam the logs (#4550)
1 parent f2a1a54 commit 67d1f8b

14 files changed

Lines changed: 49 additions & 36 deletions

File tree

.changeset/tidy-sides-say.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@sap-ux/deploy-config-sub-generator': patch
3+
'@sap-ux-private/adaptation-editor-tests': patch
4+
'@sap-ux/backend-proxy-middleware': patch
5+
'@sap-ux/ui5-proxy-middleware': patch
6+
'@sap-ux/preview-middleware': patch
7+
'@sap-ux/deploy-tooling': patch
8+
'@sap-ux/adp-tooling': patch
9+
'@sap-ux/odata-cli': patch
10+
'@sap-ux/telemetry': patch
11+
---
12+
13+
Bump dotenv and configure "quiet" option

examples/odata-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@sap-ux/axios-extension": "workspace:*",
1919
"@sap-ux/btp-utils": "workspace:*",
2020
"@sap-ux/logger": "workspace:*",
21-
"dotenv": "17.3.1",
21+
"dotenv": "17.4.2",
2222
"fast-xml-parser": "5.5.9"
2323
},
2424
"files": [

packages/adp-tooling/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"@types/uuid": "11.0.0",
7777
"adm-zip": "0.5.16",
7878
"cross-env": "10.1.0",
79-
"dotenv": "17.3.1",
79+
"dotenv": "17.4.2",
8080
"express": "4.22.1",
8181
"nock": "14.0.11",
8282
"rimraf": "6.1.3",

packages/backend-proxy-middleware/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@sap-ux/logger": "workspace:*",
3939
"@sap-ux/store": "workspace:*",
4040
"chalk": "4.1.2",
41-
"dotenv": "17.3.1",
41+
"dotenv": "17.4.2",
4242
"http-proxy-middleware": "3.0.5",
4343
"https-proxy-agent": "7.0.6",
4444
"i18next": "25.10.10",

packages/backend-proxy-middleware/src/middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = async ({ options }: MiddlewareParameters<BackendMiddlewareConfi
4545
});
4646

4747
await initI18n();
48-
dotenv.config();
48+
dotenv.config({ quiet: true });
4949
const router = express.Router();
5050

5151
const configOptions = options.configuration?.options ?? {};

packages/deploy-config-sub-generator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@sap-ux/project-access": "workspace:*",
4242
"@sap-ux/store": "workspace:*",
4343
"@sap-ux/ui5-config": "workspace:*",
44-
"dotenv": "17.3.1",
44+
"dotenv": "17.4.2",
4545
"hasbin": "1.2.3",
4646
"i18next": "25.10.10",
4747
"yeoman-generator": "5.10.0"

packages/deploy-config-sub-generator/src/app/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ export default class extends DeploymentGenerator implements DeployConfigGenerato
8484
basename(this.options.data.destinationRoot)
8585
);
8686
this.options.projectRoot = this.options.data.destinationRoot;
87-
dotenv.config({ path: join(this.options.data.destinationRoot, '.env') });
87+
dotenv.config({ path: join(this.options.data.destinationRoot, '.env'), quiet: true });
8888
} else {
8989
if (this.options.projectPath && this.options.projectName) {
9090
this.options.appRootPath = join(this.options.projectPath, this.options.projectName);
9191
} else {
9292
this.options.appRootPath = this.destinationRoot(); // probably in a CLI context
9393
}
9494
// Load .env file for api hub config
95-
dotenv.config();
95+
dotenv.config({ quiet: true });
9696
this.apiHubConfig = this.options.apiHubConfig ?? getEnvApiHubConfig();
9797
this.launchStandaloneFromYui = false;
9898
}

packages/deploy-tooling/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@sap-ux/project-input-validator": "workspace:*",
4848
"axios": "1.15.0",
4949
"commander": "14.0.3",
50-
"dotenv": "17.3.1",
50+
"dotenv": "17.4.2",
5151
"prompts": "2.4.2",
5252
"adm-zip": "0.5.16",
5353
"chalk": "4.1.2"

packages/preview-middleware/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"@types/supertest": "7.2.0",
7171
"connect": "^3.7.0",
7272
"copyfiles": "2.4.1",
73-
"dotenv": "17.3.1",
73+
"dotenv": "17.4.2",
7474
"express": "4.22.1",
7575
"nock": "14.0.11",
7676
"npm-run-all2": "8.0.4",

packages/telemetry/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"jest-extended": "7.0.0",
4343
"memfs": "3.4.13",
4444
"unionfs": "4.6.0",
45-
"dotenv": "17.3.1"
45+
"dotenv": "17.4.2"
4646
},
4747
"files": [
4848
"dist",

0 commit comments

Comments
 (0)