git-digger 1.2.28 → 1.2.30
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/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +69 -69
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/tools-digger-cli.js +11 -11
- package/kotlin/tools-digger-cli.js.map +1 -1
- package/kotlin/tools-digger-core.js +80 -280
- package/kotlin/tools-digger-core.js.map +1 -1
- package/kotlin/tools-git-adapter.js +233 -0
- package/kotlin/tools-git-adapter.js.map +1 -0
- package/package.json +1 -1
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
function addFormatStructureForTime(structure) {
|
|
278
278
|
this.jw(structure);
|
|
279
279
|
}
|
|
280
|
-
setMetadataFor(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', interfaceMeta, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
280
|
+
setMetadataFor(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', interfaceMeta, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
|
|
281
281
|
function offsetHours$default(padding, $super) {
|
|
282
282
|
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
|
|
283
283
|
var tmp;
|
|
@@ -32,6 +32,16 @@ if (typeof Array.prototype.fill === 'undefined') {
|
|
|
32
32
|
Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
|
+
if (typeof Math.log2 === 'undefined') {
|
|
36
|
+
Math.log2 = function (x) {
|
|
37
|
+
return Math.log(x) * Math.LOG2E;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
if (typeof Math.log10 === 'undefined') {
|
|
41
|
+
Math.log10 = function (x) {
|
|
42
|
+
return Math.log(x) * Math.LOG10E;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
35
45
|
if (typeof Math.clz32 === 'undefined') {
|
|
36
46
|
Math.clz32 = function (log, LN2) {
|
|
37
47
|
return function (x) {
|
|
@@ -43,16 +53,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
43
53
|
};
|
|
44
54
|
}(Math.log, Math.LN2);
|
|
45
55
|
}
|
|
46
|
-
if (typeof Math.log10 === 'undefined') {
|
|
47
|
-
Math.log10 = function (x) {
|
|
48
|
-
return Math.log(x) * Math.LOG10E;
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
if (typeof Math.log2 === 'undefined') {
|
|
52
|
-
Math.log2 = function (x) {
|
|
53
|
-
return Math.log(x) * Math.LOG2E;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
56
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
57
57
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
58
58
|
var subjectString = this.toString();
|
|
@@ -99,11 +99,11 @@ if (typeof Math.imul === 'undefined') {
|
|
|
99
99
|
setMetadataFor(Collection, 'Collection', interfaceMeta);
|
|
100
100
|
setMetadataFor(AbstractCollection, 'AbstractCollection', classMeta, VOID, [Collection]);
|
|
101
101
|
setMetadataFor(MutableIterable, 'MutableIterable', interfaceMeta);
|
|
102
|
-
setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta, AbstractCollection, [AbstractCollection,
|
|
102
|
+
setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
|
|
103
103
|
setMetadataFor(IteratorImpl, 'IteratorImpl', classMeta);
|
|
104
104
|
setMetadataFor(ListIteratorImpl, 'ListIteratorImpl', classMeta, IteratorImpl);
|
|
105
105
|
setMetadataFor(List, 'List', interfaceMeta, VOID, [Collection]);
|
|
106
|
-
setMetadataFor(MutableList, 'MutableList', interfaceMeta, VOID, [List,
|
|
106
|
+
setMetadataFor(MutableList, 'MutableList', interfaceMeta, VOID, [List, MutableIterable, Collection]);
|
|
107
107
|
setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, MutableList]);
|
|
108
108
|
setMetadataFor(RandomAccess, 'RandomAccess', interfaceMeta);
|
|
109
109
|
setMetadataFor(SubList, 'SubList', classMeta, AbstractMutableList, [AbstractMutableList, RandomAccess]);
|
|
@@ -112,7 +112,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
112
112
|
setMetadataFor(MutableMap, 'MutableMap', interfaceMeta, VOID, [Map_0]);
|
|
113
113
|
setMetadataFor(AbstractMutableMap, 'AbstractMutableMap', classMeta, AbstractMap, [AbstractMap, MutableMap]);
|
|
114
114
|
setMetadataFor(Set, 'Set', interfaceMeta, VOID, [Collection]);
|
|
115
|
-
setMetadataFor(MutableSet, 'MutableSet', interfaceMeta, VOID, [Set,
|
|
115
|
+
setMetadataFor(MutableSet, 'MutableSet', interfaceMeta, VOID, [Set, MutableIterable, Collection]);
|
|
116
116
|
setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, MutableSet]);
|
|
117
117
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
118
118
|
setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, MutableList, RandomAccess], ArrayList_init_$Create$);
|
|
@@ -4251,6 +4251,62 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4251
4251
|
}
|
|
4252
4252
|
return min;
|
|
4253
4253
|
}
|
|
4254
|
+
function reversed(_this__u8e3s4) {
|
|
4255
|
+
var tmp;
|
|
4256
|
+
if (isInterface(_this__u8e3s4, Collection)) {
|
|
4257
|
+
tmp = _this__u8e3s4.l() <= 1;
|
|
4258
|
+
} else {
|
|
4259
|
+
tmp = false;
|
|
4260
|
+
}
|
|
4261
|
+
if (tmp)
|
|
4262
|
+
return toList_0(_this__u8e3s4);
|
|
4263
|
+
var list = toMutableList_1(_this__u8e3s4);
|
|
4264
|
+
reverse(list);
|
|
4265
|
+
return list;
|
|
4266
|
+
}
|
|
4267
|
+
function zip(_this__u8e3s4, other) {
|
|
4268
|
+
// Inline function 'kotlin.collections.zip' call
|
|
4269
|
+
var first = _this__u8e3s4.r();
|
|
4270
|
+
var second = other.r();
|
|
4271
|
+
// Inline function 'kotlin.comparisons.minOf' call
|
|
4272
|
+
var a = collectionSizeOrDefault(_this__u8e3s4, 10);
|
|
4273
|
+
var b = collectionSizeOrDefault(other, 10);
|
|
4274
|
+
var tmp$ret$0 = Math.min(a, b);
|
|
4275
|
+
var list = ArrayList_init_$Create$_0(tmp$ret$0);
|
|
4276
|
+
while (first.s() ? second.s() : false) {
|
|
4277
|
+
// Inline function 'kotlin.collections.zip.<anonymous>' call
|
|
4278
|
+
var t1 = first.u();
|
|
4279
|
+
var t2 = second.u();
|
|
4280
|
+
var tmp$ret$1 = to(t1, t2);
|
|
4281
|
+
list.o(tmp$ret$1);
|
|
4282
|
+
}
|
|
4283
|
+
return list;
|
|
4284
|
+
}
|
|
4285
|
+
function sum(_this__u8e3s4) {
|
|
4286
|
+
var sum = 0;
|
|
4287
|
+
var tmp0_iterator = _this__u8e3s4.r();
|
|
4288
|
+
while (tmp0_iterator.s()) {
|
|
4289
|
+
var element = tmp0_iterator.u();
|
|
4290
|
+
sum = sum + element | 0;
|
|
4291
|
+
}
|
|
4292
|
+
return sum;
|
|
4293
|
+
}
|
|
4294
|
+
function dropLast(_this__u8e3s4, n) {
|
|
4295
|
+
// Inline function 'kotlin.require' call
|
|
4296
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
4297
|
+
if (!(n >= 0)) {
|
|
4298
|
+
// Inline function 'kotlin.collections.dropLast.<anonymous>' call
|
|
4299
|
+
var message = 'Requested element count ' + n + ' is less than zero.';
|
|
4300
|
+
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
4301
|
+
}
|
|
4302
|
+
return take(_this__u8e3s4, coerceAtLeast(_this__u8e3s4.l() - n | 0, 0));
|
|
4303
|
+
}
|
|
4304
|
+
function plus_1(_this__u8e3s4, elements) {
|
|
4305
|
+
var result = ArrayList_init_$Create$_0(_this__u8e3s4.l() + elements.length | 0);
|
|
4306
|
+
result.v(_this__u8e3s4);
|
|
4307
|
+
addAll_0(result, elements);
|
|
4308
|
+
return result;
|
|
4309
|
+
}
|
|
4254
4310
|
function take(_this__u8e3s4, n) {
|
|
4255
4311
|
// Inline function 'kotlin.require' call
|
|
4256
4312
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -4279,19 +4335,6 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4279
4335
|
}
|
|
4280
4336
|
return optimizeReadOnlyList(list);
|
|
4281
4337
|
}
|
|
4282
|
-
function reversed(_this__u8e3s4) {
|
|
4283
|
-
var tmp;
|
|
4284
|
-
if (isInterface(_this__u8e3s4, Collection)) {
|
|
4285
|
-
tmp = _this__u8e3s4.l() <= 1;
|
|
4286
|
-
} else {
|
|
4287
|
-
tmp = false;
|
|
4288
|
-
}
|
|
4289
|
-
if (tmp)
|
|
4290
|
-
return toList_0(_this__u8e3s4);
|
|
4291
|
-
var list = toMutableList_1(_this__u8e3s4);
|
|
4292
|
-
reverse(list);
|
|
4293
|
-
return list;
|
|
4294
|
-
}
|
|
4295
4338
|
function maxOrNull(_this__u8e3s4) {
|
|
4296
4339
|
var iterator = _this__u8e3s4.r();
|
|
4297
4340
|
if (!iterator.s())
|
|
@@ -4324,49 +4367,6 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4324
4367
|
sort(this_1);
|
|
4325
4368
|
return this_1;
|
|
4326
4369
|
}
|
|
4327
|
-
function zip(_this__u8e3s4, other) {
|
|
4328
|
-
// Inline function 'kotlin.collections.zip' call
|
|
4329
|
-
var first = _this__u8e3s4.r();
|
|
4330
|
-
var second = other.r();
|
|
4331
|
-
// Inline function 'kotlin.comparisons.minOf' call
|
|
4332
|
-
var a = collectionSizeOrDefault(_this__u8e3s4, 10);
|
|
4333
|
-
var b = collectionSizeOrDefault(other, 10);
|
|
4334
|
-
var tmp$ret$0 = Math.min(a, b);
|
|
4335
|
-
var list = ArrayList_init_$Create$_0(tmp$ret$0);
|
|
4336
|
-
while (first.s() ? second.s() : false) {
|
|
4337
|
-
// Inline function 'kotlin.collections.zip.<anonymous>' call
|
|
4338
|
-
var t1 = first.u();
|
|
4339
|
-
var t2 = second.u();
|
|
4340
|
-
var tmp$ret$1 = to(t1, t2);
|
|
4341
|
-
list.o(tmp$ret$1);
|
|
4342
|
-
}
|
|
4343
|
-
return list;
|
|
4344
|
-
}
|
|
4345
|
-
function sum(_this__u8e3s4) {
|
|
4346
|
-
var sum = 0;
|
|
4347
|
-
var tmp0_iterator = _this__u8e3s4.r();
|
|
4348
|
-
while (tmp0_iterator.s()) {
|
|
4349
|
-
var element = tmp0_iterator.u();
|
|
4350
|
-
sum = sum + element | 0;
|
|
4351
|
-
}
|
|
4352
|
-
return sum;
|
|
4353
|
-
}
|
|
4354
|
-
function dropLast(_this__u8e3s4, n) {
|
|
4355
|
-
// Inline function 'kotlin.require' call
|
|
4356
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
4357
|
-
if (!(n >= 0)) {
|
|
4358
|
-
// Inline function 'kotlin.collections.dropLast.<anonymous>' call
|
|
4359
|
-
var message = 'Requested element count ' + n + ' is less than zero.';
|
|
4360
|
-
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
4361
|
-
}
|
|
4362
|
-
return take(_this__u8e3s4, coerceAtLeast(_this__u8e3s4.l() - n | 0, 0));
|
|
4363
|
-
}
|
|
4364
|
-
function plus_1(_this__u8e3s4, elements) {
|
|
4365
|
-
var result = ArrayList_init_$Create$_0(_this__u8e3s4.l() + elements.length | 0);
|
|
4366
|
-
result.v(_this__u8e3s4);
|
|
4367
|
-
addAll_0(result, elements);
|
|
4368
|
-
return result;
|
|
4369
|
-
}
|
|
4370
4370
|
function withIndex$lambda_0($this_withIndex) {
|
|
4371
4371
|
return function () {
|
|
4372
4372
|
return $this_withIndex.r();
|