Socket
Socket
Sign inDemoInstall

gitmoji-cli

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitmoji-cli - npm Package Compare versions

Comparing version 8.3.1 to 8.4.0

17

lib/cli.js

@@ -7,3 +7,2 @@ #!/usr/bin/env node

import findGitmojiCommand from "./utils/findGitmojiCommand.js";
import commands from "./commands/index.js";
const packageJson = readFileSync(new URL('../package.json', import.meta.url)).toString();

@@ -82,11 +81,11 @@ updateNotifier({

export const options = {
[FLAGS.COMMIT]: options => commands.commit(options),
[FLAGS.CONFIG]: () => commands.config(),
[FLAGS.HOOK]: options => commands.commit(options),
[FLAGS.INIT]: () => commands.createHook(),
[FLAGS.LIST]: () => commands.list(),
[FLAGS.REMOVE]: () => commands.removeHook(),
[FLAGS.SEARCH]: options => commands.search(options),
[FLAGS.UPDATE]: () => commands.update()
[FLAGS.COMMIT]: async options => await (await import("./commands/commit/index.js")).default(options),
[FLAGS.CONFIG]: async () => await (await import("./commands/config/index.js")).default(),
[FLAGS.HOOK]: async options => await (await import("./commands/commit/index.js")).default(options),
[FLAGS.INIT]: async () => await (await import("./commands/hook/index.js")).default.create(),
[FLAGS.LIST]: async () => await (await import("./commands/list/index.js")).default(),
[FLAGS.REMOVE]: async () => await (await import("./commands/hook/index.js")).default.remove(),
[FLAGS.SEARCH]: async options => await (await import("./commands/search/index.js")).default(options),
[FLAGS.UPDATE]: async () => await (await import("./commands/update/index.js")).default()
};
findGitmojiCommand(cli, options);
{
"name": "gitmoji-cli",
"version": "8.3.1",
"version": "8.4.0",
"type": "module",

@@ -76,6 +76,6 @@ "description": "A gitmoji client for using emojis on commit messages.",

"codecov": "3.8.3",
"eslint": "8.42.0",
"eslint": "8.43.0",
"eslint-plugin-ft-flow": "2.0.3",
"eslint-plugin-immutable": "1.0.0",
"flow-bin": "^0.208.0",
"flow-bin": "^0.209.0",
"hermes-eslint": "0.12.1",

@@ -82,0 +82,0 @@ "husky": "8.0.3",

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