decode-formdata
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -124,3 +124,3 @@ // src/regex.ts | ||
for (const [path, input] of formData.entries()) { | ||
const templateName = path.replace(/.\d+./g, ".$."); | ||
const templateName = path.replace(/.\d+./g, ".$.").replace(/.\d+$/, ".$"); | ||
const templateKeys = templateName.split("."); | ||
@@ -127,0 +127,0 @@ path.split(".").reduce((object, key, index, keys) => { |
{ | ||
"name": "decode-formdata", | ||
"description": "Decodes complex FormData into a JavaScript object", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "Fabian Hiller", |
Sorry, the diff of this file is not supported yet
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
26004