@w5s/conventional-changelog 2.0.15 → 2.0.17

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/dist/transform.js CHANGED
@@ -33,8 +33,8 @@ function createTransform(config) {
33
33
  }));
34
34
  const conventionalType = commit.type == null
35
35
  ? undefined
36
- : data_js_1.CommitConventionalType.parse(commit.type) ??
37
- (gitmoji_js_1.GitmojiCode.isValid(commit.type) ? gitmoji_js_1.GitmojiCode.toConventionalCommitType(commit.type) : undefined);
36
+ : (data_js_1.CommitConventionalType.parse(commit.type) ??
37
+ (gitmoji_js_1.GitmojiCode.isValid(commit.type) ? gitmoji_js_1.GitmojiCode.toConventionalCommitType(commit.type) : undefined));
38
38
  if (ignoreType(conventionalType) && discard)
39
39
  return false;
40
40
  const type = conventionalType == null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/conventional-changelog",
3
- "version": "2.0.15",
3
+ "version": "2.0.17",
4
4
  "description": "Conventional changelog plugin for @w5s",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/w5s/project-config/blob/main/packages/conventional-changelog#readme",
@@ -44,5 +44,5 @@
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  },
47
- "gitHead": "9e8b978821dc680b4718b0ec16cbeef794c65405"
47
+ "gitHead": "64cee3db1b4e67e97e4537106716cfdb53cf6e16"
48
48
  }
package/src/transform.ts CHANGED
@@ -54,8 +54,8 @@ export function createTransform(config: TransformConfig): WriterOptions.Transfor
54
54
  const conventionalType =
55
55
  commit.type == null
56
56
  ? undefined
57
- : CommitConventionalType.parse(commit.type) ??
58
- (GitmojiCode.isValid(commit.type) ? GitmojiCode.toConventionalCommitType(commit.type) : undefined);
57
+ : (CommitConventionalType.parse(commit.type) ??
58
+ (GitmojiCode.isValid(commit.type) ? GitmojiCode.toConventionalCommitType(commit.type) : undefined));
59
59
 
60
60
  if (ignoreType(conventionalType) && discard) return false;
61
61