A one-line package broke `npm create-react-app`
And the source code of the library is:<p><pre><code>   function isPromise(obj) {
     return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
   }</code></pre>