Skip to content

Commit cebbd40

Browse files
committed
Upgrade keep-a-changelog to latest. Add explicit semver dep.
1 parent 9a48744 commit cebbd40

File tree

3 files changed

+55
-75
lines changed

3 files changed

+55
-75
lines changed

lib/resource-types/keep-a-changelog.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
"use strict";
2-
import keepAChangelog from 'keep-a-changelog';
2+
import { parser, Release } from 'keep-a-changelog';
33
import fs from 'fs';
44
import stringFormat from 'string-format';
5-
const parser = keepAChangelog.parser;
6-
const Release = keepAChangelog.Release;
75

86
/**
97
* Set a release version number to the latest release within the changelog, with date set to current date.

package-lock.json

Lines changed: 52 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@
4747
"dot-prop": "^10.1.0",
4848
"hcl2-parser": "^1.0.3",
4949
"js-yaml": "^4.1.0",
50-
"keep-a-changelog": "^0.10.4",
50+
"keep-a-changelog": "^2.7.1",
5151
"lodash": "^4.17.21",
5252
"@kba/makefile-parser": "^0.0.6",
53+
"semver": "^7.7.3",
5354
"simple-git": "^3.28.0",
5455
"string-format": "^2.0.0",
5556
"@iarna/toml": "^2.2.5"

0 commit comments

Comments
 (0)