Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
d7bc129c
Commit
d7bc129c
authored
Jul 10, 2020
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of Twemoji as a dependency
Fixes #2126
parent
22573cf7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
137 additions
and
170 deletions
+137
-170
package-lock.json
package-lock.json
+75
-140
src/headless/converse-emoji.js
src/headless/converse-emoji.js
+58
-28
src/headless/emoji_regexes.js
src/headless/emoji_regexes.js
+3
-0
src/headless/package.json
src/headless/package.json
+1
-2
No files found.
package-lock.json
View file @
d7bc129c
...
...
@@ -3234,8 +3234,7 @@
"dependencies"
:
{
"filesize"
:
{
"version"
:
"6.1.0"
,
"resolved"
:
"https://registry.npmjs.org/filesize/-/filesize-6.1.0.tgz"
,
"integrity"
:
"sha512-LpCHtPQ3sFx67z+uh2HnSyWSLLu5Jxo21795uRDuar/EOuYWXib5EmPaGIBuSnRqH2IODiKA2k5re/K9OnN/Yg=="
"resolved"
:
false
},
"fs-extra"
:
{
"version"
:
"8.1.0"
,
...
...
@@ -3269,8 +3268,7 @@
},
"jed"
:
{
"version"
:
"1.1.1"
,
"resolved"
:
"https://registry.npmjs.org/jed/-/jed-1.1.1.tgz"
,
"integrity"
:
"sha1-elSbvZ/+FYWwzQoZHiAwVb7ldLQ="
"resolved"
:
false
},
"jsonfile"
:
{
"version"
:
"5.0.0"
,
...
...
@@ -3291,8 +3289,7 @@
},
"localforage"
:
{
"version"
:
"1.7.3"
,
"resolved"
:
"https://registry.npmjs.org/localforage/-/localforage-1.7.3.tgz"
,
"integrity"
:
"sha512-1TulyYfc4udS7ECSBT2vwJksWbkwwTX8BzeUIiq8Y07Riy7bDAAnxDaPU/tWyOVmQAcWJIEIFP9lPfBGqVoPgQ=="
,
"resolved"
:
false
,
"requires"
:
{
"lie"
:
"3.1.1"
}
...
...
@@ -3304,14 +3301,13 @@
},
"pluggable.js"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/pluggable.js/-/pluggable.js-2.0.1.tgz"
,
"integrity"
:
"sha512-SBt6v6Tbp20Jf8hU0cpcc/+HBHGMY8/Q+yA6Ih0tBQE8tfdZ6U4PRG0iNvUUjLx/hVyOP53n0UfGBymlfaaXCg=="
,
"resolved"
:
false
,
"requires"
:
{
"lodash"
:
"^4.17.11"
}
},
"skeletor.js"
:
{
"version"
:
"
github:skeletorjs/skeletor#bf6d9c86f9fcf224fa9d9af5a25380b77aa4b56
1"
,
"version"
:
"
0.0.
1"
,
"from"
:
"github:skeletorjs/skeletor#bf6d9c86f9fcf224fa9d9af5a25380b77aa4b561"
,
"requires"
:
{
"lodash"
:
"^4.17.14"
...
...
@@ -3319,8 +3315,7 @@
},
"strophe.js"
:
{
"version"
:
"1.3.4"
,
"resolved"
:
"https://registry.npmjs.org/strophe.js/-/strophe.js-1.3.4.tgz"
,
"integrity"
:
"sha512-jSLDG8jolhAwGOSgiJ7DTMSYK3wVoEJHKtpVRyEacQZ6CWA6z2WRPJpcFMjsIweq5aP9/XIvKUQqHBu/ZhvESA=="
"resolved"
:
false
},
"twemoji"
:
{
"version"
:
"12.1.5"
,
...
...
@@ -3759,18 +3754,6 @@
"integrity"
:
"sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg=="
,
"dev"
:
true
},
"get-caller-file"
:
{
"version"
:
"2.0.5"
,
"resolved"
:
"https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz"
,
"integrity"
:
"sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
,
"dev"
:
true
},
"require-main-filename"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz"
,
"integrity"
:
"sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
,
"dev"
:
true
},
"string-width"
:
{
"version"
:
"3.1.0"
,
"resolved"
:
"https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz"
,
...
...
@@ -4959,18 +4942,9 @@
},
"dependencies"
:
{
"is-plain-object"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.0.tgz"
,
"integrity"
:
"sha512-tZIpofR+P05k8Aocp7UI/2UTa9lTJSebCXpFFoR9aibpokDj/uXBsJ8luUu0tTVYKkMU6URDUuOfJZ7koewXvg=="
,
"dev"
:
true
,
"requires"
:
{
"isobject"
:
"^4.0.0"
}
},
"isobject"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz"
,
"integrity"
:
"sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA=="
,
"version"
:
"3.0.1"
,
"resolved"
:
"https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.1.tgz"
,
"integrity"
:
"sha512-Xnpx182SBMrr/aBik8y+GuR4U1L9FqMSojwDQwPMmxyC6bvEqly9UBCxhauBF5vNh2gwWJNX6oDV7O+OM4z34g=="
,
"dev"
:
true
},
"universal-user-agent"
:
{
...
...
@@ -5054,40 +5028,20 @@
},
"dependencies"
:
{
"@octokit/request-error"
:
{
"version"
:
"2.0.
1
"
,
"resolved"
:
"https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.
1
.tgz"
,
"integrity"
:
"sha512-
5lqBDJ9/TOehK82VvomQ6zFiZjPeSom8fLkFVLuYL3sKiIb5RB8iN/lenLkY7oBmyQcGP7FBMGiIZTO8jufaRQ
=="
,
"version"
:
"2.0.
2
"
,
"resolved"
:
"https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.
2
.tgz"
,
"integrity"
:
"sha512-
2BrmnvVSV1MXQvEkrb9zwzP0wXFNbPJij922kYBTLIlIafukrGOb+ABBT2+c6wZiuyWDH1K1zmjGQ0toN/wMWw
=="
,
"dev"
:
true
,
"requires"
:
{
"@octokit/types"
:
"^
4
.0.1"
,
"@octokit/types"
:
"^
5
.0.1"
,
"deprecation"
:
"^2.0.0"
,
"once"
:
"^1.4.0"
},
"dependencies"
:
{
"@octokit/types"
:
{
"version"
:
"4.1.10"
,
"resolved"
:
"https://registry.npmjs.org/@octokit/types/-/types-4.1.10.tgz"
,
"integrity"
:
"sha512-/wbFy1cUIE5eICcg0wTKGXMlKSbaAxEr00qaBXzscLXpqhcwgXeS6P8O0pkysBhRfyjkKjJaYrvR1ExMO5eOXQ=="
,
"dev"
:
true
,
"requires"
:
{
"@types/node"
:
">= 8"
}
}
}
},
"is-plain-object"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.0.tgz"
,
"integrity"
:
"sha512-tZIpofR+P05k8Aocp7UI/2UTa9lTJSebCXpFFoR9aibpokDj/uXBsJ8luUu0tTVYKkMU6URDUuOfJZ7koewXvg=="
,
"dev"
:
true
,
"requires"
:
{
"isobject"
:
"^4.0.0"
}
},
"isobject"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz"
,
"integrity"
:
"sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA=="
,
"version"
:
"3.0.1"
,
"resolved"
:
"https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.1.tgz"
,
"integrity"
:
"sha512-Xnpx182SBMrr/aBik8y+GuR4U1L9FqMSojwDQwPMmxyC6bvEqly9UBCxhauBF5vNh2gwWJNX6oDV7O+OM4z34g=="
,
"dev"
:
true
},
"universal-user-agent"
:
{
...
...
@@ -5124,9 +5078,9 @@
}
},
"@octokit/rest"
:
{
"version"
:
"16.43.
1
"
,
"resolved"
:
"https://registry.npmjs.org/@octokit/rest/-/rest-16.43.
1
.tgz"
,
"integrity"
:
"sha512-
gfFKwRT/wFxq5qlNjnW2dh+qh74XgTQ2B179UX5K1HYCluioWj8Ndbgqw2PVqa1NnVJkGHp2ovMpVn/DImlmkw
=="
,
"version"
:
"16.43.
2
"
,
"resolved"
:
"https://registry.npmjs.org/@octokit/rest/-/rest-16.43.
2
.tgz"
,
"integrity"
:
"sha512-
ngDBevLbBTFfrHZeiS7SAMAZ6ssuVmXuya+F/7RaVvlysgGa1JKJkKWY+jV6TCJYcW0OALfJ7nTIGXcBXzycfQ
=="
,
"dev"
:
true
,
"requires"
:
{
"@octokit/auth-token"
:
"^2.4.0"
,
...
...
@@ -5148,9 +5102,9 @@
}
},
"@octokit/types"
:
{
"version"
:
"5.0.
0
"
,
"resolved"
:
"https://registry.npmjs.org/@octokit/types/-/types-5.0.
0
.tgz"
,
"integrity"
:
"sha512-
3LVS+MbeqwSd5G4KS8123cZz+hWomsiGeMnQ/QJIBFDwL/YHX8kkr0FZXrgWEMO7Fgi2/VOrhbiFnk9sZ+s4q
A=="
,
"version"
:
"5.0.
1
"
,
"resolved"
:
"https://registry.npmjs.org/@octokit/types/-/types-5.0.
1
.tgz"
,
"integrity"
:
"sha512-
GorvORVwp244fGKEt3cgt/P+M0MGy4xEDbckw+K5ojEezxyMDgCaYPKVct+/eWQfZXOT7uq0xRpmrl/+hliab
A=="
,
"dev"
:
true
,
"requires"
:
{
"@types/node"
:
">= 8"
...
...
@@ -7197,9 +7151,9 @@
}
},
"cli-width"
:
{
"version"
:
"2.2.
0
"
,
"resolved"
:
"https://registry.npmjs.org/cli-width/-/cli-width-2.2.
0
.tgz"
,
"integrity"
:
"sha
1-/xnt6Kml5XkyQUewwR8PvLq+1jk
="
,
"version"
:
"2.2.
1
"
,
"resolved"
:
"https://registry.npmjs.org/cli-width/-/cli-width-2.2.
1
.tgz"
,
"integrity"
:
"sha
512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw=
="
,
"dev"
:
true
},
"cliui"
:
{
...
...
@@ -7574,12 +7528,19 @@
"through2"
:
"^3.0.0"
},
"dependencies"
:
{
"inherits"
:
{
"version"
:
"2.0.4"
,
"resolved"
:
"https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz"
,
"integrity"
:
"sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
,
"dev"
:
true
},
"through2"
:
{
"version"
:
"3.0.
1
"
,
"resolved"
:
"https://registry.npmjs.org/through2/-/through2-3.0.
1
.tgz"
,
"integrity"
:
"sha512-
M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww
=="
,
"version"
:
"3.0.
2
"
,
"resolved"
:
"https://registry.npmjs.org/through2/-/through2-3.0.
2
.tgz"
,
"integrity"
:
"sha512-
enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ
=="
,
"dev"
:
true
,
"requires"
:
{
"inherits"
:
"^2.0.4"
,
"readable-stream"
:
"2 || 3"
}
}
...
...
@@ -7622,6 +7583,12 @@
"wordwrap"
:
"^1.0.0"
}
},
"inherits"
:
{
"version"
:
"2.0.4"
,
"resolved"
:
"https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz"
,
"integrity"
:
"sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
,
"dev"
:
true
},
"semver"
:
{
"version"
:
"6.3.0"
,
"resolved"
:
"https://registry.npmjs.org/semver/-/semver-6.3.0.tgz"
,
...
...
@@ -7635,11 +7602,12 @@
"dev"
:
true
},
"through2"
:
{
"version"
:
"3.0.
1
"
,
"resolved"
:
"https://registry.npmjs.org/through2/-/through2-3.0.
1
.tgz"
,
"integrity"
:
"sha512-
M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww
=="
,
"version"
:
"3.0.
2
"
,
"resolved"
:
"https://registry.npmjs.org/through2/-/through2-3.0.
2
.tgz"
,
"integrity"
:
"sha512-
enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ
=="
,
"dev"
:
true
,
"requires"
:
{
"inherits"
:
"^2.0.4"
,
"readable-stream"
:
"2 || 3"
}
}
...
...
@@ -7670,12 +7638,19 @@
"trim-off-newlines"
:
"^1.0.0"
},
"dependencies"
:
{
"inherits"
:
{
"version"
:
"2.0.4"
,
"resolved"
:
"https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz"
,
"integrity"
:
"sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
,
"dev"
:
true
},
"through2"
:
{
"version"
:
"3.0.
1
"
,
"resolved"
:
"https://registry.npmjs.org/through2/-/through2-3.0.
1
.tgz"
,
"integrity"
:
"sha512-
M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww
=="
,
"version"
:
"3.0.
2
"
,
"resolved"
:
"https://registry.npmjs.org/through2/-/through2-3.0.
2
.tgz"
,
"integrity"
:
"sha512-
enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ
=="
,
"dev"
:
true
,
"requires"
:
{
"inherits"
:
"^2.0.4"
,
"readable-stream"
:
"2 || 3"
}
}
...
...
@@ -9902,9 +9877,9 @@
}
},
"external-editor"
:
{
"version"
:
"3.
0.3
"
,
"resolved"
:
"https://registry.npmjs.org/external-editor/-/external-editor-3.
0.3
.tgz"
,
"integrity"
:
"sha512-
bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA
=="
,
"version"
:
"3.
1.0
"
,
"resolved"
:
"https://registry.npmjs.org/external-editor/-/external-editor-3.
1.0
.tgz"
,
"integrity"
:
"sha512-
hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew
=="
,
"dev"
:
true
,
"requires"
:
{
"chardet"
:
"^0.7.0"
,
...
...
@@ -10550,6 +10525,7 @@
"version"
:
"8.1.0"
,
"resolved"
:
"https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz"
,
"integrity"
:
"sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g=="
,
"dev"
:
true
,
"requires"
:
{
"graceful-fs"
:
"^4.2.0"
,
"jsonfile"
:
"^4.0.0"
,
...
...
@@ -10559,7 +10535,8 @@
"graceful-fs"
:
{
"version"
:
"4.2.4"
,
"resolved"
:
"https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz"
,
"integrity"
:
"sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw=="
"integrity"
:
"sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw=="
,
"dev"
:
true
}
}
},
...
...
@@ -11910,7 +11887,8 @@
"graceful-fs"
:
{
"version"
:
"4.1.11"
,
"resolved"
:
"https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz"
,
"integrity"
:
"sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg="
"integrity"
:
"sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg="
,
"dev"
:
true
},
"graphql"
:
{
"version"
:
"14.6.0"
,
...
...
@@ -13307,6 +13285,7 @@
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz"
,
"integrity"
:
"sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss="
,
"dev"
:
true
,
"requires"
:
{
"graceful-fs"
:
"^4.1.6"
}
...
...
@@ -14063,9 +14042,9 @@
}
},
"macos-release"
:
{
"version"
:
"2.
3
.0"
,
"resolved"
:
"https://registry.npmjs.org/macos-release/-/macos-release-2.
3
.0.tgz"
,
"integrity"
:
"sha512-
OHhSbtcviqMPt7yfw5ef5aghS2jzFVKEFyCJndQt2YpSQ9qRVSEv2axSJI1paVThEu+FFGs584h/1YhxjVqaj
A=="
,
"version"
:
"2.
4
.0"
,
"resolved"
:
"https://registry.npmjs.org/macos-release/-/macos-release-2.
4
.0.tgz"
,
"integrity"
:
"sha512-
ko6deozZYiAkqa/0gmcsz+p4jSy3gY7/ZsCEokPaYd8k+6/aXGkiTgr61+Owup7Sf+xjqW8u2ElhoM9SEcEfu
A=="
,
"dev"
:
true
},
"make-dir"
:
{
...
...
@@ -14373,24 +14352,6 @@
"resolved"
:
"https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz"
,
"integrity"
:
"sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg=="
,
"dev"
:
true
},
"yargs-parser"
:
{
"version"
:
"18.1.3"
,
"resolved"
:
"https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz"
,
"integrity"
:
"sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ=="
,
"dev"
:
true
,
"requires"
:
{
"camelcase"
:
"^5.0.0"
,
"decamelize"
:
"^1.2.0"
},
"dependencies"
:
{
"camelcase"
:
{
"version"
:
"5.3.1"
,
"resolved"
:
"https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz"
,
"integrity"
:
"sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
,
"dev"
:
true
}
}
}
}
},
...
...
@@ -21454,9 +21415,9 @@
}
},
"rxjs"
:
{
"version"
:
"6.
5.5
"
,
"resolved"
:
"https://registry.npmjs.org/rxjs/-/rxjs-6.
5.5
.tgz"
,
"integrity"
:
"sha512-
WfQI+1gohdf0Dai/Bbmk5L5ItH5tYqm3ki2c5GdWhKjalzjg93N3avFjVStyZZz+A2Em+ZxKH5bNghw9UeylGQ
=="
,
"version"
:
"6.
6.0
"
,
"resolved"
:
"https://registry.npmjs.org/rxjs/-/rxjs-6.
6.0
.tgz"
,
"integrity"
:
"sha512-
3HMA8z/Oz61DUHe+SdOiQyzIf4tOx5oQHmMir7IZEu6TMqCLHT4LRcmNaUS0NwOz8VLvmmBduMsoaUvMaIiqzg
=="
,
"dev"
:
true
,
"requires"
:
{
"tslib"
:
"^1.9.0"
...
...
@@ -23035,9 +22996,9 @@
},
"dependencies"
:
{
"ws"
:
{
"version"
:
"7.3.
0
"
,
"resolved"
:
"https://registry.npmjs.org/ws/-/ws-7.3.
0
.tgz"
,
"integrity"
:
"sha512-
iFtXzngZVXPGgpTlP1rBqsUK82p9tKqsWRPg5L56egiljujJT3vGAYnHANvFxBieXrTFavhzhxW52jnaWV+w2w
=="
,
"version"
:
"7.3.
1
"
,
"resolved"
:
"https://registry.npmjs.org/ws/-/ws-7.3.
1
.tgz"
,
"integrity"
:
"sha512-
D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA
=="
,
"optional"
:
true
}
}
...
...
@@ -23489,33 +23450,6 @@
"integrity"
:
"sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
,
"dev"
:
true
},
"twemoji"
:
{
"version"
:
"12.1.6"
,
"resolved"
:
"https://registry.npmjs.org/twemoji/-/twemoji-12.1.6.tgz"
,
"integrity"
:
"sha512-FIKi9Jne5IiDGDWekoANJ1a8ltUKVbJLEIR8XUpbFRDMqIPgLWnYgjeWZ1KOrdiTztRCAa9x4v+5w5OuiJOGVw=="
,
"requires"
:
{
"fs-extra"
:
"^8.0.1"
,
"jsonfile"
:
"^5.0.0"
,
"twemoji-parser"
:
"12.1.3"
,
"universalify"
:
"^0.1.2"
},
"dependencies"
:
{
"jsonfile"
:
{
"version"
:
"5.0.0"
,
"resolved"
:
"https://registry.npmjs.org/jsonfile/-/jsonfile-5.0.0.tgz"
,
"integrity"
:
"sha512-NQRZ5CRo74MhMMC3/3r5g2k4fjodJ/wh8MxjFbCViWKFjxrnudWSY5vomh+23ZaXzAS7J3fBZIR2dV6WbmfM0w=="
,
"requires"
:
{
"graceful-fs"
:
"^4.1.6"
,
"universalify"
:
"^0.1.2"
}
}
}
},
"twemoji-parser"
:
{
"version"
:
"12.1.3"
,
"resolved"
:
"https://registry.npmjs.org/twemoji-parser/-/twemoji-parser-12.1.3.tgz"
,
"integrity"
:
"sha512-ND4LZXF4X92/PFrzSgGkq6KPPg8swy/U0yRw1k/+izWRVmq1HYi3khPwV3XIB6FRudgVICAaBhJfW8e8G3HC7Q=="
},
"type-check"
:
{
"version"
:
"0.4.0"
,
"resolved"
:
"https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz"
,
...
...
@@ -23792,7 +23726,8 @@
"universalify"
:
{
"version"
:
"0.1.2"
,
"resolved"
:
"https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz"
,
"integrity"
:
"sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg=="
"integrity"
:
"sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg=="
,
"dev"
:
true
},
"unpipe"
:
{
"version"
:
"1.0.0"
,
...
...
src/headless/converse-emoji.js
View file @
d7bc129c
...
...
@@ -3,7 +3,7 @@
* @copyright 2020, the Converse.js contributors
* @license Mozilla Public License (MPLv2)
*/
import
*
as
twemoji
from
"
twemoji
"
;
import
{
ASCII_REPLACE_REGEX
,
CODEPOINTS_REGEX
}
from
'
./emoji_regexes.js
'
;
import
{
Model
}
from
'
@converse/skeletor/src/model.js
'
;
import
{
_converse
,
api
,
converse
}
from
"
./converse-core
"
;
import
{
find
,
isString
,
uniq
}
from
"
lodash-es
"
;
...
...
@@ -32,10 +32,39 @@ const ASCII_LIST = {
'
=#
'
:
'
1f636
'
,
'
:)
'
:
'
1f642
'
,
'
=]
'
:
'
1f642
'
,
'
=)
'
:
'
1f642
'
,
'
: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\
|>
\\
:
\\\\
|
\\
>
\\
:
\\
/|>
\\
:
\\
/|
\\
:
\\
-
\\
/|
\\
:
\\
-
\\
.|
\\
:
\\
-P|
\\
:Þ|
\\
:Þ|
\\
:
\\
-b|
\\
:
\\
-O|O_O|
\\
>
\\
:O|>
\\
:O|
\\
:
\\
-X|
\\
:
\\
-#|
\\
:
\\
-
\\
)|
\\
(y
\\
)|
\\
<3|<3|
\\
:D|
\\
=D|;
\\
)|
\\
*
\\
)|;
\\
]|;D|
\\
:
\\
*|
\\
=
\\
*|
\\
:
\\
(|
\\
:
\\
[|
\\
=
\\
(|
\\
:@|;
\\
(|D
\\
:|
\\
:
\\
$|
\\
=
\\
$|#
\\
)|%
\\
)|X
\\
)|B
\\
)|8
\\
)|
\\
:
\\
/|
\\
:
\\\\
|
\\
=
\\
/|
\\
=
\\\\
|
\\
:L|
\\
=L|
\\
:P|
\\
=P|
\\
:b|
\\
:O|
\\
:X|
\\
:#|
\\
=X|
\\
=#|
\\
:
\\
)|
\\
=
\\
]|
\\
=
\\
)|
\\
:
\\
])
'
;
const
ASCII_REPLACE_REGEX
=
new
RegExp
(
"
<object[^>]*>.*?<
\
/object>|<span[^>]*>.*?<
\
/span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|((
\\
s|^)
"
+
ASCII_REGEX
+
"
(?=
\\
s|$|[!,.?]))
"
,
"
gi
"
);
function
toCodePoint
(
unicode_surrogates
)
{
const
r
=
[];
let
p
=
0
;
let
i
=
0
;
while
(
i
<
unicode_surrogates
.
length
)
{
const
c
=
unicode_surrogates
.
charCodeAt
(
i
++
);
if
(
p
)
{
r
.
push
((
0x10000
+
((
p
-
0xD800
)
<<
10
)
+
(
c
-
0xDC00
)).
toString
(
16
));
p
=
0
;
}
else
if
(
0xD800
<=
c
&&
c
<=
0xDBFF
)
{
p
=
c
;
}
else
{
r
.
push
(
c
.
toString
(
16
));
}
}
return
r
.
join
(
'
-
'
);
}
function
fromCodePoint
(
codepoint
)
{
let
code
=
typeof
codepoint
===
'
string
'
?
parseInt
(
codepoint
,
16
)
:
codepoint
;
if
(
code
<
0x10000
)
{
return
String
.
fromCharCode
(
code
);
}
code
-=
0x10000
;
return
String
.
fromCharCode
(
0xD800
+
(
code
>>
10
),
0xDC00
+
(
code
&
0x3FF
)
);
}
function
convert
(
unicode
)
{
...
...
@@ -56,7 +85,7 @@ function convert (unicode) {
}
return
parts
.
join
(
''
);
}
return
twemoji
.
default
.
convert
.
fromCodePoint
(
unicode
);
return
fromCodePoint
(
unicode
);
}
...
...
@@ -126,23 +155,27 @@ export function getShortnameReferences (text) {
}
function
parseStringForEmojis
(
str
,
callback
)
{
const
UFE0Fg
=
/
\u
FE0F/g
;
const
U200D
=
String
.
fromCharCode
(
0x200D
);
return
String
(
str
).
replace
(
CODEPOINTS_REGEX
,
(
emoji
,
_
,
offset
)
=>
{
const
icon_id
=
toCodePoint
(
emoji
.
indexOf
(
U200D
)
<
0
?
emoji
.
replace
(
UFE0Fg
,
''
)
:
emoji
);
if
(
icon_id
)
callback
(
icon_id
,
emoji
,
offset
);
});
}
export
function
getCodePointReferences
(
text
)
{
const
references
=
[];
const
how
=
{
callback
:
(
icon_id
)
=>
{
const
emoji
=
convert
(
icon_id
);
const
begin
=
text
.
indexOf
(
emoji
);
references
.
push
({
'
emoji
'
:
emoji
,
'
end
'
:
begin
+
emoji
.
length
,
'
shortname
'
:
u
.
getEmojisByAtrribute
(
'
cp
'
)[
icon_id
][
'
sn
'
],
begin
,
cp
:
icon_id
});
return
false
;
}
};
twemoji
.
default
.
parse
(
text
,
how
);
parseStringForEmojis
(
text
,
(
icon_id
,
emoji
,
offset
)
=>
{
references
.
push
({
'
begin
'
:
offset
,
'
cp
'
:
icon_id
,
'
emoji
'
:
emoji
,
'
end
'
:
offset
+
emoji
.
length
,
'
shortname
'
:
u
.
getEmojisByAtrribute
(
'
cp
'
)[
icon_id
][
'
sn
'
],
});
});
return
references
;
}
...
...
@@ -173,7 +206,7 @@ converse.plugins.add('converse-emoji', {
const
{
___
}
=
_converse
;
api
.
settings
.
extend
({
'
emoji_image_path
'
:
twemoji
.
default
.
base
,
'
emoji_image_path
'
:
'
https://twemoji.maxcdn.com/v/12.1.6/
'
,
'
emoji_categories
'
:
{
"
smileys
"
:
"
:grinning:
"
,
"
people
"
:
"
:thumbsup:
"
,
...
...
@@ -206,8 +239,6 @@ converse.plugins.add('converse-emoji', {
}
});
twemoji
.
default
.
base
=
api
.
settings
.
get
(
'
emoji_image_path
'
);
/**
* Model for storing data related to the Emoji picker widget
...
...
@@ -281,12 +312,11 @@ converse.plugins.add('converse-emoji', {
if
(
words
.
length
===
0
||
words
.
length
>
3
)
{
return
false
;
}
const
rejects
=
words
.
filter
(
text
=>
{
const
result
=
twemoji
.
default
.
parse
(
u
.
shortnamesToUnicode
(
text
));
const
match
=
result
.
match
(
/<img class="emoji" draggable="false" alt=".*
?
" src=".*
?\.
png"
\/
>/
);
return
!
match
||
match
.
length
!==
1
;
const
emojis
=
words
.
filter
(
text
=>
{
const
refs
=
getCodePointReferences
(
u
.
shortnamesToUnicode
(
text
));
return
refs
.
length
===
1
&&
(
text
===
refs
[
0
][
'
shortname
'
]
||
text
===
refs
[
0
][
'
emoji
'
]);
});
return
rejects
.
length
===
0
;
return
emojis
.
length
===
words
.
length
;
},
/**
...
...
src/headless/emoji_regexes.js
0 → 100644
View file @
d7bc129c
const
ASCII_REGEX
=
'
(
\\
*
\\\\
0
\\
/
\\
*|
\\
*
\\\\
O
\\
/
\\
*|
\\
-___
\\
-|
\\
:
\'\\
-
\\
)|
\'\\
:
\\
-
\\
)|
\'\\
:
\\
-D|
\\
>
\\
:
\\
-
\\
)|>
\\
:
\\
-
\\
)|
\'\\
:
\\
-
\\
(|
\\
>
\\
:
\\
-
\\
(|>
\\
:
\\
-
\\
(|
\\
:
\'\\
-
\\
(|O
\\
:
\\
-
\\
)|0
\\
:
\\
-3|0
\\
:
\\
-
\\
)|0;
\\
^
\\
)|O;
\\
-
\\
)|0;
\\
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|
\\
=
\\
$|#
\\
)|%
\\
)|X
\\
)|B
\\
)|8
\\
)|
\\
:
\\
/|
\\
:
\\\\
|
\\
=
\\
/|
\\
=
\\\\
|
\\
:L|
\\
=L|
\\
:P|
\\
=P|
\\
:b|
\\
:O|
\\
:X|
\\
:#|
\\
=X|
\\
=#|
\\
:
\\
)|
\\
=
\\
]|
\\
=
\\
)|
\\
:
\\
])
'
;
export
const
ASCII_REPLACE_REGEX
=
new
RegExp
(
"
<object[^>]*>.*?<
\
/object>|<span[^>]*>.*?<
\
/span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|((
\\
s|^)
"
+
ASCII_REGEX
+
"
(?=
\\
s|$|[!,.?]))
"
,
"
gi
"
);
export
const
CODEPOINTS_REGEX
=
/
(?:\u
d83d
\u
dc68
\u
d83c
\u
dffb
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc68
\u
d83c
[\u
dffc-
\u
dfff
]
|
\u
d83d
\u
dc68
\u
d83c
\u
dffc
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc68
\u
d83c
[\u
dffb
\u
dffd-
\u
dfff
]
|
\u
d83d
\u
dc68
\u
d83c
\u
dffd
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc68
\u
d83c
[\u
dffb
\u
dffc
\u
dffe
\u
dfff
]
|
\u
d83d
\u
dc68
\u
d83c
\u
dffe
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc68
\u
d83c
[\u
dffb-
\u
dffd
\u
dfff
]
|
\u
d83d
\u
dc68
\u
d83c
\u
dfff
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc68
\u
d83c
[\u
dffb-
\u
dffe
]
|
\u
d83d
\u
dc69
\u
d83c
\u
dffb
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc68
\u
d83c
[\u
dffc-
\u
dfff
]
|
\u
d83d
\u
dc69
\u
d83c
\u
dffb
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc69
\u
d83c
[\u
dffc-
\u
dfff
]
|
\u
d83d
\u
dc69
\u
d83c
\u
dffc
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc68
\u
d83c
[\u
dffb
\u
dffd-
\u
dfff
]
|
\u
d83d
\u
dc69
\u
d83c
\u
dffc
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc69
\u
d83c
[\u
dffb
\u
dffd-
\u
dfff
]
|
\u
d83d
\u
dc69
\u
d83c
\u
dffd
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc68
\u
d83c
[\u
dffb
\u
dffc
\u
dffe
\u
dfff
]
|
\u
d83d
\u
dc69
\u
d83c
\u
dffd
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc69
\u
d83c
[\u
dffb
\u
dffc
\u
dffe
\u
dfff
]
|
\u
d83d
\u
dc69
\u
d83c
\u
dffe
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc68
\u
d83c
[\u
dffb-
\u
dffd
\u
dfff
]
|
\u
d83d
\u
dc69
\u
d83c
\u
dffe
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc69
\u
d83c
[\u
dffb-
\u
dffd
\u
dfff
]
|
\u
d83d
\u
dc69
\u
d83c
\u
dfff
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc68
\u
d83c
[\u
dffb-
\u
dffe
]
|
\u
d83d
\u
dc69
\u
d83c
\u
dfff
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83d
\u
dc69
\u
d83c
[\u
dffb-
\u
dffe
]
|
\u
d83e
\u
ddd1
\u
d83c
\u
dffb
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83e
\u
ddd1
\u
d83c
[\u
dffb-
\u
dfff
]
|
\u
d83e
\u
ddd1
\u
d83c
\u
dffc
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83e
\u
ddd1
\u
d83c
[\u
dffb-
\u
dfff
]
|
\u
d83e
\u
ddd1
\u
d83c
\u
dffd
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83e
\u
ddd1
\u
d83c
[\u
dffb-
\u
dfff
]
|
\u
d83e
\u
ddd1
\u
d83c
\u
dffe
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83e
\u
ddd1
\u
d83c
[\u
dffb-
\u
dfff
]
|
\u
d83e
\u
ddd1
\u
d83c
\u
dfff
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83e
\u
ddd1
\u
d83c
[\u
dffb-
\u
dfff
]
|
\u
d83e
\u
ddd1
\u
200d
\u
d83e
\u
dd1d
\u
200d
\u
d83e
\u
ddd1|
\u
d83d
\u
dc6b
\u
d83c
[\u
dffb-
\u
dfff
]
|
\u
d83d
\u
dc6c
\u
d83c
[\u
dffb-
\u
dfff
]
|
\u
d83d
\u
dc6d
\u
d83c
[\u
dffb-
\u
dfff
]
|
\u
d83d
[\u
dc6b-
\u
dc6d
])
|
(?:\u
d83d
[\u
dc68
\u
dc69
]
|
\u
d83e
\u
ddd1
)(?:\u
d83c
[\u
dffb-
\u
dfff
])?\u
200d
(?:\u
2695
\u
fe0f|
\u
2696
\u
fe0f|
\u
2708
\u
fe0f|
\u
d83c
[\u
df3e
\u
df73
\u
df93
\u
dfa4
\u
dfa8
\u
dfeb
\u
dfed
]
|
\u
d83d
[\u
dcbb
\u
dcbc
\u
dd27
\u
dd2c
\u
de80
\u
de92
]
|
\u
d83e
[\u
ddaf-
\u
ddb3
\u
ddbc
\u
ddbd
])
|
(?:\u
d83c
[\u
dfcb
\u
dfcc
]
|
\u
d83d
[\u
dd74
\u
dd75
]
|
\u
26f9
)((?:\u
d83c
[\u
dffb-
\u
dfff
]
|
\u
fe0f
)\u
200d
[\u
2640
\u
2642
]\u
fe0f
)
|
(?:\u
d83c
[\u
dfc3
\u
dfc4
\u
dfca
]
|
\u
d83d
[\u
dc6e
\u
dc71
\u
dc73
\u
dc77
\u
dc81
\u
dc82
\u
dc86
\u
dc87
\u
de45-
\u
de47
\u
de4b
\u
de4d
\u
de4e
\u
dea3
\u
deb4-
\u
deb6
]
|
\u
d83e
[\u
dd26
\u
dd35
\u
dd37-
\u
dd39
\u
dd3d
\u
dd3e
\u
ddb8
\u
ddb9
\u
ddcd-
\u
ddcf
\u
ddd6-
\u
dddd
])(?:\u
d83c
[\u
dffb-
\u
dfff
])?\u
200d
[\u
2640
\u
2642
]\u
fe0f|
(?:\u
d83d
\u
dc68
\u
200d
\u
2764
\u
fe0f
\u
200d
\u
d83d
\u
dc8b
\u
200d
\u
d83d
\u
dc68|
\u
d83d
\u
dc68
\u
200d
\u
d83d
\u
dc68
\u
200d
\u
d83d
\u
dc66
\u
200d
\u
d83d
\u
dc66|
\u
d83d
\u
dc68
\u
200d
\u
d83d
\u
dc68
\u
200d
\u
d83d
\u
dc67
\u
200d
\u
d83d
[\u
dc66
\u
dc67
]
|
\u
d83d
\u
dc68
\u
200d
\u
d83d
\u
dc69
\u
200d
\u
d83d
\u
dc66
\u
200d
\u
d83d
\u
dc66|
\u
d83d
\u
dc68
\u
200d
\u
d83d
\u
dc69
\u
200d
\u
d83d
\u
dc67
\u
200d
\u
d83d
[\u
dc66
\u
dc67
]
|
\u
d83d
\u
dc69
\u
200d
\u
2764
\u
fe0f
\u
200d
\u
d83d
\u
dc8b
\u
200d
\u
d83d
[\u
dc68
\u
dc69
]
|
\u
d83d
\u
dc69
\u
200d
\u
d83d
\u
dc69
\u
200d
\u
d83d
\u
dc66
\u
200d
\u
d83d
\u
dc66|
\u
d83d
\u
dc69
\u
200d
\u
d83d
\u
dc69
\u
200d
\u
d83d
\u
dc67
\u
200d
\u
d83d
[\u
dc66
\u
dc67
]
|
\u
d83d
\u
dc68
\u
200d
\u
2764
\u
fe0f
\u
200d
\u
d83d
\u
dc68|
\u
d83d
\u
dc68
\u
200d
\u
d83d
\u
dc66
\u
200d
\u
d83d
\u
dc66|
\u
d83d
\u
dc68
\u
200d
\u
d83d
\u
dc67
\u
200d
\u
d83d
[\u
dc66
\u
dc67
]
|
\u
d83d
\u
dc68
\u
200d
\u
d83d
\u
dc68
\u
200d
\u
d83d
[\u
dc66
\u
dc67
]
|
\u
d83d
\u
dc68
\u
200d
\u
d83d
\u
dc69
\u
200d
\u
d83d
[\u
dc66
\u
dc67
]
|
\u
d83d
\u
dc69
\u
200d
\u
2764
\u
fe0f
\u
200d
\u
d83d
[\u
dc68
\u
dc69
]
|
\u
d83d
\u
dc69
\u
200d
\u
d83d
\u
dc66
\u
200d
\u
d83d
\u
dc66|
\u
d83d
\u
dc69
\u
200d
\u
d83d
\u
dc67
\u
200d
\u
d83d
[\u
dc66
\u
dc67
]
|
\u
d83d
\u
dc69
\u
200d
\u
d83d
\u
dc69
\u
200d
\u
d83d
[\u
dc66
\u
dc67
]
|
\u
d83c
\u
dff3
\u
fe0f
\u
200d
\u
26a7
\u
fe0f|
\u
d83c
\u
dff3
\u
fe0f
\u
200d
\u
d83c
\u
df08|
\u
d83c
\u
dff4
\u
200d
\u
2620
\u
fe0f|
\u
d83d
\u
dc15
\u
200d
\u
d83e
\u
ddba|
\u
d83d
\u
dc41
\u
200d
\u
d83d
\u
dde8|
\u
d83d
\u
dc68
\u
200d
\u
d83d
[\u
dc66
\u
dc67
]
|
\u
d83d
\u
dc69
\u
200d
\u
d83d
[\u
dc66
\u
dc67
]
|
\u
d83d
\u
dc6f
\u
200d
\u
2640
\u
fe0f|
\u
d83d
\u
dc6f
\u
200d
\u
2642
\u
fe0f|
\u
d83e
\u
dd3c
\u
200d
\u
2640
\u
fe0f|
\u
d83e
\u
dd3c
\u
200d
\u
2642
\u
fe0f|
\u
d83e
\u
ddde
\u
200d
\u
2640
\u
fe0f|
\u
d83e
\u
ddde
\u
200d
\u
2642
\u
fe0f|
\u
d83e
\u
dddf
\u
200d
\u
2640
\u
fe0f|
\u
d83e
\u
dddf
\u
200d
\u
2642
\u
fe0f
)
|
[
#*0-9
]\u
fe0f
?\u
20e3|
(?:[
©®
\u
2122
\u
265f
]\u
fe0f
)
|
(?:\u
d83c
[\u
dc04
\u
dd70
\u
dd71
\u
dd7e
\u
dd7f
\u
de02
\u
de1a
\u
de2f
\u
de37
\u
df21
\u
df24-
\u
df2c
\u
df36
\u
df7d
\u
df96
\u
df97
\u
df99-
\u
df9b
\u
df9e
\u
df9f
\u
dfcd
\u
dfce
\u
dfd4-
\u
dfdf
\u
dff3
\u
dff5
\u
dff7
]
|
\u
d83d
[\u
dc3f
\u
dc41
\u
dcfd
\u
dd49
\u
dd4a
\u
dd6f
\u
dd70
\u
dd73
\u
dd76-
\u
dd79
\u
dd87
\u
dd8a-
\u
dd8d
\u
dda5
\u
dda8
\u
ddb1
\u
ddb2
\u
ddbc
\u
ddc2-
\u
ddc4
\u
ddd1-
\u
ddd3
\u
dddc-
\u
ddde
\u
dde1
\u
dde3
\u
dde8
\u
ddef
\u
ddf3
\u
ddfa
\u
decb
\u
decd-
\u
decf
\u
dee0-
\u
dee5
\u
dee9
\u
def0
\u
def3
]
|
[\u
203c
\u
2049
\u
2139
\u
2194-
\u
2199
\u
21a9
\u
21aa
\u
231a
\u
231b
\u
2328
\u
23cf
\u
23ed-
\u
23ef
\u
23f1
\u
23f2
\u
23f8-
\u
23fa
\u
24c2
\u
25aa
\u
25ab
\u
25b6
\u
25c0
\u
25fb-
\u
25fe
\u
2600-
\u
2604
\u
260e
\u
2611
\u
2614
\u
2615
\u
2618
\u
2620
\u
2622
\u
2623
\u
2626
\u
262a
\u
262e
\u
262f
\u
2638-
\u
263a
\u
2640
\u
2642
\u
2648-
\u
2653
\u
2660
\u
2663
\u
2665
\u
2666
\u
2668
\u
267b
\u
267f
\u
2692-
\u
2697
\u
2699
\u
269b
\u
269c
\u
26a0
\u
26a1
\u
26a7
\u
26aa
\u
26ab
\u
26b0
\u
26b1
\u
26bd
\u
26be
\u
26c4
\u
26c5
\u
26c8
\u
26cf
\u
26d1
\u
26d3
\u
26d4
\u
26e9
\u
26ea
\u
26f0-
\u
26f5
\u
26f8
\u
26fa
\u
26fd
\u
2702
\u
2708
\u
2709
\u
270f
\u
2712
\u
2714
\u
2716
\u
271d
\u
2721
\u
2733
\u
2734
\u
2744
\u
2747
\u
2757
\u
2763
\u
2764
\u
27a1
\u
2934
\u
2935
\u
2b05-
\u
2b07
\u
2b1b
\u
2b1c
\u
2b50
\u
2b55
\u
3030
\u
303d
\u
3297
\u
3299
])(?:\u
fe0f|
(?!\u
fe0e
))
|
(?:(?:\u
d83c
[\u
dfcb
\u
dfcc
]
|
\u
d83d
[\u
dd74
\u
dd75
\u
dd90
]
|
[\u
261d
\u
26f7
\u
26f9
\u
270c
\u
270d
])(?:\u
fe0f|
(?!\u
fe0e
))
|
(?:\u
d83c
[\u
df85
\u
dfc2-
\u
dfc4
\u
dfc7
\u
dfca
]
|
\u
d83d
[\u
dc42
\u
dc43
\u
dc46-
\u
dc50
\u
dc66-
\u
dc69
\u
dc6e
\u
dc70-
\u
dc78
\u
dc7c
\u
dc81-
\u
dc83
\u
dc85-
\u
dc87
\u
dcaa
\u
dd7a
\u
dd95
\u
dd96
\u
de45-
\u
de47
\u
de4b-
\u
de4f
\u
dea3
\u
deb4-
\u
deb6
\u
dec0
\u
decc
]
|
\u
d83e
[\u
dd0f
\u
dd18-
\u
dd1c
\u
dd1e
\u
dd1f
\u
dd26
\u
dd30-
\u
dd39
\u
dd3d
\u
dd3e
\u
ddb5
\u
ddb6
\u
ddb8
\u
ddb9
\u
ddbb
\u
ddcd-
\u
ddcf
\u
ddd1-
\u
dddd
]
|
[\u
270a
\u
270b
]))(?:\u
d83c
[\u
dffb-
\u
dfff
])?
|
(?:\u
d83c
\u
dff4
\u
db40
\u
dc67
\u
db40
\u
dc62
\u
db40
\u
dc65
\u
db40
\u
dc6e
\u
db40
\u
dc67
\u
db40
\u
dc7f|
\u
d83c
\u
dff4
\u
db40
\u
dc67
\u
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d83c
\u
ddf0|
\u
d83c
\u
ddfe
\u
d83c
[\u
ddea
\u
ddf9
]
|
\u
d83c
\u
ddff
\u
d83c
[\u
dde6
\u
ddf2
\u
ddfc
]
|
\u
d83c
[\u
dccf
\u
dd8e
\u
dd91-
\u
dd9a
\u
dde6-
\u
ddff
\u
de01
\u
de32-
\u
de36
\u
de38-
\u
de3a
\u
de50
\u
de51
\u
df00-
\u
df20
\u
df2d-
\u
df35
\u
df37-
\u
df7c
\u
df7e-
\u
df84
\u
df86-
\u
df93
\u
dfa0-
\u
dfc1
\u
dfc5
\u
dfc6
\u
dfc8
\u
dfc9
\u
dfcf-
\u
dfd3
\u
dfe0-
\u
dff0
\u
dff4
\u
dff8-
\u
dfff
]
|
\u
d83d
[\u
dc00-
\u
dc3e
\u
dc40
\u
dc44
\u
dc45
\u
dc51-
\u
dc65
\u
dc6a
\u
dc6f
\u
dc79-
\u
dc7b
\u
dc7d-
\u
dc80
\u
dc84
\u
dc88-
\u
dca9
\u
dcab-
\u
dcfc
\u
dcff-
\u
dd3d
\u
dd4b-
\u
dd4e
\u
dd50-
\u
dd67
\u
dda4
\u
ddfb-
\u
de44
\u
de48-
\u
de4a
\u
de80-
\u
dea2
\u
dea4-
\u
deb3
\u
deb7-
\u
debf
\u
dec1-
\u
dec5
\u
ded0-
\u
ded2
\u
ded5
\u
deeb
\u
deec
\u
def4-
\u
defa
\u
dfe0-
\u
dfeb
]
|
\u
d83e
[\u
dd0d
\u
dd0e
\u
dd10-
\u
dd17
\u
dd1d
\u
dd20-
\u
dd25
\u
dd27-
\u
dd2f
\u
dd3a
\u
dd3c
\u
dd3f-
\u
dd45
\u
dd47-
\u
dd71
\u
dd73-
\u
dd76
\u
dd7a-
\u
dda2
\u
dda5-
\u
ddaa
\u
ddae-
\u
ddb4
\u
ddb7
\u
ddba
\u
ddbc-
\u
ddca
\u
ddd0
\u
ddde-
\u
ddff
\u
de70-
\u
de73
\u
de78-
\u
de7a
\u
de80-
\u
de82
\u
de90-
\u
de95
]
|
[\u
23e9-
\u
23ec
\u
23f0
\u
23f3
\u
267e
\u
26ce
\u
2705
\u
2728
\u
274c
\u
274e
\u
2753-
\u
2755
\u
2795-
\u
2797
\u
27b0
\u
27bf
\u
e50a
])
|
\u
fe0f/g
;
src/headless/package.json
View file @
d7bc129c
...
...
@@ -42,7 +42,6 @@
"localforage"
:
"^1.7.3"
,
"lodash-es"
:
"^4.17.15"
,
"pluggable.js"
:
"2.0.1"
,
"strophe.js"
:
"1.3.6"
,
"twemoji"
:
"^12.1.2"
"strophe.js"
:
"1.3.6"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment