Socket
Socket
Sign inDemoInstall

emoji-toolkit

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emoji-toolkit - npm Package Compare versions

Comparing version 4.5.2 to 5.0.0

6

bower.json
{
"name": "emoji-toolkit",
"version": "4.0.0",
"version": "5.0.0",
"main": [
"extras/css/emojione.css",
"lib/js/emojione.js"
"extras/css/joypixels.css",
"lib/js/joypixels.js"
],

@@ -8,0 +8,0 @@ "ignore": [

changelog
---------
####UPDATE 2019-07-22
* additions
* Unicode 12 charcters
####UPDATE 2017-06-30

@@ -5,0 +10,0 @@ * additions

@@ -6,4 +6,4 @@ ### Installation

```
<script src="https://cdn.jsdelivr.net/npm/emoji-toolkit@4.5.2/lib/js/joypixels.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/emoji-toolkit@4.5.2/extras/css/joypixels.min.css"/>
<script src="https://cdn.jsdelivr.net/npm/emoji-toolkit@5.0.0/lib/js/joypixels.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/emoji-toolkit@5.0.0/extras/css/joypixels.min.css"/>
```

@@ -10,0 +10,0 @@

@@ -9,3 +9,3 @@ {

"text": "Hello world! 😄 :smile:",
"expected": "Hello world! <img class=\\\"joypixels\\\" alt=\\\"😄\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f604.png\\\"/> <img class=\\\"joypixels\\\" alt=\\\"😄\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f604.png\\\"/>"
"expected": "Hello world! <img class=\\\"joypixels\\\" alt=\\\"😄\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f604.png\\\"/> <img class=\\\"joypixels\\\" alt=\\\"😄\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f604.png\\\"/>"
},

@@ -15,3 +15,3 @@ {

"text": ":alien: is 👽 and 저 is not :alien: or :alien: also :randomy: is not emoji",
"expected": "<img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f47d.png\\\"/> is <img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f47d.png\\\"/> and 저 is not <img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f47d.png\\\"/> or <img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f47d.png\\\"/> also :randomy: is not emoji"
"expected": "<img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f47d.png\\\"/> is <img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f47d.png\\\"/> and 저 is not <img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f47d.png\\\"/> or <img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f47d.png\\\"/> also :randomy: is not emoji"
}

@@ -86,3 +86,3 @@ ]

"text": "Hello world! 😄 :smile:",
"expected": "Hello world! 😄 <img class=\\\"joypixels\\\" alt=\\\"😄\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f604.png\\\"/>"
"expected": "Hello world! 😄 <img class=\\\"joypixels\\\" alt=\\\"😄\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f604.png\\\"/>"
},

@@ -92,3 +92,3 @@ {

"text": ":snail:'s are cool!",
"expected": "<img class=\\\"joypixels\\\" alt=\\\"🐌\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f40c.png\\\"/>'s are cool!"
"expected": "<img class=\\\"joypixels\\\" alt=\\\"🐌\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f40c.png\\\"/>'s are cool!"
},

@@ -98,3 +98,3 @@ {

"text": ":invalid:snail:",
"expected": ":invalid<img class=\\\"joypixels\\\" alt=\\\"🐌\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f40c.png\\\"/>"
"expected": ":invalid<img class=\\\"joypixels\\\" alt=\\\"🐌\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f40c.png\\\"/>"
},

@@ -104,3 +104,3 @@ {

"text": ":alien: is 👽 and 저 is not :alien: or :alien: also :randomy: is not emoji",
"expected": "<img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f47d.png\\\"/> is 👽 and 저 is not <img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f47d.png\\\"/> or <img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f47d.png\\\"/> also :randomy: is not emoji"
"expected": "<img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f47d.png\\\"/> is 👽 and 저 is not <img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f47d.png\\\"/> or <img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f47d.png\\\"/> also :randomy: is not emoji"
},

@@ -110,3 +110,3 @@ {

"text": ":dancer:\\n:dancer:",
"expected": "<img class=\\\"joypixels\\\" alt=\\\"💃\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f483.png\\\"/>\\n<img class=\\\"joypixels\\\" alt=\\\"💃\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f483.png\\\"/>"
"expected": "<img class=\\\"joypixels\\\" alt=\\\"💃\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f483.png\\\"/>\\n<img class=\\\"joypixels\\\" alt=\\\"💃\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f483.png\\\"/>"
},

@@ -116,3 +116,3 @@ {

"text": ":dancer::dancer::alien:",
"expected": "<img class=\\\"joypixels\\\" alt=\\\"💃\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f483.png\\\"/><img class=\\\"joypixels\\\" alt=\\\"💃\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f483.png\\\"/><img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f47d.png\\\"/>"
"expected": "<img class=\\\"joypixels\\\" alt=\\\"💃\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f483.png\\\"/><img class=\\\"joypixels\\\" alt=\\\"💃\\\" title=\\\":dancer:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f483.png\\\"/><img class=\\\"joypixels\\\" alt=\\\"👽\\\" title=\\\":alien:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f47d.png\\\"/>"
}

@@ -157,3 +157,3 @@ ]

"text": "Hello world! 😄 :smile:",
"expected": "Hello world! <img class=\\\"joypixels\\\" alt=\\\"😄\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f604.png\\\"/> <img class=\\\"joypixels\\\" alt=\\\"😄\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f604.png\\\"/>"
"expected": "Hello world! <img class=\\\"joypixels\\\" alt=\\\"😄\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f604.png\\\"/> <img class=\\\"joypixels\\\" alt=\\\"😄\\\" title=\\\":smile:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f604.png\\\"/>"
},

