Socket
Socket
Sign inDemoInstall

@commitlint/rules

Package Overview
Dependencies
Maintainers
4
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commitlint/rules - npm Package Compare versions

Comparing version 17.6.0 to 17.6.1

10

lib/subject-case.js

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

* Since the rule requires first symbol of a subject to be a letter, use
* combination of Unicode `Cased_Letter` and `Other_Letter` categories now to
* allow non-Latin alphabets as well.
* Unicode `Cased_Letter` category now to allow non-Latin alphabets as well.
*
* Do not use `Letter` category directly to avoid capturing `Modifier_Letter`
* (which just modifiers letters, so we probably shouldn't anyway) and to stay
* close to previous implementation.
* (which just modifiers letters, so we probably shouldn't anyway) and
* `Other_Letter` (they actually are case-less, so they can't be validated)
* categories, and to stay close to previous implementation.
*

@@ -25,3 +25,3 @@ * Also, typescript does not seem to support almost any longhand category name

*/
const startsWithLetterRegex = /^[\p{Ll}\p{Lu}\p{Lt}\p{Lo}]/iu;
const startsWithLetterRegex = /^[\p{Ll}\p{Lu}\p{Lt}]/iu;
const negated = (when) => when === 'never';

@@ -28,0 +28,0 @@ const subjectCase = (parsed, when = 'always', value = []) => {

{
"name": "@commitlint/rules",
"version": "17.6.0",
"version": "17.6.1",
"description": "Lint your commit messages",

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

},
"gitHead": "28bc4c77072cea7e97187cb8cf7e138428ece6b6"
"gitHead": "5da1048f87abfdab8419df88a69d8fe60016e60f"
}

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