@html-validate/commitlint-config 3.6.9 → 3.6.11

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.
package/dist/install.js CHANGED
@@ -42,6 +42,11 @@ var require_vendors = __commonJS({
42
42
  env: "AGOLA_GIT_REF",
43
43
  pr: "AGOLA_PULL_REQUEST_ID"
44
44
  },
45
+ {
46
+ name: "Alpic",
47
+ constant: "ALPIC",
48
+ env: "ALPIC_HOST"
49
+ },
45
50
  {
46
51
  name: "Appcircle",
47
52
  constant: "APPCIRCLE",
@@ -452,7 +452,10 @@ function createWriterOpts(config) {
452
452
  });
453
453
  return `[${prefix}${issue}](${url})`;
454
454
  });
455
- subject = subject.replace(/\B@([a-z0-9](?:-?[a-z0-9/]){0,38})/g, (_, user) => {
455
+ subject = subject.replace(/`[^`]*`|\B@([a-z0-9](?:-?[a-z0-9/]){0,38})/g, (match, user) => {
456
+ if (!user) {
457
+ return match;
458
+ }
456
459
  if (user.includes("/")) {
457
460
  return `@${user}`;
458
461
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-validate/commitlint-config",
3
- "version": "3.6.9",
3
+ "version": "3.6.11",
4
4
  "description": "Commitlint sharable config used by the various HTML-validate packages",
5
5
  "keywords": [
6
6
  "commitlint"
@@ -44,7 +44,7 @@
44
44
  "postinstall": "node bin/install.js"
45
45
  },
46
46
  "engines": {
47
- "node": "^20.11 || >= 22.16"
47
+ "node": "^20.17 || >= 22.16"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"