axios 1.6.7 → 1.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of axios might be problematic. Click here for more details.
- package/CHANGELOG.md +19 -0
- package/README.md +5 -2
- package/dist/axios.js +321 -295
- package/dist/axios.js.map +1 -1
- package/dist/axios.min.js +1 -1
- package/dist/axios.min.js.map +1 -1
- package/dist/browser/axios.cjs +3 -3
- package/dist/browser/axios.cjs.map +1 -1
- package/dist/esm/axios.js +3 -3
- package/dist/esm/axios.js.map +1 -1
- package/dist/esm/axios.min.js +1 -1
- package/dist/esm/axios.min.js.map +1 -1
- package/dist/node/axios.cjs +5 -6
- package/dist/node/axios.cjs.map +1 -1
- package/lib/adapters/http.js +1 -1
- package/lib/core/mergeConfig.js +1 -1
- package/lib/env/data.js +1 -1
- package/package.json +25 -25
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,24 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [1.6.8](https://github.com/axios/axios/compare/v1.6.7...v1.6.8) (2024-03-15)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* **AxiosHeaders:** fix AxiosHeaders conversion to an object during config merging ([#6243](https://github.com/axios/axios/issues/6243)) ([2656612](https://github.com/axios/axios/commit/2656612bc10fe2757e9832b708ed773ab340b5cb))
|
9
|
+
* **import:** use named export for EventEmitter; ([7320430](https://github.com/axios/axios/commit/7320430aef2e1ba2b89488a0eaf42681165498b1))
|
10
|
+
* **vulnerability:** update follow-redirects to 1.15.6 ([#6300](https://github.com/axios/axios/issues/6300)) ([8786e0f](https://github.com/axios/axios/commit/8786e0ff55a8c68d4ca989801ad26df924042e27))
|
11
|
+
|
12
|
+
### Contributors to this release
|
13
|
+
|
14
|
+
- <img src="https://avatars.githubusercontent.com/u/4814473?v=4&s=18" alt="avatar" width="18"/> [Jay](https://github.com/jasonsaayman "+4572/-3446 (#6238 )")
|
15
|
+
- <img src="https://avatars.githubusercontent.com/u/12586868?v=4&s=18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+30/-0 (#6231 )")
|
16
|
+
- <img src="https://avatars.githubusercontent.com/u/68230846?v=4&s=18" alt="avatar" width="18"/> [Mitchell](https://github.com/Creaous "+9/-9 (#6300 )")
|
17
|
+
- <img src="https://avatars.githubusercontent.com/u/53797821?v=4&s=18" alt="avatar" width="18"/> [Emmanuel](https://github.com/mannoeu "+2/-2 (#6196 )")
|
18
|
+
- <img src="https://avatars.githubusercontent.com/u/44109284?v=4&s=18" alt="avatar" width="18"/> [Lucas Keller](https://github.com/ljkeller "+3/-0 (#6194 )")
|
19
|
+
- <img src="https://avatars.githubusercontent.com/u/72791488?v=4&s=18" alt="avatar" width="18"/> [Aditya Mogili](https://github.com/ADITYA-176 "+1/-1 ()")
|
20
|
+
- <img src="https://avatars.githubusercontent.com/u/46135319?v=4&s=18" alt="avatar" width="18"/> [Miroslav Petrov](https://github.com/petrovmiroslav "+1/-1 (#6243 )")
|
21
|
+
|
3
22
|
## [1.6.7](https://github.com/axios/axios/compare/v1.6.6...v1.6.7) (2024-01-25)
|
4
23
|
|
5
24
|
|
package/README.md
CHANGED
@@ -199,13 +199,13 @@ const axios = require('axios/dist/browser/axios.cjs'); // browser commonJS bundl
|
|
199
199
|
Using jsDelivr CDN (ES5 UMD browser module):
|
200
200
|
|
201
201
|
```html
|
202
|
-
<script src="https://cdn.jsdelivr.net/npm/axios@1.
|
202
|
+
<script src="https://cdn.jsdelivr.net/npm/axios@1.6.7/dist/axios.min.js"></script>
|
203
203
|
```
|
204
204
|
|
205
205
|
Using unpkg CDN:
|
206
206
|
|
207
207
|
```html
|
208
|
-
<script src="https://unpkg.com/axios@1.
|
208
|
+
<script src="https://unpkg.com/axios@1.6.7/dist/axios.min.js"></script>
|
209
209
|
```
|
210
210
|
|
211
211
|
## Example
|
@@ -487,6 +487,9 @@ These are the available config options for making requests. Only the `url` is re
|
|
487
487
|
|
488
488
|
// `responseEncoding` indicates encoding to use for decoding responses (Node.js only)
|
489
489
|
// Note: Ignored for `responseType` of 'stream' or client-side requests
|
490
|
+
// options are: 'ascii', 'ASCII', 'ansi', 'ANSI', 'binary', 'BINARY', 'base64', 'BASE64', 'base64url',
|
491
|
+
// 'BASE64URL', 'hex', 'HEX', 'latin1', 'LATIN1', 'ucs-2', 'UCS-2', 'ucs2', 'UCS2', 'utf-8', 'UTF-8',
|
492
|
+
// 'utf8', 'UTF8', 'utf16le', 'UTF16LE'
|
490
493
|
responseEncoding: 'utf8', // default
|
491
494
|
|
492
495
|
// `xsrfCookieName` is the name of the cookie to use as a value for xsrf token
|