File manager - Edit - /usr/local/lib/node_modules/knex-migrator/node_modules/knex/lib/util/finally-mixin.js
Back
const noop = require('./noop'); const finallyMixin = (prototype) => Object.assign(prototype, { finally(onFinally) { return this.then().finally(onFinally); }, }); // FYI: Support for `Promise.prototype.finally` was not introduced until Node 9. // Therefore, Knex will need to conditionally inject support for `.finally(..)` // until support for Node 8 is officially dropped. module.exports = Promise.prototype.finally ? finallyMixin : noop;
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings