@conventional-commits/parser
Advanced tools
Comparing version 0.4.0 to 0.4.1
# Changelog | ||
### [0.4.1](https://www.github.com/conventional-commits/parser/compare/v0.4.0...v0.4.1) (2021-01-07) | ||
### Bug Fixes | ||
* **types:** add missing Newline types ([#35](https://www.github.com/conventional-commits/parser/issues/35)) ([6f3f696](https://www.github.com/conventional-commits/parser/commit/6f3f69622191711df1ea419c73ef0770d0b36ba7)) | ||
## [0.4.0](https://www.github.com/conventional-commits/parser/compare/v0.3.0...v0.4.0) (2021-01-07) | ||
@@ -4,0 +11,0 @@ |
@@ -70,3 +70,3 @@ export function parser(commitText: string): Message; | ||
type: 'message'; | ||
children: (Summary | Body)[]; | ||
children: (Summary | Body | Newline | Footer)[]; | ||
} | ||
@@ -79,5 +79,10 @@ | ||
export interface Newline extends Literal { | ||
type: 'newline'; | ||
value: string; | ||
} | ||
export interface BreakingChange extends Literal { | ||
type: 'breaking-change'; | ||
value: '!' | 'BREAKING CHANGE'; | ||
value: '!' | 'BREAKING-CHANGE' | 'BREAKING CHANGE'; | ||
} | ||
@@ -107,3 +112,3 @@ | ||
type: 'body'; | ||
children: (Text | Footer)[]; | ||
children: (Text | Newline)[]; | ||
} | ||
@@ -128,3 +133,3 @@ | ||
type: 'continuation'; | ||
children: Text[]; | ||
children: (Newline | Text)[]; | ||
} |
{ | ||
"name": "@conventional-commits/parser", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "reference implementation of conventionalcommits.org spec", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
28839
743