git-semver-tagger 2.5.1 → 2.5.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/README.md +63 -16
- package/help/calculate-version.md +12 -0
- package/help/tag.md +12 -0
- package/help/tagger-guide.md +1 -1
- package/help/tagger.md +13 -0
- package/kotlin/command-line-tools-tagger-cli.js +15 -10
- package/kotlin/command-line-tools-tagger-cli.js.map +1 -1
- package/kotlin/help/calculate-version.md +12 -0
- package/kotlin/help/tag.md +12 -0
- package/kotlin/help/tagger-guide.md +1 -1
- package/kotlin/help/tagger.md +13 -0
- package/kotlin/kotlin-kotlin-stdlib.js +32 -32
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
|
@@ -42,11 +42,6 @@ if (typeof Math.log10 === 'undefined') {
|
|
|
42
42
|
return Math.log(x) * Math.LOG10E;
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
if (typeof Math.log2 === 'undefined') {
|
|
46
|
-
Math.log2 = function (x) {
|
|
47
|
-
return Math.log(x) * Math.LOG2E;
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
45
|
if (typeof Math.clz32 === 'undefined') {
|
|
51
46
|
Math.clz32 = function (log, LN2) {
|
|
52
47
|
return function (x) {
|
|
@@ -58,6 +53,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
58
53
|
};
|
|
59
54
|
}(Math.log, Math.LN2);
|
|
60
55
|
}
|
|
56
|
+
if (typeof Math.log2 === 'undefined') {
|
|
57
|
+
Math.log2 = function (x) {
|
|
58
|
+
return Math.log(x) * Math.LOG2E;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
61
|
if (typeof String.prototype.startsWith === 'undefined') {
|
|
62
62
|
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
63
63
|
position = position || 0;
|
|
@@ -100,8 +100,8 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
100
100
|
initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
|
|
101
101
|
initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
|
|
102
102
|
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
103
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList,
|
|
104
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
103
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
|
|
104
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
|
|
105
105
|
initMetadataForCompanion(Companion_0);
|
|
106
106
|
initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
|
|
107
107
|
initMetadataForCompanion(Companion_1);
|
|
@@ -119,7 +119,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
119
119
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
120
120
|
initMetadataForObject(Unit, 'Unit');
|
|
121
121
|
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
|
|
122
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [
|
|
122
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
|
|
123
123
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
124
124
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
125
125
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
|
|
@@ -132,7 +132,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
132
132
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
|
|
133
133
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
|
|
134
134
|
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
135
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
135
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
|
|
136
136
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
137
137
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
138
138
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
@@ -10215,6 +10215,29 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
10215
10215
|
}
|
|
10216
10216
|
return tmp;
|
|
10217
10217
|
}
|
|
10218
|
+
function trim(_this__u8e3s4) {
|
|
10219
|
+
// Inline function 'kotlin.text.trim' call
|
|
10220
|
+
var startIndex = 0;
|
|
10221
|
+
var endIndex = charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
10222
|
+
var startFound = false;
|
|
10223
|
+
$l$loop: while (startIndex <= endIndex) {
|
|
10224
|
+
var index = !startFound ? startIndex : endIndex;
|
|
10225
|
+
var p0 = charSequenceGet(_this__u8e3s4, index);
|
|
10226
|
+
var match = isWhitespace(p0);
|
|
10227
|
+
if (!startFound) {
|
|
10228
|
+
if (!match)
|
|
10229
|
+
startFound = true;
|
|
10230
|
+
else
|
|
10231
|
+
startIndex = startIndex + 1 | 0;
|
|
10232
|
+
} else {
|
|
10233
|
+
if (!match)
|
|
10234
|
+
break $l$loop;
|
|
10235
|
+
else
|
|
10236
|
+
endIndex = endIndex - 1 | 0;
|
|
10237
|
+
}
|
|
10238
|
+
}
|
|
10239
|
+
return charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex + 1 | 0);
|
|
10240
|
+
}
|
|
10218
10241
|
function calcNext_1($this) {
|
|
10219
10242
|
if ($this.og_1 < 0) {
|
|
10220
10243
|
$this.mg_1 = 0;
|
|
@@ -10425,29 +10448,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
10425
10448
|
return null;
|
|
10426
10449
|
}
|
|
10427
10450
|
}
|
|
10428
|
-
function trim(_this__u8e3s4) {
|
|
10429
|
-
// Inline function 'kotlin.text.trim' call
|
|
10430
|
-
var startIndex = 0;
|
|
10431
|
-
var endIndex = charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
10432
|
-
var startFound = false;
|
|
10433
|
-
$l$loop: while (startIndex <= endIndex) {
|
|
10434
|
-
var index = !startFound ? startIndex : endIndex;
|
|
10435
|
-
var p0 = charSequenceGet(_this__u8e3s4, index);
|
|
10436
|
-
var match = isWhitespace(p0);
|
|
10437
|
-
if (!startFound) {
|
|
10438
|
-
if (!match)
|
|
10439
|
-
startFound = true;
|
|
10440
|
-
else
|
|
10441
|
-
startIndex = startIndex + 1 | 0;
|
|
10442
|
-
} else {
|
|
10443
|
-
if (!match)
|
|
10444
|
-
break $l$loop;
|
|
10445
|
-
else
|
|
10446
|
-
endIndex = endIndex - 1 | 0;
|
|
10447
|
-
}
|
|
10448
|
-
}
|
|
10449
|
-
return charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex + 1 | 0);
|
|
10450
|
-
}
|
|
10451
10451
|
function removeSurrounding(_this__u8e3s4, prefix, suffix) {
|
|
10452
10452
|
if (_this__u8e3s4.length >= (charSequenceLength(prefix) + charSequenceLength(suffix) | 0) && startsWith_2(_this__u8e3s4, prefix) && endsWith_1(_this__u8e3s4, suffix)) {
|
|
10453
10453
|
return substring(_this__u8e3s4, charSequenceLength(prefix), _this__u8e3s4.length - charSequenceLength(suffix) | 0);
|