0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Removed oembed-parser from overrides

- oembed-parser no longer depends on promise-wtf (it's now an archived project)
- therefore the reason for having this here is goooooone
This commit is contained in:
Hannah Wolfe 2021-01-28 15:07:41 +00:00
parent f3e0949c73
commit f6a7abdf5a

View file

@ -18,14 +18,6 @@ if (isSQLite) {
const moment = require('moment-timezone');
/**
* oembed-parser uses promise-wtf to extend the global Promise with .finally
* - require it before global Bluebird Promise override so that promise-wtf
* doesn't error due to Bluebird's Promise already having a .finally
* - https://github.com/ndaidong/promise-wtf/issues/25
*/
const {extract, hasProvider} = require('oembed-parser'); // eslint-disable-line
/**
* force UTC
* - you can require moment or moment-timezone, both is configured to UTC