diff --git a/CHANGELOG.md b/CHANGELOG.md index 81c78b2..c4fba97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +# [3.6.0](https://github.com/TriPSs/conventional-changelog-action/compare/v3.5.0...v3.6.0) (2020-12-15) + + +### Bug Fixes + +* Add pre-changelog-generation input in README ([46a1a68](https://github.com/TriPSs/conventional-changelog-action/commit/46a1a68683081dbea9a2545e842caf17bf0ddab1)) +* Fixed awaits missing ([35206c5](https://github.com/TriPSs/conventional-changelog-action/commit/35206c51048844fb3e645398b5c9a0f692f8bb56)) +* Fixed command output empty ([b985fd6](https://github.com/TriPSs/conventional-changelog-action/commit/b985fd640ab6d046da88a5817b9f3437d67696f5)) +* Fixed isShallow not working correctly anymore ([d68d2f2](https://github.com/TriPSs/conventional-changelog-action/commit/d68d2f2010d17f69267400f329baee761a8e8428)) +* Fixed silent git errors [#74](https://github.com/TriPSs/conventional-changelog-action/issues/74) ([7c35f3c](https://github.com/TriPSs/conventional-changelog-action/commit/7c35f3c2863828a71323a49e16c5542c789591f9)) +* Fixes for pre changelog generation ([484cf10](https://github.com/TriPSs/conventional-changelog-action/commit/484cf104714fbe499d83bd2818038e8c14e8ce98)) +* Only run ci on PRs to master ([9f0d3d7](https://github.com/TriPSs/conventional-changelog-action/commit/9f0d3d7508a2dd13f6289944ddae48aca0510d6d)) + + +### Features + +* Added more logging ([d46daa9](https://github.com/TriPSs/conventional-changelog-action/commit/d46daa9a537c6d12a6ec4d859e55ef76372a15a8)) + + + # [3.5.0](https://github.com/TriPSs/conventional-changelog-action/compare/v3.4.1...v3.5.0) (2020-12-14) @@ -50,18 +70,3 @@ -# [3.2.0](https://github.com/TriPSs/conventional-changelog-action/compare/v3.1.2...v3.2.0) (2020-08-03) - - -### Bug Fixes - -* Test name ([f66f6a2](https://github.com/TriPSs/conventional-changelog-action/commit/f66f6a29a71c9b5ee636cef9ee022f127da37304)) - - -### Features - -* Added 'multiple-files' test workflow ([bb40f54](https://github.com/TriPSs/conventional-changelog-action/commit/bb40f54b50fdae3a1a084b597370e7e0f95c28ab)) -* Added support for comma-separated version files ([3ba65fd](https://github.com/TriPSs/conventional-changelog-action/commit/3ba65fd7f7bff6e1c60178d49632067c6a8d6bfa)) - - - diff --git a/node_modules/conventional-changelog-atom/CHANGELOG.md b/node_modules/conventional-changelog-atom/CHANGELOG.md index 4341deb..b586bb1 100644 --- a/node_modules/conventional-changelog-atom/CHANGELOG.md +++ b/node_modules/conventional-changelog-atom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.8](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-atom@2.0.7...conventional-changelog-atom@2.0.8) (2020-11-05) + +**Note:** Version bump only for package conventional-changelog-atom + + + + + ## [2.0.7](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-atom@2.0.3...conventional-changelog-atom@2.0.7) (2020-05-08) **Note:** Version bump only for package conventional-changelog-atom diff --git a/node_modules/conventional-changelog-atom/package.json b/node_modules/conventional-changelog-atom/package.json index a7001d4..4cefa1b 100644 --- a/node_modules/conventional-changelog-atom/package.json +++ b/node_modules/conventional-changelog-atom/package.json @@ -1,6 +1,6 @@ { "name": "conventional-changelog-atom", - "version": "2.0.7", + "version": "2.0.8", "description": "conventional-changelog atom preset", "main": "index.js", "scripts": { @@ -35,9 +35,9 @@ "dependencies": { "q": "^1.5.1" }, - "gitHead": "83643c5a0d2c4d7c9ba14cbf990ffbc577a51e8c" + "gitHead": "cc567b98facf71315f4b1620d81ce01d155efaca" -,"_resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-2.0.7.tgz" -,"_integrity": "sha512-7dOREZwzB+tCEMjRTDfen0OHwd7vPUdmU0llTy1eloZgtOP4iSLVzYIQqfmdRZEty+3w5Jz+AbhfTJKoKw1JeQ==" -,"_from": "conventional-changelog-atom@2.0.7" +,"_resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-2.0.8.tgz" +,"_integrity": "sha512-xo6v46icsFTK3bb7dY/8m2qvc8sZemRgdqLb/bjpBsH2UyOS8rKNTgcb5025Hri6IpANPApbXMg15QLb1LJpBw==" +,"_from": "conventional-changelog-atom@2.0.8" } \ No newline at end of file diff --git a/node_modules/conventional-changelog-codemirror/CHANGELOG.md b/node_modules/conventional-changelog-codemirror/CHANGELOG.md index 2d96cfb..9a6975e 100644 --- a/node_modules/conventional-changelog-codemirror/CHANGELOG.md +++ b/node_modules/conventional-changelog-codemirror/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.8](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-codemirror@2.0.7...conventional-changelog-codemirror@2.0.8) (2020-11-05) + +**Note:** Version bump only for package conventional-changelog-codemirror + + + + + ## [2.0.7](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-codemirror@2.0.3...conventional-changelog-codemirror@2.0.7) (2020-05-08) **Note:** Version bump only for package conventional-changelog-codemirror diff --git a/node_modules/conventional-changelog-codemirror/index.js b/node_modules/conventional-changelog-codemirror/index.js index ee8a99f..cff26cd 100644 --- a/node_modules/conventional-changelog-codemirror/index.js +++ b/node_modules/conventional-changelog-codemirror/index.js @@ -1,5 +1,5 @@ 'use strict' -var Q = require('q') +const Q = require('q') const conventionalChangelog = require('./conventional-changelog') const parserOpts = require('./parser-opts') const recommendedBumpOpts = require('./conventional-recommended-bump') diff --git a/node_modules/conventional-changelog-codemirror/package.json b/node_modules/conventional-changelog-codemirror/package.json index 3a23101..add9baa 100644 --- a/node_modules/conventional-changelog-codemirror/package.json +++ b/node_modules/conventional-changelog-codemirror/package.json @@ -1,6 +1,6 @@ { "name": "conventional-changelog-codemirror", - "version": "2.0.7", + "version": "2.0.8", "description": "conventional-changelog CodeMirror preset", "main": "index.js", "scripts": { @@ -35,9 +35,9 @@ "dependencies": { "q": "^1.5.1" }, - "gitHead": "83643c5a0d2c4d7c9ba14cbf990ffbc577a51e8c" + "gitHead": "cc567b98facf71315f4b1620d81ce01d155efaca" -,"_resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.7.tgz" -,"_integrity": "sha512-Oralk1kiagn3Gb5cR5BffenWjVu59t/viE6UMD/mQa1hISMPkMYhJIqX+CMeA1zXgVBO+YHQhhokEj99GP5xcg==" -,"_from": "conventional-changelog-codemirror@2.0.7" +,"_resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.8.tgz" +,"_integrity": "sha512-z5DAsn3uj1Vfp7po3gpt2Boc+Bdwmw2++ZHa5Ak9k0UKsYAO5mH1UBTN0qSCuJZREIhX6WU4E1p3IW2oRCNzQw==" +,"_from": "conventional-changelog-codemirror@2.0.8" } \ No newline at end of file diff --git a/node_modules/conventional-changelog-core/CHANGELOG.md b/node_modules/conventional-changelog-core/CHANGELOG.md index 00b5956..e49121e 100644 --- a/node_modules/conventional-changelog-core/CHANGELOG.md +++ b/node_modules/conventional-changelog-core/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.2.1](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-core@4.2.0...conventional-changelog-core@4.2.1) (2020-11-05) + + +### Bug Fixes + +* **deps:** update dependency normalize-package-data to v3 ([#687](https://github.com/conventional-changelog/conventional-changelog/issues/687)) ([7b6ec0a](https://github.com/conventional-changelog/conventional-changelog/commit/7b6ec0add30915bc1569f82a007bb4d1d6df8e3e)) +* **deps:** update dependency through2 to v4 ([#657](https://github.com/conventional-changelog/conventional-changelog/issues/657)) ([7ae618c](https://github.com/conventional-changelog/conventional-changelog/commit/7ae618c81491841e5b1d796d3933aac0c54bc312)) + + + + + # [4.2.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-core@4.1.8...conventional-changelog-core@4.2.0) (2020-08-12) diff --git a/node_modules/conventional-changelog-core/index.js b/node_modules/conventional-changelog-core/index.js index 8c253dc..a7eb756 100644 --- a/node_modules/conventional-changelog-core/index.js +++ b/node_modules/conventional-changelog-core/index.js @@ -13,14 +13,14 @@ const mergeConfig = require('./lib/merge-config') function conventionalChangelog (options, context, gitRawCommitsOpts, parserOpts, writerOpts, gitRawExecOpts) { writerOpts = writerOpts || {} - var readable = new stream.Readable({ + const readable = new stream.Readable({ objectMode: writerOpts.includeDetails }) readable._read = function () { } - var commitsErrorThrown = false + let commitsErrorThrown = false - var commitsStream = new stream.Readable({ + let commitsStream = new stream.Readable({ objectMode: true }) commitsStream._read = function () { } @@ -48,7 +48,7 @@ function conventionalChangelog (options, context, gitRawCommitsOpts, parserOpts, gitRawExecOpts = data.gitRawExecOpts if (shell.exec('git rev-parse --verify HEAD', { silent: true }).code === 0) { - var reverseTags = context.gitSemverTags.slice(0).reverse() + let reverseTags = context.gitSemverTags.slice(0).reverse() reverseTags.push('HEAD') if (gitRawCommitsOpts.from) { @@ -59,7 +59,7 @@ function conventionalChangelog (options, context, gitRawCommitsOpts, parserOpts, } } - var streams = reverseTags.map((to, i) => { + let streams = reverseTags.map((to, i) => { const from = i > 0 ? reverseTags[i - 1] : '' diff --git a/node_modules/conventional-changelog-core/lib/merge-config.js b/node_modules/conventional-changelog-core/lib/merge-config.js index 7f767bb..8428bf4 100644 --- a/node_modules/conventional-changelog-core/lib/merge-config.js +++ b/node_modules/conventional-changelog-core/lib/merge-config.js @@ -1,10 +1,10 @@ 'use strict' -var dateFormat = require('dateformat') -var getPkgRepo = require('get-pkg-repo') -var gitSemverTags = require('git-semver-tags') -var normalizePackageData = require('normalize-package-data') -var Q = require('q') -var gitRemoteOriginUrl +const dateFormat = require('dateformat') +const getPkgRepo = require('get-pkg-repo') +const gitSemverTags = require('git-semver-tags') +const normalizePackageData = require('normalize-package-data') +const Q = require('q') +let gitRemoteOriginUrl try { gitRemoteOriginUrl = require('git-remote-origin-url') } catch (err) { @@ -12,12 +12,12 @@ try { return Q.reject(err) } } -var readPkg = require('read-pkg') -var readPkgUp = require('read-pkg-up') -var URL = require('url').URL -var _ = require('lodash') +const readPkg = require('read-pkg') +const readPkgUp = require('read-pkg-up') +const URL = require('url').URL +const _ = require('lodash') -var rhosts = /github|bitbucket|gitlab/i +const rhosts = /github|bitbucket|gitlab/i function semverTagsPromise (options) { return Q.Promise(function (resolve, reject) { @@ -52,15 +52,14 @@ function guessNextTag (previousTag, version) { } function mergeConfig (options, context, gitRawCommitsOpts, parserOpts, writerOpts, gitRawExecOpts) { - var configPromise - var pkgPromise - var gitRemoteOriginUrlPromise + let configPromise + let pkgPromise context = context || {} gitRawCommitsOpts = gitRawCommitsOpts || {} gitRawExecOpts = gitRawExecOpts || {} - var rtag = options && options.tagPrefix ? new RegExp(`tag:\\s*[=]?${options.tagPrefix}(.+?)[,)]`, 'gi') : /tag:\s*[v=]?(.+?)[,)]/gi + const rtag = options && options.tagPrefix ? new RegExp(`tag:\\s*[=]?${options.tagPrefix}(.+?)[,)]`, 'gi') : /tag:\s*[v=]?(.+?)[,)]/gi options = _.merge({ pkg: { @@ -74,7 +73,7 @@ function mergeConfig (options, context, gitRawCommitsOpts, parserOpts, writerOpt debug: function () {}, transform: function (commit, cb) { if (_.isString(commit.gitTags)) { - var match = rtag.exec(commit.gitTags) + const match = rtag.exec(commit.gitTags) rtag.lastIndex = 0 if (match) { @@ -109,18 +108,18 @@ function mergeConfig (options, context, gitRawCommitsOpts, parserOpts, writerOpt } } - gitRemoteOriginUrlPromise = Q(gitRemoteOriginUrl()) + const gitRemoteOriginUrlPromise = Q(gitRemoteOriginUrl()) return Q.allSettled([configPromise, pkgPromise, semverTagsPromise(options), gitRemoteOriginUrlPromise]) .spread(function (configObj, pkgObj, tagsObj, gitRemoteOriginUrlObj) { - var config - var pkg - var fromTag - var repo + let config + let pkg + let fromTag + let repo - var hostOpts + let hostOpts - var gitSemverTags = [] + let gitSemverTags = [] if (configPromise) { if (configObj.state === 'fulfilled') { @@ -166,10 +165,10 @@ function mergeConfig (options, context, gitRawCommitsOpts, parserOpts, writerOpt } if (repo.browse) { - var browse = repo.browse() + const browse = repo.browse() if (!context.host) { if (repo.domain) { - var parsedBrowse = new URL(browse) + const parsedBrowse = new URL(browse) if (parsedBrowse.origin.indexOf('//') !== -1) { context.host = parsedBrowse.protocol + '//' + repo.domain } else { @@ -192,7 +191,7 @@ function mergeConfig (options, context, gitRawCommitsOpts, parserOpts, writerOpt if (tagsObj.state === 'fulfilled') { gitSemverTags = context.gitSemverTags = tagsObj.value fromTag = gitSemverTags[options.releaseCount - 1] - var lastTag = gitSemverTags[0] + const lastTag = gitSemverTags[0] if (lastTag === context.version || lastTag === 'v' + context.version) { if (options.outputUnreleased) { @@ -208,10 +207,10 @@ function mergeConfig (options, context, gitRawCommitsOpts, parserOpts, writerOpt } if (context.host && (!context.issue || !context.commit || !parserOpts || !parserOpts.referenceActions)) { - var type + let type if (context.host) { - var match = context.host.match(rhosts) + const match = context.host.match(rhosts) if (match) { type = match[0] } @@ -268,22 +267,22 @@ function mergeConfig (options, context, gitRawCommitsOpts, parserOpts, writerOpt writerOpts = _.assign({ finalizeContext: function (context, writerOpts, filteredCommits, keyCommit, originalCommits) { - var firstCommit = originalCommits[0] - var lastCommit = originalCommits[originalCommits.length - 1] - var firstCommitHash = firstCommit ? firstCommit.hash : null - var lastCommitHash = lastCommit ? lastCommit.hash : null + const firstCommit = originalCommits[0] + const lastCommit = originalCommits[originalCommits.length - 1] + const firstCommitHash = firstCommit ? firstCommit.hash : null + const lastCommitHash = lastCommit ? lastCommit.hash : null if ((!context.currentTag || !context.previousTag) && keyCommit) { - var match = /tag:\s*(.+?)[,)]/gi.exec(keyCommit.gitTags) - var currentTag = context.currentTag + const match = /tag:\s*(.+?)[,)]/gi.exec(keyCommit.gitTags) + const currentTag = context.currentTag context.currentTag = currentTag || match ? match[1] : null - var index = gitSemverTags.indexOf(context.currentTag) + const index = gitSemverTags.indexOf(context.currentTag) // if `keyCommit.gitTags` is not a semver if (index === -1) { context.currentTag = currentTag || null } else { - var previousTag = context.previousTag = gitSemverTags[index + 1] + const previousTag = context.previousTag = gitSemverTags[index + 1] if (!previousTag) { if (options.append) { diff --git a/node_modules/conventional-changelog-core/node_modules/.bin/conventional-commits-parser b/node_modules/conventional-changelog-core/node_modules/.bin/conventional-commits-parser new file mode 120000 index 0000000..4959532 --- /dev/null +++ b/node_modules/conventional-changelog-core/node_modules/.bin/conventional-commits-parser @@ -0,0 +1 @@ +../conventional-commits-parser/cli.js \ No newline at end of file diff --git a/node_modules/conventional-changelog-core/node_modules/.bin/git-semver-tags b/node_modules/conventional-changelog-core/node_modules/.bin/git-semver-tags new file mode 120000 index 0000000..1c854e0 --- /dev/null +++ b/node_modules/conventional-changelog-core/node_modules/.bin/git-semver-tags @@ -0,0 +1 @@ +../git-semver-tags/cli.js \ No newline at end of file diff --git a/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/CHANGELOG.md b/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/CHANGELOG.md new file mode 100644 index 0000000..914033c --- /dev/null +++ b/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/CHANGELOG.md @@ -0,0 +1,435 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [3.2.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@3.1.0...conventional-commits-parser@3.2.0) (2020-11-05) + + +### Bug Fixes + +* ignore gpg lines ([#685](https://github.com/conventional-changelog/conventional-changelog/issues/685)) ([f8fcbc2](https://github.com/conventional-changelog/conventional-changelog/commit/f8fcbc2e8b0834c29178ace6382b438a020ad828)) +* **deps:** update dependency through2 to v4 ([#657](https://github.com/conventional-changelog/conventional-changelog/issues/657)) ([7ae618c](https://github.com/conventional-changelog/conventional-changelog/commit/7ae618c81491841e5b1d796d3933aac0c54bc312)) + + +### Features + +* allows notes pattern to be customized ([#586](https://github.com/conventional-changelog/conventional-changelog/issues/586)) ([9c00f32](https://github.com/conventional-changelog/conventional-changelog/commit/9c00f3242d916be1774a618d943f908f8d9699a6)) + + + + + +# [3.1.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@3.0.8...conventional-commits-parser@3.1.0) (2020-05-08) + + +### Bug Fixes + +* **deps:** update yargs-parser to move off a flagged-vulnerable version. ([#635](https://github.com/conventional-changelog/conventional-changelog/issues/635)) ([aafc0f0](https://github.com/conventional-changelog/conventional-changelog/commit/aafc0f00412c3e4b23b8418300e5a570a48fe24d)) + + +### Features + +* **conventional-commits-parser:** add issuePrefixesCaseSensitive parser option ([#580](https://github.com/conventional-changelog/conventional-changelog/issues/580)) ([526b282](https://github.com/conventional-changelog/conventional-changelog/commit/526b28214d12c55158eb2e4d44408378587ceb97)) +* support slash in headerPattern default options ([93a547d](https://github.com/conventional-changelog/conventional-changelog/commit/93a547d742634d8676f499cfa2a274bc3792d020)) + + + + + +## [3.0.8](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@3.0.7...conventional-commits-parser@3.0.8) (2019-11-14) + + +### Bug Fixes + +* add types for cli flags ([#551](https://github.com/conventional-changelog/conventional-changelog/issues/551)) ([bf1d64a](https://github.com/conventional-changelog/conventional-changelog/commit/bf1d64aeaf8f262d4b2beec02d2aebb78df7343b)) + + + + + +## [3.0.7](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@3.0.6...conventional-commits-parser@3.0.7) (2019-11-07) + + +### Bug Fixes + +* **conventional-commits-parser:** add breaking change notes if header match `breakingHeaderPattern` ([#544](https://github.com/conventional-changelog/conventional-changelog/issues/544)) ([efdf3cb](https://github.com/conventional-changelog/conventional-changelog/commit/efdf3cbc9de3278b180a48beebb74e596e3c5f94)) +* **conventional-commits-parser:** add missing separator pipe to non tty parser ([#546](https://github.com/conventional-changelog/conventional-changelog/issues/546)) ([c522743](https://github.com/conventional-changelog/conventional-changelog/commit/c5227437b0b300f30a57e8ba5df2a8ab8d163af0)) + + + + + +## [3.0.6](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@3.0.5...conventional-commits-parser@3.0.6) (2019-10-24) + + +### Bug Fixes + +* **conventional-commits-parser:** downgrade is-text-path due to node 6 incompatibility ([#536](https://github.com/conventional-changelog/conventional-changelog/issues/536)) ([3aa2637](https://github.com/conventional-changelog/conventional-changelog/commit/3aa2637a1c65bb4db3d8bf2c6ce17e6f5abe1ca1)) +* **deps:** update lodash to fix security issues ([#535](https://github.com/conventional-changelog/conventional-changelog/issues/535)) ([ac43f51](https://github.com/conventional-changelog/conventional-changelog/commit/ac43f51de1f3b597c32f7f8442917a2d06199018)) + + + + + +## [3.0.4](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@3.0.3...conventional-commits-parser@3.0.4) (2019-10-02) + +**Note:** Version bump only for package conventional-commits-parser + + + + + +## [3.0.3](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@3.0.2...conventional-commits-parser@3.0.3) (2019-05-18) + + +### Bug Fixes + +* **deps:** update dependency is-text-path to v2 ([#455](https://github.com/conventional-changelog/conventional-changelog/issues/455)) ([0f40ec3](https://github.com/conventional-changelog/conventional-changelog/commit/0f40ec3)) + + + + + +## [3.0.2](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@3.0.1...conventional-commits-parser@3.0.2) (2019-04-10) + + +### Bug Fixes + +* **deps:** update dependency through2 to v3 ([#392](https://github.com/conventional-changelog/conventional-changelog/issues/392)) ([26fe91f](https://github.com/conventional-changelog/conventional-changelog/commit/26fe91f)) + + + + + +## [3.0.1](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@3.0.0...conventional-commits-parser@3.0.1) (2018-11-01) + + +### Bug Fixes + +* Upgrade to Lerna 3, fix Node.js v11 error ([#385](https://github.com/conventional-changelog/conventional-changelog/issues/385)) ([cdef282](https://github.com/conventional-changelog/conventional-changelog/commit/cdef282)) + + + + + + +# [3.0.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@2.1.7...conventional-commits-parser@3.0.0) (2018-05-29) + + +### Chores + +* **package:** set Node requirement to oldest supported LTS ([#329](https://github.com/conventional-changelog/conventional-changelog/issues/329)) ([cae2fe0](https://github.com/conventional-changelog/conventional-changelog/commit/cae2fe0)) + + +### BREAKING CHANGES + +* **package:** Set the package's minimum required Node version to be the oldest LTS +currently supported by the Node Release working group. At this time, +that is Node 6 (which is in its Maintenance LTS phase). + + + + + +## [2.1.7](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@2.1.6...conventional-commits-parser@2.1.7) (2018-03-27) + + + + +**Note:** Version bump only for package conventional-commits-parser + + +## [2.1.6](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@2.1.5...conventional-commits-parser@2.1.6) (2018-03-22) + + + + +**Note:** Version bump only for package conventional-commits-parser + + +## [2.1.5](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@2.1.4...conventional-commits-parser@2.1.5) (2018-02-24) + + + + +**Note:** Version bump only for package conventional-commits-parser + + +## [2.1.4](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-commits-parser@2.1.3...conventional-commits-parser@2.1.4) (2018-02-20) + + + + +**Note:** Version bump only for package conventional-commits-parser + + +## [2.1.3](https://github.com/conventional-changelog/conventional-commits-parser/compare/conventional-commits-parser@2.1.2...conventional-commits-parser@2.1.3) (2018-02-13) + + + + +**Note:** Version bump only for package conventional-commits-parser + + +## [2.1.2](https://github.com/conventional-changelog/conventional-commits-parser/compare/conventional-commits-parser@2.1.1...conventional-commits-parser@2.1.2) (2018-02-13) + + + + +**Note:** Version bump only for package conventional-commits-parser + + +## [2.1.1](https://github.com/conventional-changelog/conventional-commits-parser/compare/conventional-commits-parser@2.1.0...conventional-commits-parser@2.1.1) (2018-02-05) + + +### Bug Fixes + +* truncate after scissors line ([#267](https://github.com/conventional-changelog/conventional-commits-parser/issues/267)) ([e09df10](https://github.com/conventional-changelog/conventional-commits-parser/commit/e09df10)) + + + + + +# [2.1.0](https://github.com/conventional-changelog/conventional-commits-parser/compare/conventional-commits-parser@2.0.1...conventional-commits-parser@2.1.0) (2017-12-08) + + +### Bug Fixes + +* always parse references ([e84a9ae](https://github.com/conventional-changelog/conventional-commits-parser/commit/e84a9ae)), closes [#248](https://github.com/conventional-changelog/conventional-commits-parser/issues/248) + + +### Features + +* make comment stripping optional ([db5b711](https://github.com/conventional-changelog/conventional-commits-parser/commit/db5b711)), closes [#251](https://github.com/conventional-changelog/conventional-commits-parser/issues/251) + + + + + +## [2.0.1](https://github.com/conventional-changelog/conventional-commits-parser/compare/conventional-commits-parser@2.0.0...conventional-commits-parser@2.0.1) (2017-11-13) + + +### Bug Fixes + +* **conventional-commits-parser:** ignore comments ([#231](https://github.com/conventional-changelog/conventional-commits-parser/issues/231)) ([9db53e3](https://github.com/conventional-changelog/conventional-commits-parser/commit/9db53e3)), closes [#224](https://github.com/conventional-changelog/conventional-commits-parser/issues/224) + + + + + +# 2.0.0 (2017-07-17) + + +### Bug Fixes + +* **cli:** commit can be split when testing a commit file ([f3b3a3f](https://github.com/conventional-changelog/conventional-commits-parser/commit/f3b3a3f)) +* **cli:** error handling for ENOENT is fixed ([3c92233](https://github.com/conventional-changelog/conventional-commits-parser/commit/3c92233)) +* **cli:** fix "undefined" in json string ([0680e42](https://github.com/conventional-changelog/conventional-commits-parser/commit/0680e42)) +* **cli:** options format ([491357e](https://github.com/conventional-changelog/conventional-commits-parser/commit/491357e)) +* **deps:** require split2 ([1941c37](https://github.com/conventional-changelog/conventional-commits-parser/commit/1941c37)) +* **error:** change error type and wordings ([d8be5e5](https://github.com/conventional-changelog/conventional-commits-parser/commit/d8be5e5)) +* **footer:** notes contains more than one paragraphs after references ([d744ec7](https://github.com/conventional-changelog/conventional-commits-parser/commit/d744ec7)) +* **headerCorrespondence:** string value for cli ([fb774fc](https://github.com/conventional-changelog/conventional-commits-parser/commit/fb774fc)) +* **headerPattern:** change how capturing groups works ([fe1fe0c](https://github.com/conventional-changelog/conventional-commits-parser/commit/fe1fe0c)) +* **issuePrefixes:** should return noMatch if falsy ([72db2bf](https://github.com/conventional-changelog/conventional-commits-parser/commit/72db2bf)) +* **mention:** fix mention matching ([965986b](https://github.com/conventional-changelog/conventional-commits-parser/commit/965986b)), closes [#26](https://github.com/conventional-changelog/conventional-commits-parser/issues/26) +* **newlines:** preserve newlines in a part ([06b8c7c](https://github.com/conventional-changelog/conventional-commits-parser/commit/06b8c7c)), closes [#15](https://github.com/conventional-changelog/conventional-commits-parser/issues/15) +* **notes:** note keywords must appear at the beginning of a sentence ([5a2059e](https://github.com/conventional-changelog/conventional-commits-parser/commit/5a2059e)), closes [#23](https://github.com/conventional-changelog/conventional-commits-parser/issues/23) +* **parser:** do not trim spaces but newlines ([1e8c4c5](https://github.com/conventional-changelog/conventional-commits-parser/commit/1e8c4c5)) +* **parser:** it returns null if there is no header ([8571c9e](https://github.com/conventional-changelog/conventional-commits-parser/commit/8571c9e)) +* **regex:** do not treat it as note if there are texts after keywords ([571b03e](https://github.com/conventional-changelog/conventional-commits-parser/commit/571b03e)) +* **regex:** make getReferencePartsRegex stricter ([62adf54](https://github.com/conventional-changelog/conventional-commits-parser/commit/62adf54)), closes [#27](https://github.com/conventional-changelog/conventional-commits-parser/issues/27) [#30](https://github.com/conventional-changelog/conventional-commits-parser/issues/30) [#27](https://github.com/conventional-changelog/conventional-commits-parser/issues/27) [#28](https://github.com/conventional-changelog/conventional-commits-parser/issues/28) +* **revertPattern:** correct regex ([8628983](https://github.com/conventional-changelog/conventional-commits-parser/commit/8628983)) +* **util:** remove an accidentally commited file ([3710a8c](https://github.com/conventional-changelog/conventional-commits-parser/commit/3710a8c)) +* **warn:** should tell which commit cannot be parsed ([04b0a9b](https://github.com/conventional-changelog/conventional-commits-parser/commit/04b0a9b)) + + +### Chores + +* init ([a529841](https://github.com/conventional-changelog/conventional-commits-parser/commit/a529841)) + + +### Code Refactoring + +* **breaks:** change `breaks` to `notes` ([5189a61](https://github.com/conventional-changelog/conventional-commits-parser/commit/5189a61)), closes [#2](https://github.com/conventional-changelog/conventional-commits-parser/issues/2) +* **merge:** pull-request should be merge ([4e7c61c](https://github.com/conventional-changelog/conventional-commits-parser/commit/4e7c61c)) +* **regex:** regex now takes `options` ([eea319a](https://github.com/conventional-changelog/conventional-commits-parser/commit/eea319a)) + + +### Features + +* **cli:** able to have two files, separator works for interactive ([db1e3b5](https://github.com/conventional-changelog/conventional-commits-parser/commit/db1e3b5)) +* **cli:** add aliases, more help details and tests ([eb654a2](https://github.com/conventional-changelog/conventional-commits-parser/commit/eb654a2)) +* **cli:** add missing options ([8ac1cf7](https://github.com/conventional-changelog/conventional-commits-parser/commit/8ac1cf7)) +* **cli:** add warn function for interactive shell ([84fe31f](https://github.com/conventional-changelog/conventional-commits-parser/commit/84fe31f)) +* **correspondence:** add `headerCorrespondence` and improve commit parts ([aca9e95](https://github.com/conventional-changelog/conventional-commits-parser/commit/aca9e95)), closes [#6](https://github.com/conventional-changelog/conventional-commits-parser/issues/6) +* **fieldPattern:** should support string format ([b6b6b52](https://github.com/conventional-changelog/conventional-commits-parser/commit/b6b6b52)) +* **hash:** drop support ([1ccc751](https://github.com/conventional-changelog/conventional-commits-parser/commit/1ccc751)) +* **headerParts:** headerParts can be anything ([31e1c11](https://github.com/conventional-changelog/conventional-commits-parser/commit/31e1c11)), closes [#10](https://github.com/conventional-changelog/conventional-commits-parser/issues/10) +* **issuePrefixes:** init and referenceKeywords -> referenceActions ([86bf798](https://github.com/conventional-changelog/conventional-commits-parser/commit/86bf798)), closes [#11](https://github.com/conventional-changelog/conventional-commits-parser/issues/11) +* **maxSubjectLength:** removed ([3448582](https://github.com/conventional-changelog/conventional-commits-parser/commit/3448582)) +* **mentions:** [@someone](https://github.com/someone) in commit ([d60fe76](https://github.com/conventional-changelog/conventional-commits-parser/commit/d60fe76)), closes [#24](https://github.com/conventional-changelog/conventional-commits-parser/issues/24) +* **newline:** fields does not contain leading or trailing newlines ([6db453b](https://github.com/conventional-changelog/conventional-commits-parser/commit/6db453b)), closes [#14](https://github.com/conventional-changelog/conventional-commits-parser/issues/14) +* **note:** noteKeywords is case insensitive ([f779a29](https://github.com/conventional-changelog/conventional-commits-parser/commit/f779a29)), closes [#21](https://github.com/conventional-changelog/conventional-commits-parser/issues/21) +* **options:** all options can be a string ([0fa17b4](https://github.com/conventional-changelog/conventional-commits-parser/commit/0fa17b4)) +* **otherFields:** other fields are possible to be included ([9e06278](https://github.com/conventional-changelog/conventional-commits-parser/commit/9e06278)) +* improvements and bug fixes ([1cde104](https://github.com/conventional-changelog/conventional-commits-parser/commit/1cde104)), closes [#5](https://github.com/conventional-changelog/conventional-commits-parser/issues/5) +* migrate repo to lerna mono-repo ([793e823](https://github.com/conventional-changelog/conventional-commits-parser/commit/793e823)) +* **regex:** matching JIRA-123 like references ([20f1f7a](https://github.com/conventional-changelog/conventional-commits-parser/commit/20f1f7a)), closes [#19](https://github.com/conventional-changelog/conventional-commits-parser/issues/19) +* support squash commits ([#31](https://github.com/conventional-changelog/conventional-changelog/issues/31)) ([fff60c0](https://github.com/conventional-changelog/conventional-commits-parser/commit/fff60c0)) +* **owner:** yield owner field ([d8d0334](https://github.com/conventional-changelog/conventional-commits-parser/commit/d8d0334)), closes [#12](https://github.com/conventional-changelog/conventional-commits-parser/issues/12) +* **parser:** notes can have more than one paragraph ([733bfa9](https://github.com/conventional-changelog/conventional-commits-parser/commit/733bfa9)), closes [#3](https://github.com/conventional-changelog/conventional-commits-parser/issues/3) +* **pullRequest:** Allow to skip and parse pull request header ([a2e929f](https://github.com/conventional-changelog/conventional-commits-parser/commit/a2e929f)), closes [#20](https://github.com/conventional-changelog/conventional-commits-parser/issues/20) +* **reference:** able to reference an issue without an action ([6474123](https://github.com/conventional-changelog/conventional-commits-parser/commit/6474123)), closes [#22](https://github.com/conventional-changelog/conventional-commits-parser/issues/22) +* **reference:** expose prefix ([47df766](https://github.com/conventional-changelog/conventional-commits-parser/commit/47df766)), closes [#17](https://github.com/conventional-changelog/conventional-commits-parser/issues/17) +* **references:** allow header to reference an issue ([df18a24](https://github.com/conventional-changelog/conventional-commits-parser/commit/df18a24)) +* **references:** support other formats of references ([7c70213](https://github.com/conventional-changelog/conventional-commits-parser/commit/7c70213)), closes [#4](https://github.com/conventional-changelog/conventional-commits-parser/issues/4) [#8](https://github.com/conventional-changelog/conventional-commits-parser/issues/8) +* **regex:** leading and trailing space for closes and breaks keywords are trimmed ([9639860](https://github.com/conventional-changelog/conventional-commits-parser/commit/9639860)) +* **revert:** parse a commit that reverts ([2af7233](https://github.com/conventional-changelog/conventional-commits-parser/commit/2af7233)) +* **stream:** emmit an empty string to down stream if commit cannot be parsed ([76bf84e](https://github.com/conventional-changelog/conventional-commits-parser/commit/76bf84e)) +* **sync:** add the sync function ([82071c6](https://github.com/conventional-changelog/conventional-commits-parser/commit/82071c6)), closes [#13](https://github.com/conventional-changelog/conventional-commits-parser/issues/13) +* **warn:** optionally warn user what is wrong when commit cannot be parsed ([32b3cda](https://github.com/conventional-changelog/conventional-commits-parser/commit/32b3cda)) + + +### Performance Improvements + +* **regex:** regex should be constructed in index.html ([15afd26](https://github.com/conventional-changelog/conventional-commits-parser/commit/15afd26)) + + +### BREAKING CHANGES + +* **merge:** `pull request` should be `merge`. Also make the parsed result to be consistent with other parts. +* This module is imported from https://github.com/ajoslin/conventional-changelog, and is originally written by @vojtajina, @btford and @ajoslin. +* **hash:** hash is no longer supported. This parser should just parse raw commit messages. Also text fields are appended with a newline " +". +* **regex:** It returns a nomatch regex if it's keywords are missing. +* **headerParts:** `headerParts` does not limit to `type`, `scope` and `subject`. They can now be defined in `options.headerCorrespondence` and the order is the order of capturing group in `options.headerPattern`. If part is missing in `options.headerCorrespondence` it is `undefined`. If part is not captured but is not missing in `options.headerCorrespondence` it is `null`. +* **maxSubjectLength:** `maxSubjectLength` is not available any more. +* **issuePrefixes:** `options.referenceKeywords` is now `options.referenceActions` +* **references:** `closes` now becomes `references` and it is loosely based the links above. +* **parser:** The regex for matching notes are loosen. The semicolon and space are optional. The `notes` object is no longer a key-value object but an array of note object, such as +```js +{ +title: 'BREAKING AMEND', +text: 'some breaking change' +} +``` +The detection of notes, closes, continueNote and isBody are mutually exclusive. +* **breaks:** Variable name related to `breaks` changes to `notes`, because "Important Notes" a more generic term. There is no functional changes. +* **stream:** It no longer skips the chunk if commit cannot be parsed. An empty string is passed to down stream +* **correspondence:** body and footer will be null if they are not found. type and subject are nullable too. + + +# [1.3.0](https://github.com/conventional-changelog/conventional-commits-parser/compare/v1.2.3...v1.3.0) (2016-10-15) + + +### Features + +* support squash commits (#31) ([860c7a1](https://github.com/conventional-changelog/conventional-commits-parser/commit/860c7a1)) + + + + +## [1.2.3](https://github.com/conventional-changelog/conventional-commits-parser/compare/v1.2.2...v1.2.3) (2016-08-06) + + +### Bug Fixes + +* **regex:** do not treat it as note if there are texts after keywords ([9cb56bc](https://github.com/conventional-changelog/conventional-commits-parser/commit/9cb56bc)) + + + + +## [1.2.2](https://github.com/conventional-changelog/conventional-commits-parser/compare/v1.2.1...v1.2.2) (2016-05-04) + + +### Bug Fixes + +* **regex:** make getReferencePartsRegex stricter ([b8a9fda](https://github.com/conventional-changelog/conventional-commits-parser/commit/b8a9fda)), closes [#27](https://github.com/conventional-changelog/conventional-commits-parser/issues/27) [(#30](https://github.com/(/issues/30) [#27](https://github.com/conventional-changelog/conventional-commits-parser/issues/27) [#28](https://github.com/conventional-changelog/conventional-commits-parser/issues/28) + + + + +## [1.2.1](https://github.com/conventional-changelog/conventional-commits-parser/compare/v1.2.0...v1.2.1) (2016-04-24) + + +### Bug Fixes + +* **mention:** fix mention matching ([43b32e7](https://github.com/conventional-changelog/conventional-commits-parser/commit/43b32e7)), closes [#26](https://github.com/conventional-changelog/conventional-commits-parser/issues/26) + + + + +# [1.2.0](https://github.com/conventional-changelog/conventional-commits-parser/compare/v1.1.0...v1.2.0) (2016-04-15) + + +### Features + +* **mentions:** @someone in commit ([b2eabbf](https://github.com/conventional-changelog/conventional-commits-parser/commit/b2eabbf)), closes [#24](https://github.com/conventional-changelog/conventional-commits-parser/issues/24) + + + + +# [1.1.0](https://github.com/conventional-changelog/conventional-commits-parser/compare/v1.0.1...v1.1.0) (2016-04-10) + + +### Bug Fixes + +* **notes:** note keywords must appear at the beginning of a sentence ([6e13789](https://github.com/conventional-changelog/conventional-commits-parser/commit/6e13789)), closes [#23](https://github.com/conventional-changelog/conventional-commits-parser/issues/23) + +### Features + +* **reference:** able to reference an issue without an action ([cf847b1](https://github.com/conventional-changelog/conventional-commits-parser/commit/cf847b1)), closes [#22](https://github.com/conventional-changelog/conventional-commits-parser/issues/22) + + + + +## [1.0.1](https://github.com/stevemao/conventional-commits-parser/compare/v1.0.0...v1.0.1) (2016-02-05) + + +### Bug Fixes + +* **deps:** require split2 ([ad55810](https://github.com/stevemao/conventional-commits-parser/commit/ad55810)) + + + + +# [1.0.0](https://github.com/stevemao/conventional-commits-parser/compare/v0.2.0...v1.0.0) (2016-02-05) + + + + + +# [0.2.0](https://github.com/stevemao/conventional-commits-parser/compare/v0.1.2...v0.2.0) (2016-02-04) + + +### Features + +* **note:** noteKeywords is case insensitive ([4442b86](https://github.com/stevemao/conventional-commits-parser/commit/4442b86)), closes [#21](https://github.com/stevemao/conventional-commits-parser/issues/21) +* **pullRequest:** Allow to skip and parse pull request header ([aa85033](https://github.com/stevemao/conventional-commits-parser/commit/aa85033)), closes [#20](https://github.com/stevemao/conventional-commits-parser/issues/20) +* **regex:** matching JIRA-123 like references ([5342f45](https://github.com/stevemao/conventional-commits-parser/commit/5342f45)), closes [#19](https://github.com/stevemao/conventional-commits-parser/issues/19) + + + + +## [0.1.2](https://github.com/stevemao/conventional-commits-parser/compare/v0.1.1...v0.1.2) (2015-09-18) + + +### Bug Fixes + +* **parser:** do not trim spaces but newlines ([62e7bf5](https://github.com/stevemao/conventional-commits-parser/commit/62e7bf5)) + + + + +## [0.1.1](https://github.com/stevemao/conventional-commits-parser/compare/v0.1.0...v0.1.1) (2015-09-12) + + +### Bug Fixes + +* **newlines:** preserve newlines in a part ([beb3d05](https://github.com/stevemao/conventional-commits-parser/commit/beb3d05)), closes [#15](https://github.com/stevemao/conventional-commits-parser/issues/15) + +### Features + +* **reference:** expose prefix ([9962dda](https://github.com/stevemao/conventional-commits-parser/commit/9962dda)), closes [#17](https://github.com/stevemao/conventional-commits-parser/issues/17) diff --git a/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/LICENSE.md b/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/LICENSE.md new file mode 100644 index 0000000..97b4ed5 --- /dev/null +++ b/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/LICENSE.md @@ -0,0 +1,21 @@ +### MIT License + +Copyright © [conventional-changelog team](https://github.com/conventional-changelog) + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/README.md b/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/README.md new file mode 100644 index 0000000..071b599 --- /dev/null +++ b/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/README.md @@ -0,0 +1,382 @@ +# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coveralls-image]][coveralls-url] + +> Parse raw conventional commits + + +## Conventional Commit Message Format + +A minimum input should contain a raw message. + +Each commit message consists of a **merge header**, a **header** (mandatory), a **body** and a **footer**. **Mention** (optional) someone using the `@` notation. + +``` + +
+ +