git-digger 1.5.19 → 1.5.21
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 +1266 -1266
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/clikt-clikt-mordant.js +91 -91
- package/kotlin/clikt-clikt.js +1806 -1731
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +473 -473
- package/kotlin/command-line-tools-digger-cli.js +72 -72
- package/kotlin/kotlin-kotlin-stdlib.js +1875 -1669
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +921 -921
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +322 -322
- package/kotlin/mordant-mordant.js +1385 -1385
- package/kotlin/tools-cli-tools.js +3 -3
- package/kotlin/tools-digger-core.js +159 -159
- package/kotlin/tools-digger-json.js +114 -114
- package/kotlin/tools-digger-model.js +60 -60
- package/kotlin/tools-git-adapter.js +73 -73
- 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.$_$.r8;
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.p8;
|
|
7
|
+
var getStringHashCode = kotlin_kotlin.$_$.o7;
|
|
8
|
+
var hashCode = kotlin_kotlin.$_$.p7;
|
|
9
|
+
var THROW_CCE = kotlin_kotlin.$_$.yb;
|
|
10
|
+
var equals = kotlin_kotlin.$_$.j7;
|
|
11
|
+
var initMetadataForClass = kotlin_kotlin.$_$.q7;
|
|
12
|
+
var plus = kotlin_kotlin.$_$.o5;
|
|
13
|
+
var emptyMap = kotlin_kotlin.$_$.n4;
|
|
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.$_$.x4;
|
|
18
|
+
var reversed = kotlin_kotlin.$_$.v5;
|
|
19
19
|
var Companion_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.b;
|
|
20
|
-
var last = kotlin_kotlin.$_$.
|
|
21
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
22
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
23
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
20
|
+
var last = kotlin_kotlin.$_$.d5;
|
|
21
|
+
var Unit_instance = kotlin_kotlin.$_$.h3;
|
|
22
|
+
var isBlank = kotlin_kotlin.$_$.ha;
|
|
23
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.e4;
|
|
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.$_$.g7;
|
|
26
|
+
var listOf = kotlin_kotlin.$_$.h5;
|
|
27
|
+
var isCharSequence = kotlin_kotlin.$_$.a8;
|
|
28
|
+
var trim = kotlin_kotlin.$_$.jb;
|
|
29
|
+
var emptyList = kotlin_kotlin.$_$.m4;
|
|
30
|
+
var listOf_0 = kotlin_kotlin.$_$.g5;
|
|
31
|
+
var plus_0 = kotlin_kotlin.$_$.r5;
|
|
32
|
+
var first = kotlin_kotlin.$_$.q4;
|
|
33
|
+
var copyToArray = kotlin_kotlin.$_$.j4;
|
|
34
|
+
var to = kotlin_kotlin.$_$.wc;
|
|
35
|
+
var json = kotlin_kotlin.$_$.i8;
|
|
36
36
|
var Exception_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
37
|
-
var toList = kotlin_kotlin.$_$.
|
|
37
|
+
var toList = kotlin_kotlin.$_$.i6;
|
|
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.h19_1 = id;
|
|
46
|
+
this.i19_1 = authorEmail;
|
|
47
|
+
this.j19_1 = committerEmail;
|
|
48
|
+
this.k19_1 = dateTime;
|
|
49
|
+
this.l19_1 = parents;
|
|
50
|
+
this.m19_1 = fullMessage;
|
|
51
51
|
}
|
|
52
52
|
protoOf(CommitRef).toString = function () {
|
|
53
|
-
return 'CommitRef(id=' + this.
|
|
53
|
+
return 'CommitRef(id=' + this.h19_1 + ', authorEmail=' + this.i19_1 + ', committerEmail=' + this.j19_1 + ', dateTime=' + this.k19_1.toString() + ', parents=' + toString(this.l19_1) + ', fullMessage=' + this.m19_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.h19_1);
|
|
57
|
+
result = imul(result, 31) + getStringHashCode(this.i19_1) | 0;
|
|
58
|
+
result = imul(result, 31) + getStringHashCode(this.j19_1) | 0;
|
|
59
|
+
result = imul(result, 31) + this.k19_1.hashCode() | 0;
|
|
60
|
+
result = imul(result, 31) + hashCode(this.l19_1) | 0;
|
|
61
|
+
result = imul(result, 31) + getStringHashCode(this.m19_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.h19_1 === tmp0_other_with_cast.h19_1))
|
|
71
71
|
return false;
|
|
72
|
-
if (!(this.
|
|
72
|
+
if (!(this.i19_1 === tmp0_other_with_cast.i19_1))
|
|
73
73
|
return false;
|
|
74
|
-
if (!(this.
|
|
74
|
+
if (!(this.j19_1 === tmp0_other_with_cast.j19_1))
|
|
75
75
|
return false;
|
|
76
|
-
if (!this.
|
|
76
|
+
if (!this.k19_1.equals(tmp0_other_with_cast.k19_1))
|
|
77
77
|
return false;
|
|
78
|
-
if (!equals(this.
|
|
78
|
+
if (!equals(this.l19_1, tmp0_other_with_cast.l19_1))
|
|
79
79
|
return false;
|
|
80
|
-
if (!(this.
|
|
80
|
+
if (!(this.m19_1 === tmp0_other_with_cast.m19_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.n19_1, plus(env, $this.o19_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.t1(0, commaSplit.p() - 2 | 0), ''), reversed(commaSplit).q(1), Companion_getInstance().
|
|
105
|
+
tmp = new TagRef(joinToString(commaSplit.t1(0, commaSplit.p() - 2 | 0), ''), reversed(commaSplit).q(1), Companion_getInstance().k18(last(commaSplit)));
|
|
106
106
|
} else {
|
|
107
107
|
tmp = null;
|
|
108
108
|
}
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
// Inline function 'kotlin.collections.map' call
|
|
123
123
|
// Inline function 'kotlin.collections.filter' call
|
|
124
124
|
// Inline function 'kotlin.collections.filterTo' call
|
|
125
|
-
var this_0 = split(outputText, [$this.
|
|
125
|
+
var this_0 = split(outputText, [$this.p19_1 + '\n']);
|
|
126
126
|
var destination = ArrayList_init_$Create$();
|
|
127
127
|
var tmp0_iterator = this_0.m();
|
|
128
128
|
while (tmp0_iterator.n()) {
|
|
@@ -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().k18(elements.q(3));
|
|
147
147
|
// Inline function 'kotlin.collections.filter' call
|
|
148
148
|
// Inline function 'kotlin.collections.filterTo' call
|
|
149
149
|
var this_1 = split(elements.q(4), [' ']);
|
|
@@ -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.n19_1 = workingDirectory;
|
|
168
|
+
this.o19_1 = env;
|
|
169
|
+
this.p19_1 = '--------!--------';
|
|
170
|
+
this.q19_1 = '%H%n%ae%n%ce%n%aI%n%P%n%B%n' + this.p19_1;
|
|
171
171
|
}
|
|
172
|
-
protoOf(GitAdapter).
|
|
172
|
+
protoOf(GitAdapter).r19 = 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).s19 = 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).t19 = function () {
|
|
181
|
+
return parseLog(this, runProcess$default(this, listOf(['git', '--no-pager', 'log', '--format=' + this.q19_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).u19 = function (begin, end) {
|
|
184
|
+
return parseLog(this, runProcess$default(this, plus_0(listOf(['git', '--no-pager', 'log', '--format=' + this.q19_1, begin]), !(end == null) ? listOf_0(end) : emptyList())));
|
|
185
185
|
};
|
|
186
|
-
protoOf(GitAdapter).
|
|
186
|
+
protoOf(GitAdapter).v19 = function (begin, end, $super) {
|
|
187
187
|
end = end === VOID ? null : end;
|
|
188
|
-
return $super === VOID ? this.
|
|
188
|
+
return $super === VOID ? this.u19(begin, end) : $super.u19.call(this, begin, end);
|
|
189
189
|
};
|
|
190
190
|
function TagRef(name, commitId, dateTime) {
|
|
191
|
-
this.
|
|
192
|
-
this.
|
|
193
|
-
this.
|
|
191
|
+
this.w19_1 = name;
|
|
192
|
+
this.x19_1 = commitId;
|
|
193
|
+
this.y19_1 = dateTime;
|
|
194
194
|
}
|
|
195
195
|
protoOf(TagRef).toString = function () {
|
|
196
|
-
return 'TagRef(name=' + this.
|
|
196
|
+
return 'TagRef(name=' + this.w19_1 + ', commitId=' + this.x19_1 + ', dateTime=' + this.y19_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.w19_1);
|
|
200
|
+
result = imul(result, 31) + getStringHashCode(this.x19_1) | 0;
|
|
201
|
+
result = imul(result, 31) + this.y19_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.w19_1 === tmp0_other_with_cast.w19_1))
|
|
211
211
|
return false;
|
|
212
|
-
if (!(this.
|
|
212
|
+
if (!(this.x19_1 === tmp0_other_with_cast.x19_1))
|
|
213
213
|
return false;
|
|
214
|
-
if (!this.
|
|
214
|
+
if (!this.y19_1.equals(tmp0_other_with_cast.y19_1))
|
|
215
215
|
return false;
|
|
216
216
|
return true;
|
|
217
217
|
};
|