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

@lerna/conventional-commits

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/conventional-commits - npm Package Compare versions

Comparing version 3.11.0 to 3.12.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [3.12.0](https://github.com/lerna/lerna/compare/v3.11.1...v3.12.0) (2019-02-14)
### Bug Fixes
* **conventional-commits:** Improve logging during preset resolution ([d4a16a5](https://github.com/lerna/lerna/commit/d4a16a5))
# [3.11.0](https://github.com/lerna/lerna/compare/v3.10.8...v3.11.0) (2019-02-08)

@@ -8,0 +19,0 @@

11

lib/get-changelog-config.js

@@ -17,5 +17,9 @@ "use strict";

function resolveConfigPromise(presetPackageName) {
log.verbose("getChangelogConfig", "Attempting to resolve preset %j", presetPackageName);
// eslint-disable-next-line global-require, import/no-dynamic-require
let config = require(presetPackageName);
log.info("getChangelogConfig", "Successfully resolved preset %j", presetPackageName);
// legacy presets export an errback function instead of Q.all()

@@ -38,2 +42,5 @@ if (isFunction(config)) {

log.verbose("getChangelogConfig", "using preset %j", presetPackageName);
log.silly("npa", parsed);
if (parsed.type === "directory") {

@@ -63,3 +70,3 @@ if (parsed.raw[0] === "@") {

log.verbose("getChangelogConfig", err.message);
log.info("getChangelogConfig", `Auto-prefixing conventional-commits preset '${changelogPreset}'`);
log.info("getChangelogConfig", "Auto-prefixing conventional-changelog preset %j", changelogPreset);

@@ -92,3 +99,3 @@ // probably a deep shorthand subpath :P

"EPRESET",
`Unable to load conventional-commits preset '${changelogPreset}'${
`Unable to load conventional-changelog preset '${changelogPreset}'${
changelogPreset !== presetPackageName ? ` (${presetPackageName})` : ""

@@ -95,0 +102,0 @@ }`

4

package.json
{
"name": "@lerna/conventional-commits",
"version": "3.11.0",
"version": "3.12.0",
"description": "Lerna's internal interface to conventional-changelog and friends",

@@ -45,3 +45,3 @@ "keywords": [

},
"gitHead": "45a05acf2d52a46f553fc1efadf9a32312aca82b"
"gitHead": "e2cc514e55a4b520258769a80648b42c45eea9f4"
}
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