commit-and-tag-version 12.5.1 → 12.5.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/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.5.2](https://github.com/absolute-version/commit-and-tag-version/compare/v12.5.1...v12.5.2) (2025-07-30)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Correct use of fs, so we no longer emit a deprecation warning for `fs.F_OK` ([7fe66bb](https://github.com/absolute-version/commit-and-tag-version/commit/7fe66bb590103a593ecacabeb8effb8716862517)), closes [#240](https://github.com/absolute-version/commit-and-tag-version/issues/240)
11
+
5
12
  ## [12.5.1](https://github.com/absolute-version/commit-and-tag-version/compare/v12.5.0...v12.5.1) (2025-04-09)
6
13
 
7
14
 
@@ -102,7 +102,7 @@ function outputChangelog(args, newVersion) {
102
102
 
103
103
  function createIfMissing(args) {
104
104
  try {
105
- fs.accessSync(args.infile, fs.F_OK);
105
+ fs.accessSync(args.infile, fs.constants.F_OK);
106
106
  } catch (err) {
107
107
  if (err.code === 'ENOENT') {
108
108
  checkpoint(args, 'created %s', [args.infile]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commit-and-tag-version",
3
- "version": "12.5.1",
3
+ "version": "12.5.2",
4
4
  "description": "replacement for `npm version` with automatic CHANGELOG generation",
5
5
  "bin": "bin/cli.js",
6
6
  "scripts": {
@@ -51,7 +51,7 @@
51
51
  "find-up": "^5.0.0",
52
52
  "git-semver-tags": "^5.0.1",
53
53
  "jsdom": "^25.0.1",
54
- "semver": "^7.6.3",
54
+ "semver": "^7.7.2",
55
55
  "w3c-xmlserializer": "^5.0.0",
56
56
  "yaml": "^2.6.0",
57
57
  "yargs": "^17.7.2"