Socket
Socket
Sign inDemoInstall

emoji-regex

Package Overview
Dependencies
0
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 3.0.0

2

index.js
module.exports = function() {
return /\uD83C(?:\uDDE8\uD83C(?:\uDDFE|\uDDEE|\uDDE6|\uDDF4|\uDDEB|\uDDF1|\uDDFF|\uDDED|\uDDF7|\uDDF2|\uDDEC|\uDDF5|\uDDFA|\uDDF3|\uDDE9|\uDDFD|\uDDFB|\uDDE8|\uDDF0|\uDDFC)|\uDDFB\uD83C(?:\uDDE6|\uDDEE|\uDDE8|\uDDF3|\uDDEA|\uDDFA|\uDDEC)|\uDDEE\uD83C(?:\uDDF1|\uDDE8|\uDDE9|\uDDEA|\uDDF3|\uDDF7|\uDDF9|\uDDF4|\uDDF6|\uDDF8|\uDDF2)|\uDDFA\uD83C(?:\uDDFE|\uDDE6|\uDDFF|\uDDF8|\uDDF2|\uDDEC)|\uDDE6\uD83C(?:\uDDF7|\uDDF6|\uDDF9|\uDDF8|\uDDFC|\uDDE9|\uDDFF|\uDDF2|\uDDEA|\uDDF1|\uDDFD|\uDDEE|\uDDFA|\uDDEC|\uDDEB|\uDDE8|\uDDF4)|\uDDEC\uD83C(?:\uDDF9|\uDDEC|\uDDF7|\uDDEA|\uDDEE|\uDDF1|\uDDFC|\uDDF3|\uDDE6|\uDDE7|\uDDED|\uDDF6|\uDDEB|\uDDE9|\uDDFE|\uDDF2|\uDDFA|\uDDF8|\uDDF5)|\uDDEF\uD83C(?:\uDDEA|\uDDF5|\uDDF4|\uDDF2)|\uDDF8\uD83C(?:\uDDF2|\uDDF4|\uDDF1|\uDDEC|\uDDE7|\uDDFB|\uDDF9|\uDDF0|\uDDE8|\uDDF3|\uDDFF|\uDDEE|\uDDF7|\uDDFE|\uDDEF|\uDDEA|\uDDE6|\uDDFD|\uDDE9|\uDDED|\uDDF8)|\uDDFE\uD83C(?:\uDDF9|\uDDEA)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F9|\uDDEC|\uDDF7|\uDDEA|\uDDED|\uDDFA)|\uDDED\uD83C(?:\uDDF3|\uDDFA|\uDDF0|\uDDF7|\uDDF9|\uDDF2)|\uDDF7\uD83C(?:\uDDFC|\uDDFA|\uDDF8|\uDDF4|\uDDEA)|\uDDF4\uD83C\uDDF2|\uDDFF\uD83C(?:\uDDFC|\uDDE6|\uDDF2)|\uDDFC\uD83C(?:\uDDEB|\uDDF8)|\uDDF6\uD83C\uDDE6|\uDDFD\uD83C\uDDF0)|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26F7-\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF2C\uDF30-\uDF7D\uDF80-\uDFCE\uDFD4-\uDFF7]|\uD83D[\uDC00-\uDCFE\uDD00-\uDD3F\uDD4A\uDD50-\uDD71\uDD73-\uDD79\uDD81-\uDDA3\uDDA5-\uDDA9\uDDAE-\uDDF3\uDDFA-\uDE42\uDE45-\uDE4F\uDE80-\uDECF\uDEE0-\uDEEC\uDEF0-\uDEF3]/g;
return /\uD83C(?:\uDDE6\uD83C(?:\uDDEB|\uDDFD|\uDDF1|\uDDF8|\uDDE9|\uDDF4|\uDDEE|\uDDF6|\uDDEC|\uDDF7|\uDDF2|\uDDFC|\uDDE8|\uDDFA|\uDDF9|\uDDFF|\uDDEA)|\uDDE9\uD83C(?:\uDDFF|\uDDF0|\uDDEC|\uDDEF|\uDDF2|\uDDF4|\uDDEA)|\uDDE7\uD83C(?:\uDDF8|\uDDED|\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26D4\u26EA\u26F2\u26F3\u26F5\u26F7-\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF2C\uDF30-\uDF7D\uDF80-\uDFCE\uDFD4-\uDFF7]|\uD83D[\uDC00-\uDCFE\uDD00-\uDD3F\uDD49\uDD4A\uDD50-\uDD71\uDD73-\uDD79\uDD81-\uDDA3\uDDA5-\uDDA9\uDDAE-\uDDF3\uDDFA-\uDE42\uDE45-\uDE4F\uDE80-\uDECF\uDEE0-\uDEEC\uDEF0-\uDEF3]/g;
};
{
"name": "emoji-regex",
"version": "2.0.0",
"version": "3.0.0",
"description": "A regular expression to match all Emoji-only symbols as per the Unicode Standard.",

@@ -48,4 +48,4 @@ "homepage": "https://mths.be/emoji-regex",

"string.fromcodepoint": "^0.2.1",
"unicode-tr51": "^2.0.0"
"unicode-tr51": "^3.0.0"
}
}

@@ -9,3 +9,3 @@ # emoji-regex [![Build status](https://travis-ci.org/mathiasbynens/emoji-regex.svg?branch=master)](https://travis-ci.org/mathiasbynens/emoji-regex) [![Code coverage status](http://img.shields.io/coveralls/mathiasbynens/emoji-regex/master.svg)](https://coveralls.io/r/mathiasbynens/emoji-regex) [![Dependency status](https://gemnasium.com/mathiasbynens/emoji-regex.svg)](https://gemnasium.com/mathiasbynens/emoji-regex)

Via [npm](http://npmjs.org/):
Via [npm](https://www.npmjs.org/):

@@ -16,3 +16,3 @@ ```bash

In [Node.js](http://nodejs.org/):
In [Node.js](https://nodejs.org/):

@@ -19,0 +19,0 @@ ```js

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc