conventional-commits-parser
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -44,3 +44,3 @@ #!/usr/bin/env node | ||
stream.pipe(conventionalCommitsParser(cli.flags)) | ||
.pipe(JSONStream.stringify('')) | ||
.pipe(JSONStream.stringify('', '', '')) | ||
.pipe(through(function(chunk, enc, cb) { | ||
@@ -47,0 +47,0 @@ cb(null, 'result: ' + chunk + '\n\n'); |
{ | ||
"name": "conventional-commits-parser", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "parse raw conventional commits", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/stevemao/conventional-commits-parser", |
@@ -164,3 +164,3 @@ # [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coverall-image]][coverall-url] | ||
You will enter an interactive shell. If you enter "return" three times the result of your commit will be shown. | ||
You will enter an interactive shell. To show your parsed result enter "return" three times. | ||
@@ -167,0 +167,0 @@ ```sh |
@@ -52,2 +52,4 @@ 'use strict'; | ||
expect(parser()).to.equal(null); | ||
expect(parser('\n')).to.equal(null); | ||
expect(parser(' ')).to.equal(null); | ||
}); | ||
@@ -68,2 +70,6 @@ | ||
it('should parse header after trimed', function() { | ||
expect(parser('\n\n\n\n\nchore: some chore\n\n\n\n', options).header).to.equal('chore: some chore'); | ||
}); | ||
it('should parse header without a hash', function() { | ||
@@ -70,0 +76,0 @@ expect(simpleMsg.header).to.equal('chore: some chore'); |
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
21675
416