Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ac-upload

Package Overview
Dependencies
Maintainers
15
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ac-upload - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

4

lib/index.js

@@ -52,3 +52,4 @@ 'use strict';

maxSize: _propTypes2.default.number,
isView: _propTypes2.default.bool
isView: _propTypes2.default.bool,
beforeUpload: _propTypes2.default.func
};

@@ -128,2 +129,3 @@

defaultFileList: this.defaultFileListToList(this.state.historyData),
beforeUpload: this.props.beforeUpload,
onChange: function onChange(msg) {

@@ -130,0 +132,0 @@ if (msg.file.status == 'done') {

{
"name": "ac-upload",
"version": "0.1.4",
"version": "0.1.5",
"description": "tinper-bee ac upload components",

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

@@ -62,2 +62,3 @@ ## AC-Upload

10|maxSize|number|附件限制大小
11|onDelete|function|删除的时候触发的回调参数为file对象
11|onDelete|function|删除的时候触发的回调参数为file对象
12|beforeUpload|function|在上传之前执行的函数,当Promise返回false或者被拒绝,函数被中指。不兼容老ie
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc