git-digger 1.5.33 → 1.5.35
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 +1250 -1250
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/clikt-clikt-mordant.js +89 -89
- package/kotlin/clikt-clikt.js +1608 -1608
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +467 -467
- package/kotlin/command-line-tools-digger-cli.js +76 -76
- package/kotlin/kotlin-kotlin-stdlib.js +2020 -1734
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1123 -1063
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +324 -313
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/mordant-mordant.js +1344 -1344
- package/kotlin/mordant-mordant.js.map +1 -1
- package/kotlin/tools-cli-tools.js +4 -4
- package/kotlin/tools-digger-core.js +152 -152
- package/kotlin/tools-digger-json.js +114 -114
- package/kotlin/tools-digger-json.js.map +1 -1
- package/kotlin/tools-digger-model.js +60 -60
- package/kotlin/tools-git-adapter.js +72 -72
- package/package.json +1 -1
|
@@ -2,39 +2,39 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var toString = kotlin_kotlin.$_$.
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
8
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
9
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
10
|
-
var equals = kotlin_kotlin.$_$.
|
|
11
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
12
|
-
var plus = kotlin_kotlin.$_$.
|
|
13
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
5
|
+
var toString = kotlin_kotlin.$_$.t8;
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.q8;
|
|
7
|
+
var getStringHashCode = kotlin_kotlin.$_$.p7;
|
|
8
|
+
var hashCode = kotlin_kotlin.$_$.q7;
|
|
9
|
+
var THROW_CCE = kotlin_kotlin.$_$.yb;
|
|
10
|
+
var equals = kotlin_kotlin.$_$.k7;
|
|
11
|
+
var initMetadataForClass = kotlin_kotlin.$_$.r7;
|
|
12
|
+
var plus = kotlin_kotlin.$_$.p5;
|
|
13
|
+
var emptyMap = kotlin_kotlin.$_$.o4;
|
|
14
14
|
var VOID = kotlin_kotlin.$_$.g;
|
|
15
|
-
var split = kotlin_kotlin.$_$.
|
|
15
|
+
var split = kotlin_kotlin.$_$.wa;
|
|
16
16
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
17
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
18
|
-
var reversed = kotlin_kotlin.$_$.
|
|
17
|
+
var joinToString = kotlin_kotlin.$_$.y4;
|
|
18
|
+
var reversed = kotlin_kotlin.$_$.w5;
|
|
19
19
|
var Companion_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.b;
|
|
20
|
-
var last = kotlin_kotlin.$_$.
|
|
21
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
20
|
+
var last = kotlin_kotlin.$_$.e5;
|
|
21
|
+
var Unit_instance = kotlin_kotlin.$_$.i3;
|
|
22
22
|
var isBlank = kotlin_kotlin.$_$.ia;
|
|
23
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
23
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.f4;
|
|
24
24
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
25
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
26
|
-
var listOf = kotlin_kotlin.$_$.
|
|
27
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
28
|
-
var trim = kotlin_kotlin.$_$.
|
|
29
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
30
|
-
var listOf_0 = kotlin_kotlin.$_$.
|
|
31
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
32
|
-
var first = kotlin_kotlin.$_$.
|
|
33
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
34
|
-
var to = kotlin_kotlin.$_$.
|
|
35
|
-
var json = kotlin_kotlin.$_$.
|
|
25
|
+
var charSequenceLength = kotlin_kotlin.$_$.h7;
|
|
26
|
+
var listOf = kotlin_kotlin.$_$.i5;
|
|
27
|
+
var isCharSequence = kotlin_kotlin.$_$.b8;
|
|
28
|
+
var trim = kotlin_kotlin.$_$.ib;
|
|
29
|
+
var emptyList = kotlin_kotlin.$_$.n4;
|
|
30
|
+
var listOf_0 = kotlin_kotlin.$_$.h5;
|
|
31
|
+
var plus_0 = kotlin_kotlin.$_$.s5;
|
|
32
|
+
var first = kotlin_kotlin.$_$.r4;
|
|
33
|
+
var copyToArray = kotlin_kotlin.$_$.k4;
|
|
34
|
+
var to = kotlin_kotlin.$_$.wc;
|
|
35
|
+
var json = kotlin_kotlin.$_$.j8;
|
|
36
36
|
var Exception_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
37
|
-
var toList = kotlin_kotlin.$_$.
|
|
37
|
+
var toList = kotlin_kotlin.$_$.j6;
|
|
38
38
|
//endregion
|
|
39
39
|
//region block: pre-declaration
|
|
40
40
|
initMetadataForClass(CommitRef, 'CommitRef');
|
|
@@ -42,23 +42,23 @@
|
|
|
42
42
|
initMetadataForClass(TagRef, 'TagRef');
|
|
43
43
|
//endregion
|
|
44
44
|
function CommitRef(id, authorEmail, committerEmail, dateTime, parents, fullMessage) {
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
45
|
+
this.t19_1 = id;
|
|
46
|
+
this.u19_1 = authorEmail;
|
|
47
|
+
this.v19_1 = committerEmail;
|
|
48
|
+
this.w19_1 = dateTime;
|
|
49
|
+
this.x19_1 = parents;
|
|
50
|
+
this.y19_1 = fullMessage;
|
|
51
51
|
}
|
|
52
52
|
protoOf(CommitRef).toString = function () {
|
|
53
|
-
return 'CommitRef(id=' + this.
|
|
53
|
+
return 'CommitRef(id=' + this.t19_1 + ', authorEmail=' + this.u19_1 + ', committerEmail=' + this.v19_1 + ', dateTime=' + this.w19_1.toString() + ', parents=' + toString(this.x19_1) + ', fullMessage=' + this.y19_1 + ')';
|
|
54
54
|
};
|
|
55
55
|
protoOf(CommitRef).hashCode = function () {
|
|
56
|
-
var result = getStringHashCode(this.
|
|
57
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
58
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
59
|
-
result = imul(result, 31) + this.
|
|
60
|
-
result = imul(result, 31) + hashCode(this.
|
|
61
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
56
|
+
var result = getStringHashCode(this.t19_1);
|
|
57
|
+
result = imul(result, 31) + getStringHashCode(this.u19_1) | 0;
|
|
58
|
+
result = imul(result, 31) + getStringHashCode(this.v19_1) | 0;
|
|
59
|
+
result = imul(result, 31) + this.w19_1.hashCode() | 0;
|
|
60
|
+
result = imul(result, 31) + hashCode(this.x19_1) | 0;
|
|
61
|
+
result = imul(result, 31) + getStringHashCode(this.y19_1) | 0;
|
|
62
62
|
return result;
|
|
63
63
|
};
|
|
64
64
|
protoOf(CommitRef).equals = function (other) {
|
|
@@ -67,22 +67,22 @@
|
|
|
67
67
|
if (!(other instanceof CommitRef))
|
|
68
68
|
return false;
|
|
69
69
|
var tmp0_other_with_cast = other instanceof CommitRef ? other : THROW_CCE();
|
|
70
|
-
if (!(this.
|
|
70
|
+
if (!(this.t19_1 === tmp0_other_with_cast.t19_1))
|
|
71
71
|
return false;
|
|
72
|
-
if (!(this.
|
|
72
|
+
if (!(this.u19_1 === tmp0_other_with_cast.u19_1))
|
|
73
73
|
return false;
|
|
74
|
-
if (!(this.
|
|
74
|
+
if (!(this.v19_1 === tmp0_other_with_cast.v19_1))
|
|
75
75
|
return false;
|
|
76
|
-
if (!this.
|
|
76
|
+
if (!this.w19_1.equals(tmp0_other_with_cast.w19_1))
|
|
77
77
|
return false;
|
|
78
|
-
if (!equals(this.
|
|
78
|
+
if (!equals(this.x19_1, tmp0_other_with_cast.x19_1))
|
|
79
79
|
return false;
|
|
80
|
-
if (!(this.
|
|
80
|
+
if (!(this.y19_1 === tmp0_other_with_cast.y19_1))
|
|
81
81
|
return false;
|
|
82
82
|
return true;
|
|
83
83
|
};
|
|
84
84
|
function runProcess($this, args, env) {
|
|
85
|
-
return runProcess_0(args, $this.
|
|
85
|
+
return runProcess_0(args, $this.z19_1, plus(env, $this.a1a_1));
|
|
86
86
|
}
|
|
87
87
|
function runProcess$default($this, args, env, $super) {
|
|
88
88
|
env = env === VOID ? emptyMap() : env;
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
var commaSplit = split(element, [',']);
|
|
103
103
|
var tmp;
|
|
104
104
|
if (commaSplit.p() >= 3) {
|
|
105
|
-
tmp = new TagRef(joinToString(commaSplit.s1(0, commaSplit.p() - 2 | 0), ''), reversed(commaSplit).q(1), Companion_getInstance().
|
|
105
|
+
tmp = new TagRef(joinToString(commaSplit.s1(0, commaSplit.p() - 2 | 0), ''), reversed(commaSplit).q(1), Companion_getInstance().w18(last(commaSplit)));
|
|
106
106
|
} else {
|
|
107
107
|
tmp = null;
|
|
108
108
|
}
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
}
|
|
121
121
|
function parseLog($this, outputText) {
|
|
122
122
|
// Inline function 'kotlin.collections.filter' call
|
|
123
|
-
var tmp0 = split(outputText, [$this.
|
|
123
|
+
var tmp0 = split(outputText, [$this.b1a_1 + '\n']);
|
|
124
124
|
// Inline function 'kotlin.collections.filterTo' call
|
|
125
125
|
var destination = ArrayList_init_$Create$();
|
|
126
126
|
var _iterator__ex2g4s = tmp0.m();
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
var tmp = elements.q(0);
|
|
144
144
|
var tmp_0 = elements.q(1);
|
|
145
145
|
var tmp_1 = elements.q(2);
|
|
146
|
-
var tmp_2 = Companion_getInstance().
|
|
146
|
+
var tmp_2 = Companion_getInstance().w18(elements.q(3));
|
|
147
147
|
// Inline function 'kotlin.collections.filter' call
|
|
148
148
|
var tmp0_0 = split(elements.q(4), [' ']);
|
|
149
149
|
// Inline function 'kotlin.collections.filterTo' call
|
|
@@ -164,41 +164,41 @@
|
|
|
164
164
|
}
|
|
165
165
|
function GitAdapter(workingDirectory, env) {
|
|
166
166
|
env = env === VOID ? emptyMap() : env;
|
|
167
|
-
this.
|
|
168
|
-
this.
|
|
169
|
-
this.
|
|
170
|
-
this.
|
|
167
|
+
this.z19_1 = workingDirectory;
|
|
168
|
+
this.a1a_1 = env;
|
|
169
|
+
this.b1a_1 = '--------!--------';
|
|
170
|
+
this.c1a_1 = '%H%n%ae%n%ce%n%aI%n%P%n%B%n' + this.b1a_1;
|
|
171
171
|
}
|
|
172
|
-
protoOf(GitAdapter).
|
|
172
|
+
protoOf(GitAdapter).d1a = function () {
|
|
173
173
|
// Inline function 'kotlin.text.trim' call
|
|
174
174
|
var this_0 = runProcess$default(this, listOf(['git', '--no-pager', 'rev-parse', 'HEAD']));
|
|
175
175
|
return toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()));
|
|
176
176
|
};
|
|
177
|
-
protoOf(GitAdapter).
|
|
177
|
+
protoOf(GitAdapter).e1a = function () {
|
|
178
178
|
return parseTagRefs(this, runProcess$default(this, listOf(['git', '--no-pager', 'tag', '--list', '--sort=-taggerdate', '--format=%(refname:strip=2),%(*objectname),%(creatordate:iso-strict)'])));
|
|
179
179
|
};
|
|
180
|
-
protoOf(GitAdapter).
|
|
181
|
-
return parseLog(this, runProcess$default(this, listOf(['git', '--no-pager', 'log', '--format=' + this.
|
|
180
|
+
protoOf(GitAdapter).f1a = function () {
|
|
181
|
+
return parseLog(this, runProcess$default(this, listOf(['git', '--no-pager', 'log', '--format=' + this.c1a_1])));
|
|
182
182
|
};
|
|
183
|
-
protoOf(GitAdapter).
|
|
184
|
-
return parseLog(this, runProcess$default(this, plus_0(listOf(['git', '--no-pager', 'log', '--format=' + this.
|
|
183
|
+
protoOf(GitAdapter).g1a = function (begin, end) {
|
|
184
|
+
return parseLog(this, runProcess$default(this, plus_0(listOf(['git', '--no-pager', 'log', '--format=' + this.c1a_1, begin]), !(end == null) ? listOf_0(end) : emptyList())));
|
|
185
185
|
};
|
|
186
|
-
protoOf(GitAdapter).
|
|
186
|
+
protoOf(GitAdapter).h1a = function (begin, end, $super) {
|
|
187
187
|
end = end === VOID ? null : end;
|
|
188
|
-
return $super === VOID ? this.
|
|
188
|
+
return $super === VOID ? this.g1a(begin, end) : $super.g1a.call(this, begin, end);
|
|
189
189
|
};
|
|
190
190
|
function TagRef(name, commitId, dateTime) {
|
|
191
|
-
this.
|
|
192
|
-
this.
|
|
193
|
-
this.
|
|
191
|
+
this.i1a_1 = name;
|
|
192
|
+
this.j1a_1 = commitId;
|
|
193
|
+
this.k1a_1 = dateTime;
|
|
194
194
|
}
|
|
195
195
|
protoOf(TagRef).toString = function () {
|
|
196
|
-
return 'TagRef(name=' + this.
|
|
196
|
+
return 'TagRef(name=' + this.i1a_1 + ', commitId=' + this.j1a_1 + ', dateTime=' + this.k1a_1.toString() + ')';
|
|
197
197
|
};
|
|
198
198
|
protoOf(TagRef).hashCode = function () {
|
|
199
|
-
var result = getStringHashCode(this.
|
|
200
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
201
|
-
result = imul(result, 31) + this.
|
|
199
|
+
var result = getStringHashCode(this.i1a_1);
|
|
200
|
+
result = imul(result, 31) + getStringHashCode(this.j1a_1) | 0;
|
|
201
|
+
result = imul(result, 31) + this.k1a_1.hashCode() | 0;
|
|
202
202
|
return result;
|
|
203
203
|
};
|
|
204
204
|
protoOf(TagRef).equals = function (other) {
|
|
@@ -207,11 +207,11 @@
|
|
|
207
207
|
if (!(other instanceof TagRef))
|
|
208
208
|
return false;
|
|
209
209
|
var tmp0_other_with_cast = other instanceof TagRef ? other : THROW_CCE();
|
|
210
|
-
if (!(this.
|
|
210
|
+
if (!(this.i1a_1 === tmp0_other_with_cast.i1a_1))
|
|
211
211
|
return false;
|
|
212
|
-
if (!(this.
|
|
212
|
+
if (!(this.j1a_1 === tmp0_other_with_cast.j1a_1))
|
|
213
213
|
return false;
|
|
214
|
-
if (!this.
|
|
214
|
+
if (!this.k1a_1.equals(tmp0_other_with_cast.k1a_1))
|
|
215
215
|
return false;
|
|
216
216
|
return true;
|
|
217
217
|
};
|