@html-validate/commitlint-config 4.3.1 → 4.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2057,7 +2057,7 @@ function getNotesRegex(noteKeywords, notesPattern) {
2057
2057
  }
2058
2058
  const noteKeywordsSelection = joinOr(noteKeywords);
2059
2059
  if (!notesPattern) {
2060
- return new RegExp(`^[\\s|*]*(${noteKeywordsSelection})[:\\s]+(.*)`, "i");
2060
+ return new RegExp(`^(?:\\*\\s+)?(${noteKeywordsSelection}):\\s*(.*)`, "i");
2061
2061
  }
2062
2062
  return notesPattern(noteKeywordsSelection);
2063
2063
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-validate/commitlint-config",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "description": "Commitlint sharable config used by the various HTML-validate packages",
5
5
  "keywords": [
6
6
  "commitlint"