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

node-emoji

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-emoji - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

3

lib/emoji.js

@@ -31,2 +31,3 @@ /*jslint node: true*/

}
return ':' + emoji + ':';
};

@@ -76,2 +77,2 @@

;
};
};
{
"name": "node-emoji",
"version": "1.0.3",
"version": "1.0.4",
"description": "simple emoji support for node.js projects",

@@ -5,0 +5,0 @@ "author": "Daniel Bugl <daniel.bugl@touchlay.com>",

@@ -33,3 +33,3 @@ # node-emoji

## Adding new emoji
Emoji come from [js-emoji](https://github.com/iamcal/js-emoji/blob/master/emoji.js#L164-L1010) (Thanks a lot :thumbsup:).
Emoji come from js-emoji (Thanks a lot :thumbsup:). You can get a JSON file with all emoji here: https://github.com/omnidan/node-emoji/blob/master/lib/emoji.json

@@ -36,0 +36,0 @@ To update the list or add custom emoji, clone this repository and put them into `lib/emojifile.js`.

@@ -39,2 +39,7 @@ /*jslint node: true*/

});
it("should leave unknown emoji", function () {
var coffee = emoji.emojify('I :unknown_emoji: :star: :another_one:');
should.exist(coffee);
coffee.should.be.exactly('I :unknown_emoji: ⭐️ :another_one:');
});
});

@@ -50,2 +55,2 @@ });

});
});
});
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