@html-validate/commitlint-config 3.2.4 → 3.2.5
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/commitlint.js +3477 -6271
- package/dist/formatter.js +1 -2
- package/dist/install.js +1 -2
- package/dist/parser-preset.js +3 -6
- package/package.json +1 -1
package/dist/formatter.js
CHANGED
|
@@ -513,8 +513,7 @@ function formatInput(result, options = {}) {
|
|
|
513
513
|
}
|
|
514
514
|
const sign = "\u29D7";
|
|
515
515
|
const decoration = enabled ? source_default.gray(sign) : sign;
|
|
516
|
-
const
|
|
517
|
-
const decoratedInput = enabled ? source_default.bold(commitText) : commitText;
|
|
516
|
+
const decoratedInput = enabled ? source_default.bold(input) : input;
|
|
518
517
|
const hasProblems = errors.length > 0 || warnings.length > 0;
|
|
519
518
|
return options.verbose || hasProblems ? [`${decoration} input: ${decoratedInput}`] : [];
|
|
520
519
|
}
|
package/dist/install.js
CHANGED
|
@@ -413,8 +413,7 @@ var require_ci_info = __commonJS({
|
|
|
413
413
|
env.RUN_ID || // TaskCluster, dsari
|
|
414
414
|
exports.name || false));
|
|
415
415
|
function checkEnv(obj) {
|
|
416
|
-
if (typeof obj === "string")
|
|
417
|
-
return !!env[obj];
|
|
416
|
+
if (typeof obj === "string") return !!env[obj];
|
|
418
417
|
if ("env" in obj) {
|
|
419
418
|
return env[obj.env] && env[obj.env].includes(obj.includes);
|
|
420
419
|
}
|
package/dist/parser-preset.js
CHANGED
|
@@ -15,8 +15,7 @@ var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
|
15
15
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
16
16
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
17
17
|
}) : x)(function(x) {
|
|
18
|
-
if (typeof require !== "undefined")
|
|
19
|
-
return require.apply(this, arguments);
|
|
18
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
20
19
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
21
20
|
});
|
|
22
21
|
var __commonJS = (cb, mod) => function __require2() {
|
|
@@ -347,10 +346,8 @@ var require_writerOpts = __commonJS({
|
|
|
347
346
|
note.title = "BREAKING CHANGES";
|
|
348
347
|
discard = false;
|
|
349
348
|
});
|
|
350
|
-
if (discard && (entry === void 0 || entry.hidden))
|
|
351
|
-
|
|
352
|
-
if (entry)
|
|
353
|
-
commit.type = entry.section;
|
|
349
|
+
if (discard && (entry === void 0 || entry.hidden)) return;
|
|
350
|
+
if (entry) commit.type = entry.section;
|
|
354
351
|
if (commit.scope === "*") {
|
|
355
352
|
commit.scope = "";
|
|
356
353
|
}
|