Skip to content

Array.prototype methods cause validation error in the expected transports[<method>] to be 'string' #123

@thirug010

Description

@thirug010

Issue: as the transports validation uses in to loop through items of array it bring the method defined array through prototype.

fix: use 'of' instead of 'in' ,because 'in' iterates over all enumerable property keys of an object * including the method cause invalid validation error, "of" only iterates through the values of objects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions