conventional-changelog-angular 5.0.5 → 5.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.0.6](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-angular@5.0.5...conventional-changelog-angular@5.0.6) (2019-11-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * revertPattern match default git revert format ([#545](https://github.com/conventional-changelog/conventional-changelog/issues/545)) ([fe449f8](https://github.com/conventional-changelog/conventional-changelog/commit/fe449f899567574a36d1819b313e2caa899052ff))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [5.0.4](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-angular@5.0.3...conventional-changelog-angular@5.0.4) (2019-10-02)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conventional-changelog-angular",
3
- "version": "5.0.5",
3
+ "version": "5.0.6",
4
4
  "description": "conventional-changelog angular preset",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "compare-func": "^1.3.1",
37
37
  "q": "^1.5.1"
38
38
  },
39
- "gitHead": "7c1c8ad819b05c12c7d58c92ac386b45ada6f6a8"
39
+ "gitHead": "741e90744cdb58e82e71feb36018047d7baca768"
40
40
  }
package/parser-opts.js CHANGED
@@ -8,6 +8,6 @@ module.exports = {
8
8
  `subject`
9
9
  ],
10
10
  noteKeywords: [`BREAKING CHANGE`],
11
- revertPattern: /^revert:\s([\s\S]*?)\s*This reverts commit (\w*)\./,
11
+ revertPattern: /^(?:Revert|revert:)\s"?([\s\S]+?)"?\s*This reverts commit (\w*)\./i,
12
12
  revertCorrespondence: [`header`, `hash`]
13
13
  }
package/writer-opts.js CHANGED
@@ -39,7 +39,7 @@ function getWriterOpts () {
39
39
  commit.type = `Bug Fixes`
40
40
  } else if (commit.type === `perf`) {
41
41
  commit.type = `Performance Improvements`
42
- } else if (commit.type === `revert`) {
42
+ } else if (commit.type === `revert` || commit.revert) {
43
43
  commit.type = `Reverts`
44
44
  } else if (discard) {
45
45
  return