commit-and-tag-version 12.4.2 → 12.4.3

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
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [12.4.3](https://github.com/absolute-version/commit-and-tag-version/compare/v12.4.2...v12.4.3) (2024-09-09)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Correct issue where downstream dependency would throw `options.debug is not a function` ([4280bcf](https://github.com/absolute-version/commit-and-tag-version/commit/4280bcf102b78d1995b24ec9238219db81730ebd))
11
+
5
12
  ## [12.4.2](https://github.com/absolute-version/commit-and-tag-version/compare/v12.4.1...v12.4.2) (2024-08-25)
6
13
 
7
14
 
@@ -189,13 +189,18 @@ function bumpVersion(releaseAs, currentVersion, args) {
189
189
  }
190
190
  conventionalRecommendedBump(
191
191
  {
192
- debug:
193
- args.verbose &&
194
- console.info.bind(console, 'conventional-recommended-bump'),
195
192
  preset: presetOptions,
196
193
  path: args.path,
197
194
  tagPrefix: args.tagPrefix,
198
195
  lernaPackage: args.lernaPackage,
196
+ ...(args.verbose
197
+ ? {
198
+ debug: console.info.bind(
199
+ console,
200
+ 'conventional-recommended-bump',
201
+ ),
202
+ }
203
+ : {}),
199
204
  },
200
205
  args.parserOpts,
201
206
  function (err, release) {
@@ -58,11 +58,17 @@ function outputChangelog(args, newVersion) {
58
58
  const context = { version: newVersion };
59
59
  const changelogStream = conventionalChangelog(
60
60
  {
61
- debug:
62
- args.verbose && console.info.bind(console, 'conventional-changelog'),
63
61
  preset: presetLoader(args),
64
62
  tagPrefix: args.tagPrefix,
65
63
  releaseCount: args.releaseCount,
64
+ ...(args.verbose
65
+ ? {
66
+ debug: console.info.bind(
67
+ console,
68
+ 'conventional-recommended-bump',
69
+ ),
70
+ }
71
+ : {}),
66
72
  },
67
73
  context,
68
74
  { merges: null, path: args.path, showSignature: false },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commit-and-tag-version",
3
- "version": "12.4.2",
3
+ "version": "12.4.3",
4
4
  "description": "replacement for `npm version` with automatic CHANGELOG generation",
5
5
  "bin": "bin/cli.js",
6
6
  "scripts": {
@@ -49,7 +49,7 @@
49
49
  "figures": "^3.1.0",
50
50
  "find-up": "^5.0.0",
51
51
  "git-semver-tags": "^5.0.0",
52
- "jsdom": "^24.1.1",
52
+ "jsdom": "^25.0.0",
53
53
  "semver": "^7.6.3",
54
54
  "w3c-xmlserializer": "^5.0.0",
55
55
  "yaml": "^2.4.1",