version-from-git 1.1.3-main.202512240308.e36305c → 1.1.3-main.202512240313.452912f

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.
@@ -5,8 +5,8 @@ import chalk from "chalk";
5
5
  import { program } from "commander";
6
6
  import spawn from "cross-spawn";
7
7
  import { branch as gitBranch, long as gitLong, short as gitShort } from "git-rev-sync";
8
- import { join, resolve } from "node:path";
9
- import { fileURLToPath } from "node:url";
8
+ import { join, resolve } from "path";
9
+ import { fileURLToPath } from "url";
10
10
  import { onErrorResumeNext } from "on-error-resume-next/async";
11
11
  import { readPackage } from "read-pkg";
12
12
  import { major, minor, patch } from "semver";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "version-from-git",
3
- "version": "1.1.3-main.202512240308.e36305c",
3
+ "version": "1.1.3-main.202512240313.452912f",
4
4
  "description": "Bump package.json version to pre-release tagged with Git branch and short commit hash, 1.0.0-main.1a2b3c4",
5
5
  "files": [
6
6
  "./*.js",
@@ -47,22 +47,22 @@
47
47
  },
48
48
  "homepage": "https://github.com/compulim/version-from-git#readme",
49
49
  "dependencies": {
50
- "chalk": "^5.3.0",
51
- "commander": "^12.1.0",
52
- "cross-spawn": "^7.0.3",
50
+ "chalk": "^5.6.2",
51
+ "commander": "^14.0.2",
52
+ "cross-spawn": "^7.0.6",
53
53
  "git-rev-sync": "^3.0.2",
54
- "on-error-resume-next": "^2.0.1",
55
- "read-pkg": "^9.0.1",
56
- "semver": "^7.6.3",
57
- "version-from-git": "^1.1.3-main.202512240308.e36305c"
54
+ "on-error-resume-next": "^2.0.3",
55
+ "read-pkg": "^10.0.0",
56
+ "semver": "^7.7.3",
57
+ "version-from-git": "^1.1.3-main.202512240313.452912f"
58
58
  },
59
59
  "devDependencies": {
60
- "@tsconfig/recommended": "^1.0.7",
61
- "@tsconfig/strictest": "^2.0.5",
60
+ "@tsconfig/recommended": "^1.0.13",
61
+ "@tsconfig/strictest": "^2.0.8",
62
62
  "@types/cross-spawn": "^6.0.6",
63
63
  "@types/git-rev-sync": "^2.0.2",
64
- "@types/semver": "^7.5.8",
65
- "publint": "^0.2.11",
66
- "tsup": "^8.3.0"
64
+ "@types/semver": "^7.7.1",
65
+ "publint": "^0.3.16",
66
+ "tsup": "^8.5.1"
67
67
  }
68
68
  }