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

@commitlint/lint

Package Overview
Dependencies
Maintainers
4
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commitlint/lint - npm Package Compare versions

Comparing version 19.0.3 to 19.1.0

9

lib/lint.js

@@ -48,3 +48,6 @@ import util from 'util';

const names = [...allRules.keys()];
throw new RangeError(`Found invalid rule names: ${missing.join(', ')}. Supported rule names are: ${names.join(', ')}`);
throw new RangeError([
`Found rules without implementation: ${missing.join(', ')}.`,
`Supported rules are: ${names.join(', ')}.`,
].join('\n'));
}

@@ -103,4 +106,4 @@ const invalid = Object.entries(rulesConfig)

const results = (await Promise.all(pendingResults)).filter((result) => result !== null);
const errors = results.filter((result) => result.level === 2 && !result.valid);
const warnings = results.filter((result) => result.level === 1 && !result.valid);
const errors = results.filter((result) => result.level === RuleConfigSeverity.Error && !result.valid);
const warnings = results.filter((result) => result.level === RuleConfigSeverity.Warning && !result.valid);
const valid = errors.length === 0;

@@ -107,0 +110,0 @@ return {

{
"name": "@commitlint/lint",
"type": "module",
"version": "19.0.3",
"version": "19.1.0",
"description": "Lint a string against commitlint rules",

@@ -48,3 +48,3 @@ "main": "lib/lint.js",

},
"gitHead": "9b4ac34069e06cd327760ce37adbde8d537d8e3e"
"gitHead": "8d7a3d5d49ab77733e166cb5f195b1b7f277b4a7"
}

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