- 
    Type:Improvement 
- 
    Resolution: Fixed
- 
    Priority:Unknown 
- 
    Affects Version/s: 3.7.3, 4.16.0, 5.5.0
- 
    Component/s: None
- 
        2
- 
        Not Needed
- 
        None
- 
        Not Needed
- 
        
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
Backport NODE-5289 to v3.x.
Parent Ticket 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.
- backports
- 
                    NODE-5289 Handle saslprep require not returning function -         
- Closed
 
-