git-digger 1.5.2 → 1.5.4
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/bin/digger +0 -0
- package/kotlin/kotlin-kotlin-stdlib.js +17 -17
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +2 -2
- package/kotlin/tools-git-adapter.js +20 -3
- package/kotlin/tools-git-adapter.js.map +1 -1
- package/package.json +1 -1
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
return tmp;
|
|
331
331
|
}
|
|
332
332
|
setMetadataFor(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', interfaceMeta, VOID, [WithUtcOffset]);
|
|
333
|
-
setMetadataFor(Builder, 'Builder', classMeta, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder,
|
|
333
|
+
setMetadataFor(Builder, 'Builder', classMeta, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithTime, WithDate]);
|
|
334
334
|
setMetadataFor(AbstractDateTimeFormat, 'AbstractDateTimeFormat', classMeta);
|
|
335
335
|
setMetadataFor(DateTimeComponentsFormat, 'DateTimeComponentsFormat', classMeta, AbstractDateTimeFormat);
|
|
336
336
|
setMetadataFor(TwoDigitNumber, 'TwoDigitNumber', classMeta);
|
package/kotlin/bin/digger
CHANGED
|
File without changes
|
|
@@ -32,11 +32,6 @@ 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
35
|
if (typeof Math.clz32 === 'undefined') {
|
|
41
36
|
Math.clz32 = function (log, LN2) {
|
|
42
37
|
return function (x) {
|
|
@@ -48,11 +43,22 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
48
43
|
};
|
|
49
44
|
}(Math.log, Math.LN2);
|
|
50
45
|
}
|
|
46
|
+
if (typeof Math.log2 === 'undefined') {
|
|
47
|
+
Math.log2 = function (x) {
|
|
48
|
+
return Math.log(x) * Math.LOG2E;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
51
|
if (typeof Math.log10 === 'undefined') {
|
|
52
52
|
Math.log10 = function (x) {
|
|
53
53
|
return Math.log(x) * Math.LOG10E;
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
57
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
58
|
+
position = position || 0;
|
|
59
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
60
|
+
}});
|
|
61
|
+
}
|
|
56
62
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
57
63
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
58
64
|
var subjectString = this.toString();
|
|
@@ -64,12 +70,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
64
70
|
return lastIndex !== -1 && lastIndex === position;
|
|
65
71
|
}});
|
|
66
72
|
}
|
|
67
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
68
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
69
|
-
position = position || 0;
|
|
70
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
71
|
-
}});
|
|
72
|
-
}
|
|
73
73
|
if (typeof Math.imul === 'undefined') {
|
|
74
74
|
Math.imul = function imul(a, b) {
|
|
75
75
|
return (a & 4.29490176E9) * (b & 65535) + (a & 65535) * (b | 0) | 0;
|
|
@@ -4264,6 +4264,12 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4264
4264
|
reverse(list);
|
|
4265
4265
|
return list;
|
|
4266
4266
|
}
|
|
4267
|
+
function plus_1(_this__u8e3s4, elements) {
|
|
4268
|
+
var result = ArrayList_init_$Create$_0(_this__u8e3s4.l() + elements.length | 0);
|
|
4269
|
+
result.v(_this__u8e3s4);
|
|
4270
|
+
addAll_0(result, elements);
|
|
4271
|
+
return result;
|
|
4272
|
+
}
|
|
4267
4273
|
function zip(_this__u8e3s4, other) {
|
|
4268
4274
|
// Inline function 'kotlin.collections.zip' call
|
|
4269
4275
|
var first = _this__u8e3s4.r();
|
|
@@ -4301,12 +4307,6 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4301
4307
|
}
|
|
4302
4308
|
return take(_this__u8e3s4, coerceAtLeast(_this__u8e3s4.l() - n | 0, 0));
|
|
4303
4309
|
}
|
|
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
|
-
}
|
|
4310
4310
|
function take(_this__u8e3s4, n) {
|
|
4311
4311
|
// Inline function 'kotlin.require' call
|
|
4312
4312
|
// Inline function 'kotlin.contracts.contract' call
|