chore(deps): bump axios from 1.7.9 to 1.15.2 in /packages/secure-exec/tests/projects/axios-pass#3
Open
dependabot[bot] wants to merge 10 commits into
Conversation
…e (ESFA-0) Improves the fetch function to manage backpressure when processing Node.js Readable streams. This change pauses the stream during data transmission to prevent overwhelming the system, ensuring smoother data flow and better resource management. Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
Updated the shouldEncodeHttpBodyAsBinary function to enhance the detection of binary content types. The new logic explicitly checks for text-based content types and assumes text for empty content-type headers, ensuring backward compatibility. This change aims to prevent incorrect encoding of binary data, improving overall data handling in HTTP requests. Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
…FA-0) Updated the `shouldEncodeHttpBodyAsBinary` function to always encode response bodies as base64 across the bridge to prevent binary corruption. This change simplifies the logic by removing unnecessary content type checks, ensuring consistent handling of binary data. Additionally, enhanced the `encodeFetchBody` function to provide a fallback for base64 decoding using `atob` when Buffer is not available, improving compatibility across environments. Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
Updated the fetch response methods to improve handling of base64 encoded data. When the bodyEncoding is set to "base64", the code now checks for the availability of Buffer and falls back to using atob and TextDecoder if Buffer is not defined. This ensures compatibility across different environments and improves the robustness of the response processing. Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
…uffer Updated the Response class to allow the body to be of type Uint8Array or ArrayBuffer, improving compatibility with binary data. The constructor now handles these types, and new methods for arrayBuffer and blob have been added to facilitate proper data handling. This change ensures that the response can correctly process and return various data formats, enhancing the overall functionality of the fetch API. Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
Signed-off-by: Tobias Pressler <t.pressler@firestart.com>
Bumps [axios](https://github.com/axios/axios) from 1.7.9 to 1.15.2. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.7.9...v1.15.2) --- updated-dependencies: - dependency-name: axios dependency-version: 1.15.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
abab140 to
c088a1b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps axios from 1.7.9 to 1.15.2.
Release notes
Sourced from axios's releases.
... (truncated)
Changelog
Sourced from axios's changelog.
... (truncated)
Commits
5829343chore(release): prepare release 1.15.2 (#10789)4709a48fix: added fix for memory leak in sockets (#10788)be33360chore: update changelog (#10781)4791514fix: more header pollutions (#10779)6feafcffix: socket issue (#10777)302e273docs: update docs, add a couple actions etc (#10776)ac42446chore(release): prepare release 1.15.1 (#10767)908f220docs: update threatmodel (#10765)f93f815docs: added docs around potential decompressions bomb (#10763)1728aa1fix: short-circuits on any truthy non-boolean in withXSRFToken (#10762)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for axios since your current version.
Install script changes
This version modifies
preparescript that runs during installation. Review the package contents before updating.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.