diff --git a/index.js b/index.js index 0b6b7ef..d0c29b7 100644 --- a/index.js +++ b/index.js @@ -5,7 +5,7 @@ import conventionalRecommendedBump from 'conventional-recommended-bump'; import conventionalChangelog from 'conventional-changelog'; import semver from 'semver'; import concat from 'concat-stream'; -import gitSemverTags from 'git-semver-tags'; +import { getSemverTags } from 'git-semver-tags'; class ConventionalChangelog extends Plugin { static disablePlugin(options) { @@ -51,7 +51,7 @@ class ConventionalChangelog extends Plugin { return semver.inc(latestVersion, `pre${releaseType}`, preReleaseId); } - const tags = await gitSemverTags({ + const tags = await getSemverTags({ lernaTags: !!options.lernaPackage, package: options.lernaPackage, tagPrefix: options.tagPrefix, diff --git a/package.json b/package.json index 677d587..4af0c2f 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "concat-stream": "^2.0.0", "conventional-changelog": "^5.1.0", "conventional-recommended-bump": "^9.0.0", - "git-semver-tags": "^7.0.1", + "git-semver-tags": "^8.0.0", "semver": "^7.6.3" }, "devDependencies": { @@ -45,7 +45,7 @@ "installed-check": "^9.3.0", "release-it": "^17.6.0", "shelljs": "^0.8.5", - "sinon": "^18.0.0", + "sinon": "^18.0.1", "tmp": "^0.2.3" }, "peerDependencies": {