Socket
Socket
Sign inDemoInstall

conventional-changelog-ember

Package Overview
Dependencies
0
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.9 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,14 @@ const parserOpts = require('./parser-opts')

function presetOpts (cb) {
Q.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts])
.spread((conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts) => {
cb(null, { gitRawCommitsOpts: { noMerges: null }, conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts })
Promise.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts])
.then(([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts]) => {
cb(null, {
gitRawCommitsOpts: {
noMerges: null
},
conventionalChangelog,
parserOpts,
recommendedBumpOpts,
writerOpts
})
})
}
{
"name": "conventional-changelog-ember",
"version": "2.0.9",
"version": "3.0.0",
"description": "conventional-changelog ember preset",
"main": "index.js",
"scripts": {
"test-windows": "mocha --timeout 30000"
},
"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-ember#readme",
"dependencies": {
"q": "^1.5.1"
},
"gitHead": "cc567b98facf71315f4b1620d81ce01d155efaca"
}
"scripts": {
"test-windows": "mocha --timeout 30000"
}
}

@@ -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]

@@ -62,3 +62,3 @@ > [conventional-changelog](https://github.com/ajoslin/conventional-changelog) [ember](https://github.com/emberjs/ember.js) preset

[daviddm-url]: https://david-dm.org/stevemao/conventional-changelog-ember
[coveralls-image]: https://coveralls.io/repos/stevemao/conventional-changelog-ember/badge.svg
[coveralls-url]: https://coveralls.io/r/stevemao/conventional-changelog-ember
[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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc