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

conventional-changelog-writer

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog-writer - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

6

CHANGELOG.md

@@ -0,1 +1,7 @@

<a name="1.1.1"></a>
## [1.1.1](https://github.com/stevemao/conventional-changelog-writer/compare/v1.1.0...v1.1.1) (2016-02-29)
<a name="1.1.0"></a>

@@ -2,0 +8,0 @@ # [1.1.0](https://github.com/stevemao/conventional-changelog-writer/compare/v1.0.3...v1.1.0) (2016-02-08)

1

index.js

@@ -28,3 +28,2 @@ 'use strict';

groupBy: 'type',
commitGroupsSort: 'title',
commitsSort: 'header',

@@ -31,0 +30,0 @@ noteGroupsSort: 'title',

{
"name": "conventional-changelog-writer",
"version": "1.1.0",
"version": "1.1.1",
"description": "Write logs based on conventional commits and templates",

@@ -25,3 +25,3 @@ "homepage": "https://github.com/stevemao/conventional-changelog-writer",

"compare-func": "^1.3.1",
"conventional-commits-filter": "^0.1.0",
"conventional-commits-filter": "^1.0.0",
"dateformat": "^1.0.11",

@@ -28,0 +28,0 @@ "handlebars": "^4.0.2",

@@ -159,3 +159,3 @@ # [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coveralls-image]][coveralls-url]

Type: `function`, `string` or `array` Default: `'title'`
Type: `function`, `string` or `array`

@@ -162,0 +162,0 @@ A compare function used to sort commit groups. If it's a string or array, it sorts on the property(ies) by `localeCompare`. Will not sort if this is a falsy value.

@@ -164,3 +164,3 @@ 'use strict';

.pipe(through(function(chunk, enc, cb) {
expect(chunk.toString()).to.equal('<a name=""></a>\n# (' + today + ')\n\n\n* bla \n\n\n\n');
expect(chunk.toString()).to.equal('<a name=""></a>\n# (' + today + ')\n\n* bla \n\n\n\n');

@@ -167,0 +167,0 @@ i++;

@@ -30,14 +30,4 @@ 'use strict';

expect(log).to.equal('my header\n\n\nmy commit\nmy commit\n\nmy footer\n\n\n');
expect(log).to.equal('my header\n\nmy commit\nmy commit\n\nmy footer\n\n\n');
});
it('should generate template if `title` is truthy', function() {
templateContext.commitGroups = [{
title: 'my title',
commits: [1, 2]
}];
var log = Handlebars.compile(template)(templateContext);
expect(log).to.equal('my header\n\n\n### my title\n\nmy commit\nmy commit\n\nmy footer\n\n\n');
});
});

Sorry, the diff of this file is not supported yet

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