@w5s/conventional-changelog 2.0.0 → 2.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/conventional-changelog",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
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",
@@ -33,7 +33,7 @@
33
33
  "postpack": "npx clean-package restore"
34
34
  },
35
35
  "dependencies": {
36
- "@commitlint/types": "^17.0.0",
36
+ "@commitlint/types": "^18.0.0",
37
37
  "emoji-regex": "^10.2.1",
38
38
  "gitmojis": "^3.13.4"
39
39
  },
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "df3ad719f23deb6ab6a2c546664b0496fee3a039"
46
+ "gitHead": "3b3fdc935f9a82009a8e7c0c7951ee2b4d8f7943"
47
47
  }
@@ -7,8 +7,8 @@ function toConventionalCommitType(text: string) {
7
7
  return GitmojiCode.isValid(text)
8
8
  ? GitmojiCode.toConventionalCommitType(text)
9
9
  : CommitConventionalType.hasInstance(text)
10
- ? text
11
- : undefined;
10
+ ? text
11
+ : undefined;
12
12
  }
13
13
 
14
14
  export type Commit = CommitBase;
package/src/transform.ts CHANGED
@@ -17,8 +17,8 @@ export function displayScope(scope: string | null | undefined, scopeDisplayNameM
17
17
  return scope == null || scope.length === 0
18
18
  ? scopeDisplayNameMap['*']
19
19
  : scopeDisplayNameMap[scope] == null
20
- ? scope
21
- : scopeDisplayNameMap[scope];
20
+ ? scope
21
+ : scopeDisplayNameMap[scope];
22
22
  }
23
23
 
24
24
  export function displayType(type: string, options: displayType.Options = {}): string {