Socket
Socket
Sign inDemoInstall

@commitlint/load

Package Overview
Dependencies
Maintainers
4
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commitlint/load - npm Package Compare versions

Comparing version 16.0.0 to 16.1.0

11

CHANGELOG.md

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

# [16.1.0](https://github.com/conventional-changelog/commitlint/compare/v16.0.3...v16.1.0) (2022-01-20)
### Features
* **load:** accept functions as parser presets ([#2982](https://github.com/conventional-changelog/commitlint/issues/2982)) ([420e8d6](https://github.com/conventional-changelog/commitlint/commit/420e8d6a4d5663ade953272275a9e0fa7c5ddff0)), closes [#2964](https://github.com/conventional-changelog/commitlint/issues/2964) [#2964](https://github.com/conventional-changelog/commitlint/issues/2964)
# [16.0.0](https://github.com/conventional-changelog/commitlint/compare/v15.0.0...v16.0.0) (2021-12-26)

@@ -8,0 +19,0 @@

4

lib/utils/load-parser-opts.d.ts
import { ParserPreset } from '@commitlint/types';
export declare function loadParserOpts(pendingParser: string | ParserPreset | Promise<ParserPreset> | undefined): Promise<ParserPreset | undefined>;
declare type Awaitable<T> = T | PromiseLike<T>;
export declare function loadParserOpts(pendingParser: string | Awaitable<ParserPreset> | (() => Awaitable<ParserPreset>) | undefined): Promise<ParserPreset | undefined>;
export {};
//# sourceMappingURL=load-parser-opts.d.ts.map

@@ -11,2 +11,5 @@ "use strict";

async function loadParserOpts(pendingParser) {
if (typeof pendingParser === 'function') {
return loadParserOpts(pendingParser());
}
if (!pendingParser || typeof pendingParser !== 'object') {

@@ -13,0 +16,0 @@ return undefined;

{
"name": "@commitlint/load",
"version": "16.0.0",
"version": "16.1.0",
"description": "Load shared commitlint configuration",

@@ -45,5 +45,5 @@ "main": "lib/load.js",

"dependencies": {
"@commitlint/config-validator": "^16.0.0",
"@commitlint/config-validator": "^16.1.0",
"@commitlint/execute-rule": "^16.0.0",
"@commitlint/resolve-extends": "^16.0.0",
"@commitlint/resolve-extends": "^16.1.0",
"@commitlint/types": "^16.0.0",

@@ -57,3 +57,3 @@ "chalk": "^4.0.0",

},
"gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc"
"gitHead": "ddc727aeaa9a2b962abf30311687897596eff177"
}

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