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

conventional-changelog-preset-loader

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog-preset-loader - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

16

index.js

@@ -102,8 +102,8 @@ 'use strict'

} else
if (typeof presetOrParams === 'object' && typeof presetOrParams.name === 'string') {
preset = presetOrParams.name
params = presetOrParams
} else {
throw Error('Preset must be string or object with property `name`')
}
if (typeof presetOrParams === 'object' && typeof presetOrParams.name === 'string') {
preset = presetOrParams.name
params = presetOrParams
} else {
throw Error('Preset must be string or object with property `name`')
}

@@ -119,2 +119,6 @@ const presetNameVariants = resolvePresetNameVariants(preset)

if (typeof createPreset !== 'function') {
throw Error(`The "${preset}" preset does not export a function. Maybe you are using an old version of the preset. Please upgrade.`)
}
return params

@@ -121,0 +125,0 @@ ? await createPreset(params)

{
"name": "conventional-changelog-preset-loader",
"version": "4.0.0",
"version": "4.1.0",
"description": "Configuration preset loader for `conventional-changelog`.",

@@ -27,4 +27,4 @@ "repository": {

"conventional-changelog-angular": "^7.0.0",
"conventional-changelog-conventionalcommits": "^7.0.0"
"conventional-changelog-conventionalcommits": "^7.0.2"
}
}
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