Upgrade emoji-datasource to 5.0.0
This commit is contained in:
parent
5789b8338b
commit
a3d5d1a882
6 changed files with 8 additions and 9 deletions
|
@ -28,7 +28,7 @@ const messages = defineMessages({
|
|||
const assetHost = process.env.CDN_HOST || '';
|
||||
let EmojiPicker, Emoji; // load asynchronously
|
||||
|
||||
const backgroundImageFn = () => `${assetHost}/emoji/sheet_10.png`;
|
||||
const backgroundImageFn = () => `${assetHost}/emoji/sheet_13.png`;
|
||||
const listenerOptions = supportsPassiveEvents ? { passive: true } : false;
|
||||
|
||||
const categoriesSort = [
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
"cssnano": "^4.1.10",
|
||||
"detect-passive-events": "^2.0.0",
|
||||
"dotenv": "^8.0.0",
|
||||
"emoji-datasource": "4.0.4",
|
||||
"emoji-datasource": "5.0.0",
|
||||
"emoji-mart": "^3.0.1",
|
||||
"es6-symbol": "^3.1.1",
|
||||
"escape-html": "^1.0.3",
|
||||
|
|
|
@ -21,7 +21,6 @@ const backendEndpoints = [
|
|||
'/auth/password',
|
||||
'/.well-known/webfinger',
|
||||
'/static',
|
||||
'/emoji',
|
||||
'/main/ostatus',
|
||||
'/ostatus_subscribe',
|
||||
];
|
||||
|
|
|
@ -62,7 +62,7 @@ module.exports = merge(sharedConfig, {
|
|||
},
|
||||
externals: [
|
||||
'/emoji/1f602.svg', // used for emoji picker dropdown
|
||||
'/emoji/sheet_10.png', // used in emoji-mart
|
||||
'/emoji/sheet_13.png', // used in emoji-mart
|
||||
],
|
||||
excludes: [
|
||||
'**/*.gz',
|
||||
|
|
|
@ -99,7 +99,7 @@ module.exports = {
|
|||
to: join(__dirname, '../static/emoji'),
|
||||
}, {
|
||||
from: join(__dirname, '../node_modules/emoji-datasource/img/twitter/sheets/32.png'),
|
||||
to: join(__dirname, '../static/emoji/sheet_10.png'),
|
||||
to: join(__dirname, '../static/emoji/sheet_13.png'),
|
||||
}],
|
||||
options: {
|
||||
concurrency: 100,
|
||||
|
|
|
@ -4973,10 +4973,10 @@ elliptic@^6.0.0:
|
|||
minimalistic-assert "^1.0.0"
|
||||
minimalistic-crypto-utils "^1.0.0"
|
||||
|
||||
emoji-datasource@4.0.4:
|
||||
version "4.0.4"
|
||||
resolved "https://registry.yarnpkg.com/emoji-datasource/-/emoji-datasource-4.0.4.tgz#516b9ab2f34569e468e4e3753a34a47a0b2b5aa3"
|
||||
integrity sha1-UWuasvNFaeRo5ON1OjSkegsrWqM=
|
||||
emoji-datasource@5.0.0:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.yarnpkg.com/emoji-datasource/-/emoji-datasource-5.0.0.tgz#1522fdba3c52223a1cf5a1c1fc282935400eaa06"
|
||||
integrity sha512-LuvLWFnxznTH++GytEzpzOPUo1SB+6CUFqIlVETJJ3x9fpyMCKFfyqberbhMLOpT1qcNe+km+zoyBeUSC3u5Rw==
|
||||
|
||||
emoji-mart@^3.0.1:
|
||||
version "3.0.1"
|
||||
|
|
Loading…
Reference in a new issue