diff --git a/packages/datagateway-common/package.json b/packages/datagateway-common/package.json index 052fcc2caf..58ef68e345 100644 --- a/packages/datagateway-common/package.json +++ b/packages/datagateway-common/package.json @@ -12,7 +12,7 @@ "@emotion/styled": "11.11.0", "@mui/x-date-pickers": "6.11.2", "@types/lodash.debounce": "4.0.6", - "axios": "0.27.2", + "axios": "1.5.0", "connected-react-router": "6.9.1", "date-fns": "2.30.0", "hex-to-rgba": "2.0.1", diff --git a/packages/datagateway-dataview/package.json b/packages/datagateway-dataview/package.json index 11048b5059..8901bd66b7 100644 --- a/packages/datagateway-dataview/package.json +++ b/packages/datagateway-dataview/package.json @@ -19,7 +19,7 @@ "@types/react-router-dom": "5.3.3", "@types/react-virtualized": "9.21.10", "@types/redux-logger": "3.0.8", - "axios": "0.27.2", + "axios": "1.5.0", "connected-react-router": "6.9.1", "custom-event-polyfill": "1.0.7", "datagateway-common": "^1.1.2", diff --git a/packages/datagateway-download/package.json b/packages/datagateway-download/package.json index 1316a0248d..3e091821fa 100644 --- a/packages/datagateway-download/package.json +++ b/packages/datagateway-download/package.json @@ -16,7 +16,7 @@ "@types/react-dom": "17.0.11", "@types/react-router-dom": "5.3.3", "@types/react-virtualized": "9.21.10", - "axios": "0.27.2", + "axios": "1.5.0", "datagateway-common": "^1.1.2", "date-fns": "2.30.0", "date-fns-tz": "2.0.0", diff --git a/packages/datagateway-search/package.json b/packages/datagateway-search/package.json index 41a31dfca5..2fb7111236 100644 --- a/packages/datagateway-search/package.json +++ b/packages/datagateway-search/package.json @@ -20,7 +20,7 @@ "@types/react-router-dom": "5.3.3", "@types/react-virtualized": "9.21.10", "@types/redux-logger": "3.0.8", - "axios": "0.27.2", + "axios": "1.5.0", "connected-react-router": "6.9.1", "custom-event-polyfill": "1.0.7", "datagateway-common": "^1.1.2", diff --git a/yarn.lock b/yarn.lock index cdf186fe7a..4ba2ab1a16 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4746,7 +4746,18 @@ __metadata: languageName: node linkType: hard -"axios@npm:0.27.2, axios@npm:^0.27.2": +"axios@npm:1.5.0": + version: 1.5.0 + resolution: "axios@npm:1.5.0" + dependencies: + follow-redirects: ^1.15.0 + form-data: ^4.0.0 + proxy-from-env: ^1.1.0 + checksum: e7405a5dbbea97760d0e6cd58fecba311b0401ddb4a8efbc4108f5537da9b3f278bde566deb777935a960beec4fa18e7b8353881f2f465e4f2c0e949fead35be + languageName: node + linkType: hard + +"axios@npm:^0.27.2": version: 0.27.2 resolution: "axios@npm:0.27.2" dependencies: @@ -6435,7 +6446,7 @@ __metadata: "@types/react-virtualized": 9.21.10 "@typescript-eslint/eslint-plugin": 5.61.0 "@typescript-eslint/parser": 5.61.0 - axios: 0.27.2 + axios: 1.5.0 connected-react-router: 6.9.1 date-fns: 2.30.0 eslint: 8.44.0 @@ -6506,7 +6517,7 @@ __metadata: "@typescript-eslint/eslint-plugin": 5.61.0 "@typescript-eslint/parser": 5.61.0 "@welldone-software/why-did-you-render": 7.0.1 - axios: 0.27.2 + axios: 1.5.0 blob-polyfill: 7.0.20220408 connected-react-router: 6.9.1 cross-env: 7.0.3 @@ -6577,7 +6588,7 @@ __metadata: "@types/react-virtualized": 9.21.10 "@typescript-eslint/eslint-plugin": 5.61.0 "@typescript-eslint/parser": 5.61.0 - axios: 0.27.2 + axios: 1.5.0 cross-env: 7.0.3 cypress: 11.2.0 cypress-failed-log: 2.10.0 @@ -6646,7 +6657,7 @@ __metadata: "@typescript-eslint/eslint-plugin": 5.61.0 "@typescript-eslint/parser": 5.61.0 "@wojtekmaj/enzyme-adapter-react-17": 0.6.6 - axios: 0.27.2 + axios: 1.5.0 connected-react-router: 6.9.1 cross-env: 7.0.3 custom-event-polyfill: 1.0.7 @@ -8452,13 +8463,13 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.14.9": - version: 1.15.2 - resolution: "follow-redirects@npm:1.15.2" +"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.14.9, follow-redirects@npm:^1.15.0": + version: 1.15.3 + resolution: "follow-redirects@npm:1.15.3" peerDependenciesMeta: debug: optional: true - checksum: faa66059b66358ba65c234c2f2a37fcec029dc22775f35d9ad6abac56003268baf41e55f9ee645957b32c7d9f62baf1f0b906e68267276f54ec4b4c597c2b190 + checksum: 584da22ec5420c837bd096559ebfb8fe69d82512d5585004e36a3b4a6ef6d5905780e0c74508c7b72f907d1fa2b7bd339e613859e9c304d0dc96af2027fd0231 languageName: node linkType: hard @@ -13394,6 +13405,13 @@ __metadata: languageName: node linkType: hard +"proxy-from-env@npm:^1.1.0": + version: 1.1.0 + resolution: "proxy-from-env@npm:1.1.0" + checksum: ed7fcc2ba0a33404958e34d95d18638249a68c430e30fcb6c478497d72739ba64ce9810a24f53a7d921d0c065e5b78e3822759800698167256b04659366ca4d4 + languageName: node + linkType: hard + "ps-tree@npm:1.2.0": version: 1.2.0 resolution: "ps-tree@npm:1.2.0"