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

conventional-changelog-sprucelabs

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog-sprucelabs - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

7

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]) => {
return { parserOpts, writerOpts }
})
'use strict'
const Q = require(`q`)
const conventionalChangelog = require(`./conventional-changelog`)

@@ -9,6 +8,6 @@ const parserOpts = require(`./parser-opts`)

module.exports = function () {
return Q.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts])
.spread((conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts) => {
return Promise.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts])
.then(([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts]) => {
return { conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts }
})
}
{
"name": "conventional-changelog-sprucelabs",
"version": "2.0.1",
"version": "2.0.2",
"description": "conventional-changelog for sprucelabs based on angular preset",

@@ -54,5 +54,4 @@ "main": "index.js",

"dependencies": {
"compare-func": "^2.0.0",
"q": "^1.5.1"
"compare-func": "^2.0.0"
}
}
'use strict'
const compareFunc = require(`compare-func`)
const Q = require(`q`)
const readFile = Q.denodeify(require(`fs`).readFile)
const resolve = require(`path`).resolve
module.exports = Q.all([
module.exports = Promise.all([
readFile(resolve(__dirname, `./templates/template.hbs`), `utf-8`),

@@ -14,3 +13,3 @@ readFile(resolve(__dirname, `./templates/header.hbs`), `utf-8`),

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

@@ -26,3 +25,3 @@

function getWriterOpts () {
function getWriterOpts() {
return {

@@ -29,0 +28,0 @@ transform: (commit, context) => {

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