Bump axios from 0.19.2 to 0.20.0 in /desktop (#1558)

Summary:
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.20.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>v0.20.0</h2>
<p>Release of 0.20.0-pre as a full release with no other changes.</p>
<h2>v0.20.0-0</h2>
<h3>0.20.0-pre (July 15, 2020)</h3>
<p>Fixes and Functionality:</p>
<ul>
<li>Fixing response with utf-8 BOM can not parse to json (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2419">#2419</a>)
<ul>
<li>fix: remove byte order marker (UTF-8 BOM) when transform response</li>
<li>fix: remove BOM only utf-8</li>
<li>test: utf-8 BOM</li>
<li>fix: incorrect param name</li>
</ul>
</li>
<li>Refactor mergeConfig without utils.deepMerge (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2844">#2844</a>)
<ul>
<li>Adding failing test</li>
<li>Fixing <a href="https://github-redirect.dependabot.com/axios/axios/issues/2587">#2587</a> default custom config persisting</li>
<li>Adding Concat keys and filter duplicates</li>
<li>Fixed value from CPE</li>
<li>update for review feedbacks</li>
<li>no deepMerge</li>
<li>only merge between plain objects</li>
<li>fix rename</li>
<li>always merge config by mergeConfig</li>
<li>extract function mergeDeepProperties</li>
<li>refactor mergeConfig with all keys, and add special logic for validateStatus</li>
<li>add test for resetting headers</li>
<li>add lots of tests and fix a bug</li>
<li>should not inherit <code>data</code></li>
<li>use simple toString</li>
</ul>
</li>
<li>Fixing overwrite Blob/File type as Content-Type in browser. (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1773">#1773</a>)</li>
<li>Fixing an issue that type 'null' is not assignable to validateStatus (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2773">#2773</a>)</li>
<li>Fixing special char encoding (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1671">#1671</a>)
<ul>
<li>removing @ character from replacement list since it is a reserved character</li>
<li>Updating buildURL test to not include the @ character</li>
<li>Removing console logs</li>
</ul>
</li>
<li>Fixing password encoding with special characters in basic authentication (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1492">https://github.com/facebook/flipper/issues/1492</a>)
<ul>
<li>Fixing password encoding with special characters in basic authentication</li>
<li>Adding test to check if password with non-Latin1 characters pass</li>
</ul>
</li>
<li>Fixing 'Network Error' in react native android (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1487">https://github.com/facebook/flipper/issues/1487</a>)
There is a bug in react native Android platform when using get method. It will trigger a 'Network Error' when passing the requestData which is an empty string to request.send function. So if the requestData is an empty string we can set it to null as well to fix the bug.</li>
<li>Fixing Cookie Helper with Asyc Components (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1105">https://github.com/facebook/flipper/issues/1105</a>) (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1107">https://github.com/facebook/flipper/issues/1107</a>)</li>
<li>Fixing 'progressEvent' type (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2851">#2851</a>)
<ul>
<li>Fix 'progressEvent' type</li>
<li>Update axios.ts</li>
</ul>
</li>
<li>Fixing getting local files (file://) failed (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2470">#2470</a>)
<ul>
<li>fix issue <a href="https://github-redirect.dependabot.com/axios/axios/issues/2416">#2416</a>, <a href="https://github-redirect.dependabot.com/axios/axios/issues/2396">#2396</a></li>
<li>fix Eslint warn</li>
<li>Modify judgment conditions</li>
<li>add unit test</li>
<li>update unit test</li>
</ul>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/axios/axios/blob/master/CHANGELOG.md">axios's changelog</a>.</em></p>
<blockquote>
<h3>0.20.0 (August 20, 2020)</h3>
<p>Release of 0.20.0-pre as a full release with no other changes.</p>
<h3>0.20.0-pre (July 15, 2020)</h3>
<p>Fixes and Functionality:</p>
<ul>
<li>Fixing response with utf-8 BOM can not parse to json (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2419">#2419</a>)
<ul>
<li>fix: remove byte order marker (UTF-8 BOM) when transform response</li>
<li>fix: remove BOM only utf-8</li>
<li>test: utf-8 BOM</li>
<li>fix: incorrect param name</li>
</ul>
</li>
<li>Refactor mergeConfig without utils.deepMerge (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2844">#2844</a>)
<ul>
<li>Adding failing test</li>
<li>Fixing <a href="https://github-redirect.dependabot.com/axios/axios/issues/2587">#2587</a> default custom config persisting</li>
<li>Adding Concat keys and filter duplicates</li>
<li>Fixed value from CPE</li>
<li>update for review feedbacks</li>
<li>no deepMerge</li>
<li>only merge between plain objects</li>
<li>fix rename</li>
<li>always merge config by mergeConfig</li>
<li>extract function mergeDeepProperties</li>
<li>refactor mergeConfig with all keys, and add special logic for validateStatus</li>
<li>add test for resetting headers</li>
<li>add lots of tests and fix a bug</li>
<li>should not inherit <code>data</code></li>
<li>use simple toString</li>
</ul>
</li>
<li>Fixing overwrite Blob/File type as Content-Type in browser. (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1773">#1773</a>)</li>
<li>Fixing an issue that type 'null' is not assignable to validateStatus (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2773">#2773</a>)</li>
<li>Fixing special char encoding (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1671">#1671</a>)
<ul>
<li>removing @ character from replacement list since it is a reserved character</li>
<li>Updating buildURL test to not include the @ character</li>
<li>Removing console logs</li>
</ul>
</li>
<li>Fixing password encoding with special characters in basic authentication (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1492">https://github.com/facebook/flipper/issues/1492</a>)
<ul>
<li>Fixing password encoding with special characters in basic authentication</li>
<li>Adding test to check if password with non-Latin1 characters pass</li>
</ul>
</li>
<li>Fixing 'Network Error' in react native android (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1487">https://github.com/facebook/flipper/issues/1487</a>)
There is a bug in react native Android platform when using get method. It will trigger a 'Network Error' when passing the requestData which is an empty string to request.send function. So if the requestData is an empty string we can set it to null as well to fix the bug.</li>
<li>Fixing Cookie Helper with Asyc Components (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1105">https://github.com/facebook/flipper/issues/1105</a>) (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1107">https://github.com/facebook/flipper/issues/1107</a>)</li>
<li>Fixing 'progressEvent' type (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2851">#2851</a>)
<ul>
<li>Fix 'progressEvent' type</li>
<li>Update axios.ts</li>
</ul>
</li>
<li>Fixing getting local files (file://) failed (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2470">#2470</a>)
<ul>
<li>fix issue <a href="https://github-redirect.dependabot.com/axios/axios/issues/2416">#2416</a>, <a href="https://github-redirect.dependabot.com/axios/axios/issues/2396">#2396</a></li>
<li>fix Eslint warn</li>
<li>Modify judgment conditions</li>
<li>add unit test</li>
<li>update unit test</li>
</ul>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0d87655624"><code>0d87655</code></a> Releasing 0.20.0</li>
<li><a href="cd27741ff6"><code>cd27741</code></a> Updating changelog for 0.20.0 release</li>
<li><a href="ffea03453f"><code>ffea034</code></a> Releasing 0.20.0-0</li>
<li><a href="fe147fbd3b"><code>fe147fb</code></a> Updating changlog for 0.20.0 beta release</li>
<li><a href="16aa2ce7fa"><code>16aa2ce</code></a> Fixing response with utf-8 BOM can not parse to json (<a href="https://github-redirect.dependabot.com/axios/axios/issues/2419">#2419</a>)</li>
<li><a href="c4300a88cf"><code>c4300a8</code></a> Adding support for URLSearchParams in node (<a href="https://github-redirect.dependabot.com/axios/axios/issues/1900">#1900</a>)</li>
<li><a href="bed6783452"><code>bed6783</code></a> add table of content (preview) (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3050">#3050</a>)</li>
<li><a href="c70fab9d56"><code>c70fab9</code></a> Fix stale bot config (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3049">#3049</a>)</li>
<li><a href="5b08fc4ac7"><code>5b08fc4</code></a> Add days and change name to work (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3035">#3035</a>)</li>
<li><a href="1768c23da0"><code>1768c23</code></a> Update close-issues.yml (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3031">#3031</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/axios/axios/compare/v0.19.2...v0.20.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.19.2&new-version=0.20.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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>

Pull Request resolved: https://github.com/facebook/flipper/pull/1558

Reviewed By: cekkaewnumchai

Differential Revision: D24112920

Pulled By: mweststrate

fbshipit-source-id: 3e3e21501ac69a72dcdb2655c012c86372d94047
This commit is contained in:
dependabot[bot]
2020-10-06 04:20:42 -07:00
committed by Facebook GitHub Bot
parent 0f2a256a77
commit dadbdfbfa0
2 changed files with 11 additions and 6 deletions

View File

@@ -22,7 +22,7 @@
"antd": "^4.6.3", "antd": "^4.6.3",
"archiver": "^5.0.0", "archiver": "^5.0.0",
"async-mutex": "^0.1.3", "async-mutex": "^0.1.3",
"axios": "^0.19.2", "axios": "^0.20.0",
"console-feed": "^3.0.1", "console-feed": "^3.0.1",
"deep-equal": "^2.0.1", "deep-equal": "^2.0.1",
"emotion": "^10.0.23", "emotion": "^10.0.23",

View File

@@ -3257,12 +3257,12 @@ axios@^0.18.0:
follow-redirects "1.5.10" follow-redirects "1.5.10"
is-buffer "^2.0.2" is-buffer "^2.0.2"
axios@^0.19.2: axios@^0.20.0:
version "0.19.2" version "0.20.0"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.19.2.tgz#3ea36c5d8818d0d5f8a8a97a6d36b86cdc00cb27" resolved "https://registry.yarnpkg.com/axios/-/axios-0.20.0.tgz#057ba30f04884694993a8cd07fa394cff11c50bd"
integrity sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA== integrity sha512-ANA4rr2BDcmmAQLOKft2fufrtuvlqR+cXNNinUmvfeSNCOF98PZL+7M/v1zIdGo7OLjEA9J2gXJL+j4zGsl0bA==
dependencies: dependencies:
follow-redirects "1.5.10" follow-redirects "^1.10.0"
axobject-query@^2.1.2: axobject-query@^2.1.2:
version "2.2.0" version "2.2.0"
@@ -6113,6 +6113,11 @@ follow-redirects@1.5.10:
dependencies: dependencies:
debug "=3.1.0" debug "=3.1.0"
follow-redirects@^1.10.0:
version "1.13.0"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.0.tgz#b42e8d93a2a7eea5ed88633676d6597bc8e384db"
integrity sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA==
for-in@^1.0.2: for-in@^1.0.2:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"