You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correct JSDoc for stateless escapeAll and quoteAll (#2387)
Correct the description in the JSDoc for `escapeAll` and `quoteAll` in
the stateless module. It incorrectly stated that non-array inputs are
converted to one-element arrays (which was the behavior in v1 of this
library). It now states that these are rejected explicitly, which has
been added to the stateful variants' documentation too for clarity.
Additionally, the stateless functions now have the `@throws` tag for
non-array inputs causing an error.
0 commit comments