Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lerna-changelog

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lerna-changelog - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

3

.release-it.js

@@ -14,3 +14,4 @@ module.exports = {

releaseName: 'v${version}',
tokenRef: 'GITHUB_AUTH',
skipChecks: true,
tokenRef: 'GITHUB_AUTH'
},

@@ -17,0 +18,0 @@ npm: {

@@ -5,2 +5,11 @@ # Changelog

## v2.2.0 (2021-10-11)
#### :rocket: Enhancement
* [#560](https://github.com/lerna/lerna-changelog/pull/560) Update `cli-highlight` to v2.1.11 ([@elwayman02](https://github.com/elwayman02))
#### Committers: 1
- Jordan Hawker ([@elwayman02](https://github.com/elwayman02))
## v2.1.0 (2021-08-07)

@@ -7,0 +16,0 @@

@@ -104,3 +104,3 @@ "use strict";

}
const issueNumber = find_pull_request_id_1.default(message);
const issueNumber = (0, find_pull_request_id_1.default)(message);
return {

@@ -107,0 +107,0 @@ commitSHA: sha,

@@ -13,3 +13,3 @@ "use strict";

exports.run = void 0;
const chalk_1 = require("chalk");
const chalk = require("chalk");
const cli_highlight_1 = require("cli-highlight");

@@ -71,3 +71,3 @@ const changelog_1 = require("./changelog");

try {
let config = configuration_1.load({
let config = (0, configuration_1.load)({
nextVersionFromMetadata: argv["next-version-from-metadata"],

@@ -80,8 +80,8 @@ repo: argv.repo,

let result = yield new changelog_1.default(config).createMarkdown(options);
let highlighted = cli_highlight_1.highlight(result, {
let highlighted = (0, cli_highlight_1.highlight)(result, {
language: "Markdown",
theme: {
section: chalk_1.default.bold,
string: chalk_1.default.hex("#0366d6"),
link: chalk_1.default.dim,
section: chalk.bold,
string: chalk.hex("#0366d6"),
link: chalk.dim,
},

@@ -93,6 +93,6 @@ });

if (e instanceof configuration_error_1.default) {
console.log(chalk_1.default.red(e.message));
console.log(chalk.red(e.message));
}
else {
console.log(chalk_1.default.red(e.stack));
console.log(chalk.red(e.stack));
}

@@ -99,0 +99,0 @@ process.exitCode = 1;

@@ -11,3 +11,3 @@ "use strict";

function load(options = {}) {
let rootPath = git_1.getRootPath();
let rootPath = (0, git_1.getRootPath)();
return fromPath(rootPath, options);

@@ -14,0 +14,0 @@ }

@@ -27,6 +27,3 @@ "use strict";

function listTagNames() {
return execa
.sync("git", ["tag"])
.stdout.split("\n")
.filter(Boolean);
return execa.sync("git", ["tag"]).stdout.split("\n").filter(Boolean);
}

@@ -33,0 +30,0 @@ exports.listTagNames = listTagNames;

@@ -38,4 +38,4 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
const res = yield fetch_1.default(url, {
cacheManager: this.cacheDir,
const res = yield (0, fetch_1.default)(url, {
cachePath: this.cacheDir,
headers: {

@@ -42,0 +42,0 @@ Authorization: `token ${this.auth}`,

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const chalk_1 = require("chalk");
const chalk = require("chalk");
const ProgressBar = require("progress");

@@ -18,4 +18,4 @@ class ProgressBarController {

total,
complete: chalk_1.default.hex("#0366d6")("█"),
incomplete: chalk_1.default.enabled ? chalk_1.default.gray("█") : "░",
complete: chalk.hex("#0366d6")("█"),
incomplete: chalk.level > 0 ? chalk.gray("█") : "░",
clear: true,

@@ -22,0 +22,0 @@ width: 20,

{
"name": "lerna-changelog",
"version": "2.1.0",
"version": "2.2.0",
"description": "Generate a changelog for a lerna monorepo",

@@ -37,7 +37,7 @@ "keywords": [

"dependencies": {
"chalk": "^2.4.1",
"cli-highlight": "^2.1.4",
"execa": "^1.0.0",
"hosted-git-info": "^3.0.8",
"make-fetch-happen": "^7.1.1",
"chalk": "^4.0.0",
"cli-highlight": "^2.1.11",
"execa": "^5.0.0",
"hosted-git-info": "^4.0.0",
"make-fetch-happen": "^9.0.0",
"p-map": "^3.0.0",

@@ -48,18 +48,18 @@ "progress": "^2.0.0",

"devDependencies": {
"@types/jest": "^25.2.3",
"@types/node": "^13.13.4",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"fs-extra": "^8.1.0",
"jest": "^25.5.4",
"jest-runner-eslint": "^0.7.6",
"prettier": "1.19.1",
"release-it": "14.10.1",
"@types/jest": "27.0.2",
"@types/node": "14.17.21",
"@typescript-eslint/eslint-plugin": "5.0.0",
"@typescript-eslint/parser": "5.0.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"fs-extra": "10.0.0",
"jest": "27.2.5",
"jest-runner-eslint": "0.11.1",
"prettier": "2.4.1",
"release-it": "14.11.6",
"release-it-lerna-changelog": "3.1.0",
"rimraf": "^3.0.2",
"ts-jest": "^25.5.1",
"typescript": "^3.9.2"
"rimraf": "3.0.2",
"ts-jest": "27.0.5",
"typescript": "4.4.3"
},

@@ -102,2 +102,3 @@ "engines": {

"prettier": {
"arrowParens": "avoid",
"printWidth": 120,

@@ -104,0 +105,0 @@ "tabWidth": 2,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc