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

git-conventional-commits

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-conventional-commits - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

lib/semver.js

12

lib/gitCommitConvention.js
const Git = require("./git");
const { applyChangesToVersion } = require("./semver");

@@ -60,12 +61,3 @@ module.exports = function(convention, commitAnchor = 'HEAD') {

if (changes.breaking > 0) {
version.major++;
version.minor = 0;
version.patch = 0;
} else if (changes.feature > 0) {
version.minor++;
version.patch = 0;
} else {
version.patch++;
}
applyChangesToVersion(version, changes);

@@ -72,0 +64,0 @@ return `${version.major}.${version.minor}.${version.patch}`;

{
"name": "git-conventional-commits",
"version": "1.2.2",
"version": "1.2.3",
"description": "git conventional commits util",
"licence": "MIT",
"licence": "GPLv3",
"main": "cli.js",

@@ -7,0 +7,0 @@ "scripts": {

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