@lmc-eu/conventional-changelog-lmc
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "@lmc-eu/conventional-changelog-lmc", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "conventional-changelog LMC parser and writer", | ||
@@ -34,6 +34,6 @@ "keywords": [ | ||
"better-than-before": "1.0.0", | ||
"conventional-changelog-core": "4.2.4", | ||
"conventional-changelog-core": "6.0.0", | ||
"git-dummy-commit": "1.3.0", | ||
"jest": "29.7.0", | ||
"jest-extended": "0.11.5", | ||
"jest-extended": "4.0.2", | ||
"shelljs": "0.8.5", | ||
@@ -51,3 +51,3 @@ "through2": "4.0.2" | ||
}, | ||
"gitHead": "36a2fd7a4c8d4024c8d6e572481e71d3fa3af53f" | ||
"gitHead": "ea7a6714175c795627aa6fe146d81dfe21f97ab6" | ||
} |
@@ -22,8 +22,7 @@ # @lmc-eu/conventional-changelog-lmc | ||
```js | ||
const Q = require('q'); | ||
const readFile = Q.denodeify(require('fs').readFile); | ||
const { readFile } = require('fs').promises; | ||
const { resolve } = require('path'); | ||
const { parserOpts, writerOpts } = require('@lmc-eu/conventional-changelog-lmc'); | ||
module.exports = Q.all([ | ||
module.exports = Promise.all([ | ||
readFile(resolve(__dirname, 'templates/template.hbs'), 'utf-8'), | ||
@@ -33,3 +32,3 @@ readFile(resolve(__dirname, 'templates/header.hbs'), 'utf-8'), | ||
readFile(resolve(__dirname, 'templates/footer.hbs'), 'utf-8'), | ||
]).spread((template, header, commit, footer) => { | ||
]).then(([template, header, commit, footer]) => { | ||
writerOpts.mainTemplate = template; | ||
@@ -36,0 +35,0 @@ writerOpts.headerPartial = header; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8359
43