Upgrade axios 1.8.3 in buildkite (#215203)

## Summary
Upgrade `axios` to 1.8.3 in Kibana's `.buildkite` subproject; disallow
absolute URLs in axios clients.
This commit is contained in:
Alex Szabo 2025-03-20 10:58:41 +01:00 committed by GitHub
parent 1119bf187d
commit d8f6bd694b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11 additions and 8 deletions

View file

@ -9,7 +9,7 @@
"version": "1.0.0",
"dependencies": {
"@octokit/rest": "^18.10.0",
"axios": "^1.7.9",
"axios": "^1.8.3",
"globby": "^11.1.0",
"js-yaml": "^4.1.0",
"minimatch": "^5.0.1",
@ -474,9 +474,10 @@
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
},
"node_modules/axios": {
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz",
"integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==",
"version": "1.8.3",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.8.3.tgz",
"integrity": "sha512-iP4DebzoNlP/YN2dpwCgb8zoCmhtkajzS48JvwmkSkXvPI3DHc7m+XYL5tGnSlJtR6nImXZmdCuN5aP8dh1d8A==",
"license": "MIT",
"dependencies": {
"follow-redirects": "^1.15.6",
"form-data": "^4.0.0",
@ -2325,9 +2326,9 @@
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
},
"axios": {
"version": "1.7.9",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz",
"integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==",
"version": "1.8.3",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.8.3.tgz",
"integrity": "sha512-iP4DebzoNlP/YN2dpwCgb8zoCmhtkajzS48JvwmkSkXvPI3DHc7m+XYL5tGnSlJtR6nImXZmdCuN5aP8dh1d8A==",
"requires": {
"follow-redirects": "^1.15.6",
"form-data": "^4.0.0",

View file

@ -11,7 +11,7 @@
},
"dependencies": {
"@octokit/rest": "^18.10.0",
"axios": "^1.7.9",
"axios": "^1.8.3",
"globby": "^11.1.0",
"js-yaml": "^4.1.0",
"minimatch": "^5.0.1",

View file

@ -175,6 +175,7 @@ export class BuildkiteClient {
headers: {
Authorization: `Bearer ${BUILDKITE_TOKEN}`,
},
allowAbsoluteUrls: false,
});
this.exec = config.exec ?? execSync;

View file

@ -129,6 +129,7 @@ const projectRequest = axios.create({
headers: {
Authorization: `ApiKey ${process.env.PROJECT_API_KEY}`,
},
allowAbsoluteUrls: false,
});
purgeProjects().catch((e) => {