Apparently, the modifiers does not have to be objects or arrays, but string is also accepted. This change fixes the assumption that having a truthy length implies the object is an array. When it is a string, this does not hold and breaks it.
You can reproduce the existing code failing with this configuration.
Apparently, the modifiers does not have to be objects or arrays, but string is also accepted. This change fixes the assumption that having a truthy length implies the object is an array. When it is a string, this does not hold and breaks it.
You can reproduce the existing code failing with this configuration.