-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: 3.7.3, 4.16.0, 5.5.0
-
Component/s: None
In some environments using bundlers, the require/import of saslprep can result in it returning a truthy value, and thus missing the nullish check before calling the function. This ticket is to ensure that if it is not nullish, it is a function before calling it.
AC:
- Update the check for saslprep to include a check that it is a function type.