commit
This commit is contained in:
parent
13ec9babde
commit
68f4b60012
1429 changed files with 2481 additions and 272836 deletions
9
node_modules/undici/lib/fetch/formdata.js
generated
vendored
9
node_modules/undici/lib/fetch/formdata.js
generated
vendored
|
@ -61,14 +61,7 @@ class FormData {
|
|||
|
||||
// The delete(name) method steps are to remove all entries whose name
|
||||
// is name from this’s entry list.
|
||||
const next = []
|
||||
for (const entry of this[kState]) {
|
||||
if (entry.name !== name) {
|
||||
next.push(entry)
|
||||
}
|
||||
}
|
||||
|
||||
this[kState] = next
|
||||
this[kState] = this[kState].filter(entry => entry.name !== name)
|
||||
}
|
||||
|
||||
get (name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue