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

json-form-data

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-form-data - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

2

package.json
{
"name": "json-form-data",
"version": "1.0.1",
"version": "1.1.0",
"description": "A library to convert javascript objects into form data.",

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

@@ -1,3 +0,22 @@

(function() {
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define([], function() {
return (root.jsonToFormData = factory());
});
} else if (typeof module === 'object' && module.exports) {
module.exports = (root.jsonToFormData = factory());
} else {
root.jsonToFormData = factory();
}
}(this, function() {
console.log(arguments);
function isArray(val) {

@@ -13,3 +32,3 @@

window.jsonToFormData = function(jsonObject, parentKey, carryFormData) {
return function(jsonObject, parentKey, carryFormData) {

@@ -58,2 +77,2 @@ var formData = carryFormData || new FormData();

};
})();
}));
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