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
The change from re.test(string) to string.match(re) result in a different behavior if string is undefined (calling .test on undefined will throw a TypeError).
Maybe put a guard like if (typeof string == 'string') return false to avoid that or consider bumping the major version as 1.2.3 can be considered as a change introducing a breaking change.
cadente-nd, evilive3000, szhangpitt, daanzu, absentees and 1 more