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

conventional-changelog-conventionalcommits-parseropts

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog-conventionalcommits-parseropts - npm Package Compare versions

Comparing version 4.1.2 to 4.2.0

2

package.json
{
"name": "conventional-changelog-conventionalcommits-parseropts",
"version": "4.1.2",
"version": "4.2.0",
"description": "conventional-changelog conventionalcommits.org preset",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -9,25 +9,18 @@ 'use strict'

/**
* Handlebar partials for various property substitutions based on commit context.
*/
const owner = '{{#if this.owner}}{{~this.owner}}{{else}}{{~@root.owner}}{{/if}}'
const host = '{{~@root.host}}'
const repository = '{{#if this.repository}}{{~this.repository}}{{else}}{{~@root.repository}}{{/if}}'
module.exports = function (config) {
config = defaultConfig(config)
const commitUrlFormat = expandTemplate(config.commitUrlFormat, {
host,
owner,
repository
host: '{{~@root.host}}',
owner: '{{~@root.owner}}',
repository: '{{~@root.repository}}'
})
const compareUrlFormat = expandTemplate(config.compareUrlFormat, {
host,
owner,
repository
host: '{{~@root.host}}',
owner: '{{~@root.owner}}',
repository: '{{~@root.repository}}'
})
const issueUrlFormat = expandTemplate(config.issueUrlFormat, {
host,
owner,
repository,
host: '{{~@root.host}}',
owner: '{{~@root.owner}}',
repository: '{{~@root.repository}}',
id: '{{this.issue}}'

@@ -34,0 +27,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