rc-upload
Advanced tools
Comparing version 2.6.2 to 2.6.3
@@ -69,3 +69,3 @@ import _defineProperty from 'babel-runtime/helpers/defineProperty'; | ||
uid: getUid(), | ||
name: target.value | ||
name: target.value && target.value.substring(target.value.lastIndexOf('\\') + 1, target.value.length) | ||
}; | ||
@@ -72,0 +72,0 @@ _this.startUpload(); |
@@ -112,3 +112,3 @@ 'use strict'; | ||
uid: (0, _uid2['default'])(), | ||
name: target.value | ||
name: target.value && target.value.substring(target.value.lastIndexOf('\\') + 1, target.value.length) | ||
}; | ||
@@ -115,0 +115,0 @@ _this.startUpload(); |
{ | ||
"name": "rc-upload", | ||
"version": "2.6.2", | ||
"version": "2.6.3", | ||
"description": "upload ui component for react", | ||
@@ -42,3 +42,3 @@ "keywords": [ | ||
"co-busboy": "^1.3.0", | ||
"coveralls": "^2.13.1", | ||
"coveralls": "^3.0.3", | ||
"expect.js": "0.3.x", | ||
@@ -60,3 +60,3 @@ "jest": "^20.0.1", | ||
"prop-types": "^15.5.7", | ||
"warning": "2.x" | ||
"warning": "4.x" | ||
}, | ||
@@ -63,0 +63,0 @@ "jest": { |
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
67977
0
+ Addedwarning@4.0.3(transitive)
- Removedwarning@2.1.0(transitive)
Updatedwarning@4.x