chore(deps): bump axios from 1.16.1 to 1.18.0 - #244
Conversation
Bumps [axios](https://github.com/axios/axios) from 1.16.1 to 1.18.0. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.16.1...v1.18.0) --- updated-dependencies: - dependency-name: axios dependency-version: 1.18.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Dependabot review: axios 1.16.1 → 1.18.0 — safe to merge ✅
Scope of change
- Lock-file only.
package.jsonalready declares"axios": "^1.12.0", so onlypackage-lock.jsonchanged (axios entry version + integrity). axios's own dependency ranges (follow-redirects ^1.16.0,form-data,proxy-from-env) are unchanged. The remaining lockfile diff is a dev-only re-nesting of@types/node@12.20.55under@manypkg/find-root.
How axios is used (production: lib/core/http.js)
axios(requestConfig)with{ url, method, headers, data, validateStatus: (_) => true, responseType, httpAgent?, httpsAgent? }, plus two string-URL GETs (cert + attestation doc). Onlyresponse.status,response.data,response.headersare read.- No use of interceptors, axios
proxyconfig,params/paramsSerializer, FormData,data:URLs, orsocketPath. Outbound-relay proxying is implemented via a globalhttps.requestoverride + a custom agent-base agent, not axios's proxy machinery.
Changelog review (1.17.0 + 1.18.0) — none of the changes affect this usage
validateStatuschange only affectsvalidateStatus: undefined; this code passes an explicit(_) => truefunction, so every status still resolves (the SDK checksresponse.statusitself).ERR_INVALID_URLhardening for URLs omitting//: all request URLs are well-formed absolutehttps://URLs (baseUrl/certHostname/attestation template).- Cross-origin redirect header stripping: a security improvement; auth headers (
api-key/Basic) are only sent to the same-origin Evervault API, and cert/attestation fetches send no auth — no reliance on cross-origin redirect forwarding. - zstd decompression, prototype-pollution-safe reads, proxy TLS preservation, React-Native FormData: not applicable to this Node usage.
- Net effect is additional security hardening with no behavioral impact here.
Build / test verification
npm ciinstalls 1.18.0 cleanly (lockfile unchanged).npm run lint✅ andnpm run generate-types(tsc declaration build) ✅.npm test: 214 passing, 8 pending, 1 failing. The single failure (tests/httpHelper.test.js→ real request tohttps://evervault.com) is caused by the sandbox egress proxy returning HTTP 403x-deny-reason: host_not_allowed. I confirmed it fails identically on axios 1.16.1, so it is an environment/network limitation, not a regression from this bump.
No source changes were required. Recommend merging.
Bumps axios from 1.16.1 to 1.18.0.
Release notes
Sourced from axios's releases.
... (truncated)
Changelog
Sourced from axios's changelog.
... (truncated)
Commits
2d06f96chore(release): prepare release 1.18.0 (#11003)32fc489fix: malformed http urls (#11000)b40ce49chore(deps-dev): bump the development_dependencies group with 10 updates (#10...fe964f9docs: mark proxy config as Node.js only (#10995)5f229d2chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 in the github-actions ...fae9d4edocs: clarify package update PR policy (#10992)28ab2cechore(deps-dev): bump the development_dependencies group with 2 updates (#10989)a8e4f13fix(core): keep default validateStatus when request passes undefined (#10899)614f455docs: publish v1.17.0 release notes (#10988)6bb12c1fix: custom auth headers not stripped on cross-origin redirects (#10892)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.