Also you can just read the code the same way you read any other code. And since it's in your codebase and git diffs, you
will read it.
Because the implementation detail of is-promise actually is important. It just checks if an object has a .then() method. So if you use it, it's just as important that you know the limitation.
Not everything needs to be swept under the rug.