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

zan-upload

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zan-upload - npm Package Compare versions

Comparing version 4.4.1 to 4.5.1

2

lib/components/UploadPopup.js

@@ -186,3 +186,3 @@ 'use strict';

className: 'close-modal small',
onClick: _this2.removeLocalImage.bind(_this2, item)
onClick: _this2.removeLocalImage.bind(_this2, index)
},

@@ -189,0 +189,0 @@ '\xD7'

{
"name": "zan-upload",
"version": "4.4.1",
"version": "4.5.1",
"description": "这是一个React组件",

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

"files": [
"src/",
"assets/",
"examples/",
"lib/",

@@ -20,0 +17,0 @@ "dist/"

@@ -255,6 +255,6 @@ ## zan-upload

| categoryListUrl | 自定义素材银行分组列表url [GET] | string | `'//materials.youzan.com/category/categoryList.json'` | 否 |
| fetchUrl | 自定义提取网络图片url [POST] | string | `'//materials.youzan.com/dock/fetch.json'` | 否 |
| fetchUrl | 自定义提取网络图片url [POST] | string | `''` | 是 |
| onFetchUrl | 自定义提取图片的处理函数,需要返回一个promise | func | undefined | 否 |
| tokenUrl | 自定义上传图片token的url [POST] | string | `'//materials.youzan.com/dock/token.json'` | 否 |
| tokenUrl | 自定义上传图片token的url [POST] | string | `''` | 是 |
| uploadUrl | 自定义上传图片url [POST] | string | `'//upload.qbox.me'` | 否 |
| triggerClassName | 重写trigger样式 | string | `'rc-upload-trigger'` | 否 |

Sorry, the diff of this file is too big to display

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