From 73d76020e21238ee301b6f470456668a75df3bd6 Mon Sep 17 00:00:00 2001 From: wolfganggreschus Date: Mon, 4 Dec 2023 20:43:02 +0100 Subject: [PATCH] BC-5799 - Update axios in schulcloud server (#4607) * Bump axios from 1.5.0 to 1.6.2 Bumps [axios](https://github.com/axios/axios) from 1.5.0 to 1.6.2. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v1.5.0...v1.6.2) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * added index-file in shared-folder * added index-file in shared/domain-folder --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- apps/server/src/shared/domain/index.ts | 6 ++++++ apps/server/src/shared/index.ts | 6 ++++++ package-lock.json | 14 +++++++------- package.json | 2 +- 4 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 apps/server/src/shared/domain/index.ts create mode 100644 apps/server/src/shared/index.ts diff --git a/apps/server/src/shared/domain/index.ts b/apps/server/src/shared/domain/index.ts new file mode 100644 index 00000000000..a7f493efe12 --- /dev/null +++ b/apps/server/src/shared/domain/index.ts @@ -0,0 +1,6 @@ +/** + + Import external dependencies directly, not from here. + Avoid loading all external references for testing. + Do not re-export here. + */ diff --git a/apps/server/src/shared/index.ts b/apps/server/src/shared/index.ts new file mode 100644 index 00000000000..a7f493efe12 --- /dev/null +++ b/apps/server/src/shared/index.ts @@ -0,0 +1,6 @@ +/** + + Import external dependencies directly, not from here. + Avoid loading all external references for testing. + Do not re-export here. + */ diff --git a/package-lock.json b/package-lock.json index de259951455..5c704127ebc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,7 +50,7 @@ "async": "^3.2.2", "async-mutex": "^0.4.0", "aws-sdk": "^2.1375.0", - "axios": "^1.5.0", + "axios": "^1.6.2", "axios-mock-adapter": "^1.21.2", "bbb-promise": "^1.2.0", "bcryptjs": "*", @@ -7306,9 +7306,9 @@ } }, "node_modules/axios": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.0.tgz", - "integrity": "sha512-D4DdjDo5CY50Qms0qGQTTw6Q44jl7zRwY7bthds06pUGfChBCTcQs+N743eFWGEd6pRTMd6A+I87aWyFV5wiZQ==", + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz", + "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==", "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -30803,9 +30803,9 @@ "dev": true }, "axios": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.0.tgz", - "integrity": "sha512-D4DdjDo5CY50Qms0qGQTTw6Q44jl7zRwY7bthds06pUGfChBCTcQs+N743eFWGEd6pRTMd6A+I87aWyFV5wiZQ==", + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz", + "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==", "requires": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", diff --git a/package.json b/package.json index cee7e173467..279785a0828 100644 --- a/package.json +++ b/package.json @@ -145,7 +145,7 @@ "async": "^3.2.2", "async-mutex": "^0.4.0", "aws-sdk": "^2.1375.0", - "axios": "^1.5.0", + "axios": "^1.6.2", "axios-mock-adapter": "^1.21.2", "bbb-promise": "^1.2.0", "bcryptjs": "*",