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

@commitlint/types

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commitlint/types - npm Package Compare versions

Comparing version 14.0.0 to 15.0.0

16

CHANGELOG.md

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

# [15.0.0](https://github.com/conventional-changelog/commitlint/compare/v14.2.0...v15.0.0) (2021-11-17)
### Bug Fixes
* **types:** fix signature of QualifiedRuleConfig for async configurations ([#2868](https://github.com/conventional-changelog/commitlint/issues/2868)) ([#2869](https://github.com/conventional-changelog/commitlint/issues/2869)) ([c7f355b](https://github.com/conventional-changelog/commitlint/commit/c7f355b25e5baddab0b9559892f5ce4112e4f93a))
### Features
* simplify config resolution ([#2398](https://github.com/conventional-changelog/commitlint/issues/2398)) ([8a8384f](https://github.com/conventional-changelog/commitlint/commit/8a8384f3c18954447cb633e76a573e1db71a1440)), closes [#327](https://github.com/conventional-changelog/commitlint/issues/327)
# [14.0.0](https://github.com/conventional-changelog/commitlint/compare/v13.2.1...v14.0.0) (2021-10-26)

@@ -8,0 +24,0 @@

14

lib/load.d.ts

@@ -14,6 +14,6 @@ import { UserPromptConfig } from './prompt';

export interface UserConfig {
extends?: string[];
extends?: string | string[];
formatter?: string;
rules?: Partial<RulesConfig>;
parserPreset?: string | ParserPreset;
parserPreset?: string | ParserPreset | Promise<ParserPreset>;
ignores?: ((commit: string) => boolean)[];

@@ -40,5 +40,5 @@ defaultIgnores?: boolean;

rules: QualifiedRules;
parserPreset: ParserPreset;
ignores: ((commit: string) => boolean)[];
defaultIgnores: boolean;
parserPreset?: ParserPreset;
ignores?: ((commit: string) => boolean)[];
defaultIgnores?: boolean;
plugins: PluginRecords;

@@ -49,6 +49,6 @@ helpUrl: string;

export interface ParserPreset {
name: string;
path: string;
name?: string;
path?: string;
parserOpts?: unknown;
}
//# sourceMappingURL=load.d.ts.map

@@ -41,3 +41,3 @@ import { TargetCaseType } from './ensure';

}
export declare type QualifiedRuleConfig<T> = (() => RuleConfigTuple<T>) | (() => RuleConfigTuple<Promise<T>>) | RuleConfigTuple<T>;
export declare type QualifiedRuleConfig<T> = (() => RuleConfigTuple<T>) | (() => Promise<RuleConfigTuple<T>>) | RuleConfigTuple<T>;
export declare type RuleConfig<V = RuleConfigQuality.Qualified, T = void> = V extends RuleConfigQuality.Qualified ? RuleConfigTuple<T> : QualifiedRuleConfig<T>;

@@ -44,0 +44,0 @@ export declare type CaseRuleConfig<V = RuleConfigQuality.User> = RuleConfig<V, TargetCaseType | TargetCaseType[]>;

{
"name": "@commitlint/types",
"version": "14.0.0",
"version": "15.0.0",
"description": "Shared types for commitlint packages",

@@ -34,5 +34,5 @@ "main": "lib/index.js",

"devDependencies": {
"@commitlint/utils": "^14.0.0"
"@commitlint/utils": "^15.0.0"
},
"gitHead": "0bb3487f8ca0cd8e67977c089f65037ea2c7788b"
"gitHead": "399a0289356c670a87524387cc96d8fb0a33fdca"
}

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc