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