Skip to content

path: fix input type checking regression

Before b212be08, input types were not checked in some path functions and the inputs were passed directly to regexp.exec() which implicitly converts its argument to a string.

This commit both removes the type checking added in b212be08 and adds string coercion for those functions.

/cc @TheAlphaNerd

Merge request reports

Loading