🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

emoji-regex

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emoji-regex - npm Package Compare versions

Comparing version

to
6.5.0

es2015/index.js

12

package.json
{
"name": "emoji-regex",
"version": "6.4.3",
"version": "6.5.0",
"description": "A regular expression to match all Emoji-only symbols as per the Unicode Standard.",

@@ -30,7 +30,9 @@ "homepage": "https://mths.be/emoji-regex",

"index.js",
"text.js"
"text.js",
"es2015/index.js",
"es2015/text.js"
],
"scripts": {
"build": "babel src -d .; node script/inject-sequences.js",
"clean": "rm -f -- index.js text.js",
"build": "babel src -d .; NODE_ENV=es2015 babel src -d ./es2015; node script/inject-sequences.js",
"clean": "rm -rf -- index.js text.js es2015",
"prepublish": "npm run clean && npm run build",

@@ -46,5 +48,5 @@ "test": "npm run build && mocha",

"mocha": "^3.4.2",
"regexgen": "^1.2.4",
"regexgen": "^1.3.0",
"unicode-tr51": "^8.1.2"
}
}

@@ -58,2 +58,9 @@ # emoji-regex [![Build status](https://travis-ci.org/mathiasbynens/emoji-regex.svg?branch=master)](https://travis-ci.org/mathiasbynens/emoji-regex)

Additionally, in environments which support ES2015 Unicode escapes, you may `require` ES2015-style versions of the regexes:
```js
const emojiRegex = require('emoji-regex/es2015/index.js');
const emojiRegexText = require('emoji-regex/es2015/text.js');
```
## Author

@@ -60,0 +67,0 @@