New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zhike/axios-upload

Package Overview
Dependencies
Maintainers
7
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zhike/axios-upload - npm Package Compare versions

Comparing version

to
1.0.5

3

index.js

@@ -18,2 +18,5 @@ 'use strict';

// axios 没有固定这个值导致follow-redirects包使用默认值10M,无法上传较大的文件
config.maxContentLength = 1024 * 1024 * 100;
config.transformRequest = [(data, headers) => {

@@ -20,0 +23,0 @@ let form = new FormData();

2

package.json
{
"name": "@zhike/axios-upload",
"version": "1.0.4",
"version": "1.0.5",
"description": "基于axios上传表单数据",

@@ -5,0 +5,0 @@ "main": "index.js",