Socket
Socket
Sign inDemoInstall

@lmc-eu/conventional-changelog-lmc

Package Overview
Dependencies
4
Maintainers
6
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.3.0

9

package.json
{
"name": "@lmc-eu/conventional-changelog-lmc",
"version": "1.2.0",
"version": "1.3.0",
"description": "conventional-changelog LMC parser and writer",

@@ -29,5 +29,2 @@ "keywords": [

},
"scripts": {
"test": "is-ci || jest --maxWorkers=50%"
},
"dependencies": {

@@ -40,3 +37,3 @@ "compare-func": "^2.0.0"

"git-dummy-commit": "1.3.0",
"jest": "26.6.3",
"jest": "29.2.2",
"jest-extended": "0.11.5",

@@ -55,3 +52,3 @@ "shelljs": "0.8.5",

},
"gitHead": "5632989ed37af382d7f77a56beea964637fecb23"
"gitHead": "a9c9cdea28293a986e78238fe503e2da40b1b077"
}

@@ -0,2 +1,6 @@

const parserOpts = require('./parser-opts');
module.exports = {
parserOpts,
whatBump: (commits) => {

@@ -8,3 +12,6 @@ let level = 2;

commits.forEach((commit) => {
if (commit.type === 'BREAKING CHANGE' || commit.type === 'BREAKING CHANGES') {
if (commit.notes.length > 0) {
breakings += commit.notes.length;
level = 0;
} else if (commit.type === 'BREAKING CHANGE' || commit.type === 'BREAKING CHANGES') {
breakings += 1;

@@ -28,10 +35,2 @@ level = 0;

},
parserOpts: {
headerPattern: /^(?:Pull request #[0-9]+: )?(?:([a-zA-Z]*-[0-9_]*)(?: ))* ?([\w ]*)(?:\((.*)\))?: (.*)$/,
headerCorrespondence: ['body', 'type', 'scope', 'subject'],
noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES'],
revertPattern: /^revert:\s([\s\S]*?)\s*This reverts commit (\w*)\./,
revertCorrespondence: ['header', 'hash'],
},
};
module.exports = {
headerPattern: /^(?:Pull request #[0-9]+: )?(?:([a-zA-Z]*-[0-9_]*)(?: ))* ?([\w ]*)(?:\((.*)\))?: (.*)$/,
headerPattern: /^(?:Pull request #[0-9]+: )?(?:([a-zA-Z]*-[0-9_]*)(?: ))* ?([\w ]*)(?:\((.*)\))?!?: (.*)$/,
breakingHeaderPattern: /^(?:([a-zA-Z]*-[0-9_]*)(?: ))* ?([\w ]*)(?:\((.*)\))?!: (.*)$/,
headerCorrespondence: ['body', 'type', 'scope', 'subject'],
noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES'],
revertPattern: /^revert:\s([\s\S]*?)\s*This reverts commit (\w*)\./,
revertPattern: /^(?:Revert:)\s"?([\s\S]+?)"?\s*This reverts commit (\w*)\./i,
revertCorrespondence: ['header', 'hash'],
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc