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

object-to-formdata

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-to-formdata - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

dist/index.module.js

10

package.json
{
"name": "object-to-formdata",
"version": "3.0.6",
"version": "3.0.7",
"keywords": [

@@ -17,3 +17,3 @@ "form",

"unpkg": "dist/index.umd.js",
"module": "dist/index.mjs",
"module": "dist/index.module.js",
"source": "src/index.js",

@@ -41,8 +41,8 @@ "types": "types.d.ts",

"devDependencies": {
"husky": "^4.2.3",
"jest": "^25.1.0",
"husky": "^4.2.5",
"jest": "^25.4.0",
"microbundle": "^0.11.0",
"prettier": "^1.19.1",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1"
}
}

@@ -1,10 +0,12 @@

export const objectToFormData: (
obj: any,
cfg?: {
indices?: boolean;
nullsAsUndefineds?: boolean;
booleansAsIntegers?: boolean;
},
fd?: FormData,
pre?: string,
export type Options = {
indices?: boolean;
nullsAsUndefineds?: boolean;
booleansAsIntegers?: boolean;
};
export const objectToFormData: <T = any>(
object: T,
options?: Options,
existingFormData?: FormData,
keyPrefix?: string,
) => 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