standard-changelog
Advanced tools
Comparing version 2.0.26 to 2.0.27
@@ -6,2 +6,10 @@ # Change Log | ||
## [2.0.27](https://github.com/conventional-changelog/conventional-changelog/compare/standard-changelog@2.0.26...standard-changelog@2.0.27) (2020-11-05) | ||
**Note:** Version bump only for package standard-changelog | ||
## [2.0.26](https://github.com/conventional-changelog/conventional-changelog/compare/standard-changelog@2.0.25...standard-changelog@2.0.26) (2020-08-12) | ||
@@ -8,0 +16,0 @@ |
44
cli.js
#!/usr/bin/env node | ||
'use strict' | ||
var addStream = require('add-stream') | ||
var chalk = require('chalk') | ||
var standardChangelog = require('./') | ||
var fs = require('fs') | ||
var meow = require('meow') | ||
var tempfile = require('tempfile') | ||
var _ = require('lodash') | ||
var resolve = require('path').resolve | ||
var Readable = require('stream').Readable | ||
var rimraf = require('rimraf') | ||
const addStream = require('add-stream') | ||
const chalk = require('chalk') | ||
const standardChangelog = require('./') | ||
const fs = require('fs') | ||
const meow = require('meow') | ||
const tempfile = require('tempfile') | ||
const _ = require('lodash') | ||
const resolve = require('path').resolve | ||
const Readable = require('stream').Readable | ||
const rimraf = require('rimraf') | ||
var cli = meow(` | ||
const cli = meow(` | ||
Usage | ||
@@ -86,10 +86,10 @@ standard-changelog | ||
var flags = cli.flags | ||
var infile = flags.infile | ||
var sameFile = flags.sameFile | ||
var outfile = sameFile ? (flags.outfile || infile) : flags.outfile | ||
var append = flags.append | ||
var releaseCount = flags.firstRelease ? 0 : flags.releaseCount | ||
const flags = cli.flags | ||
const infile = flags.infile | ||
const sameFile = flags.sameFile | ||
const outfile = sameFile ? (flags.outfile || infile) : flags.outfile | ||
const append = flags.append | ||
const releaseCount = flags.firstRelease ? 0 : flags.releaseCount | ||
var options = _.omitBy({ | ||
const options = _.omitBy({ | ||
preset: flags.preset, | ||
@@ -108,3 +108,3 @@ pkg: { | ||
var templateContext | ||
let templateContext | ||
@@ -128,3 +128,3 @@ function outputError (err) { | ||
var changelogStream = standardChangelog(options, templateContext, flags.commitPath ? { path: flags.commitPath } : {}) | ||
const changelogStream = standardChangelog(options, templateContext, flags.commitPath ? { path: flags.commitPath } : {}) | ||
.on('error', function (err) { | ||
@@ -136,3 +136,3 @@ outputError(err) | ||
var readStream = null | ||
let readStream = null | ||
if (releaseCount !== 0) { | ||
@@ -157,3 +157,3 @@ readStream = fs.createReadStream(infile) | ||
} else { | ||
var tmp = tempfile() | ||
const tmp = tempfile() | ||
@@ -160,0 +160,0 @@ changelogStream |
14
index.js
'use strict' | ||
var conventionalChangelogCore = require('conventional-changelog-core') | ||
var angular = require('conventional-changelog-angular') | ||
var fs = require('fs') | ||
var accessSync = require('fs-access').sync | ||
var chalk = require('chalk') | ||
var figures = require('figures') | ||
var sprintf = require('sprintf-js').sprintf | ||
const conventionalChangelogCore = require('conventional-changelog-core') | ||
const angular = require('conventional-changelog-angular') | ||
const fs = require('fs') | ||
const accessSync = require('fs-access').sync | ||
const chalk = require('chalk') | ||
const figures = require('figures') | ||
const sprintf = require('sprintf-js').sprintf | ||
@@ -11,0 +11,0 @@ function conventionalChangelog (options, context, gitRawCommitsOpts, parserOpts, writerOpts) { |
{ | ||
"name": "standard-changelog", | ||
"version": "2.0.26", | ||
"version": "2.0.27", | ||
"description": "Generate a changelog from git metadata with Angular commit convention", | ||
@@ -31,8 +31,8 @@ "bugs": { | ||
"chalk": "^4.0.0", | ||
"conventional-changelog-angular": "^5.0.11", | ||
"conventional-changelog-core": "^4.2.0", | ||
"conventional-changelog-angular": "^5.0.12", | ||
"conventional-changelog-core": "^4.2.1", | ||
"figures": "^3.0.0", | ||
"fs-access": "^1.0.0", | ||
"lodash": "^4.17.15", | ||
"meow": "^7.0.0", | ||
"meow": "^8.0.0", | ||
"rimraf": "^3.0.0", | ||
@@ -46,3 +46,3 @@ "sprintf-js": "^1.1.1", | ||
"bin": "cli.js", | ||
"gitHead": "be1246c68f5dc4e6f28996129951a75bbf1cf307" | ||
"gitHead": "cc567b98facf71315f4b1620d81ce01d155efaca" | ||
} |
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
21055
+ Addedsemver@6.3.1(transitive)
- Removedmeow@7.1.1(transitive)
- Removedtype-fest@0.13.1(transitive)
- Removedyargs-parser@18.1.3(transitive)
Updatedmeow@^8.0.0