Skip to content

Commit 0e4f9fa

Browse files
chore(release): v1.7.2 (#6414)
Co-authored-by: DigitalBrainJS <[email protected]>
1 parent 4f79aef commit 0e4f9fa

File tree

17 files changed

+45
-34
lines changed

17 files changed

+45
-34
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## [1.7.2](https://github.com/axios/axios/compare/v1.7.1...v1.7.2) (2024-05-21)
4+
5+
6+
### Bug Fixes
7+
8+
* **fetch:** enhance fetch API detection; ([#6413](https://github.com/axios/axios/issues/6413)) ([4f79aef](https://github.com/axios/axios/commit/4f79aef81b7c4644328365bfc33acf0a9ef595bc))
9+
10+
### Contributors to this release
11+
12+
- <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+3/-3 (#6413 )")
13+
314
## [1.7.1](https://github.com/axios/axios/compare/v1.7.0...v1.7.1) (2024-05-20)
415

516

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "axios",
33
"main": "./dist/axios.js",
4-
"version": "1.7.1",
4+
"version": "1.7.2",
55
"homepage": "https://axios-http.com",
66
"authors": [
77
"Matt Zabriskie"

dist/axios.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/axios.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/axios.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/axios.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/browser/axios.cjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Axios v1.7.1 Copyright (c) 2024 Matt Zabriskie and contributors
1+
// Axios v1.7.2 Copyright (c) 2024 Matt Zabriskie and contributors
22
'use strict';
33

44
function bind(fn, thisArg) {
@@ -2678,11 +2678,11 @@ const fetchProgressDecorator = (total, fn) => {
26782678
}));
26792679
};
26802680

2681-
const isFetchSupported = typeof fetch !== 'undefined';
2682-
const isReadableStreamSupported = isFetchSupported && typeof ReadableStream !== 'undefined';
2681+
const isFetchSupported = typeof fetch === 'function' && typeof Request === 'function' && typeof Response === 'function';
2682+
const isReadableStreamSupported = isFetchSupported && typeof ReadableStream === 'function';
26832683

26842684
// used only inside the fetch adapter
2685-
const encodeText = isFetchSupported && (typeof TextEncoder !== 'undefined' ?
2685+
const encodeText = isFetchSupported && (typeof TextEncoder === 'function' ?
26862686
((encoder) => (str) => encoder.encode(str))(new TextEncoder()) :
26872687
async (str) => new Uint8Array(await new Response(str).arrayBuffer())
26882688
);
@@ -3032,7 +3032,7 @@ function dispatchRequest(config) {
30323032
});
30333033
}
30343034

3035-
const VERSION = "1.7.1";
3035+
const VERSION = "1.7.2";
30363036

30373037
const validators$1 = {};
30383038

dist/browser/axios.cjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/axios.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/axios.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)