conventional-changelog
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -80,3 +80,3 @@ var extend = require('lodash.assign'); | ||
msg.subject = msg.subject.replace(/\s*(?:Closes|Fixes)\s#(\d+)/, function(_, i) { | ||
msg.subject = msg.subject.replace(/\s*(?:Closes|Fixes|Resolves)\s#(\d+)/, function(_, i) { | ||
msg.closes.push(parseInt(i, 10)); | ||
@@ -87,3 +87,3 @@ return ''; | ||
lines.forEach(function(line) { | ||
match = line.match(/(?:Closes|Fixes)\s((?:#\d+(?:\,\s)?)+)/); | ||
match = line.match(/(?:Closes|Fixes|Resolves)\s((?:#\d+(?:\,\s)?)+)/); | ||
@@ -99,3 +99,3 @@ if (match) { | ||
if (match) { | ||
msg.breaks.push(match[1]); | ||
msg.breaks.push(match[1] + '\n'); | ||
} | ||
@@ -102,0 +102,0 @@ |
{ | ||
"name": "conventional-changelog", | ||
"codename": "refine", | ||
"version": "0.0.8", | ||
"codename": "change", | ||
"version": "0.0.9", | ||
"description": "Generate a markdown changelog from git commit metadata", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -39,3 +39,3 @@ describe('git', function() { | ||
); | ||
expect(msg.breaks).to.deep.equal(['some breaking change\n']); | ||
expect(msg.breaks).to.deep.equal(['some breaking change\n\n']); | ||
}); | ||
@@ -42,0 +42,0 @@ it('should parse Closes in the subject (and remove it)', function() { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17221