axios 1.3.1 → 1.3.2

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.

@@ -183,7 +183,7 @@ export default isHttpAdapterSupported && function httpAdapter(config) {
183
183
 
184
184
  // Parse url
185
185
  const fullPath = buildFullPath(config.baseURL, config.url);
186
- const parsed = new URL(fullPath);
186
+ const parsed = new URL(fullPath, 'http://localhost');
187
187
  const protocol = parsed.protocol || supportedProtocols[0];
188
188
 
189
189
  if (protocol === 'data:') {
package/lib/env/data.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "1.3.1";
1
+ export const VERSION = "1.3.2";
@@ -1,3 +1,4 @@
1
+ import {TextEncoder} from 'util';
1
2
  import {Readable} from 'stream';
2
3
  import utils from "../utils.js";
3
4
  import readBlob from "./readBlob.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "axios",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Promise based HTTP client for the browser and node.js",
5
5
  "main": "index.js",
6
6
  "exports": {