Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-canvas-with-twemoji-and-discord-emoji

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-canvas-with-twemoji-and-discord-emoji - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

package.json
{
"name": "node-canvas-with-twemoji-and-discord-emoji",
"version": "1.0.0",
"version": "1.1.0",
"description": "A fork of node-canvas-with-twemoji with Discord emoji support.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -17,3 +17,3 @@ const { parse } = require('twemoji-parser');

if (typeof entity === "string") {
const words = entity.replace(/<?(a:|:)\w*:(\d{17}|\d{18})>/, " $& ").split(/\s+/);
const words = entity.replace(/<?(a:|:)\w*:(\d{17}|\d{18})>/, "\u200b$&\u200b").split("\u200b");

@@ -20,0 +20,0 @@ words.map(word => matchDiscordEmojis(word)

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