Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

conventional-changelog-atom

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog-atom - npm Package Compare versions

Comparing version 2.0.8 to 3.0.0

10

conventional-changelog.js
'use strict'
const Q = require('q')
const parserOpts = require('./parser-opts')
const writerOpts = require('./writer-opts')
module.exports = Q.all([parserOpts, writerOpts])
.spread((parserOpts, writerOpts) => {
return { parserOpts, writerOpts }
})
module.exports = Promise.all([parserOpts, writerOpts])
.then(([parserOpts, writerOpts]) => ({
parserOpts,
writerOpts
}))
'use strict'
const Q = require('q')
const conventionalChangelog = require('./conventional-changelog')

@@ -11,6 +10,11 @@ const parserOpts = require('./parser-opts')

function presetOpts (cb) {
Q.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts])
.spread((conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts) => {
cb(null, { conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts })
Promise.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts])
.then(([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts]) => {
cb(null, {
conventionalChangelog,
parserOpts,
recommendedBumpOpts,
writerOpts
})
})
}
{
"name": "conventional-changelog-atom",
"version": "2.0.8",
"version": "3.0.0",
"description": "conventional-changelog atom preset",
"main": "index.js",
"scripts": {
"test-windows": "echo 'make work on windows'"
},
"repository": {

@@ -20,3 +17,3 @@ "type": "git",

"engines": {
"node": ">=10"
"node": ">=14"
},

@@ -36,6 +33,5 @@ "license": "ISC",

"homepage": "https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-atom#readme",
"dependencies": {
"q": "^1.5.1"
},
"gitHead": "cc567b98facf71315f4b1620d81ce01d155efaca"
}
"scripts": {
"test-windows": "echo 'make work on windows'"
}
}

@@ -1,2 +0,2 @@

# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coveralls-image]][coveralls-url]
# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coverage-image]][coverage-url]

@@ -40,3 +40,3 @@ > [conventional-changelog](https://github.com/ajoslin/conventional-changelog) [atom](https://github.com/atom/atom) preset

[daviddm-url]: https://david-dm.org/stevemao/conventional-changelog-atom
[coveralls-image]: https://coveralls.io/repos/stevemao/conventional-changelog-atom/badge.svg
[coveralls-url]: https://coveralls.io/r/stevemao/conventional-changelog-atom
[coverage-image]: https://coveralls.io/repos/github/conventional-changelog/conventional-changelog/badge.svg?branch=master
[coverage-url]: https://coveralls.io/github/conventional-changelog/conventional-changelog?branch=master
'use strict'
const Q = require('q')
const readFile = Q.denodeify(require('fs').readFile)
const resolve = require('path').resolve
const { readFile } = require('fs').promises
const { resolve } = require('path')
module.exports = Q.all([
module.exports = Promise.all([
readFile(resolve(__dirname, './templates/template.hbs'), 'utf-8'),

@@ -12,3 +11,3 @@ readFile(resolve(__dirname, './templates/header.hbs'), 'utf-8'),

])
.spread((template, header, commit) => {
.then(([template, header, commit]) => {
const writerOpts = getWriterOpts()

@@ -15,0 +14,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc