conventional-recommended-bump
Advanced tools
Comparing version 4.0.4 to 4.1.1
@@ -6,2 +6,30 @@ # Change Log | ||
## [4.1.1](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-recommended-bump@4.1.0...conventional-recommended-bump@4.1.1) (2019-04-11) | ||
### Bug Fixes | ||
* preset load error message should handle objects ([fb4a8d1](https://github.com/conventional-changelog/conventional-changelog/commit/fb4a8d1)) | ||
# [4.1.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-recommended-bump@4.0.4...conventional-recommended-bump@4.1.0) (2019-04-10) | ||
### Bug Fixes | ||
* **deps:** update dependency concat-stream to v2 ([#401](https://github.com/conventional-changelog/conventional-changelog/issues/401)) ([4c09bfc](https://github.com/conventional-changelog/conventional-changelog/commit/4c09bfc)) | ||
### Features | ||
* conventionalcommits preset, preMajor config option ([#434](https://github.com/conventional-changelog/conventional-changelog/issues/434)) ([dde12fe](https://github.com/conventional-changelog/conventional-changelog/commit/dde12fe)) | ||
* **conventional-recommended-bump:** send options to whatBump ([#409](https://github.com/conventional-changelog/conventional-changelog/issues/409)) ([508d6d6](https://github.com/conventional-changelog/conventional-changelog/commit/508d6d6)), closes [/github.com/lerna/lerna/blob/a6733a2b864cf9d082d080bbd3bfedb04e59b0ab/core/conventional-commits/lib/recommend-version.js#L13-L21](https://github.com//github.com/lerna/lerna/blob/a6733a2b864cf9d082d080bbd3bfedb04e59b0ab/core/conventional-commits/lib/recommend-version.js/issues/L13-L21) | ||
## [4.0.4](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-recommended-bump@4.0.3...conventional-recommended-bump@4.0.4) (2018-11-01) | ||
@@ -8,0 +36,0 @@ |
@@ -32,3 +32,8 @@ 'use strict' | ||
} catch (err) { | ||
return cb(new Error(`Unable to load the "${options.preset}" preset package. Please make sure it's installed.`)) | ||
if (err.message === 'does not exist') { | ||
const preset = typeof options.preset === 'object' ? options.preset.name : options.preset | ||
return cb(new Error(`Unable to load the "${preset}" preset package. Please make sure it's installed.`)) | ||
} else { | ||
return cb(err) | ||
} | ||
} | ||
@@ -77,3 +82,3 @@ } | ||
let result = whatBump(commits) | ||
let result = whatBump(commits, options) | ||
@@ -80,0 +85,0 @@ if (result && result.level != null) { |
{ | ||
"name": "conventional-recommended-bump", | ||
"version": "4.0.4", | ||
"version": "4.1.1", | ||
"description": "Get a recommended version bump based on conventional commits", | ||
@@ -34,6 +34,6 @@ "bugs": { | ||
"dependencies": { | ||
"concat-stream": "^1.6.0", | ||
"conventional-changelog-preset-loader": "^2.0.2", | ||
"conventional-commits-filter": "^2.0.1", | ||
"conventional-commits-parser": "^3.0.1", | ||
"concat-stream": "^2.0.0", | ||
"conventional-changelog-preset-loader": "^2.1.1", | ||
"conventional-commits-filter": "^2.0.2", | ||
"conventional-commits-parser": "^3.0.2", | ||
"git-raw-commits": "2.0.0", | ||
@@ -48,3 +48,3 @@ "git-semver-tags": "^2.0.2", | ||
"bin": "cli.js", | ||
"gitHead": "da729f68f9dc581623deb587c705ef65d189a9f4" | ||
"gitHead": "c0314ad9cd0b30d456a65385b70988cd5f4b3410" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28260
189
+ Addedconcat-stream@2.0.0(transitive)
- Removedconcat-stream@1.6.2(transitive)
Updatedconcat-stream@^2.0.0