object-to-formdata
Advanced tools
Comparing version 3.0.6 to 3.0.7
{ | ||
"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; |
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
26390
310
132040