summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorMartin Wortschack <mwortschack@gitlab.com>2019-02-01 17:24:11 +0100
committerMartin Wortschack <mwortschack@gitlab.com>2019-02-01 17:27:04 +0100
commit845c8d0b5c5b0b59b02cea253532bec3d9d6a42f (patch)
treee3ca48230ec56bd5f412abf6b6d694674b3067c9 /package.json
parentc243b154abf5c29ba35fd2fab2ca3bc010fdc324 (diff)
downloadgitlab-ce-845c8d0b5c5b0b59b02cea253532bec3d9d6a42f.tar.gz
Block emojis from user name
- Use JS regex for emoji validation - Add test for blocking emojis in full name - Fix existing tests for user status that failed locally
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 6c771e377b8..d9b2a1c152b 100644
--- a/package.json
+++ b/package.json
@@ -61,6 +61,7 @@
"document-register-element": "1.3.0",
"dropzone": "^4.2.0",
"echarts": "^4.2.0-rc.2",
+ "emoji-regex": "^7.0.3",
"emoji-unicode-version": "^0.2.1",
"exports-loader": "^0.7.0",
"file-loader": "^3.0.1",