One of the syntaxes adds a new method to `Promise.prototype`. https://github.com/json2d/await-on/blob/7ff22233d899dfe86a239eceb5b15c12092b3f0b/lib/await-on.js#L27-L30 That is not recommended practice. It's worse when it's the default behavior of the package.
One of the syntaxes adds a new method to
Promise.prototype.await-on/lib/await-on.js
Lines 27 to 30 in 7ff2223
That is not recommended practice. It's worse when it's the default behavior of the package.