New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

emojic

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emojic - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

17

lib/index.js

@@ -1,2 +0,3 @@

// Dependencies
"use strict";
const emojisPath = require.resolve("emojilib/emojis.json")

@@ -6,11 +7,19 @@ , rJson = require("r-json")

, iterateObject = require("iterate-object")
, emojis = rJson(emojisPath)
;
let emojis = rJson(emojisPath);
// Export the emojic object
var emojic = module.exports = {};
const emojic = module.exports = {};
// Append the chars to it
iterateObject(emojis, function (value, name) {
if (name === "keys" || !value.char) { return; }
switch (name) {
case "+1":
name = "thumbs-up";
break;
case "-1":
name = "thumbs-down";
break;
}
emojic[camelo(name)] = value.char;

@@ -17,0 +26,0 @@ });

{
"name": "emojic",
"version": "1.1.2",
"version": "1.1.3",
"description": "Emoji in your Node.js command line apps.",

@@ -30,5 +30,4 @@ "main": "lib/index.js",

"camelo": "^1.0.0",
"emojilib": "^1.1.0",
"emojilib": "^2.0.2",
"iterate-object": "^1.2.0",
"map-o": "^1.2.0",
"r-json": "^1.1.0"

@@ -35,0 +34,0 @@ },

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