Bump axios from 0.27.2 to 1.0.0 #345

Closed
dependabot[bot] wants to merge 1 commit from dependabot/npm_and_yarn/axios-1.0.0 into master
dependabot[bot] commented 2022-10-05 12:16:49 +02:00 (Migrated from github.com)

Bumps axios from 0.27.2 to 1.0.0.

Release notes

Sourced from axios's releases.

v1.0.0

Changelog

[1.0.0] - 2022-10-04

Added

  • Added stack trace to AxiosError #4624
  • Add AxiosError to AxiosStatic #4654
  • Replaced Rollup as our build runner #4596
  • Added generic TS types for the exposed toFormData helper #4668
  • Added listen callback function #4096
  • Added instructions for installing using PNPM #4207
  • Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill #4229
  • Added axios-url-template in ECOSYSTEM.md #4238
  • Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an Axios instance #4248
  • Added react hook plugin #4319
  • Adding HTTP status code for transformResponse #4580
  • Added blob to the list of protocols supported by the browser #4678
  • Resolving proxy from env on redirect #4436
  • Added enhanced toFormData implementation with additional options 4704
  • Adding Canceler parameters config and request #4711
  • Added automatic payload serialization to application/x-www-form-urlencoded #4714
  • Added the ability for webpack users to overwrite built-ins #4715
  • Added string[] to AxiosRequestHeaders type #4322
  • Added the ability for the url-encoded-form serializer to respect the formSerializer config #4721
  • Added isCancel type assert #4293
  • Added data URL support for node.js #4725
  • Adding types for progress event callbacks #4675
  • URL params serializer #4734
  • Added axios.formToJSON method #4735
  • Bower platform add data protocol #4804
  • Use WHATWG URL API instead of url.parse() #4852
  • Add ENUM containing Http Status Codes to typings #4903
  • Improve typing of timeout in index.d.ts #4934

Changed

  • Updated AxiosError.config to be optional in the type definition #4665
  • Updated README emphasizing the URLSearchParam built-in interface over other solutions #4590
  • Include request and config when creating a CanceledError instance #4659
  • Changed func-names eslint rule to as-needed #4492
  • Replacing deprecated substr() with slice() as substr() is deprecated #4468
  • Updating HTTP links in README.md to use HTTPS #4387
  • Updated to a better trim() polyfill #4072
  • Updated types to allow specifying partial default headers on instance create #4185
  • Expanded isAxiosError types #4344
  • Updated type definition for Axios instance methods #4224
  • Updated eslint config #4722
  • Updated Docs #4742

... (truncated)

Changelog

Sourced from axios's changelog.

[1.0.0] - 2022-10-04

Added

  • Added stack trace to AxiosError #4624
  • Add AxiosError to AxiosStatic #4654
  • Replaced Rollup as our build runner #4596
  • Added generic TS types for the exposed toFormData helper #4668
  • Added listen callback function #4096
  • Added instructions for installing using PNPM #4207
  • Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill #4229
  • Added axios-url-template in ECOSYSTEM.md #4238
  • Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an axios instance #4248
  • Added react hook plugin #4319
  • Adding HTTP status code for transformResponse #4580
  • Added blob to the list of protocols supported by the browser #4678
  • Resolving proxy from env on redirect #4436
  • Added enhanced toFormData implementation with additional options 4704
  • Adding Canceler parameters config and request #4711
  • Added automatic payload serialization to application/x-www-form-urlencoded #4714
  • Added the ability for webpack users to overwrite built-ins #4715
  • Added string[] to AxiosRequestHeaders type #4322
  • Added the ability for the url-encoded-form serializer to respect the formSerializer config #4721
  • Added isCancel type assert #4293
  • Added data URL support for node.js #4725
  • Adding types for progress event callbacks #4675
  • URL params serializer #4734
  • Added axios.formToJSON method #4735
  • Bower platform add data protocol #4804
  • Use WHATWG URL API instead of url.parse() #4852
  • Add ENUM containing Http Status Codes to typings #4903
  • Improve typing of timeout in index.d.ts #4934

