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 6.4.3 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 @@

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