conventional-changelog-jquery
Advanced tools
Comparing version 3.0.6 to 3.0.10
@@ -6,2 +6,10 @@ # Change Log | ||
## [3.0.10](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-jquery@3.0.6...conventional-changelog-jquery@3.0.10) (2020-05-08) | ||
**Note:** Version bump only for package conventional-changelog-jquery | ||
## [3.0.5](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-jquery@3.0.4...conventional-changelog-jquery@3.0.5) (2019-10-02) | ||
@@ -8,0 +16,0 @@ |
'use strict' | ||
const Q = require(`q`) | ||
const parserOpts = require(`./parser-opts`) | ||
const writerOpts = require(`./writer-opts`) | ||
const Q = require('q') | ||
const parserOpts = require('./parser-opts') | ||
const writerOpts = require('./writer-opts') | ||
@@ -7,0 +7,0 @@ module.exports = Q.all([parserOpts, writerOpts]) |
'use strict' | ||
const parserOpts = require(`./parser-opts`) | ||
const parserOpts = require('./parser-opts') | ||
@@ -17,3 +17,3 @@ module.exports = { | ||
level = 0 | ||
} else if (commit.type === `feat`) { | ||
} else if (commit.type === 'feat') { | ||
features += 1 | ||
@@ -20,0 +20,0 @@ if (level === 2) { |
10
index.js
'use strict' | ||
const Q = require(`q`) | ||
const conventionalChangelog = require(`./conventional-changelog`) | ||
const parserOpts = require(`./parser-opts`) | ||
const recommendedBumpOpts = require(`./conventional-recommended-bump`) | ||
const writerOpts = require(`./writer-opts`) | ||
const Q = require('q') | ||
const conventionalChangelog = require('./conventional-changelog') | ||
const parserOpts = require('./parser-opts') | ||
const recommendedBumpOpts = require('./conventional-recommended-bump') | ||
const writerOpts = require('./writer-opts') | ||
@@ -8,0 +8,0 @@ module.exports = Q.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts]) |
{ | ||
"name": "conventional-changelog-jquery", | ||
"version": "3.0.6", | ||
"version": "3.0.10", | ||
"description": "conventional-changelog jquery preset", | ||
@@ -20,3 +20,3 @@ "main": "index.js", | ||
"engines": { | ||
"node": ">=6.9.0" | ||
"node": ">=10" | ||
}, | ||
@@ -39,3 +39,3 @@ "license": "ISC", | ||
}, | ||
"gitHead": "7c1c8ad819b05c12c7d58c92ac386b45ada6f6a8" | ||
"gitHead": "83643c5a0d2c4d7c9ba14cbf990ffbc577a51e8c" | ||
} |
'use strict' | ||
const Q = require(`q`) | ||
const readFile = Q.denodeify(require(`fs`).readFile) | ||
const resolve = require(`path`).resolve | ||
const Q = require('q') | ||
const readFile = Q.denodeify(require('fs').readFile) | ||
const resolve = require('path').resolve | ||
module.exports = Q.all([ | ||
readFile(resolve(__dirname, `./templates/template.hbs`), `utf-8`), | ||
readFile(resolve(__dirname, `./templates/header.hbs`), `utf-8`), | ||
readFile(resolve(__dirname, `./templates/commit.hbs`), `utf-8`) | ||
readFile(resolve(__dirname, './templates/template.hbs'), 'utf-8'), | ||
readFile(resolve(__dirname, './templates/header.hbs'), 'utf-8'), | ||
readFile(resolve(__dirname, './templates/commit.hbs'), 'utf-8') | ||
]) | ||
@@ -25,7 +25,7 @@ .spread((template, header, commit) => { | ||
transform: (commit) => { | ||
if (!commit.component || typeof commit.component !== `string`) { | ||
if (!commit.component || typeof commit.component !== 'string') { | ||
return | ||
} | ||
if (typeof commit.hash === `string`) { | ||
if (typeof commit.hash === 'string') { | ||
commit.shortHash = commit.hash.substring(0, 7) | ||
@@ -35,4 +35,4 @@ } | ||
commit.references.forEach(function (reference) { | ||
if (reference.prefix === `#`) { | ||
reference.originalIssueTracker = `https://bugs.jquery.com/ticket/` | ||
if (reference.prefix === '#') { | ||
reference.originalIssueTracker = 'https://bugs.jquery.com/ticket/' | ||
} | ||
@@ -43,6 +43,6 @@ }) | ||
}, | ||
groupBy: `component`, | ||
commitGroupsSort: `title`, | ||
commitsSort: [`component`, `shortDesc`] | ||
groupBy: 'component', | ||
commitGroupsSort: 'title', | ||
commitsSort: ['component', 'shortDesc'] | ||
} | ||
} |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
17343
1
0