@html-validate/commitlint-config 4.1.1 → 4.1.3
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 +114 -137
- package/package.json +1 -1
package/dist/commitlint.js
CHANGED
|
@@ -5844,7 +5844,7 @@ var require_fast_uri = __commonJS({
|
|
|
5844
5844
|
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {
|
|
5845
5845
|
if (parsed.host && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
|
|
5846
5846
|
try {
|
|
5847
|
-
parsed.host = URL
|
|
5847
|
+
parsed.host = new URL("http://" + parsed.host).hostname;
|
|
5848
5848
|
} catch (e2) {
|
|
5849
5849
|
parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e2;
|
|
5850
5850
|
}
|
|
@@ -230647,9 +230647,9 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
|
|
|
230647
230647
|
}
|
|
230648
230648
|
});
|
|
230649
230649
|
|
|
230650
|
-
// node_modules/@
|
|
230650
|
+
// node_modules/@commitlint/read/node_modules/semver/internal/constants.js
|
|
230651
230651
|
var require_constants2 = __commonJS({
|
|
230652
|
-
"node_modules/@
|
|
230652
|
+
"node_modules/@commitlint/read/node_modules/semver/internal/constants.js"(exports, module) {
|
|
230653
230653
|
"use strict";
|
|
230654
230654
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
230655
230655
|
var MAX_LENGTH = 256;
|
|
@@ -230679,9 +230679,9 @@ var require_constants2 = __commonJS({
|
|
|
230679
230679
|
}
|
|
230680
230680
|
});
|
|
230681
230681
|
|
|
230682
|
-
// node_modules/@
|
|
230682
|
+
// node_modules/@commitlint/read/node_modules/semver/internal/debug.js
|
|
230683
230683
|
var require_debug2 = __commonJS({
|
|
230684
|
-
"node_modules/@
|
|
230684
|
+
"node_modules/@commitlint/read/node_modules/semver/internal/debug.js"(exports, module) {
|
|
230685
230685
|
"use strict";
|
|
230686
230686
|
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
230687
230687
|
};
|
|
@@ -230689,9 +230689,9 @@ var require_debug2 = __commonJS({
|
|
|
230689
230689
|
}
|
|
230690
230690
|
});
|
|
230691
230691
|
|
|
230692
|
-
// node_modules/@
|
|
230692
|
+
// node_modules/@commitlint/read/node_modules/semver/internal/re.js
|
|
230693
230693
|
var require_re2 = __commonJS({
|
|
230694
|
-
"node_modules/@
|
|
230694
|
+
"node_modules/@commitlint/read/node_modules/semver/internal/re.js"(exports, module) {
|
|
230695
230695
|
"use strict";
|
|
230696
230696
|
var {
|
|
230697
230697
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
@@ -230777,9 +230777,9 @@ var require_re2 = __commonJS({
|
|
|
230777
230777
|
}
|
|
230778
230778
|
});
|
|
230779
230779
|
|
|
230780
|
-
// node_modules/@
|
|
230780
|
+
// node_modules/@commitlint/read/node_modules/semver/internal/parse-options.js
|
|
230781
230781
|
var require_parse_options2 = __commonJS({
|
|
230782
|
-
"node_modules/@
|
|
230782
|
+
"node_modules/@commitlint/read/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
230783
230783
|
"use strict";
|
|
230784
230784
|
var looseOption = Object.freeze({ loose: true });
|
|
230785
230785
|
var emptyOpts = Object.freeze({});
|
|
@@ -230796,9 +230796,9 @@ var require_parse_options2 = __commonJS({
|
|
|
230796
230796
|
}
|
|
230797
230797
|
});
|
|
230798
230798
|
|
|
230799
|
-
// node_modules/@
|
|
230799
|
+
// node_modules/@commitlint/read/node_modules/semver/internal/identifiers.js
|
|
230800
230800
|
var require_identifiers2 = __commonJS({
|
|
230801
|
-
"node_modules/@
|
|
230801
|
+
"node_modules/@commitlint/read/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
230802
230802
|
"use strict";
|
|
230803
230803
|
var numeric = /^[0-9]+$/;
|
|
230804
230804
|
var compareIdentifiers = (a2, b2) => {
|
|
@@ -230821,9 +230821,9 @@ var require_identifiers2 = __commonJS({
|
|
|
230821
230821
|
}
|
|
230822
230822
|
});
|
|
230823
230823
|
|
|
230824
|
-
// node_modules/@
|
|
230824
|
+
// node_modules/@commitlint/read/node_modules/semver/classes/semver.js
|
|
230825
230825
|
var require_semver3 = __commonJS({
|
|
230826
|
-
"node_modules/@
|
|
230826
|
+
"node_modules/@commitlint/read/node_modules/semver/classes/semver.js"(exports, module) {
|
|
230827
230827
|
"use strict";
|
|
230828
230828
|
var debug = require_debug2();
|
|
230829
230829
|
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants2();
|
|
@@ -231113,9 +231113,9 @@ var require_semver3 = __commonJS({
|
|
|
231113
231113
|
}
|
|
231114
231114
|
});
|
|
231115
231115
|
|
|
231116
|
-
// node_modules/@
|
|
231116
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/parse.js
|
|
231117
231117
|
var require_parse2 = __commonJS({
|
|
231118
|
-
"node_modules/@
|
|
231118
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/parse.js"(exports, module) {
|
|
231119
231119
|
"use strict";
|
|
231120
231120
|
var SemVer = require_semver3();
|
|
231121
231121
|
var parse2 = (version, options, throwErrors = false) => {
|
|
@@ -231135,9 +231135,9 @@ var require_parse2 = __commonJS({
|
|
|
231135
231135
|
}
|
|
231136
231136
|
});
|
|
231137
231137
|
|
|
231138
|
-
// node_modules/@
|
|
231138
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/valid.js
|
|
231139
231139
|
var require_valid3 = __commonJS({
|
|
231140
|
-
"node_modules/@
|
|
231140
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/valid.js"(exports, module) {
|
|
231141
231141
|
"use strict";
|
|
231142
231142
|
var parse2 = require_parse2();
|
|
231143
231143
|
var valid = (version, options) => {
|
|
@@ -231148,9 +231148,9 @@ var require_valid3 = __commonJS({
|
|
|
231148
231148
|
}
|
|
231149
231149
|
});
|
|
231150
231150
|
|
|
231151
|
-
// node_modules/@
|
|
231151
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/clean.js
|
|
231152
231152
|
var require_clean2 = __commonJS({
|
|
231153
|
-
"node_modules/@
|
|
231153
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/clean.js"(exports, module) {
|
|
231154
231154
|
"use strict";
|
|
231155
231155
|
var parse2 = require_parse2();
|
|
231156
231156
|
var clean = (version, options) => {
|
|
@@ -231161,9 +231161,9 @@ var require_clean2 = __commonJS({
|
|
|
231161
231161
|
}
|
|
231162
231162
|
});
|
|
231163
231163
|
|
|
231164
|
-
// node_modules/@
|
|
231164
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/inc.js
|
|
231165
231165
|
var require_inc2 = __commonJS({
|
|
231166
|
-
"node_modules/@
|
|
231166
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/inc.js"(exports, module) {
|
|
231167
231167
|
"use strict";
|
|
231168
231168
|
var SemVer = require_semver3();
|
|
231169
231169
|
var inc = (version, release, options, identifier, identifierBase) => {
|
|
@@ -231185,9 +231185,9 @@ var require_inc2 = __commonJS({
|
|
|
231185
231185
|
}
|
|
231186
231186
|
});
|
|
231187
231187
|
|
|
231188
|
-
// node_modules/@
|
|
231188
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/diff.js
|
|
231189
231189
|
var require_diff2 = __commonJS({
|
|
231190
|
-
"node_modules/@
|
|
231190
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/diff.js"(exports, module) {
|
|
231191
231191
|
"use strict";
|
|
231192
231192
|
var parse2 = require_parse2();
|
|
231193
231193
|
var diff = (version1, version2) => {
|
|
@@ -231229,9 +231229,9 @@ var require_diff2 = __commonJS({
|
|
|
231229
231229
|
}
|
|
231230
231230
|
});
|
|
231231
231231
|
|
|
231232
|
-
// node_modules/@
|
|
231232
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/major.js
|
|
231233
231233
|
var require_major2 = __commonJS({
|
|
231234
|
-
"node_modules/@
|
|
231234
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/major.js"(exports, module) {
|
|
231235
231235
|
"use strict";
|
|
231236
231236
|
var SemVer = require_semver3();
|
|
231237
231237
|
var major = (a2, loose) => new SemVer(a2, loose).major;
|
|
@@ -231239,9 +231239,9 @@ var require_major2 = __commonJS({
|
|
|
231239
231239
|
}
|
|
231240
231240
|
});
|
|
231241
231241
|
|
|
231242
|
-
// node_modules/@
|
|
231242
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/minor.js
|
|
231243
231243
|
var require_minor2 = __commonJS({
|
|
231244
|
-
"node_modules/@
|
|
231244
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/minor.js"(exports, module) {
|
|
231245
231245
|
"use strict";
|
|
231246
231246
|
var SemVer = require_semver3();
|
|
231247
231247
|
var minor = (a2, loose) => new SemVer(a2, loose).minor;
|
|
@@ -231249,9 +231249,9 @@ var require_minor2 = __commonJS({
|
|
|
231249
231249
|
}
|
|
231250
231250
|
});
|
|
231251
231251
|
|
|
231252
|
-
// node_modules/@
|
|
231252
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/patch.js
|
|
231253
231253
|
var require_patch2 = __commonJS({
|
|
231254
|
-
"node_modules/@
|
|
231254
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/patch.js"(exports, module) {
|
|
231255
231255
|
"use strict";
|
|
231256
231256
|
var SemVer = require_semver3();
|
|
231257
231257
|
var patch = (a2, loose) => new SemVer(a2, loose).patch;
|
|
@@ -231259,9 +231259,9 @@ var require_patch2 = __commonJS({
|
|
|
231259
231259
|
}
|
|
231260
231260
|
});
|
|
231261
231261
|
|
|
231262
|
-
// node_modules/@
|
|
231262
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/prerelease.js
|
|
231263
231263
|
var require_prerelease2 = __commonJS({
|
|
231264
|
-
"node_modules/@
|
|
231264
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
231265
231265
|
"use strict";
|
|
231266
231266
|
var parse2 = require_parse2();
|
|
231267
231267
|
var prerelease = (version, options) => {
|
|
@@ -231272,9 +231272,9 @@ var require_prerelease2 = __commonJS({
|
|
|
231272
231272
|
}
|
|
231273
231273
|
});
|
|
231274
231274
|
|
|
231275
|
-
// node_modules/@
|
|
231275
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/compare.js
|
|
231276
231276
|
var require_compare2 = __commonJS({
|
|
231277
|
-
"node_modules/@
|
|
231277
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/compare.js"(exports, module) {
|
|
231278
231278
|
"use strict";
|
|
231279
231279
|
var SemVer = require_semver3();
|
|
231280
231280
|
var compare = (a2, b2, loose) => new SemVer(a2, loose).compare(new SemVer(b2, loose));
|
|
@@ -231282,9 +231282,9 @@ var require_compare2 = __commonJS({
|
|
|
231282
231282
|
}
|
|
231283
231283
|
});
|
|
231284
231284
|
|
|
231285
|
-
// node_modules/@
|
|
231285
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/rcompare.js
|
|
231286
231286
|
var require_rcompare2 = __commonJS({
|
|
231287
|
-
"node_modules/@
|
|
231287
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
231288
231288
|
"use strict";
|
|
231289
231289
|
var compare = require_compare2();
|
|
231290
231290
|
var rcompare = (a2, b2, loose) => compare(b2, a2, loose);
|
|
@@ -231292,9 +231292,9 @@ var require_rcompare2 = __commonJS({
|
|
|
231292
231292
|
}
|
|
231293
231293
|
});
|
|
231294
231294
|
|
|
231295
|
-
// node_modules/@
|
|
231295
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/compare-loose.js
|
|
231296
231296
|
var require_compare_loose2 = __commonJS({
|
|
231297
|
-
"node_modules/@
|
|
231297
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
231298
231298
|
"use strict";
|
|
231299
231299
|
var compare = require_compare2();
|
|
231300
231300
|
var compareLoose = (a2, b2) => compare(a2, b2, true);
|
|
@@ -231302,9 +231302,9 @@ var require_compare_loose2 = __commonJS({
|
|
|
231302
231302
|
}
|
|
231303
231303
|
});
|
|
231304
231304
|
|
|
231305
|
-
// node_modules/@
|
|
231305
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/compare-build.js
|
|
231306
231306
|
var require_compare_build2 = __commonJS({
|
|
231307
|
-
"node_modules/@
|
|
231307
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
231308
231308
|
"use strict";
|
|
231309
231309
|
var SemVer = require_semver3();
|
|
231310
231310
|
var compareBuild = (a2, b2, loose) => {
|
|
@@ -231316,9 +231316,9 @@ var require_compare_build2 = __commonJS({
|
|
|
231316
231316
|
}
|
|
231317
231317
|
});
|
|
231318
231318
|
|
|
231319
|
-
// node_modules/@
|
|
231319
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/sort.js
|
|
231320
231320
|
var require_sort2 = __commonJS({
|
|
231321
|
-
"node_modules/@
|
|
231321
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/sort.js"(exports, module) {
|
|
231322
231322
|
"use strict";
|
|
231323
231323
|
var compareBuild = require_compare_build2();
|
|
231324
231324
|
var sort = (list2, loose) => list2.sort((a2, b2) => compareBuild(a2, b2, loose));
|
|
@@ -231326,9 +231326,9 @@ var require_sort2 = __commonJS({
|
|
|
231326
231326
|
}
|
|
231327
231327
|
});
|
|
231328
231328
|
|
|
231329
|
-
// node_modules/@
|
|
231329
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/rsort.js
|
|
231330
231330
|
var require_rsort2 = __commonJS({
|
|
231331
|
-
"node_modules/@
|
|
231331
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
231332
231332
|
"use strict";
|
|
231333
231333
|
var compareBuild = require_compare_build2();
|
|
231334
231334
|
var rsort = (list2, loose) => list2.sort((a2, b2) => compareBuild(b2, a2, loose));
|
|
@@ -231336,9 +231336,9 @@ var require_rsort2 = __commonJS({
|
|
|
231336
231336
|
}
|
|
231337
231337
|
});
|
|
231338
231338
|
|
|
231339
|
-
// node_modules/@
|
|
231339
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/gt.js
|
|
231340
231340
|
var require_gt2 = __commonJS({
|
|
231341
|
-
"node_modules/@
|
|
231341
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/gt.js"(exports, module) {
|
|
231342
231342
|
"use strict";
|
|
231343
231343
|
var compare = require_compare2();
|
|
231344
231344
|
var gt = (a2, b2, loose) => compare(a2, b2, loose) > 0;
|
|
@@ -231346,9 +231346,9 @@ var require_gt2 = __commonJS({
|
|
|
231346
231346
|
}
|
|
231347
231347
|
});
|
|
231348
231348
|
|
|
231349
|
-
// node_modules/@
|
|
231349
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/lt.js
|
|
231350
231350
|
var require_lt2 = __commonJS({
|
|
231351
|
-
"node_modules/@
|
|
231351
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/lt.js"(exports, module) {
|
|
231352
231352
|
"use strict";
|
|
231353
231353
|
var compare = require_compare2();
|
|
231354
231354
|
var lt = (a2, b2, loose) => compare(a2, b2, loose) < 0;
|
|
@@ -231356,9 +231356,9 @@ var require_lt2 = __commonJS({
|
|
|
231356
231356
|
}
|
|
231357
231357
|
});
|
|
231358
231358
|
|
|
231359
|
-
// node_modules/@
|
|
231359
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/eq.js
|
|
231360
231360
|
var require_eq2 = __commonJS({
|
|
231361
|
-
"node_modules/@
|
|
231361
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/eq.js"(exports, module) {
|
|
231362
231362
|
"use strict";
|
|
231363
231363
|
var compare = require_compare2();
|
|
231364
231364
|
var eq = (a2, b2, loose) => compare(a2, b2, loose) === 0;
|
|
@@ -231366,9 +231366,9 @@ var require_eq2 = __commonJS({
|
|
|
231366
231366
|
}
|
|
231367
231367
|
});
|
|
231368
231368
|
|
|
231369
|
-
// node_modules/@
|
|
231369
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/neq.js
|
|
231370
231370
|
var require_neq2 = __commonJS({
|
|
231371
|
-
"node_modules/@
|
|
231371
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/neq.js"(exports, module) {
|
|
231372
231372
|
"use strict";
|
|
231373
231373
|
var compare = require_compare2();
|
|
231374
231374
|
var neq = (a2, b2, loose) => compare(a2, b2, loose) !== 0;
|
|
@@ -231376,9 +231376,9 @@ var require_neq2 = __commonJS({
|
|
|
231376
231376
|
}
|
|
231377
231377
|
});
|
|
231378
231378
|
|
|
231379
|
-
// node_modules/@
|
|
231379
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/gte.js
|
|
231380
231380
|
var require_gte2 = __commonJS({
|
|
231381
|
-
"node_modules/@
|
|
231381
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/gte.js"(exports, module) {
|
|
231382
231382
|
"use strict";
|
|
231383
231383
|
var compare = require_compare2();
|
|
231384
231384
|
var gte = (a2, b2, loose) => compare(a2, b2, loose) >= 0;
|
|
@@ -231386,9 +231386,9 @@ var require_gte2 = __commonJS({
|
|
|
231386
231386
|
}
|
|
231387
231387
|
});
|
|
231388
231388
|
|
|
231389
|
-
// node_modules/@
|
|
231389
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/lte.js
|
|
231390
231390
|
var require_lte2 = __commonJS({
|
|
231391
|
-
"node_modules/@
|
|
231391
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/lte.js"(exports, module) {
|
|
231392
231392
|
"use strict";
|
|
231393
231393
|
var compare = require_compare2();
|
|
231394
231394
|
var lte = (a2, b2, loose) => compare(a2, b2, loose) <= 0;
|
|
@@ -231396,9 +231396,9 @@ var require_lte2 = __commonJS({
|
|
|
231396
231396
|
}
|
|
231397
231397
|
});
|
|
231398
231398
|
|
|
231399
|
-
// node_modules/@
|
|
231399
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/cmp.js
|
|
231400
231400
|
var require_cmp2 = __commonJS({
|
|
231401
|
-
"node_modules/@
|
|
231401
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
231402
231402
|
"use strict";
|
|
231403
231403
|
var eq = require_eq2();
|
|
231404
231404
|
var neq = require_neq2();
|
|
@@ -231446,9 +231446,9 @@ var require_cmp2 = __commonJS({
|
|
|
231446
231446
|
}
|
|
231447
231447
|
});
|
|
231448
231448
|
|
|
231449
|
-
// node_modules/@
|
|
231449
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/coerce.js
|
|
231450
231450
|
var require_coerce2 = __commonJS({
|
|
231451
|
-
"node_modules/@
|
|
231451
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
231452
231452
|
"use strict";
|
|
231453
231453
|
var SemVer = require_semver3();
|
|
231454
231454
|
var parse2 = require_parse2();
|
|
@@ -231492,9 +231492,9 @@ var require_coerce2 = __commonJS({
|
|
|
231492
231492
|
}
|
|
231493
231493
|
});
|
|
231494
231494
|
|
|
231495
|
-
// node_modules/@
|
|
231495
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/truncate.js
|
|
231496
231496
|
var require_truncate2 = __commonJS({
|
|
231497
|
-
"node_modules/@
|
|
231497
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/truncate.js"(exports, module) {
|
|
231498
231498
|
"use strict";
|
|
231499
231499
|
var parse2 = require_parse2();
|
|
231500
231500
|
var constants = require_constants2();
|
|
@@ -231533,9 +231533,9 @@ var require_truncate2 = __commonJS({
|
|
|
231533
231533
|
}
|
|
231534
231534
|
});
|
|
231535
231535
|
|
|
231536
|
-
// node_modules/@
|
|
231536
|
+
// node_modules/@commitlint/read/node_modules/semver/internal/lrucache.js
|
|
231537
231537
|
var require_lrucache2 = __commonJS({
|
|
231538
|
-
"node_modules/@
|
|
231538
|
+
"node_modules/@commitlint/read/node_modules/semver/internal/lrucache.js"(exports, module) {
|
|
231539
231539
|
"use strict";
|
|
231540
231540
|
var LRUCache = class {
|
|
231541
231541
|
constructor() {
|
|
@@ -231571,9 +231571,9 @@ var require_lrucache2 = __commonJS({
|
|
|
231571
231571
|
}
|
|
231572
231572
|
});
|
|
231573
231573
|
|
|
231574
|
-
// node_modules/@
|
|
231574
|
+
// node_modules/@commitlint/read/node_modules/semver/classes/range.js
|
|
231575
231575
|
var require_range2 = __commonJS({
|
|
231576
|
-
"node_modules/@
|
|
231576
|
+
"node_modules/@commitlint/read/node_modules/semver/classes/range.js"(exports, module) {
|
|
231577
231577
|
"use strict";
|
|
231578
231578
|
var SPACE_CHARACTERS = /\s+/g;
|
|
231579
231579
|
var Range = class _Range {
|
|
@@ -231956,9 +231956,9 @@ var require_range2 = __commonJS({
|
|
|
231956
231956
|
}
|
|
231957
231957
|
});
|
|
231958
231958
|
|
|
231959
|
-
// node_modules/@
|
|
231959
|
+
// node_modules/@commitlint/read/node_modules/semver/classes/comparator.js
|
|
231960
231960
|
var require_comparator2 = __commonJS({
|
|
231961
|
-
"node_modules/@
|
|
231961
|
+
"node_modules/@commitlint/read/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
231962
231962
|
"use strict";
|
|
231963
231963
|
var ANY = /* @__PURE__ */ Symbol("SemVer ANY");
|
|
231964
231964
|
var Comparator = class _Comparator {
|
|
@@ -232069,9 +232069,9 @@ var require_comparator2 = __commonJS({
|
|
|
232069
232069
|
}
|
|
232070
232070
|
});
|
|
232071
232071
|
|
|
232072
|
-
// node_modules/@
|
|
232072
|
+
// node_modules/@commitlint/read/node_modules/semver/functions/satisfies.js
|
|
232073
232073
|
var require_satisfies2 = __commonJS({
|
|
232074
|
-
"node_modules/@
|
|
232074
|
+
"node_modules/@commitlint/read/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
232075
232075
|
"use strict";
|
|
232076
232076
|
var Range = require_range2();
|
|
232077
232077
|
var satisfies = (version, range, options) => {
|
|
@@ -232086,9 +232086,9 @@ var require_satisfies2 = __commonJS({
|
|
|
232086
232086
|
}
|
|
232087
232087
|
});
|
|
232088
232088
|
|
|
232089
|
-
// node_modules/@
|
|
232089
|
+
// node_modules/@commitlint/read/node_modules/semver/ranges/to-comparators.js
|
|
232090
232090
|
var require_to_comparators2 = __commonJS({
|
|
232091
|
-
"node_modules/@
|
|
232091
|
+
"node_modules/@commitlint/read/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
232092
232092
|
"use strict";
|
|
232093
232093
|
var Range = require_range2();
|
|
232094
232094
|
var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c2) => c2.value).join(" ").trim().split(" "));
|
|
@@ -232096,9 +232096,9 @@ var require_to_comparators2 = __commonJS({
|
|
|
232096
232096
|
}
|
|
232097
232097
|
});
|
|
232098
232098
|
|
|
232099
|
-
// node_modules/@
|
|
232099
|
+
// node_modules/@commitlint/read/node_modules/semver/ranges/max-satisfying.js
|
|
232100
232100
|
var require_max_satisfying2 = __commonJS({
|
|
232101
|
-
"node_modules/@
|
|
232101
|
+
"node_modules/@commitlint/read/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
232102
232102
|
"use strict";
|
|
232103
232103
|
var SemVer = require_semver3();
|
|
232104
232104
|
var Range = require_range2();
|
|
@@ -232125,9 +232125,9 @@ var require_max_satisfying2 = __commonJS({
|
|
|
232125
232125
|
}
|
|
232126
232126
|
});
|
|
232127
232127
|
|
|
232128
|
-
// node_modules/@
|
|
232128
|
+
// node_modules/@commitlint/read/node_modules/semver/ranges/min-satisfying.js
|
|
232129
232129
|
var require_min_satisfying2 = __commonJS({
|
|
232130
|
-
"node_modules/@
|
|
232130
|
+
"node_modules/@commitlint/read/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
232131
232131
|
"use strict";
|
|
232132
232132
|
var SemVer = require_semver3();
|
|
232133
232133
|
var Range = require_range2();
|
|
@@ -232154,9 +232154,9 @@ var require_min_satisfying2 = __commonJS({
|
|
|
232154
232154
|
}
|
|
232155
232155
|
});
|
|
232156
232156
|
|
|
232157
|
-
// node_modules/@
|
|
232157
|
+
// node_modules/@commitlint/read/node_modules/semver/ranges/min-version.js
|
|
232158
232158
|
var require_min_version2 = __commonJS({
|
|
232159
|
-
"node_modules/@
|
|
232159
|
+
"node_modules/@commitlint/read/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
232160
232160
|
"use strict";
|
|
232161
232161
|
var SemVer = require_semver3();
|
|
232162
232162
|
var Range = require_range2();
|
|
@@ -232213,9 +232213,9 @@ var require_min_version2 = __commonJS({
|
|
|
232213
232213
|
}
|
|
232214
232214
|
});
|
|
232215
232215
|
|
|
232216
|
-
// node_modules/@
|
|
232216
|
+
// node_modules/@commitlint/read/node_modules/semver/ranges/valid.js
|
|
232217
232217
|
var require_valid4 = __commonJS({
|
|
232218
|
-
"node_modules/@
|
|
232218
|
+
"node_modules/@commitlint/read/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
232219
232219
|
"use strict";
|
|
232220
232220
|
var Range = require_range2();
|
|
232221
232221
|
var validRange = (range, options) => {
|
|
@@ -232229,9 +232229,9 @@ var require_valid4 = __commonJS({
|
|
|
232229
232229
|
}
|
|
232230
232230
|
});
|
|
232231
232231
|
|
|
232232
|
-
// node_modules/@
|
|
232232
|
+
// node_modules/@commitlint/read/node_modules/semver/ranges/outside.js
|
|
232233
232233
|
var require_outside2 = __commonJS({
|
|
232234
|
-
"node_modules/@
|
|
232234
|
+
"node_modules/@commitlint/read/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
232235
232235
|
"use strict";
|
|
232236
232236
|
var SemVer = require_semver3();
|
|
232237
232237
|
var Comparator = require_comparator2();
|
|
@@ -232298,9 +232298,9 @@ var require_outside2 = __commonJS({
|
|
|
232298
232298
|
}
|
|
232299
232299
|
});
|
|
232300
232300
|
|
|
232301
|
-
// node_modules/@
|
|
232301
|
+
// node_modules/@commitlint/read/node_modules/semver/ranges/gtr.js
|
|
232302
232302
|
var require_gtr2 = __commonJS({
|
|
232303
|
-
"node_modules/@
|
|
232303
|
+
"node_modules/@commitlint/read/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
232304
232304
|
"use strict";
|
|
232305
232305
|
var outside = require_outside2();
|
|
232306
232306
|
var gtr = (version, range, options) => outside(version, range, ">", options);
|
|
@@ -232308,9 +232308,9 @@ var require_gtr2 = __commonJS({
|
|
|
232308
232308
|
}
|
|
232309
232309
|
});
|
|
232310
232310
|
|
|
232311
|
-
// node_modules/@
|
|
232311
|
+
// node_modules/@commitlint/read/node_modules/semver/ranges/ltr.js
|
|
232312
232312
|
var require_ltr2 = __commonJS({
|
|
232313
|
-
"node_modules/@
|
|
232313
|
+
"node_modules/@commitlint/read/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
232314
232314
|
"use strict";
|
|
232315
232315
|
var outside = require_outside2();
|
|
232316
232316
|
var ltr = (version, range, options) => outside(version, range, "<", options);
|
|
@@ -232318,9 +232318,9 @@ var require_ltr2 = __commonJS({
|
|
|
232318
232318
|
}
|
|
232319
232319
|
});
|
|
232320
232320
|
|
|
232321
|
-
// node_modules/@
|
|
232321
|
+
// node_modules/@commitlint/read/node_modules/semver/ranges/intersects.js
|
|
232322
232322
|
var require_intersects2 = __commonJS({
|
|
232323
|
-
"node_modules/@
|
|
232323
|
+
"node_modules/@commitlint/read/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
232324
232324
|
"use strict";
|
|
232325
232325
|
var Range = require_range2();
|
|
232326
232326
|
var intersects = (r1, r2, options) => {
|
|
@@ -232332,9 +232332,9 @@ var require_intersects2 = __commonJS({
|
|
|
232332
232332
|
}
|
|
232333
232333
|
});
|
|
232334
232334
|
|
|
232335
|
-
// node_modules/@
|
|
232335
|
+
// node_modules/@commitlint/read/node_modules/semver/ranges/simplify.js
|
|
232336
232336
|
var require_simplify2 = __commonJS({
|
|
232337
|
-
"node_modules/@
|
|
232337
|
+
"node_modules/@commitlint/read/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
232338
232338
|
"use strict";
|
|
232339
232339
|
var satisfies = require_satisfies2();
|
|
232340
232340
|
var compare = require_compare2();
|
|
@@ -232382,9 +232382,9 @@ var require_simplify2 = __commonJS({
|
|
|
232382
232382
|
}
|
|
232383
232383
|
});
|
|
232384
232384
|
|
|
232385
|
-
// node_modules/@
|
|
232385
|
+
// node_modules/@commitlint/read/node_modules/semver/ranges/subset.js
|
|
232386
232386
|
var require_subset2 = __commonJS({
|
|
232387
|
-
"node_modules/@
|
|
232387
|
+
"node_modules/@commitlint/read/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
232388
232388
|
"use strict";
|
|
232389
232389
|
var Range = require_range2();
|
|
232390
232390
|
var Comparator = require_comparator2();
|
|
@@ -232544,9 +232544,9 @@ var require_subset2 = __commonJS({
|
|
|
232544
232544
|
}
|
|
232545
232545
|
});
|
|
232546
232546
|
|
|
232547
|
-
// node_modules/@
|
|
232547
|
+
// node_modules/@commitlint/read/node_modules/semver/index.js
|
|
232548
232548
|
var require_semver4 = __commonJS({
|
|
232549
|
-
"node_modules/@
|
|
232549
|
+
"node_modules/@commitlint/read/node_modules/semver/index.js"(exports, module) {
|
|
232550
232550
|
"use strict";
|
|
232551
232551
|
var internalRe = require_re2();
|
|
232552
232552
|
var constants = require_constants2();
|
|
@@ -235742,7 +235742,7 @@ async function load(seed = {}, options = {}) {
|
|
|
235742
235742
|
// node_modules/@commitlint/read/lib/read.js
|
|
235743
235743
|
import { parseArgs } from "node:util";
|
|
235744
235744
|
|
|
235745
|
-
// node_modules/@conventional-changelog/git-client/dist/utils.js
|
|
235745
|
+
// node_modules/@commitlint/read/node_modules/@conventional-changelog/git-client/dist/utils.js
|
|
235746
235746
|
function formatArgs(...args) {
|
|
235747
235747
|
return args.reduce((finalArgs, arg) => {
|
|
235748
235748
|
if (arg) {
|
|
@@ -235755,20 +235755,10 @@ function toArray(value) {
|
|
|
235755
235755
|
return Array.isArray(value) ? value : [value];
|
|
235756
235756
|
}
|
|
235757
235757
|
|
|
235758
|
-
// node_modules/@conventional-changelog/git-client/dist/GitClient.js
|
|
235758
|
+
// node_modules/@commitlint/read/node_modules/@conventional-changelog/git-client/dist/GitClient.js
|
|
235759
235759
|
import { spawn } from "child_process";
|
|
235760
235760
|
|
|
235761
|
-
// node_modules/@simple-libs/stream-utils/dist/index.js
|
|
235762
|
-
async function toArray2(iterable) {
|
|
235763
|
-
const result = [];
|
|
235764
|
-
for await (const item of iterable) {
|
|
235765
|
-
result.push(item);
|
|
235766
|
-
}
|
|
235767
|
-
return result;
|
|
235768
|
-
}
|
|
235769
|
-
async function concatBufferStream(iterable) {
|
|
235770
|
-
return Buffer.concat(await toArray2(iterable));
|
|
235771
|
-
}
|
|
235761
|
+
// node_modules/@commitlint/read/node_modules/@simple-libs/stream-utils/dist/index.js
|
|
235772
235762
|
async function firstFromStream(stream) {
|
|
235773
235763
|
for await (const tag of stream) {
|
|
235774
235764
|
return tag;
|
|
@@ -235792,6 +235782,18 @@ async function* splitStream(stream, separator) {
|
|
|
235792
235782
|
}
|
|
235793
235783
|
}
|
|
235794
235784
|
|
|
235785
|
+
// node_modules/@simple-libs/child-process-utils/node_modules/@simple-libs/stream-utils/dist/index.js
|
|
235786
|
+
async function toArray2(iterable) {
|
|
235787
|
+
const result = [];
|
|
235788
|
+
for await (const item of iterable) {
|
|
235789
|
+
result.push(item);
|
|
235790
|
+
}
|
|
235791
|
+
return result;
|
|
235792
|
+
}
|
|
235793
|
+
async function concatBufferStream(iterable) {
|
|
235794
|
+
return Buffer.concat(await toArray2(iterable));
|
|
235795
|
+
}
|
|
235796
|
+
|
|
235795
235797
|
// node_modules/@simple-libs/child-process-utils/dist/index.js
|
|
235796
235798
|
async function exitCode(process4) {
|
|
235797
235799
|
if (process4.exitCode !== null) {
|
|
@@ -235837,7 +235839,7 @@ function output(process4) {
|
|
|
235837
235839
|
return concatBufferStream(outputStream(process4));
|
|
235838
235840
|
}
|
|
235839
235841
|
|
|
235840
|
-
// node_modules/@conventional-changelog/git-client/dist/GitClient.js
|
|
235842
|
+
// node_modules/@commitlint/read/node_modules/@conventional-changelog/git-client/dist/GitClient.js
|
|
235841
235843
|
var SCISSOR2 = "------------------------ >8 ------------------------";
|
|
235842
235844
|
var GitClient = class {
|
|
235843
235845
|
cwd;
|
|
@@ -235913,9 +235915,9 @@ var GitClient = class {
|
|
|
235913
235915
|
* @yields Tags
|
|
235914
235916
|
*/
|
|
235915
235917
|
async *getTags(params = {}) {
|
|
235916
|
-
const { path: path9, from = "", to = "HEAD", since } = params;
|
|
235918
|
+
const { path: path9, from = "", to = "HEAD", since, all } = params;
|
|
235917
235919
|
const tagRegex = /tag:\s*(.+?)[,)]/gi;
|
|
235918
|
-
const stdout = this.execStream("log", "--decorate", "--no-color", "--date-order", since && `--since=${since instanceof Date ? since.toISOString() : since}`, [from, to].filter(Boolean).join(".."), ...path9 ? ["--", ...toArray(path9)] : []);
|
|
235920
|
+
const stdout = this.execStream("log", "--decorate", "--no-color", "--date-order", all && "--all", since && `--since=${since instanceof Date ? since.toISOString() : since}`, [from, to].filter(Boolean).join(".."), ...path9 ? ["--", ...toArray(path9)] : []);
|
|
235919
235921
|
let chunk;
|
|
235920
235922
|
let matches;
|
|
235921
235923
|
let tag;
|
|
@@ -236071,35 +236073,9 @@ var GitClient = class {
|
|
|
236071
236073
|
}
|
|
236072
236074
|
};
|
|
236073
236075
|
|
|
236074
|
-
// node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.js
|
|
236076
|
+
// node_modules/@commitlint/read/node_modules/@conventional-changelog/git-client/dist/ConventionalGitClient.js
|
|
236075
236077
|
var import_semver2 = __toESM(require_semver4(), 1);
|
|
236076
236078
|
|
|
236077
|
-
// node_modules/git-raw-commits/src/index.js
|
|
236078
|
-
function getFinalOptions(options = {}) {
|
|
236079
|
-
const finalOptions = {
|
|
236080
|
-
cwd: process.cwd(),
|
|
236081
|
-
...options
|
|
236082
|
-
};
|
|
236083
|
-
if (options.debug) {
|
|
236084
|
-
finalOptions.debug = (args) => {
|
|
236085
|
-
options.debug(`Your git-log command is:
|
|
236086
|
-
git ${args.join(" ")}`);
|
|
236087
|
-
};
|
|
236088
|
-
}
|
|
236089
|
-
return finalOptions;
|
|
236090
|
-
}
|
|
236091
|
-
async function* getRawCommits(options) {
|
|
236092
|
-
const { cwd, debug, ...finalOptions } = getFinalOptions(options);
|
|
236093
|
-
const client = new GitClient(cwd, debug);
|
|
236094
|
-
let commit;
|
|
236095
|
-
if (typeof finalOptions.ignore === "string") {
|
|
236096
|
-
finalOptions.ignore = new RegExp(finalOptions.ignore);
|
|
236097
|
-
}
|
|
236098
|
-
for await (commit of client.getRawCommits(finalOptions)) {
|
|
236099
|
-
yield commit;
|
|
236100
|
-
}
|
|
236101
|
-
}
|
|
236102
|
-
|
|
236103
236079
|
// node_modules/@commitlint/read/lib/get-history-commits.js
|
|
236104
236080
|
async function getHistoryCommits(options, opts = {}) {
|
|
236105
236081
|
const { skip: skipRaw, ...gitOptions } = options;
|
|
@@ -236110,8 +236086,9 @@ async function getHistoryCommits(options, opts = {}) {
|
|
|
236110
236086
|
throw new TypeError(`Invalid skip value: ${skipRaw}`);
|
|
236111
236087
|
}
|
|
236112
236088
|
}
|
|
236089
|
+
const client = new GitClient(opts.cwd ?? process.cwd());
|
|
236113
236090
|
const data = [];
|
|
236114
|
-
for await (const commit of getRawCommits(
|
|
236091
|
+
for await (const commit of client.getRawCommits(gitOptions)) {
|
|
236115
236092
|
if (skipNum > 0) {
|
|
236116
236093
|
skipNum--;
|
|
236117
236094
|
continue;
|