Socket
Socket
Sign inDemoInstall

@commitlint/format

Package Overview
Dependencies
7
Maintainers
4
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.1.1 to 9.1.2

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13)
**Note:** Version bump only for package @commitlint/format
## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30)

@@ -8,0 +16,0 @@

25

lib/format.d.ts

@@ -1,25 +0,2 @@

import chalk from 'chalk';
export interface FormattableProblem {
level: 0 | 1 | 2;
name: string;
message: string;
}
export interface FormattableResult {
errors?: FormattableProblem[];
warnings?: FormattableProblem[];
}
export interface WithInput {
input?: string;
}
export interface FormattableReport {
results?: (FormattableResult & WithInput)[];
}
export declare type ChalkColor = keyof typeof chalk;
export interface FormatOptions {
color?: boolean;
signs?: readonly [string, string, string];
colors?: readonly [ChalkColor, ChalkColor, ChalkColor];
verbose?: boolean;
helpUrl?: string;
}
import { FormattableReport, FormatOptions, FormattableResult } from '@commitlint/types';
export declare function format(report?: FormattableReport, options?: FormatOptions): string;

@@ -26,0 +3,0 @@ export declare function formatResult(result?: FormattableResult, options?: FormatOptions): string[];

{
"name": "@commitlint/format",
"version": "9.1.1",
"version": "9.1.2",
"description": "Format commitlint reports",

@@ -15,3 +15,3 @@ "main": "lib/index.js",

"engines": {
"node": ">=8"
"node": ">=v8.17.0"
},

@@ -38,8 +38,9 @@ "repository": {

"devDependencies": {
"@commitlint/utils": "^9.1.1"
"@commitlint/utils": "^9.1.2"
},
"dependencies": {
"@commitlint/types": "^9.1.2",
"chalk": "^4.0.0"
},
"gitHead": "cb565dfcca3128380b9b3dc274aedbcae34ce5ca"
"gitHead": "41d4f5851508be1421bd23e0424cacf043bc6a88"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc