🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

conventional-commits-parser

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-commits-parser - npm Package Compare versions

Comparing version

to
0.0.3

2

cli.js

@@ -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');