Details
-
Improvement
-
Status: Closed
-
Unknown
-
Resolution: Fixed
-
3.7.3, 4.16.0, 5.5.0
-
None
Description
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.