@@ -163,3 +163,3 @@ {

"text": ":invalid:snail:",
"expected": ":invalid<img class=\\\"joypixels\\\" alt=\\\"🐌\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f40c.png\\\"/>"
"expected": ":invalid<img class=\\\"joypixels\\\" alt=\\\"🐌\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f40c.png\\\"/>"
},

@@ -169,3 +169,3 @@ {

"text": "🐌",
"expected": "<img class=\\\"joypixels\\\" alt=\\\"🐌\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/4.5/png/64/1f40c.png\\\"/>"
"expected": "<img class=\\\"joypixels\\\" alt=\\\"🐌\\\" title=\\\":snail:\\\" src=\\\"https://cdn.jsdelivr.net/joypixels/assets/5.0/png/64/1f40c.png\\\"/>"
}

@@ -172,0 +172,0 @@ ]

@@ -29,3 +29,3 @@ ## Unicode Conversion

# character inside of IMG tag
The <img class="joypixels" alt="🦄" title=":unicorn:" src="https://cdn.jsdelivr.net/joypixels/assets/4.5/png/32/1f984.png" /> was EmojiOne's official mascot.
The <img class="joypixels" alt="🦄" title=":unicorn:" src="https://cdn.jsdelivr.net/joypixels/assets/5.0/png/32/1f984.png" /> was EmojiOne's official mascot.

@@ -63,3 +63,3 @@ ```

# shortname inside of IMG tag
The <img class="joypixels" alt=":unicorn:" title=":unicorn:" src="https://cdn.jsdelivr.net/joypixels/assets/4.5/png/32/1f984.png" /> is EmojiOne's official mascot.
The <img class="joypixels" alt=":unicorn:" title=":unicorn:" src="https://cdn.jsdelivr.net/joypixels/assets/5.0/png/32/1f984.png" /> is EmojiOne's official mascot.

@@ -93,3 +93,3 @@ ```

# smiley inside of an IMG tag (shouldn't convert anything inside of the tag)
Smile <img class="joypixels" alt=":)" title=":smile:" src="https://cdn.jsdelivr.net/joypixels/assets/4.5/png/32/1f604.png" /> because it's going to be a good day.
Smile <img class="joypixels" alt=":)" title=":smile:" src="https://cdn.jsdelivr.net/joypixels/assets/5.0/png/32/1f604.png" /> because it's going to be a good day.

@@ -96,0 +96,0 @@ # typical username password fail (shouldn't convert the user:pass, but should convert the last :p)

Package.describe({
name: 'joypixels:emoji-toolkit',
summary: 'Meteor Package of the https://www.joypixels.com/ set.',
version: '4.5.2',
version: '5.0.0',
git: 'https://github.com/joypixels/emoji-toolkit.git'

@@ -6,0 +6,0 @@ });

{
"name": "emoji-toolkit",
"version": "4.5.2",
"version": "5.0.0",
"description": "JoyPixels is a complete set of emoji designed for the web. The emoji-toolkit includes libraries to easily convert unicode characters to shortnames (:smile:) and shortnames to JoyPixels emoji images. PNG formats provided for the emoji images.",

@@ -5,0 +5,0 @@ "author": "JoyPixels <support@joypixels.com> (https://www.joypixels.com)",

@@ -20,4 +20,4 @@ # ![JoyPixels Logo](https://www.joypixels.com/images/logos/logo-cyan-tm.svg)

### JoyPixels Version 4
JoyPixels Version 4 is available under the same licensing structure as Version 3. Please see below for more details.
### JoyPixels Version 4+
JoyPixels Version 4+ is available under the same licensing structure as Version 3. Please see below for more details.

@@ -24,0 +24,0 @@ ### JoyPixels Version 3+

@@ -28,2 +28,19 @@ # Migrating from joypixels/emojione to joypixels/emoji-toolkit

- sprite filenames have changed from `emojione-` to `joypixels-`
- sprite css class names have changed from `emojione-` to `joypixels`
- sprite css class names have changed from `emojione-` to `joypixels`
#Upgrading to 5.0 brings additional data structure changes
The emoji.json file for 5.0 has several key changes from previous versions.
* added `humanform` attribute (Integer, 0/1)
* added `diversity_base` attribute (Integer, 0/1)
* changed `diversity` attribute from String to Array (still default `NULL`) to allow for multiple diversity variants per emoji
* changed `diversities` attribute name to `diversity_children`
* changed `gender` attribute from String to Array (still default `NULL`) to allow for multiple gender variants per emoji
* changed `genders` attribute name to `gender_children`
* updated `code_points` object. `base` is (still) the code point stripped of VS16 and ZWJ and `fully_qualified` includes everything needed for full matching and output
* removed `non_fully_qualified` code point attribute
* removed `output` code point attribute (duplicate of `fully_qualified`)
* added `diversity_parent` code point attribute
* added `gender_parent` code point attribute

@@ -7,3 +7,3 @@ # JoyPixels Usage

- `emojiVersion` (str) - Used only to direct CDN path. This is a 2-digit version (e.g. '3.1'). Not recommended for usage below 3.0.0.
- `emojiVersion` (str) - Used only to direct CDN path. This is a 2-digit version (e.g. '5.0'). Not recommended for usage below 3.0.0.
- `emojiSize` (str) **Default: `32`** - Used only to direct CDN path for non-sprite PNG usage. Available options are '32', '64', and '128'.

@@ -10,0 +10,0 @@ - `imagePathPNG` (str) - Defaults to CDN (jsdelivr) path. Setting as alternate path overwrites `emojiSize` option.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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