@lmc-eu/conventional-changelog-lmc-bitbucket
Advanced tools
Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "@lmc-eu/conventional-changelog-lmc-bitbucket", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "conventional-changelog LMC preset for BitBucket", | ||
@@ -33,11 +33,10 @@ "keywords": [ | ||
"dependencies": { | ||
"@lmc-eu/conventional-changelog-lmc": "^2.0.0", | ||
"q": "^1.5.1" | ||
"@lmc-eu/conventional-changelog-lmc": "^2.0.1" | ||
}, | ||
"devDependencies": { | ||
"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": "3.2.4", | ||
"jest-extended": "4.0.2", | ||
"shelljs": "0.8.5", | ||
@@ -55,3 +54,3 @@ "through2": "4.0.2" | ||
}, | ||
"gitHead": "36a2fd7a4c8d4024c8d6e572481e71d3fa3af53f" | ||
"gitHead": "ea7a6714175c795627aa6fe146d81dfe21f97ab6" | ||
} |
@@ -1,7 +0,6 @@ | ||
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'), | ||
@@ -11,3 +10,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; | ||
@@ -14,0 +13,0 @@ writerOpts.headerPartial = header; |
@@ -1,10 +0,9 @@ | ||
const Q = require(`q`); | ||
const conventionalChangelog = require(`./conventional-changelog`); | ||
const { parserOpts, writerOpts, recommendedBumpOpts } = require('@lmc-eu/conventional-changelog-lmc'); | ||
module.exports = Q.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts]).spread( | ||
module.exports = Promise.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts]).then( | ||
// Using same configuration as other configurations | ||
// Did not find any documentation whether the output must be in this format | ||
// eslint-disable-next-line no-shadow | ||
(conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts) => ({ | ||
([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts]) => ({ | ||
conventionalChangelog, | ||
@@ -11,0 +10,0 @@ parserOpts, |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
1
2
6795
31