mirror of
https://git.mirrors.martin98.com/https://github.com/cyberman54/curl
synced 2026-04-01 08:43:21 +08:00
fix: validate status and some security
This commit is contained in:
8
node_modules/axios/UPGRADE_GUIDE.md
generated
vendored
8
node_modules/axios/UPGRADE_GUIDE.md
generated
vendored
@@ -1,5 +1,11 @@
|
||||
# Upgrade Guide
|
||||
|
||||
### 0.18.x -> 0.19.0
|
||||
|
||||
#### HTTPS Proxies
|
||||
|
||||
Routing through an https proxy now requires setting the `protocol` attribute of the proxy configuration to `https`
|
||||
|
||||
### 0.15.x -> 0.16.0
|
||||
|
||||
#### `Promise` Type Declarations
|
||||
@@ -135,7 +141,7 @@ This will polyfill the global environment, and only needs to be done once.
|
||||
|
||||
#### `axios.success`/`axios.error`
|
||||
|
||||
The `success`, and `error` aliases were deprectated in [0.4.0](https://github.com/axios/axios/blob/master/CHANGELOG.md#040-oct-03-2014). As of this release they have been removed entirely. Instead please use `axios.then`, and `axios.catch` respectively.
|
||||
The `success`, and `error` aliases were deprecated in [0.4.0](https://github.com/axios/axios/blob/master/CHANGELOG.md#040-oct-03-2014). As of this release they have been removed entirely. Instead please use `axios.then`, and `axios.catch` respectively.
|
||||
|
||||
```js
|
||||
axios.get('some/url')
|
||||
|
||||
Reference in New Issue
Block a user