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 0.5.0 to 0.5.1

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="0.5.1"></a>
## [0.5.1](https://github.com/stevemao/conventional-changelog-writer/compare/v0.5.0...v0.5.1) (2016-02-03)
### Bug Fixes
* **context.version:** only valid a semver can decide `context.isPatch` ([59ed325](https://github.com/stevemao/conventional-changelog-writer/commit/59ed325))
<a name="0.5.0"></a>

@@ -2,0 +12,0 @@ # [0.5.0](https://github.com/stevemao/conventional-changelog-writer/compare/v0.4.2...v0.5.0) (2016-02-02)

2

lib/util.js

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

if (context.version) {
if (context.version && semver.valid(context.version)) {
context.isPatch = context.isPatch || semver.patch(context.version) !== 0;

@@ -174,0 +174,0 @@ }

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

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

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

##### doFlush
Type: `boolean` Default: `true`
If `true`, the stream will flush out the last bit of changelog even it doesn't satisfy `generateOn`.
##### mainTemplate

@@ -261,0 +267,0 @@

@@ -655,2 +655,17 @@ 'use strict';

it('should not error if version is not semver', function(done) {
getStream()
.pipe(conventionalChangelogWriter({
version: 'a.b.c'
}))
.on('error', function(err) {
done(err);
})
.pipe(through(function(chunk) {
expect(chunk.toString()).to.include('a.b.c');
done();
}));
});
it('should callback with error on transform', function(done) {

@@ -657,0 +672,0 @@ getStream()

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