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

gitmoji-cli

Package Overview
Dependencies
Maintainers
1
Versions
119
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.1.0 to 8.1.1

2

lib/commands/hook/hook.js
const HOOK = {
PERMISSIONS: 0o775,
FILENAME: 'prepare-commit-msg',
CONTENTS: '#!/usr/bin/env sh\n# gitmoji as a commit hook\n' + 'if npx -v >&/dev/null\n' + 'then\n' + ' exec < /dev/tty\n npx -c gitmoji --hook $1 $2\n' + 'else\n' + ' exec < /dev/tty\n gitmoji --hook $1 $2\n' + 'fi'
CONTENTS: '#!/usr/bin/env sh\n# gitmoji as a commit hook\n' + 'if npx -v >&/dev/null\n' + 'then\n' + ' exec < /dev/tty\n npx -c "gitmoji --hook $1 $2"\n' + 'else\n' + ' exec < /dev/tty\n gitmoji --hook $1 $2\n' + 'fi'
};
export default HOOK;
{
"name": "gitmoji-cli",
"version": "8.1.0",
"version": "8.1.1",
"type": "module",

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

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