🚀 Socket Launch Week 🚀 Day 3: Socket Acquires Coana.Learn More

@zhike/axios-upload

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.7

@@ -18,3 +18,6 @@ 'use strict';

config.maxContentLength || (config.maxContentLength = 1024 * 1024 * 100);
// axios 里面写死了默认 -1
if (config.maxContentLength < 0) {
config.maxContentLength = 1024 * 1024 * 100;
}

@@ -21,0 +24,0 @@ config.transformRequest = [(data, headers) => {

{
"name": "@zhike/axios-upload",
"version": "1.0.6",
"version": "1.0.7",
"description": "基于axios上传表单数据",

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