Changed

  • Updated AxiosError.config to be optional in the type definition #4665
  • Updated README emphasizing the URLSearchParam built-in interface over other solutions #4590
  • Include request and config when creating a CanceledError instance #4659
  • Changed func-names eslint rule to as-needed #4492
  • Replacing deprecated substr() with slice() as substr() is deprecated #4468
  • Updating HTTP links in README.md to use HTTPS #4387
  • Updated to a better trim() polyfill #4072
  • Updated types to allow specifying partial default headers on instance create #4185
  • Expanded isAxiosError types #4344
  • Updated type definition for axios instance methods #4224
  • Updated eslint config #4722
  • Updated Docs #4742
  • Refactored Axios to use ES2017 #4787

... (truncated)

Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)
Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/axios/axios/releases">axios's releases</a>.</em></p> <blockquote> <h2>v1.0.0</h2> <h1>Changelog</h1> <h2>[1.0.0] - 2022-10-04</h2> <h3>Added</h3> <ul> <li>Added stack trace to AxiosError <a href="https://github-redirect.dependabot.com/axios/axios/pull/4624">#4624</a></li> <li>Add AxiosError to AxiosStatic <a href="https://github-redirect.dependabot.com/axios/axios/pull/4654">#4654</a></li> <li>Replaced Rollup as our build runner <a href="https://github-redirect.dependabot.com/axios/axios/pull/4596">#4596</a></li> <li>Added generic TS types for the exposed toFormData helper <a href="https://github-redirect.dependabot.com/axios/axios/pull/4668">#4668</a></li> <li>Added listen callback function <a href="https://github-redirect.dependabot.com/axios/axios/pull/4096">#4096</a></li> <li>Added instructions for installing using PNPM <a href="https://github-redirect.dependabot.com/axios/axios/pull/4207">#4207</a></li> <li>Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill <a href="https://github-redirect.dependabot.com/axios/axios/pull/4229">#4229</a></li> <li>Added axios-url-template in ECOSYSTEM.md <a href="https://github-redirect.dependabot.com/axios/axios/pull/4238">#4238</a></li> <li>Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an Axios instance <a href="https://github-redirect.dependabot.com/axios/axios/pull/4248">#4248</a></li> <li>Added react hook plugin <a href="https://github-redirect.dependabot.com/axios/axios/pull/4319">#4319</a></li> <li>Adding HTTP status code for transformResponse <a href="https://github-redirect.dependabot.com/axios/axios/pull/4580">#4580</a></li> <li>Added blob to the list of protocols supported by the browser <a href="https://github-redirect.dependabot.com/axios/axios/pull/4678">#4678</a></li> <li>Resolving proxy from env on redirect <a href="https://github-redirect.dependabot.com/axios/axios/pull/4436">#4436</a></li> <li>Added enhanced toFormData implementation with additional options <a href="https://github-redirect.dependabot.com/axios/axios/pull/4704">4704</a></li> <li>Adding Canceler parameters config and request <a href="https://github-redirect.dependabot.com/axios/axios/pull/4711">#4711</a></li> <li>Added automatic payload serialization to application/x-www-form-urlencoded <a href="https://github-redirect.dependabot.com/axios/axios/pull/4714">#4714</a></li> <li>Added the ability for webpack users to overwrite built-ins <a href="https://github-redirect.dependabot.com/axios/axios/pull/4715">#4715</a></li> <li>Added string[] to AxiosRequestHeaders type <a href="https://github-redirect.dependabot.com/axios/axios/pull/4322">#4322</a></li> <li>Added the ability for the url-encoded-form serializer to respect the formSerializer config <a href="https://github-redirect.dependabot.com/axios/axios/pull/4721">#4721</a></li> <li>Added isCancel type assert <a href="https://github-redirect.dependabot.com/axios/axios/pull/4293">#4293</a></li> <li>Added data URL support for node.js <a href="https://github-redirect.dependabot.com/axios/axios/pull/4725">#4725</a></li> <li>Adding types for progress event callbacks <a href="https://github-redirect.dependabot.com/axios/axios/pull/4675">#4675</a></li> <li>URL params serializer <a href="https://github-redirect.dependabot.com/axios/axios/pull/4734">#4734</a></li> <li>Added axios.formToJSON method <a href="https://github-redirect.dependabot.com/axios/axios/pull/4735">#4735</a></li> <li>Bower platform add data protocol <a href="https://github-redirect.dependabot.com/axios/axios/pull/4804">#4804</a></li> <li>Use WHATWG URL API instead of url.parse() <a href="https://github-redirect.dependabot.com/axios/axios/pull/4852">#4852</a></li> <li>Add ENUM containing Http Status Codes to typings <a href="https://github-redirect.dependabot.com/axios/axios/pull/4903">#4903</a></li> <li>Improve typing of timeout in index.d.ts <a href="https://github-redirect.dependabot.com/axios/axios/pull/4934">#4934</a></li> </ul> <h3>Changed</h3> <ul> <li>Updated AxiosError.config to be optional in the type definition <a href="https://github-redirect.dependabot.com/axios/axios/pull/4665">#4665</a></li> <li>Updated README emphasizing the URLSearchParam built-in interface over other solutions <a href="https://github-redirect.dependabot.com/axios/axios/pull/4590">#4590</a></li> <li>Include request and config when creating a CanceledError instance <a href="https://github-redirect.dependabot.com/axios/axios/pull/4659">#4659</a></li> <li>Changed func-names eslint rule to as-needed <a href="https://github-redirect.dependabot.com/axios/axios/pull/4492">#4492</a></li> <li>Replacing deprecated substr() with slice() as substr() is deprecated <a href="https://github-redirect.dependabot.com/axios/axios/pull/4468">#4468</a></li> <li>Updating HTTP links in README.md to use HTTPS <a href="https://github-redirect.dependabot.com/axios/axios/pull/4387">#4387</a></li> <li>Updated to a better trim() polyfill <a href="https://github-redirect.dependabot.com/axios/axios/pull/4072">#4072</a></li> <li>Updated types to allow specifying partial default headers on instance create <a href="https://github-redirect.dependabot.com/axios/axios/pull/4185">#4185</a></li> <li>Expanded isAxiosError types <a href="https://github-redirect.dependabot.com/axios/axios/pull/4344">#4344</a></li> <li>Updated type definition for Axios instance methods <a href="https://github-redirect.dependabot.com/axios/axios/pull/4224">#4224</a></li> <li>Updated eslint config <a href="https://github-redirect.dependabot.com/axios/axios/pull/4722">#4722</a></li> <li>Updated Docs <a href="https://github-redirect.dependabot.com/axios/axios/pull/4742">#4742</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/axios/axios/blob/v1.x/CHANGELOG.md">axios's changelog</a>.</em></p> <blockquote> <h2>[1.0.0] - 2022-10-04</h2> <h3>Added</h3> <ul> <li>Added stack trace to AxiosError <a href="https://github-redirect.dependabot.com/axios/axios/pull/4624">#4624</a></li> <li>Add AxiosError to AxiosStatic <a href="https://github-redirect.dependabot.com/axios/axios/pull/4654">#4654</a></li> <li>Replaced Rollup as our build runner <a href="https://github-redirect.dependabot.com/axios/axios/pull/4596">#4596</a></li> <li>Added generic TS types for the exposed toFormData helper <a href="https://github-redirect.dependabot.com/axios/axios/pull/4668">#4668</a></li> <li>Added listen callback function <a href="https://github-redirect.dependabot.com/axios/axios/pull/4096">#4096</a></li> <li>Added instructions for installing using PNPM <a href="https://github-redirect.dependabot.com/axios/axios/pull/4207">#4207</a></li> <li>Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill <a href="https://github-redirect.dependabot.com/axios/axios/pull/4229">#4229</a></li> <li>Added axios-url-template in ECOSYSTEM.md <a href="https://github-redirect.dependabot.com/axios/axios/pull/4238">#4238</a></li> <li>Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an axios instance <a href="https://github-redirect.dependabot.com/axios/axios/pull/4248">#4248</a></li> <li>Added react hook plugin <a href="https://github-redirect.dependabot.com/axios/axios/pull/4319">#4319</a></li> <li>Adding HTTP status code for transformResponse <a href="https://github-redirect.dependabot.com/axios/axios/pull/4580">#4580</a></li> <li>Added blob to the list of protocols supported by the browser <a href="https://github-redirect.dependabot.com/axios/axios/pull/4678">#4678</a></li> <li>Resolving proxy from env on redirect <a href="https://github-redirect.dependabot.com/axios/axios/pull/4436">#4436</a></li> <li>Added enhanced toFormData implementation with additional options <a href="https://github-redirect.dependabot.com/axios/axios/pull/4704">4704</a></li> <li>Adding Canceler parameters config and request <a href="https://github-redirect.dependabot.com/axios/axios/pull/4711">#4711</a></li> <li>Added automatic payload serialization to application/x-www-form-urlencoded <a href="https://github-redirect.dependabot.com/axios/axios/pull/4714">#4714</a></li> <li>Added the ability for webpack users to overwrite built-ins <a href="https://github-redirect.dependabot.com/axios/axios/pull/4715">#4715</a></li> <li>Added string[] to AxiosRequestHeaders type <a href="https://github-redirect.dependabot.com/axios/axios/pull/4322">#4322</a></li> <li>Added the ability for the url-encoded-form serializer to respect the formSerializer config <a href="https://github-redirect.dependabot.com/axios/axios/pull/4721">#4721</a></li> <li>Added isCancel type assert <a href="https://github-redirect.dependabot.com/axios/axios/pull/4293">#4293</a></li> <li>Added data URL support for node.js <a href="https://github-redirect.dependabot.com/axios/axios/pull/4725">#4725</a></li> <li>Adding types for progress event callbacks <a href="https://github-redirect.dependabot.com/axios/axios/pull/4675">#4675</a></li> <li>URL params serializer <a href="https://github-redirect.dependabot.com/axios/axios/pull/4734">#4734</a></li> <li>Added axios.formToJSON method <a href="https://github-redirect.dependabot.com/axios/axios/pull/4735">#4735</a></li> <li>Bower platform add data protocol <a href="https://github-redirect.dependabot.com/axios/axios/pull/4804">#4804</a></li> <li>Use WHATWG URL API instead of url.parse() <a href="https://github-redirect.dependabot.com/axios/axios/pull/4852">#4852</a></li> <li>Add ENUM containing Http Status Codes to typings <a href="https://github-redirect.dependabot.com/axios/axios/pull/4903">#4903</a></li> <li>Improve typing of timeout in index.d.ts <a href="https://github-redirect.dependabot.com/axios/axios/pull/4934">#4934</a></li> </ul> <h3>Changed</h3> <ul> <li>Updated AxiosError.config to be optional in the type definition <a href="https://github-redirect.dependabot.com/axios/axios/pull/4665">#4665</a></li> <li>Updated README emphasizing the URLSearchParam built-in interface over other solutions <a href="https://github-redirect.dependabot.com/axios/axios/pull/4590">#4590</a></li> <li>Include request and config when creating a CanceledError instance <a href="https://github-redirect.dependabot.com/axios/axios/pull/4659">#4659</a></li> <li>Changed func-names eslint rule to as-needed <a href="https://github-redirect.dependabot.com/axios/axios/pull/4492">#4492</a></li> <li>Replacing deprecated substr() with slice() as substr() is deprecated <a href="https://github-redirect.dependabot.com/axios/axios/pull/4468">#4468</a></li> <li>Updating HTTP links in README.md to use HTTPS <a href="https://github-redirect.dependabot.com/axios/axios/pull/4387">#4387</a></li> <li>Updated to a better trim() polyfill <a href="https://github-redirect.dependabot.com/axios/axios/pull/4072">#4072</a></li> <li>Updated types to allow specifying partial default headers on instance create <a href="https://github-redirect.dependabot.com/axios/axios/pull/4185">#4185</a></li> <li>Expanded isAxiosError types <a href="https://github-redirect.dependabot.com/axios/axios/pull/4344">#4344</a></li> <li>Updated type definition for axios instance methods <a href="https://github-redirect.dependabot.com/axios/axios/pull/4224">#4224</a></li> <li>Updated eslint config <a href="https://github-redirect.dependabot.com/axios/axios/pull/4722">#4722</a></li> <li>Updated Docs <a href="https://github-redirect.dependabot.com/axios/axios/pull/4742">#4742</a></li> <li>Refactored Axios to use ES2017 <a href="https://github-redirect.dependabot.com/axios/axios/pull/4787">#4787</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/axios/axios/commit/484aa4fe6addccbd32206a31eb3d2d000843066e"><code>484aa4f</code></a> chore: updated changelog</li> <li><a href="https://github.com/axios/axios/commit/ff34f6dd51f7fe5bc94edd5547318d8a783648c9"><code>ff34f6d</code></a> chore: release v1.0.0</li> <li><a href="https://github.com/axios/axios/commit/aa001e2946874c022d03fd8b6902249164d04f22"><code>aa001e2</code></a> Using Logo Axios in Readme.md (<a href="https://github-redirect.dependabot.com/axios/axios/issues/4993">#4993</a>)</li> <li><a href="https://github.com/axios/axios/commit/659eeaf67cc0d54e86d0e38b90bd6f8174f56fca"><code>659eeaf</code></a> chore(deps): bump actions/stale from 5 to 6 (<a href="https://github-redirect.dependabot.com/axios/axios/issues/4980">#4980</a>)</li> <li><a href="https://github.com/axios/axios/commit/60e85533b3c38687b862d5a77bdf9614d1e3f6d0"><code>60e8553</code></a> docs: enable syntax highlighting for a code block (<a href="https://github-redirect.dependabot.com/axios/axios/issues/4970">#4970</a>)</li> <li><a href="https://github.com/axios/axios/commit/58ec93a95eb6d4ed207a630023b9dddf5e270fbe"><code>58ec93a</code></a> Allow null indexes on formSerializer and paramsSerializer (<a href="https://github-redirect.dependabot.com/axios/axios/issues/4960">#4960</a>)</li> <li><a href="https://github.com/axios/axios/commit/05338f4454f8ab3d62f396a73f1142837a631a37"><code>05338f4</code></a> Removed unused imports (<a href="https://github-redirect.dependabot.com/axios/axios/issues/4949">#4949</a>)</li> <li><a href="https://github.com/axios/axios/commit/0959c5cbbbe12c4798cd4e133b651acd81892d46"><code>0959c5c</code></a> Improve typing of timeout in index.d.ts (<a href="https://github-redirect.dependabot.com/axios/axios/issues/4934">#4934</a>)</li> <li><a href="https://github.com/axios/axios/commit/25a5669739f9d84458b5bb1308ed41e578e18367"><code>25a5669</code></a> fix: removed unused imports (<a href="https://github-redirect.dependabot.com/axios/axios/issues/4914">#4914</a>)</li> <li><a href="https://github.com/axios/axios/commit/b5ea1dc0099c2aec1c77721c233d40792bb204ba"><code>b5ea1dc</code></a> feat: add enum containing Http Status Codes to typings. (<a href="https://github-redirect.dependabot.com/axios/axios/issues/4903">#4903</a>)</li> <li>Additional commits viewable in <a href="https://github.com/axios/axios/compare/v0.27.2...v1.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios&package-manager=npm_and_yarn&previous-version=0.27.2&new-version=1.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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) </details>
dependabot[bot] commented 2022-10-07 12:27:46 +02:00 (Migrated from github.com)

Superseded by #346.

Superseded by #346.
Commenting is not possible because the repository is archived.
No description provided.