mt-changelog
Advanced tools
Comparing version 0.5.3 to 0.6.0
@@ -13,3 +13,3 @@ 'use strict'; | ||
var titleFormatted = '' + title + ' - ' + time.toUTCString(); | ||
var titleFormatted = title + ' - ' + time.toUTCString(); | ||
var dashes = titleFormatted.replace(/./g, '-'); | ||
@@ -22,5 +22,5 @@ var formattedLog = log.map(function (_ref2) { | ||
return '' + titleFormatted + '\n' + dashes + '\n\n' + formattedLog + '\n'; | ||
return titleFormatted + '\n' + dashes + '\n\n' + formattedLog + '\n'; | ||
} | ||
module.exports = exports['default']; |
@@ -46,3 +46,3 @@ 'use strict'; | ||
function latestTag() { | ||
var excludePreRelease = arguments[0] === undefined ? false : arguments[0]; | ||
var excludePreRelease = arguments.length <= 0 || arguments[0] === undefined ? false : arguments[0]; | ||
@@ -49,0 +49,0 @@ return (0, _childProcessPromise.exec)('git tag').then(function (_ref) { |
@@ -32,3 +32,3 @@ 'use strict'; | ||
} else { | ||
newContent = '' + formattedLog + '\n\n\n' + originalContent; | ||
newContent = formattedLog + '\n\n\n' + originalContent; | ||
} | ||
@@ -35,0 +35,0 @@ |
{ | ||
"name": "mt-changelog", | ||
"version": "0.5.3", | ||
"version": "0.6.0", | ||
"description": "creates changelogs for git projects", | ||
@@ -35,3 +35,3 @@ "main": "lib/index.js", | ||
"fs-promise": "^0.3.1", | ||
"semver": "^4.3.3" | ||
"semver": "^5.0.0" | ||
}, | ||
@@ -41,6 +41,6 @@ "devDependencies": { | ||
"babel-eslint": "^3.1.9", | ||
"chai": "^2.2.0", | ||
"chai": "^3.0.0", | ||
"chai-as-promised": "^5.0.0", | ||
"eslint": "^0.22.1", | ||
"eslint-plugin-mocha": "^0.2.2", | ||
"eslint": "^0.24.0", | ||
"eslint-plugin-mocha": "^0.4.0", | ||
"mocha": "^2.2.1", | ||
@@ -47,0 +47,0 @@ "sinon": "^1.14.1", |
12677
+ Addedsemver@5.7.2(transitive)
- Removedsemver@4.3.6(transitive)
Updatedsemver@^5.0.0