Closed noook closed 4 months ago
Types provided by nitro don't reflect the situation on the shape of nitro tasks options. Here, Object.entries(undefined) throws an error.
Object.entries(undefined)
I will update the types on Nitro after this PR.
Note: this PR doesn't need to be merged if the fix is provided upstream on nitro, this is just a patch in the meanwhile
Link to nitro issue: https://github.com/unjs/nitro/issues/2283
I'll take care of this tomorrow
Should I close this as fixed upstream or keep it for extra runtime security?
i would suggest to keep for safety 👍🏼
Types provided by nitro don't reflect the situation on the shape of nitro tasks options. Here,
Object.entries(undefined)
throws an error.I will update the types on Nitro after this PR.
Note: this PR doesn't need to be merged if the fix is provided upstream on nitro, this is just a patch in the meanwhile