@rpldy/sender
Advanced tools
Comparing version 0.7.4 to 0.8.0
@@ -58,5 +58,4 @@ "use strict"; | ||
var _default = function _default(items, options) { | ||
var prepareFormData = function (items, options) { | ||
var fd = new FormData(); | ||
getFormFileField(fd, items, options); | ||
@@ -73,5 +72,7 @@ if (options.params) { | ||
getFormFileField(fd, items, options); | ||
return fd; | ||
}; | ||
var _default = prepareFormData; | ||
exports["default"] = _default; |
@@ -51,5 +51,4 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } | ||
export default (function (items, options) { | ||
var prepareFormData = function (items, options) { | ||
var fd = new FormData(); | ||
getFormFileField(fd, items, options); | ||
@@ -66,3 +65,6 @@ if (options.params) { | ||
getFormFileField(fd, items, options); | ||
return fd; | ||
}); | ||
}; | ||
export default prepareFormData; |
{ | ||
"version": "0.7.4", | ||
"version": "0.8.0", | ||
"name": "@rpldy/sender", | ||
@@ -21,3 +21,3 @@ "description": "react-uploady's default XHR sender", | ||
"dependencies": { | ||
"@rpldy/shared": "^0.7.4" | ||
"@rpldy/shared": "^0.8.0" | ||
}, | ||
@@ -30,3 +30,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "068931c9ddacaea754b6490be91a5fd8c85cd7c1" | ||
"gitHead": "c464b4d4d30dde285832c06ee9dfb161e9422218" | ||
} |
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
32985
548
+ Added@rpldy/shared@0.8.0(transitive)
- Removed@rpldy/shared@0.7.4(transitive)
Updated@rpldy/shared@^0.8.0