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

commit-message-validator

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

commit-message-validator - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

4

package.json
{
"name": "commit-message-validator",
"version": "0.1.6",
"version": "0.1.7",
"description": "Git commit-msg hook validator",

@@ -36,3 +36,3 @@ "main": "index.js",

"chalk": "^1.1.3",
"find-git-root": "^0.1.0",
"find-git-root": "^0.1.2",
"find-root": "^1.0.0",

@@ -39,0 +39,0 @@ "fs": "^0.0.1-security",

@@ -23,4 +23,6 @@ # commit-message-validator

{
scripts: {
"commitmsg": "commit-message-validator"
"husky": {
"hooks": {
"commit-msg": "commit-message-validator"
}
}

@@ -33,3 +35,3 @@ }

"commit-message-validator": {
/* your config here */
"_comment": "pattern can be Regex string or array of Regex string",
"pattern": "your regex pattern here",

@@ -40,20 +42,1 @@ "errorMessage": "your error message"

}
Or
{
"config": {
"commit-message-validator": {
/* your config here, pattern can be an array */
"pattern": [
"pattern1",
"pattern2",
/* ... */
"pattern N"
],
"errorMessage": "your error message"
}
}
}
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