Socket
Socket
Sign inDemoInstall

react-emoji-picker

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-emoji-picker - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

8

index.jsx

@@ -18,4 +18,4 @@ "use strict";

function filterByName(opts) {
return opts.emoji.name.match(`${opts.query}`)
|| opts.emoji.alternatives.match(`${opts.query}`)
return opts.emoji.name.match(opts.query)
|| opts.emoji.alternatives.match(opts.query)
}

@@ -57,3 +57,3 @@

if(this.emojis()[0]) {
this.props.onSelect(`:${this.emojis()[0].name}:`)
this.props.onSelect(':' + this.emojis()[0].name + ':')
}

@@ -125,3 +125,3 @@ },

var emojiLinks = this.emojis().map(function(emoji) {
emoji = `:${emoji.name}:`
emoji = ':' + emoji.name} + ':'
return (

@@ -128,0 +128,0 @@ React.createElement("a", {key: emoji, className: "emoji-picker-emoji",

{
"name": "react-emoji-picker",
"version": "1.0.4",
"version": "1.0.5",
"description": "A React component providing a visual emoji picker, similar to Slack's",

@@ -5,0 +5,0 @@ "repository": "https://github.com/chadoh/react-emoji-picker",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc