Socket
Socket
Sign inDemoInstall

conventional-changelog-atom

Package Overview
Dependencies
1
Maintainers
7
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.3 to 2.0.7

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [2.0.7](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-atom@2.0.3...conventional-changelog-atom@2.0.7) (2020-05-08)
**Note:** Version bump only for package conventional-changelog-atom
## [2.0.2](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-atom@2.0.1...conventional-changelog-atom@2.0.2) (2019-10-02)

@@ -8,0 +16,0 @@

6

conventional-changelog.js
'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) {

'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 = presetOpts

{
"name": "conventional-changelog-atom",
"version": "2.0.3",
"version": "2.0.7",
"description": "conventional-changelog atom 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"
}

@@ -6,5 +6,5 @@ 'use strict'

headerCorrespondence: [
`emoji`,
`shortDesc`
'emoji',
'shortDesc'
]
}
'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,5 +25,3 @@ .spread((template, header, commit) => {

transform: (commit) => {
let emojiLength
if (!commit.emoji || typeof commit.emoji !== `string`) {
if (!commit.emoji || typeof commit.emoji !== 'string') {
return

@@ -33,9 +31,9 @@ }

commit.emoji = commit.emoji.substring(0, 72)
emojiLength = commit.emoji.length
const emojiLength = commit.emoji.length
if (typeof commit.hash === `string`) {
if (typeof commit.hash === 'string') {
commit.shortHash = commit.hash.substring(0, 7)
}
if (typeof commit.shortDesc === `string`) {
if (typeof commit.shortDesc === 'string') {
commit.shortDesc = commit.shortDesc.substring(0, 72 - emojiLength)

@@ -46,6 +44,6 @@ }

},
groupBy: `emoji`,
commitGroupsSort: `title`,
commitsSort: [`emoji`, `shortDesc`]
groupBy: 'emoji',
commitGroupsSort: 'title',
commitsSort: ['emoji', 'shortDesc']
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc