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

conventional-changelog

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

6

lib/git.js

@@ -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() {

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