@commitlint/parse
Advanced tools
Comparing version 7.3.1 to 7.5.0
@@ -6,4 +6,16 @@ # Change Log | ||
<a name="7.5.0"></a> | ||
# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31) | ||
### Bug Fixes | ||
* mark optional parameter with undefined ([#553](https://github.com/conventional-changelog/commitlint/issues/553)) ([6720284](https://github.com/conventional-changelog/commitlint/commit/6720284)) | ||
* replace all repository references with conventional changelog ([#561](https://github.com/conventional-changelog/commitlint/issues/561)) ([6c3afcd](https://github.com/conventional-changelog/commitlint/commit/6c3afcd)) | ||
<a name="7.3.1"></a> | ||
## [7.3.1](https://github.com/marionebl/commitlint/compare/v7.3.0...v7.3.1) (2019-01-11) | ||
## [7.3.1](https://github.com/conventional-changelog/commitlint/compare/v7.3.0...v7.3.1) (2019-01-11) | ||
@@ -16,3 +28,3 @@ | ||
<a name="7.3.0"></a> | ||
# [7.3.0](https://github.com/marionebl/commitlint/compare/v7.2.1...v7.3.0) (2019-01-11) | ||
# [7.3.0](https://github.com/conventional-changelog/commitlint/compare/v7.2.1...v7.3.0) (2019-01-11) | ||
@@ -22,3 +34,3 @@ | ||
* fall back to conventional commit-parser settings for missing keys ([#496](https://github.com/marionebl/commitlint/issues/496)) ([831a141](https://github.com/marionebl/commitlint/commit/831a141)), closes [#399](https://github.com/marionebl/commitlint/issues/399) | ||
* fall back to conventional commit-parser settings for missing keys ([#496](https://github.com/conventional-changelog/commitlint/issues/496)) ([831a141](https://github.com/conventional-changelog/commitlint/commit/831a141)), closes [#399](https://github.com/conventional-changelog/commitlint/issues/399) | ||
@@ -29,3 +41,3 @@ | ||
<a name="7.1.2"></a> | ||
## [7.1.2](https://github.com/marionebl/commitlint/compare/v7.1.1...v7.1.2) (2018-09-04) | ||
## [7.1.2](https://github.com/conventional-changelog/commitlint/compare/v7.1.1...v7.1.2) (2018-09-04) | ||
@@ -38,3 +50,3 @@ | ||
<a name="6.1.1"></a> | ||
## [6.1.1](https://github.com/marionebl/commitlint/compare/v6.1.0...v6.1.1) (2018-02-22) | ||
## [6.1.1](https://github.com/conventional-changelog/commitlint/compare/v6.1.0...v6.1.1) (2018-02-22) | ||
@@ -47,3 +59,3 @@ | ||
<a name="6.1.0"></a> | ||
# [6.1.0](https://github.com/marionebl/commitlint/compare/v6.0.5...v6.1.0) (2018-02-03) | ||
# [6.1.0](https://github.com/conventional-changelog/commitlint/compare/v6.0.5...v6.1.0) (2018-02-03) | ||
@@ -53,3 +65,3 @@ | ||
* **parse:** default to angular preset for empty parserOpts ([#265](https://github.com/marionebl/commitlint/issues/265)) ([ccb03b4](https://github.com/marionebl/commitlint/commit/ccb03b4)), closes [#262](https://github.com/marionebl/commitlint/issues/262) | ||
* **parse:** default to angular preset for empty parserOpts ([#265](https://github.com/conventional-changelog/commitlint/issues/265)) ([ccb03b4](https://github.com/conventional-changelog/commitlint/commit/ccb03b4)), closes [#262](https://github.com/conventional-changelog/commitlint/issues/262) | ||
@@ -60,3 +72,3 @@ | ||
<a name="6.0.4"></a> | ||
## [6.0.4](https://github.com/marionebl/commitlint/compare/v6.0.3...v6.0.4) (2018-01-31) | ||
## [6.0.4](https://github.com/conventional-changelog/commitlint/compare/v6.0.3...v6.0.4) (2018-01-31) | ||
@@ -69,3 +81,3 @@ | ||
<a name="6.0.3"></a> | ||
## [6.0.3](https://github.com/marionebl/commitlint/compare/v6.0.2...v6.0.3) (2018-01-31) | ||
## [6.0.3](https://github.com/conventional-changelog/commitlint/compare/v6.0.2...v6.0.3) (2018-01-31) | ||
@@ -78,3 +90,3 @@ | ||
<a name="6.0.2"></a> | ||
## [6.0.2](https://github.com/marionebl/commitlint/compare/v6.0.0...v6.0.2) (2018-01-12) | ||
## [6.0.2](https://github.com/conventional-changelog/commitlint/compare/v6.0.0...v6.0.2) (2018-01-12) | ||
@@ -87,3 +99,3 @@ | ||
<a name="6.0.0"></a> | ||
# [6.0.0](https://github.com/marionebl/commitlint/compare/v5.2.6...v6.0.0) (2018-01-09) | ||
# [6.0.0](https://github.com/conventional-changelog/commitlint/compare/v5.2.6...v6.0.0) (2018-01-09) | ||
@@ -90,0 +102,0 @@ |
@@ -20,3 +20,3 @@ 'use strict'; | ||
function parse(message, parser = _conventionalCommitsParser.sync, parserOpts) { | ||
function parse(message, parser = _conventionalCommitsParser.sync, parserOpts = undefined) { | ||
return new Promise(function ($return, $error) { | ||
@@ -23,0 +23,0 @@ var defaultOpts, parsed; |
@@ -227,3 +227,5 @@ 'use strict'; | ||
changelogOpts = $await_12; | ||
opts = Object.assign({}, changelogOpts.parserOpts, { commentChar: '#' }); | ||
opts = Object.assign({}, changelogOpts.parserOpts, { | ||
commentChar: '#' | ||
}); | ||
return Promise.resolve((0, _2.default)(message, undefined, opts)).then(function ($await_13) { | ||
@@ -253,3 +255,5 @@ try { | ||
changelogOpts = $await_14; | ||
opts = Object.assign({}, changelogOpts.parserOpts, { commentChar: '#' }); | ||
opts = Object.assign({}, changelogOpts.parserOpts, { | ||
commentChar: '#' | ||
}); | ||
return Promise.resolve((0, _2.default)(message, undefined, opts)).then(function ($await_15) { | ||
@@ -256,0 +260,0 @@ try { |
{ | ||
"name": "@commitlint/parse", | ||
"version": "7.3.1", | ||
"version": "7.5.0", | ||
"description": "Lint your commit messages", | ||
@@ -14,3 +14,2 @@ "main": "lib/index.js", | ||
"pkg": "pkg-check", | ||
"lint": "xo", | ||
"start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"", | ||
@@ -39,3 +38,2 @@ "test": "ava -c 4 --verbose", | ||
}, | ||
"xo": false, | ||
"engines": { | ||
@@ -46,8 +44,8 @@ "node": ">=4" | ||
"type": "git", | ||
"url": "https://github.com/marionebl/commitlint.git" | ||
"url": "https://github.com/conventional-changelog/commitlint.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/marionebl/commitlint/issues" | ||
"url": "https://github.com/conventional-changelog/commitlint/issues" | ||
}, | ||
"homepage": "https://github.com/marionebl/commitlint#readme", | ||
"homepage": "https://github.com/conventional-changelog/commitlint#readme", | ||
"keywords": [ | ||
@@ -65,7 +63,7 @@ "conventional-changelog", | ||
"devDependencies": { | ||
"@commitlint/test": "^7.3.1", | ||
"@commitlint/utils": "^7.3.1", | ||
"@commitlint/test": "^7.5.0", | ||
"@commitlint/utils": "^7.5.0", | ||
"ava": "0.22.0", | ||
"babel-cli": "6.26.0", | ||
"babel-preset-commitlint": "^7.3.1", | ||
"babel-preset-commitlint": "^7.5.0", | ||
"babel-register": "6.26.0", | ||
@@ -75,4 +73,3 @@ "concurrently": "3.5.1", | ||
"import-from": "2.1.0", | ||
"rimraf": "2.6.1", | ||
"xo": "0.20.3" | ||
"rimraf": "2.6.1" | ||
}, | ||
@@ -79,0 +76,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
32494
10
383