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

@lmc-eu/conventional-changelog-lmc-bitbucket

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lmc-eu/conventional-changelog-lmc-bitbucket - npm Package Compare versions

Comparing version 1.3.3 to 1.3.4

4

package.json
{
"name": "@lmc-eu/conventional-changelog-lmc-bitbucket",
"version": "1.3.3",
"version": "1.3.4",
"description": "conventional-changelog LMC preset for BitBucket",

@@ -51,3 +51,3 @@ "keywords": [

},
"gitHead": "fd178f5b9a1d44fb7e62ac504d57cd3ba0f447d0"
"gitHead": "5effef42797b7d6fabab9e54b3a715c276e79e2f"
}

@@ -10,2 +10,3 @@ # @lmc-eu/conventional-changelog-lmc-bitbucket

NPM:
```

@@ -16,2 +17,3 @@ npm i --dev @commitlint/cli @commitlint/config-conventional @lmc-eu/conventional-changelog-lmc-bitbucket

Yarn:
```

@@ -28,3 +30,3 @@ yarn add --dev @commitlint/cli @commitlint/config-conventional @lmc-eu/conventional-changelog-lmc-bitbucket

```javascript
'use strict'
'use strict';

@@ -45,3 +47,3 @@ module.exports = {

"changelog": "conventional-changelog -p lmc-bitbucket -i CHANGELOG.md -s",
"changelog:origin": "conventional-changelog -p lmc-bitbucket -i CHANGELOG.md -s -r 0",
"changelog:origin": "conventional-changelog -p lmc-bitbucket -i CHANGELOG.md -s -r 0"
}

@@ -48,0 +50,0 @@ }

@@ -19,3 +19,3 @@ const compareFunc = require('compare-func');

commit.notes.forEach(function(note) {
commit.notes.forEach(function (note) {
note.title = 'BREAKING CHANGES';

@@ -70,3 +70,3 @@ discard = false;

if (typeof transformedCommit.subject === 'string') {
transformedCommit.subject = transformedCommit.subject.replace(/#([a-zA-Z0-9\-]+)/g, function(_, issue) {
transformedCommit.subject = transformedCommit.subject.replace(/#([a-zA-Z0-9\-]+)/g, function (_, issue) {
issues.push(issue);

@@ -79,9 +79,12 @@

// remove references that already appear in the subject
transformedCommit.references = commit.references.filter(reference => {
if (issues.indexOf(reference.issue) === -1) {
return true;
}
transformedCommit.references = commit.references
.filter((reference) => {
if (issues.indexOf(reference.issue) === -1) {
return true;
}
return false;
}).map((reference) => formatIssue(issueUrl, reference.issue)).join(', ');
return false;
})
.map((reference) => formatIssue(issueUrl, reference.issue))
.join(', ');

@@ -88,0 +91,0 @@ return transformedCommit;

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