Skip to content

Commit

Permalink
Merge pull request #1669 from ral-facilities/renovate/npm-axios-vulne…
Browse files Browse the repository at this point in the history
…rability

Update dependency axios to v1.7.4 [SECURITY]
  • Loading branch information
louise-davies authored Sep 2, 2024
2 parents 480847a + bef76d9 commit f4a8879
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 142 deletions.
2 changes: 1 addition & 1 deletion packages/datagateway-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@emotion/styled": "11.11.0",
"@mui/x-date-pickers": "6.11.2",
"@types/lodash.debounce": "4.0.6",
"axios": "1.6.1",
"axios": "1.7.4",
"connected-react-router": "6.9.1",
"date-fns": "2.30.0",
"hex-to-rgba": "2.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/datagateway-dataview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@types/react-router-dom": "5.3.3",
"@types/react-virtualized": "9.21.10",
"@types/redux-logger": "3.0.8",
"axios": "1.6.1",
"axios": "1.7.4",
"connected-react-router": "6.9.1",
"custom-event-polyfill": "1.0.7",
"datagateway-common": "^2.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ describe('DatafilePreviewer', () => {
loaded: 10,
bytes: 10,
total: 10,
lengthComputable: true,
});
// this is download datafile content query, resolve with mock datafile content
return Promise.resolve({
Expand Down Expand Up @@ -208,6 +209,7 @@ describe('DatafilePreviewer', () => {
loaded: 2,
bytes: 10,
total: 10,
lengthComputable: true,
});
return new Promise((_) => {
// never resolve the promise to pretend it is loading
Expand Down
2 changes: 1 addition & 1 deletion packages/datagateway-download/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@types/react-dom": "17.0.11",
"@types/react-router-dom": "5.3.3",
"@types/react-virtualized": "9.21.10",
"axios": "1.6.1",
"axios": "1.7.4",
"datagateway-common": "^2.0.0",
"date-fns": "2.30.0",
"date-fns-tz": "2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/datagateway-search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@types/react-router-dom": "5.3.3",
"@types/react-virtualized": "9.21.10",
"@types/redux-logger": "3.0.8",
"axios": "1.6.1",
"axios": "1.7.4",
"connected-react-router": "6.9.1",
"custom-event-polyfill": "1.0.7",
"datagateway-common": "^2.0.0",
Expand Down
153 changes: 15 additions & 138 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.1, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.2, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.6, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.6.2, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2":
"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.1, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.14.6, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.2, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.6, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.6.2, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2":
version: 7.23.8
resolution: "@babel/runtime@npm:7.23.8"
dependencies:
Expand All @@ -1469,27 +1469,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/runtime@npm:^7.14.6":
version: 7.22.6
resolution: "@babel/runtime@npm:7.22.6"
dependencies:
regenerator-runtime: ^0.13.11
checksum: e585338287c4514a713babf4fdb8fc2a67adcebab3e7723a739fc62c79cfda875b314c90fd25f827afb150d781af97bc16c85bfdbfa2889f06053879a1ddb597
languageName: node
linkType: hard

"@babel/template@npm:^7.18.10, @babel/template@npm:^7.20.7, @babel/template@npm:^7.3.3":
version: 7.20.7
resolution: "@babel/template@npm:7.20.7"
dependencies:
"@babel/code-frame": ^7.18.6
"@babel/parser": ^7.20.7
"@babel/types": ^7.20.7
checksum: 2eb1a0ab8d415078776bceb3473d07ab746e6bb4c2f6ca46ee70efb284d75c4a32bb0cd6f4f4946dec9711f9c0780e8e5d64b743208deac6f8e9858afadc349e
languageName: node
linkType: hard

"@babel/template@npm:^7.22.15":
"@babel/template@npm:^7.18.10, @babel/template@npm:^7.20.7, @babel/template@npm:^7.22.15, @babel/template@npm:^7.3.3":
version: 7.22.15
resolution: "@babel/template@npm:7.22.15"
dependencies:
Expand Down Expand Up @@ -3054,23 +3034,7 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/dom@npm:^8.0.0":
version: 8.20.0
resolution: "@testing-library/dom@npm:8.20.0"
dependencies:
"@babel/code-frame": ^7.10.4
"@babel/runtime": ^7.12.5
"@types/aria-query": ^5.0.1
aria-query: ^5.0.0
chalk: ^4.1.0
dom-accessibility-api: ^0.5.9
lz-string: ^1.4.4
pretty-format: ^27.0.2
checksum: 1e599129a2fe91959ce80900a0a4897232b89e2a8e22c1f5950c36d39c97629ea86b4986b60b173b5525a05de33fde1e35836ea597b03de78cc51b122835c6f0
languageName: node
linkType: hard

"@testing-library/dom@npm:^8.1.0":
"@testing-library/dom@npm:^8.0.0, @testing-library/dom@npm:^8.1.0":
version: 8.20.1
resolution: "@testing-library/dom@npm:8.20.1"
dependencies:
Expand Down Expand Up @@ -4741,14 +4705,14 @@ __metadata:
languageName: node
linkType: hard

"axios@npm:1.6.1":
version: 1.6.1
resolution: "axios@npm:1.6.1"
"axios@npm:1.7.4":
version: 1.7.4
resolution: "axios@npm:1.7.4"
dependencies:
follow-redirects: ^1.15.0
follow-redirects: ^1.15.6
form-data: ^4.0.0
proxy-from-env: ^1.1.0
checksum: 573f03f59b7487d54551b16f5e155d1d130ad4864ed32d1da93d522b78a57123b34e3bde37f822a65ee297e79f1db840f9ad6514addff50d3cbf5caeed39e8dc
checksum: 0c17039a9acfe6a566fca8431ba5c1b455c83d30ea6157fec68a6722878fcd30f3bd32d172f6bee0c51fe75ca98e6414ddcd968a87b5606b573731629440bfaf
languageName: node
linkType: hard

Expand Down Expand Up @@ -5034,26 +4998,6 @@ __metadata:
languageName: node
linkType: hard

"body-parser@npm:1.20.1":
version: 1.20.1
resolution: "body-parser@npm:1.20.1"
dependencies:
bytes: 3.1.2
content-type: ~1.0.4
debug: 2.6.9
depd: 2.0.0
destroy: 1.2.0
http-errors: 2.0.0
iconv-lite: 0.4.24
on-finished: 2.4.1
qs: 6.11.0
raw-body: 2.5.1
type-is: ~1.6.18
unpipe: 1.0.0
checksum: f1050dbac3bede6a78f0b87947a8d548ce43f91ccc718a50dd774f3c81f2d8b04693e52acf62659fad23101827dd318da1fb1363444ff9a8482b886a3e4a5266
languageName: node
linkType: hard

"body-parser@npm:1.20.2":
version: 1.20.2
resolution: "body-parser@npm:1.20.2"
Expand Down Expand Up @@ -5891,13 +5835,6 @@ __metadata:
languageName: node
linkType: hard

"cookie@npm:0.5.0":
version: 0.5.0
resolution: "cookie@npm:0.5.0"
checksum: 1f4bd2ca5765f8c9689a7e8954183f5332139eb72b6ff783d8947032ec1fdf43109852c178e21a953a30c0dd42257828185be01b49d1eb1a67fd054ca588a180
languageName: node
linkType: hard

"cookie@npm:0.6.0":
version: 0.6.0
resolution: "cookie@npm:0.6.0"
Expand Down Expand Up @@ -6425,7 +6362,7 @@ __metadata:
"@types/react-virtualized": 9.21.10
"@typescript-eslint/eslint-plugin": 5.62.0
"@typescript-eslint/parser": 5.62.0
axios: 1.6.1
axios: 1.7.4
connected-react-router: 6.9.1
date-fns: 2.30.0
eslint: 8.56.0
Expand Down Expand Up @@ -6495,7 +6432,7 @@ __metadata:
"@types/redux-mock-store": 1.0.3
"@typescript-eslint/eslint-plugin": 5.62.0
"@typescript-eslint/parser": 5.62.0
axios: 1.6.1
axios: 1.7.4
blob-polyfill: 7.0.20220408
connected-react-router: 6.9.1
cross-env: 7.0.3
Expand Down Expand Up @@ -6567,7 +6504,7 @@ __metadata:
"@types/react-virtualized": 9.21.10
"@typescript-eslint/eslint-plugin": 5.62.0
"@typescript-eslint/parser": 5.62.0
axios: 1.6.1
axios: 1.7.4
cross-env: 7.0.3
cypress: 13.6.4
cypress-failed-log: 2.10.0
Expand Down Expand Up @@ -6636,7 +6573,7 @@ __metadata:
"@types/redux-mock-store": 1.0.3
"@typescript-eslint/eslint-plugin": 5.62.0
"@typescript-eslint/parser": 5.62.0
axios: 1.6.1
axios: 1.7.4
connected-react-router: 6.9.1
cross-env: 7.0.3
custom-event-polyfill: 1.0.7
Expand Down Expand Up @@ -8021,7 +7958,7 @@ __metadata:
languageName: node
linkType: hard

"express@npm:4.19.2":
"express@npm:4.19.2, express@npm:^4.17.3":
version: 4.19.2
resolution: "express@npm:4.19.2"
dependencies:
Expand Down Expand Up @@ -8060,45 +7997,6 @@ __metadata:
languageName: node
linkType: hard

"express@npm:^4.17.3":
version: 4.18.2
resolution: "express@npm:4.18.2"
dependencies:
accepts: ~1.3.8
array-flatten: 1.1.1
body-parser: 1.20.1
content-disposition: 0.5.4
content-type: ~1.0.4
cookie: 0.5.0
cookie-signature: 1.0.6
debug: 2.6.9
depd: 2.0.0
encodeurl: ~1.0.2
escape-html: ~1.0.3
etag: ~1.8.1
finalhandler: 1.2.0
fresh: 0.5.2
http-errors: 2.0.0
merge-descriptors: 1.0.1
methods: ~1.1.2
on-finished: 2.4.1
parseurl: ~1.3.3
path-to-regexp: 0.1.7
proxy-addr: ~2.0.7
qs: 6.11.0
range-parser: ~1.2.1
safe-buffer: 5.2.1
send: 0.18.0
serve-static: 1.15.0
setprototypeof: 1.2.0
statuses: 2.0.1
type-is: ~1.6.18
utils-merge: 1.0.1
vary: ~1.1.2
checksum: 3c4b9b076879442f6b968fe53d85d9f1eeacbb4f4c41e5f16cc36d77ce39a2b0d81b3f250514982110d815b2f7173f5561367f9110fcc541f9371948e8c8b037
languageName: node
linkType: hard

"extend@npm:~3.0.2":
version: 3.0.2
resolution: "extend@npm:3.0.2"
Expand Down Expand Up @@ -8357,7 +8255,7 @@ __metadata:
languageName: node
linkType: hard

"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.14.9, follow-redirects@npm:^1.15.0":
"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.14.9, follow-redirects@npm:^1.15.6":
version: 1.15.6
resolution: "follow-redirects@npm:1.15.6"
peerDependenciesMeta:
Expand Down Expand Up @@ -11137,15 +11035,6 @@ __metadata:
languageName: node
linkType: hard

"lz-string@npm:^1.4.4":
version: 1.4.4
resolution: "lz-string@npm:1.4.4"
bin:
lz-string: bin/bin.js
checksum: 54e31238a61a84d8f664d9860a9fba7310c5b97a52c444f80543069bc084815eff40b8d4474ae1d93992fdf6c252dca37cf27f6adbeb4dbc3df2f3ac773d0e61
languageName: node
linkType: hard

"lz-string@npm:^1.5.0":
version: 1.5.0
resolution: "lz-string@npm:1.5.0"
Expand Down Expand Up @@ -13392,18 +13281,6 @@ __metadata:
languageName: node
linkType: hard

"raw-body@npm:2.5.1":
version: 2.5.1
resolution: "raw-body@npm:2.5.1"
dependencies:
bytes: 3.1.2
http-errors: 2.0.0
iconv-lite: 0.4.24
unpipe: 1.0.0
checksum: 5362adff1575d691bb3f75998803a0ffed8c64eabeaa06e54b4ada25a0cd1b2ae7f4f5ec46565d1bec337e08b5ac90c76eaa0758de6f72a633f025d754dec29e
languageName: node
linkType: hard

"raw-body@npm:2.5.2":
version: 2.5.2
resolution: "raw-body@npm:2.5.2"
Expand Down Expand Up @@ -13916,7 +13793,7 @@ __metadata:
languageName: node
linkType: hard

"regenerator-runtime@npm:^0.13.11, regenerator-runtime@npm:^0.13.9":
"regenerator-runtime@npm:^0.13.9":
version: 0.13.11
resolution: "regenerator-runtime@npm:0.13.11"
checksum: 27481628d22a1c4e3ff551096a683b424242a216fee44685467307f14d58020af1e19660bf2e26064de946bad7eff28950eae9f8209d55723e2d9351e632bbb4
Expand Down

0 comments on commit f4a8879

Please sign in to comment.