rc-upload
Advanced tools
Comparing version 1.3.3 to 1.3.4
"use strict"; | ||
var uid = 0; | ||
module.exports = function () { | ||
uid++; | ||
return uid; | ||
return Math.random().toString().slice(2); | ||
}; |
@@ -41,3 +41,3 @@ 'use strict'; | ||
// node环境或者支持FormData的情况使用AjaxUpload | ||
if (isNode || typeof FormData !== undefined) { | ||
if (isNode || typeof FormData !== 'undefined') { | ||
return React.createElement(AjaxUpload, props); | ||
@@ -44,0 +44,0 @@ } |
{ | ||
"name": "rc-upload", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "upload ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9570
0
229