Skip to content

chore(deps): bump axios from 1.13.6 to 1.17.0#116

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/axios-1.17.0
Closed

chore(deps): bump axios from 1.13.6 to 1.17.0#116
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/axios-1.17.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown

Bumps axios from 1.13.6 to 1.17.0.

Release notes

Sourced from axios's releases.

v1.17.0 — June 1, 2026

This release adds Node HTTP zstd decompression, hardens config and release workflows, and fixes authentication, header, proxy, and type-handling regressions.

🔒 Security Fixes

  • Config Hardening: Guarded socketPath, params, and paramsSerializer reads with own-property checks to prevent inherited prototype values from affecting request behavior, including SSRF-sensitive paths. (#10901, #10922)
  • Release Publishing: Switched the publish workflow to npm staged publishing for safer, auditable package releases with provenance. (#10926)

🚀 New Features

  • HTTP Compression: Added Node HTTP adapter support for zstd response decompression, with transitional.advertiseZstdAcceptEncoding controlling whether zstd is advertised in Accept-Encoding. (#6792, #10920)

🐛 Bug Fixes

  • Authentication Handling: Restored Basic auth on same-origin Node redirects while continuing to strip credentials cross-origin, and aligned the fetch adapter with HTTP adapter behavior for URL-embedded Basic auth. (#10929, #10896)
  • Proxy TLS: Preserved user httpsAgent TLS options when tunneling HTTPS requests through HTTP CONNECT proxies. (#10957)
  • React Native FormData: Cleared default Content-Type for React Native FormData so multipart boundaries can be generated correctly. (#10898)
  • Headers: Silently skipped empty or whitespace-only header names instead of throwing, matching parsed-header behavior and avoiding React Native response crashes. (#10875)
  • Request Data Merging: Preserved enumerable symbol keys when cloning plain request data through axios merge logic. (#10812)
  • Bundler Compatibility: Converted resolveConfig from an arrow default export to a named function export to avoid webpack and Babel transform interop failures. (#10891)
  • Types: Corrected AxiosHeaders.toJSON() return types and updated CommonJS isCancel typings to narrow to CanceledError<T>. (#10956, #10952)
  • Build Tooling: Avoided emitting a null Authorization header from the GitHub build helper when GITHUB_TOKEN is unset. (#10931)

🔧 Maintenance & Chores

  • HTTP/2 Internals: Extracted Http2Sessions into its own helper module and added direct unit coverage for session pooling, timeout, and cleanup behavior. (#10861)
  • Package Publishing: Reduced published package size by switching to a files allowlist and dropping unneeded unminified bundle source maps. (#10939)
  • CI and Release Automation: Added bundle-size reporting, moved reports to the job summary, fixed bundle-size comparison coverage, added Node 26 to the matrix, pinned npm for staged publishing, and prepared the 1.17.0 release. (#10907, #10911, #10916, #10927, #10935, #10983)
  • Developer Workflow: Added a dev container and iterated on OpenSpec workflow files before removing them from the release branch. (#10925, #10914, #10958)
  • Documentation and Policy: Updated disclosure, contributor, collaboration, threat-model, advanced docs, README badges, release notes, moderator configuration, and project metadata. (#10890, #10889, #10921, #10945, #10905, #10933, #10915, #10887, #10955)
  • Dependencies: Bumped Babel tooling, Commitlint, ESLint, Rollup, Globals, Vitest, Playwright, fs-extra, qs, docs dependencies, and GitHub Actions dependencies including actions/dependency-review-action and zizmorcore/zizmor-action. (#10871, #10879, #10918, #10919, #10934, #10947, #10954, #10960)

🌟 New Contributors

We are thrilled to welcome our new contributors. Thank you for helping improve axios:

Full Changelog

... (truncated)

Changelog

Sourced from axios's changelog.

v1.17.0 — June 1, 2026

This release adds Node HTTP zstd decompression, hardens config and release workflows, and fixes authentication, header, proxy, and type-handling regressions.

🔒 Security Fixes

  • Config Hardening: Guarded socketPath, params, and paramsSerializer reads with own-property checks to prevent inherited prototype values from affecting request behavior, including SSRF-sensitive paths. (#10901, #10922)
  • Release Publishing: Switched the publish workflow to npm staged publishing for safer, auditable package releases with provenance. (#10926)

🚀 New Features

  • HTTP Compression: Added Node HTTP adapter support for zstd response decompression, with transitional.advertiseZstdAcceptEncoding controlling whether zstd is advertised in Accept-Encoding. (#6792, #10920)

🐛 Bug Fixes

  • Authentication Handling: Restored Basic auth on same-origin Node redirects while continuing to strip credentials cross-origin, and aligned the fetch adapter with HTTP adapter behavior for URL-embedded Basic auth. (#10929, #10896)
  • Proxy TLS: Preserved user httpsAgent TLS options when tunneling HTTPS requests through HTTP CONNECT proxies. (#10957)
  • React Native FormData: Cleared default Content-Type for React Native FormData so multipart boundaries can be generated correctly. (#10898)
  • Headers: Silently skipped empty or whitespace-only header names instead of throwing, matching parsed-header behavior and avoiding React Native response crashes. (#10875)
  • Request Data Merging: Preserved enumerable symbol keys when cloning plain request data through axios merge logic. (#10812)
  • Bundler Compatibility: Converted resolveConfig from an arrow default export to a named function export to avoid webpack and Babel transform interop failures. (#10891)
  • Types: Corrected AxiosHeaders.toJSON() return types and updated CommonJS isCancel typings to narrow to CanceledError<T>. (#10956, #10952)
  • Build Tooling: Avoided emitting a null Authorization header from the GitHub build helper when GITHUB_TOKEN is unset. (#10931)

🔧 Maintenance & Chores

  • HTTP/2 Internals: Extracted Http2Sessions into its own helper module and added direct unit coverage for session pooling, timeout, and cleanup behavior. (#10861)
  • Package Publishing: Reduced published package size by switching to a files allowlist and dropping unneeded unminified bundle source maps. (#10939)
  • CI and Release Automation: Added bundle-size reporting, moved reports to the job summary, fixed bundle-size comparison coverage, added Node 26 to the matrix, pinned npm for staged publishing, and prepared the 1.17.0 release. (#10907, #10911, #10916, #10927, #10935, #10983)
  • Developer Workflow: Added a dev container and iterated on OpenSpec workflow files before removing them from the release branch. (#10925, #10914, #10958)
  • Documentation and Policy: Updated disclosure, contributor, collaboration, threat-model, advanced docs, README badges, release notes, moderator configuration, and project metadata. (#10890, #10889, #10921, #10945, #10905, #10933, #10915, #10887, #10955)
  • Dependencies: Bumped Babel tooling, Commitlint, ESLint, Rollup, Globals, Vitest, Playwright, fs-extra, qs, docs dependencies, and GitHub Actions dependencies including actions/dependency-review-action and zizmorcore/zizmor-action. (#10871, #10879, #10918, #10919, #10934, #10947, #10954, #10960)

🌟 New Contributors

We are thrilled to welcome our new contributors. Thank you for helping improve axios:

Full Changelog

... (truncated)

Commits
Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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.

Bumps [axios](https://github.com/axios/axios) from 1.13.6 to 1.17.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.13.6...v1.17.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.17.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 9, 2026
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

The container image was built successfully but failed to publish to the registry.

alizard0 pushed a commit that referenced this pull request Jun 16, 2026
…redhat-developer#4574)

* feat(install-dynamic-plugins): port from Python to TypeScript/Node.js

* feat(install-dynamic-plugins): port main's Python script changes into the TS implementation

Brings the TS port back in sync with three commits that landed on main while
this PR was open:

- redhat-developer#4576 (OCI disable pre-merge): pre-compute the set of OCI registries that
  will be effectively disabled after merging, then filter them out of every
  plugin list before the merge calls skopeo. Avoids wasted remote fetches
  for plugins the operator already disabled at a higher level. New helpers
  in src/merger.ts (preMergeOciDisabledState, filterDisabledOciPlugins) and
  src/oci-key.ts (tryParseOciRegistryAndPath). loadAllPlugins() in
  src/index.ts now reads every include file up front so the pre-merge pass
  can run before mergePlugin() touches the OCI cache.

- redhat-developer#4666 (MAX_ENTRY_SIZE bump): default from 20MB to 40MB.

- redhat-developer#4655 (EXTRA_CATALOG_INDEX_IMAGES): comma-separated catalog index images,
  each extracted into <CATALOG_ENTITIES_EXTRACT_DIR>/extra/<name>/
  catalog-entities. New helpers in src/catalog-index.ts
  (extractCatalogIndexLayers refactored out of extractCatalogIndex,
  extractExtraCatalogIndex, parseExtraCatalogIndexImages,
  imageRefToSubdirectory). New maybeExtractExtraCatalogIndexes() in
  src/index.ts wires it into runInstaller after the primary catalog index.

Tests: 27 new cases under __tests__/merger-pre-merge.test.ts (15) and
__tests__/extra-catalog-index.test.ts (12) covering the level-override
matrix, ambiguous-pathless detection, same-level duplicates, invalid OCI
strings, extensions/marketplace fallback, missing-entities warning, and
the duplicate-subdir overwrite warning ordering. Existing
tar-extract.test.ts + types.test.ts updated for the new 40MB default. All
155 vitest cases pass. Bundle rebuilt.

* fix(install-dynamic-plugins): inline prototype-pollution guard for CodeQL

The shared Set.has() lookup wasn't recognised by CodeQL's
js/prototype-polluting-function rule as an exhaustive sanitizer, even
though Object.defineProperty already bypasses the __proto__ setter.
Replace it with the inlined string-literal pattern CodeQL accepts.

Closes CodeQL alert #116 on PR redhat-developer#4574 (safeSet at merger.ts:36).

* fix(install-dynamic-plugins): address SonarQube findings on PR redhat-developer#4574

- catalog-index.ts: invert the eq===-1 branch so the positive case
  comes first (Sonar S3923 'Unexpected negated condition').
- index.ts: drop five redundant type assertions on PluginSpec / Plugin
  / IncludePluginList — TS already narrows correctly thanks to
  PluginSpec being a structural subset of Plugin and Array of being
  assignable to ReadonlyArray.
- merger.ts:
  * Split preMergeOciDisabledState into top-level helpers
    (processOciEntry, recordEntryState, recordRegistryPath,
    validateAmbiguousPathless, effectiveRegistryDisabled,
    computeDisabledRegistries) so the orchestrator stays well under
    the cognitive-complexity ceiling.
  * Replace the nested ternary in the explicit-paths sort with
    String#localeCompare.
  * Replace 'bucket && bucket.size === 1' with optional-chain
    'bucket?.size === 1'.
  * Drop a stray NUL byte in the entry-key template that crept in
    via an early Edit and was making the file impossible to diff in
    a few tools.

155 vitest cases still pass; bundle rebuilt.

* fix(install-dynamic-plugins): validate EXTRA_CATALOG_INDEX_IMAGES subdir names

Qodo's persistent review flagged that the explicit 'name=<ref>' form of
EXTRA_CATALOG_INDEX_IMAGES does not validate 'name', so an operator
could accidentally (or maliciously) extract an extra catalog index
outside of '<entitiesDir>/extra/' by passing names containing '..' or
path separators. The auto-derived form is already safe because
imageRefToSubdirectory strips '/', ':', and '@'.

Add isSafeSubdirectoryName() that rejects empty names, '.', '..', and
any name containing '/' or '\\'. Parsing logs a warning and skips the
entry instead of crashing the installer, matching the existing 'empty
image reference' handling.

6 new vitest cases cover the rejected forms and document that the check
is character-based (so URL-encoded separators like '%2F' are accepted
verbatim rather than decoded). Bundle rebuilt (225.6 kB).

* refactor(install-dynamic-plugins): apply self-review improvements

Targeted cleanups identified in the in-conversation review. No behaviour
changes outside of the two defense-in-depth guards listed below.

Correctness/security:
- installer-npm.ts: validate that the filename emitted by 'npm pack
  --json' is flat (no '/', no '\\', no leading '..') before joining it
  to 'destination'. A registry returning '../evil.tgz' would otherwise
  let extraction escape.
- installer-oci.ts: replace 'pkg.split("!")' with an indexOf-based
  splitOciPackage helper so plugin paths containing a literal '!' are no
  longer silently truncated. Applied to both the install path and the
  Always-policy digest comparison.
- catalog-index.ts: re-validate 'subdirectory' inside
  extractExtraCatalogIndex itself instead of trusting all callers to go
  through parseExtraCatalogIndexImages. Five new vitest cases cover the
  rejected forms.
- index.ts: drop the existsSyncSafe wrapper and use Node's existsSync
  directly (the wrapper was a literal reimplementation that also
  conflated 'doesn't exist' with 'no read permission').
- image-cache.ts: surface a typed InstallException with the image ref
  when 'io.backstage.dynamic-packages' is unparseable, instead of
  letting JSON.parse crash the install.

Maintainability:
- types.ts: new effectivePullPolicy() helper centralises the ':latest!'
  fallback that was duplicated between installer-oci.ts and
  definitelyNoOp in index.ts.
- merger.ts: copyPluginFields now uses a for-of loop with safeSet
  (same prototype-pollution guard as deepMerge) instead of building an
  intermediate object via Object.fromEntries. effectiveRegistryDisabled
  drops the 'as string' cast via destructuring + undefined check.
  IncludePluginList downgraded from exported to internal.
- tar-extract.ts: comment the POSIX assumption around the
  pluginPathBoundary check; the trailing slash is unambiguous now.
- index.ts: destructure process.argv to remove the 'as string' cast.
- installer-npm.ts: extract isNpmPackJsonEntry() type guard so the
  install path stays linear.
- concurrency.ts: replace the magic-number worker caps (6/3) with
  MAX_OCI_WORKERS / MAX_NPM_WORKERS named constants.
- catalog-index.ts: simplify isSafeSubdirectoryName (the second clause
  was unreachable once '/' and '\\' were rejected upfront).

166 vitest cases (was 161; +5 new defense-in-depth tests). Bundle
rebuilt (226.0 kB).

* refactor(install-dynamic-plugins): polish merger.ts type assertions

- Generic 'safeSet<T extends object>' removes the awkward
  'dst as unknown as Record<string, unknown>' double-cast in
  copyPluginFields. The Object.defineProperty signature already accepts
  any object, so the constraint widening is enough.
- Drop the redundant 'as unknown' on parseYaml's return in
  mergePluginsFromFile — yaml v2's parse() is already typed unknown.

No behaviour changes. 166 vitest cases still pass.

* ci(install-dynamic-plugins): emit JUnit XML for Codecov test analytics

The 'Upload test results to Codecov' step at the monorepo level looks at
$RUNNER_TEMP/test-results/ for JUnit reports. Because this PR doesn't
touch any yarn workspace, 'yarn run test --affected' skips all
workspace tests and the directory ends up empty — codecov[bot] then
posts a 'JUnit XML file not found' warning on the PR.

Run vitest with the junit reporter so it writes its own report into
$RUNNER_TEMP/test-results/install-dynamic-plugins.junit.xml; the
existing test-results-action then finds it (alongside any workspace
reports) and the warning stops firing. No new upload step needed —
test-results-action already searches that directory.

Verified locally: 'JUNIT report written to /tmp/.../junit.xml' (166
testcases serialized).

* ci(install-dynamic-plugins): run vitest before Codecov test-results upload

The previous attempt at producing a JUnit report didn't take effect
because the step ordering put it AFTER the 'Upload test results to
Codecov' step. The Codecov log confirmed this:

  14:33:08  error - No JUnit XML reports found.
  14:33:16  JUNIT report written to .../install-dynamic-plugins.junit.xml

Move the install-dynamic-plugins test step before the monorepo 'Run
tests' so its JUnit report lands in $RUNNER_TEMP/test-results/ in time
for the existing upload step to pick it up. The bundle freshness check
stays where it was (after the uploads) so it doesn't delay the
upload-bearing path further.
@dependabot @github

dependabot Bot commented on behalf of github Jun 16, 2026

Copy link
Copy Markdown
Author

Looks like axios is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Jun 16, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/axios-1.17.0 branch June 16, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants