git-digger 1.4.30 → 1.5.0
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 +1398 -1400
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/clikt-clikt.js +3308 -3654
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +488 -475
- package/kotlin/colormath-root-colormath.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +7448 -7526
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +992 -992
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +325 -325
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/markdown.js +6759 -0
- package/kotlin/markdown.js.map +1 -0
- package/kotlin/mordant-mordant.js +3994 -2311
- package/kotlin/mordant-mordant.js.map +1 -1
- package/kotlin/tools-cli-tools.js +3 -3
- package/kotlin/tools-cli-tools.js.map +1 -1
- package/kotlin/tools-digger-cli.js +84 -87
- package/kotlin/tools-digger-cli.js.map +1 -1
- package/kotlin/tools-digger-core.js +242 -242
- package/kotlin/tools-digger-core.js.map +1 -1
- package/kotlin/tools-digger-json.js +117 -117
- package/kotlin/tools-digger-json.js.map +1 -1
- package/kotlin/tools-digger-model.js +59 -59
- package/kotlin/tools-git-adapter.js +95 -95
- package/kotlin/tools-git-adapter.js.map +1 -1
- package/package.json +1 -1
- package/kotlin/clikt-clikt-mordant.js +0 -306
- package/kotlin/clikt-clikt-mordant.js.map +0 -1
- package/kotlin/mordant-mordant-omnibus.js +0 -8
- package/kotlin/mordant-mordant-omnibus.js.map +0 -1
|
@@ -2,35 +2,35 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
6
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
7
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
8
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
9
|
-
var equals = kotlin_kotlin.$_$.
|
|
10
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
11
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
12
|
-
var split = kotlin_kotlin.$_$.
|
|
13
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
14
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
15
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
16
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
17
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
5
|
+
var protoOf = kotlin_kotlin.$_$.y8;
|
|
6
|
+
var getStringHashCode = kotlin_kotlin.$_$.b8;
|
|
7
|
+
var hashCode = kotlin_kotlin.$_$.c8;
|
|
8
|
+
var THROW_CCE = kotlin_kotlin.$_$.jc;
|
|
9
|
+
var equals = kotlin_kotlin.$_$.w7;
|
|
10
|
+
var classMeta = kotlin_kotlin.$_$.u7;
|
|
11
|
+
var setMetadataFor = kotlin_kotlin.$_$.z8;
|
|
12
|
+
var split = kotlin_kotlin.$_$.hb;
|
|
13
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
14
|
+
var charSequenceLength = kotlin_kotlin.$_$.s7;
|
|
15
|
+
var Unit_instance = kotlin_kotlin.$_$.l3;
|
|
16
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.i4;
|
|
17
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
18
18
|
var Companion_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.b;
|
|
19
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
20
|
-
var listOf = kotlin_kotlin.$_$.
|
|
21
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
22
|
-
var trim = kotlin_kotlin.$_$.
|
|
23
|
-
var toString = kotlin_kotlin.$_$.
|
|
24
|
-
var reversed = kotlin_kotlin.$_$.
|
|
25
|
-
var last = kotlin_kotlin.$_$.
|
|
26
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
27
|
-
var listOf_0 = kotlin_kotlin.$_$.
|
|
28
|
-
var plus = kotlin_kotlin.$_$.
|
|
19
|
+
var joinToString = kotlin_kotlin.$_$.h5;
|
|
20
|
+
var listOf = kotlin_kotlin.$_$.t5;
|
|
21
|
+
var isCharSequence = kotlin_kotlin.$_$.i8;
|
|
22
|
+
var trim = kotlin_kotlin.$_$.ub;
|
|
23
|
+
var toString = kotlin_kotlin.$_$.b9;
|
|
24
|
+
var reversed = kotlin_kotlin.$_$.g6;
|
|
25
|
+
var last = kotlin_kotlin.$_$.q5;
|
|
26
|
+
var emptyList = kotlin_kotlin.$_$.u4;
|
|
27
|
+
var listOf_0 = kotlin_kotlin.$_$.s5;
|
|
28
|
+
var plus = kotlin_kotlin.$_$.c6;
|
|
29
29
|
var VOID = kotlin_kotlin.$_$.g;
|
|
30
|
-
var first = kotlin_kotlin.$_$.
|
|
31
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
32
|
-
var to = kotlin_kotlin.$_$.
|
|
33
|
-
var json = kotlin_kotlin.$_$.
|
|
30
|
+
var first = kotlin_kotlin.$_$.z4;
|
|
31
|
+
var copyToArray = kotlin_kotlin.$_$.q4;
|
|
32
|
+
var to = kotlin_kotlin.$_$.ed;
|
|
33
|
+
var json = kotlin_kotlin.$_$.q8;
|
|
34
34
|
//endregion
|
|
35
35
|
//region block: pre-declaration
|
|
36
36
|
setMetadataFor(CommitRef, 'CommitRef', classMeta);
|
|
@@ -38,23 +38,23 @@
|
|
|
38
38
|
setMetadataFor(TagRef, 'TagRef', classMeta);
|
|
39
39
|
//endregion
|
|
40
40
|
function CommitRef(id, authorEmail, committerEmail, dateTime, parents, fullMessage) {
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
41
|
+
this.i17_1 = id;
|
|
42
|
+
this.j17_1 = authorEmail;
|
|
43
|
+
this.k17_1 = committerEmail;
|
|
44
|
+
this.l17_1 = dateTime;
|
|
45
|
+
this.m17_1 = parents;
|
|
46
|
+
this.n17_1 = fullMessage;
|
|
47
47
|
}
|
|
48
48
|
protoOf(CommitRef).toString = function () {
|
|
49
|
-
return 'CommitRef(id=' + this.
|
|
49
|
+
return 'CommitRef(id=' + this.i17_1 + ', authorEmail=' + this.j17_1 + ', committerEmail=' + this.k17_1 + ', dateTime=' + this.l17_1 + ', parents=' + this.m17_1 + ', fullMessage=' + this.n17_1 + ')';
|
|
50
50
|
};
|
|
51
51
|
protoOf(CommitRef).hashCode = function () {
|
|
52
|
-
var result = getStringHashCode(this.
|
|
53
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
54
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
55
|
-
result = imul(result, 31) + this.
|
|
56
|
-
result = imul(result, 31) + hashCode(this.
|
|
57
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
52
|
+
var result = getStringHashCode(this.i17_1);
|
|
53
|
+
result = imul(result, 31) + getStringHashCode(this.j17_1) | 0;
|
|
54
|
+
result = imul(result, 31) + getStringHashCode(this.k17_1) | 0;
|
|
55
|
+
result = imul(result, 31) + this.l17_1.hashCode() | 0;
|
|
56
|
+
result = imul(result, 31) + hashCode(this.m17_1) | 0;
|
|
57
|
+
result = imul(result, 31) + getStringHashCode(this.n17_1) | 0;
|
|
58
58
|
return result;
|
|
59
59
|
};
|
|
60
60
|
protoOf(CommitRef).equals = function (other) {
|
|
@@ -63,17 +63,17 @@
|
|
|
63
63
|
if (!(other instanceof CommitRef))
|
|
64
64
|
return false;
|
|
65
65
|
var tmp0_other_with_cast = other instanceof CommitRef ? other : THROW_CCE();
|
|
66
|
-
if (!(this.
|
|
66
|
+
if (!(this.i17_1 === tmp0_other_with_cast.i17_1))
|
|
67
67
|
return false;
|
|
68
|
-
if (!(this.
|
|
68
|
+
if (!(this.j17_1 === tmp0_other_with_cast.j17_1))
|
|
69
69
|
return false;
|
|
70
|
-
if (!(this.
|
|
70
|
+
if (!(this.k17_1 === tmp0_other_with_cast.k17_1))
|
|
71
71
|
return false;
|
|
72
|
-
if (!this.
|
|
72
|
+
if (!this.l17_1.equals(tmp0_other_with_cast.l17_1))
|
|
73
73
|
return false;
|
|
74
|
-
if (!equals(this.
|
|
74
|
+
if (!equals(this.m17_1, tmp0_other_with_cast.m17_1))
|
|
75
75
|
return false;
|
|
76
|
-
if (!(this.
|
|
76
|
+
if (!(this.n17_1 === tmp0_other_with_cast.n17_1))
|
|
77
77
|
return false;
|
|
78
78
|
return true;
|
|
79
79
|
};
|
|
@@ -81,72 +81,72 @@
|
|
|
81
81
|
// Inline function 'kotlin.collections.map' call
|
|
82
82
|
// Inline function 'kotlin.collections.filter' call
|
|
83
83
|
// Inline function 'kotlin.collections.filterTo' call
|
|
84
|
-
var this_0 = split(outputText, [$this.
|
|
84
|
+
var this_0 = split(outputText, [$this.p17_1 + '\n']);
|
|
85
85
|
var destination = ArrayList_init_$Create$();
|
|
86
|
-
var tmp0_iterator = this_0.
|
|
87
|
-
while (tmp0_iterator.
|
|
88
|
-
var element = tmp0_iterator.
|
|
86
|
+
var tmp0_iterator = this_0.r();
|
|
87
|
+
while (tmp0_iterator.s()) {
|
|
88
|
+
var element = tmp0_iterator.u();
|
|
89
89
|
// Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.parseLog.<anonymous>' call
|
|
90
90
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
91
91
|
if (charSequenceLength(element) > 0) {
|
|
92
|
-
destination.
|
|
92
|
+
destination.o(element);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
// Inline function 'kotlin.collections.mapTo' call
|
|
96
96
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
|
|
97
|
-
var tmp0_iterator_0 = destination.
|
|
98
|
-
while (tmp0_iterator_0.
|
|
99
|
-
var item = tmp0_iterator_0.
|
|
97
|
+
var tmp0_iterator_0 = destination.r();
|
|
98
|
+
while (tmp0_iterator_0.s()) {
|
|
99
|
+
var item = tmp0_iterator_0.u();
|
|
100
100
|
// Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.parseLog.<anonymous>' call
|
|
101
101
|
var elements = split(item, ['\n']);
|
|
102
|
-
var tmp = elements.
|
|
103
|
-
var tmp_0 = elements.
|
|
104
|
-
var tmp_1 = elements.
|
|
105
|
-
var tmp_2 = Companion_getInstance().
|
|
102
|
+
var tmp = elements.c1(0);
|
|
103
|
+
var tmp_0 = elements.c1(1);
|
|
104
|
+
var tmp_1 = elements.c1(2);
|
|
105
|
+
var tmp_2 = Companion_getInstance().l16(elements.c1(3));
|
|
106
106
|
// Inline function 'kotlin.collections.filter' call
|
|
107
107
|
// Inline function 'kotlin.collections.filterTo' call
|
|
108
|
-
var this_1 = split(elements.
|
|
108
|
+
var this_1 = split(elements.c1(4), [' ']);
|
|
109
109
|
var destination_1 = ArrayList_init_$Create$();
|
|
110
|
-
var tmp0_iterator_1 = this_1.
|
|
111
|
-
while (tmp0_iterator_1.
|
|
112
|
-
var element_0 = tmp0_iterator_1.
|
|
110
|
+
var tmp0_iterator_1 = this_1.r();
|
|
111
|
+
while (tmp0_iterator_1.s()) {
|
|
112
|
+
var element_0 = tmp0_iterator_1.u();
|
|
113
113
|
// Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.parseLog.<anonymous>.<anonymous>' call
|
|
114
114
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
115
115
|
if (charSequenceLength(element_0) > 0) {
|
|
116
|
-
destination_1.
|
|
116
|
+
destination_1.o(element_0);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
var tmp$ret$8 = new CommitRef(tmp, tmp_0, tmp_1, tmp_2, destination_1, joinToString(elements.
|
|
120
|
-
destination_0.
|
|
119
|
+
var tmp$ret$8 = new CommitRef(tmp, tmp_0, tmp_1, tmp_2, destination_1, joinToString(elements.z1(5, elements.l()), '\n'));
|
|
120
|
+
destination_0.o(tmp$ret$8);
|
|
121
121
|
}
|
|
122
122
|
return destination_0;
|
|
123
123
|
}
|
|
124
124
|
function GitAdapter(workingDirectory) {
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
125
|
+
this.o17_1 = workingDirectory;
|
|
126
|
+
this.p17_1 = '--------!--------';
|
|
127
|
+
this.q17_1 = '%H%n%ae%n%ce%n%aI%n%P%n%B%n' + this.p17_1;
|
|
128
128
|
}
|
|
129
|
-
protoOf(GitAdapter).
|
|
129
|
+
protoOf(GitAdapter).r17 = function () {
|
|
130
130
|
// Inline function 'kotlin.text.trim' call
|
|
131
|
-
var this_0 = runProcess(listOf(['git', '--no-pager', 'rev-parse', 'HEAD']), this.
|
|
131
|
+
var this_0 = runProcess(listOf(['git', '--no-pager', 'rev-parse', 'HEAD']), this.o17_1);
|
|
132
132
|
return toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()));
|
|
133
133
|
};
|
|
134
|
-
protoOf(GitAdapter).
|
|
135
|
-
var outputText = runProcess(listOf(['git', '--no-pager', 'tag', '--list', '--sort=-taggerdate', '--format=%(refname:strip=2),%(*objectname),%(creatordate:iso-strict)']), this.
|
|
134
|
+
protoOf(GitAdapter).s17 = function () {
|
|
135
|
+
var outputText = runProcess(listOf(['git', '--no-pager', 'tag', '--list', '--sort=-taggerdate', '--format=%(refname:strip=2),%(*objectname),%(creatordate:iso-strict)']), this.o17_1);
|
|
136
136
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
137
137
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
138
138
|
var this_0 = split(outputText, ['\n']);
|
|
139
139
|
var destination = ArrayList_init_$Create$();
|
|
140
140
|
// Inline function 'kotlin.collections.forEach' call
|
|
141
|
-
var tmp0_iterator = this_0.
|
|
142
|
-
while (tmp0_iterator.
|
|
143
|
-
var element = tmp0_iterator.
|
|
141
|
+
var tmp0_iterator = this_0.r();
|
|
142
|
+
while (tmp0_iterator.s()) {
|
|
143
|
+
var element = tmp0_iterator.u();
|
|
144
144
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
145
145
|
// Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.listTags.<anonymous>' call
|
|
146
146
|
var commaSplit = split(element, [',']);
|
|
147
147
|
var tmp;
|
|
148
|
-
if (commaSplit.
|
|
149
|
-
tmp = new TagRef(joinToString(commaSplit.
|
|
148
|
+
if (commaSplit.l() >= 3) {
|
|
149
|
+
tmp = new TagRef(joinToString(commaSplit.z1(0, commaSplit.l() - 2 | 0), ''), reversed(commaSplit).c1(1), Companion_getInstance().l16(last(commaSplit)));
|
|
150
150
|
} else {
|
|
151
151
|
tmp = null;
|
|
152
152
|
}
|
|
@@ -156,34 +156,34 @@
|
|
|
156
156
|
else {
|
|
157
157
|
// Inline function 'kotlin.let' call
|
|
158
158
|
// Inline function 'kotlin.contracts.contract' call
|
|
159
|
-
destination.
|
|
159
|
+
destination.o(tmp0_safe_receiver);
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
var output = destination;
|
|
163
163
|
return output;
|
|
164
164
|
};
|
|
165
|
-
protoOf(GitAdapter).
|
|
166
|
-
return parseLog(this, runProcess(listOf(['git', '--no-pager', 'log', '--format=' + this.
|
|
165
|
+
protoOf(GitAdapter).t17 = function () {
|
|
166
|
+
return parseLog(this, runProcess(listOf(['git', '--no-pager', 'log', '--format=' + this.q17_1]), this.o17_1));
|
|
167
167
|
};
|
|
168
|
-
protoOf(GitAdapter).
|
|
169
|
-
return parseLog(this, runProcess(plus(listOf(['git', '--no-pager', 'log', '--format=' + this.
|
|
168
|
+
protoOf(GitAdapter).u17 = function (begin, end) {
|
|
169
|
+
return parseLog(this, runProcess(plus(listOf(['git', '--no-pager', 'log', '--format=' + this.q17_1, begin]), !(end == null) ? listOf_0(end) : emptyList()), this.o17_1));
|
|
170
170
|
};
|
|
171
|
-
protoOf(GitAdapter).
|
|
171
|
+
protoOf(GitAdapter).v17 = function (begin, end, $super) {
|
|
172
172
|
end = end === VOID ? null : end;
|
|
173
|
-
return $super === VOID ? this.
|
|
173
|
+
return $super === VOID ? this.u17(begin, end) : $super.u17.call(this, begin, end);
|
|
174
174
|
};
|
|
175
175
|
function TagRef(name, commitId, dateTime) {
|
|
176
|
-
this.
|
|
177
|
-
this.
|
|
178
|
-
this.
|
|
176
|
+
this.w17_1 = name;
|
|
177
|
+
this.x17_1 = commitId;
|
|
178
|
+
this.y17_1 = dateTime;
|
|
179
179
|
}
|
|
180
180
|
protoOf(TagRef).toString = function () {
|
|
181
|
-
return 'TagRef(name=' + this.
|
|
181
|
+
return 'TagRef(name=' + this.w17_1 + ', commitId=' + this.x17_1 + ', dateTime=' + this.y17_1 + ')';
|
|
182
182
|
};
|
|
183
183
|
protoOf(TagRef).hashCode = function () {
|
|
184
|
-
var result = getStringHashCode(this.
|
|
185
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
186
|
-
result = imul(result, 31) + this.
|
|
184
|
+
var result = getStringHashCode(this.w17_1);
|
|
185
|
+
result = imul(result, 31) + getStringHashCode(this.x17_1) | 0;
|
|
186
|
+
result = imul(result, 31) + this.y17_1.hashCode() | 0;
|
|
187
187
|
return result;
|
|
188
188
|
};
|
|
189
189
|
protoOf(TagRef).equals = function (other) {
|
|
@@ -192,11 +192,11 @@
|
|
|
192
192
|
if (!(other instanceof TagRef))
|
|
193
193
|
return false;
|
|
194
194
|
var tmp0_other_with_cast = other instanceof TagRef ? other : THROW_CCE();
|
|
195
|
-
if (!(this.
|
|
195
|
+
if (!(this.w17_1 === tmp0_other_with_cast.w17_1))
|
|
196
196
|
return false;
|
|
197
|
-
if (!(this.
|
|
197
|
+
if (!(this.x17_1 === tmp0_other_with_cast.x17_1))
|
|
198
198
|
return false;
|
|
199
|
-
if (!this.
|
|
199
|
+
if (!this.y17_1.equals(tmp0_other_with_cast.y17_1))
|
|
200
200
|
return false;
|
|
201
201
|
return true;
|
|
202
202
|
};
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
_init_properties_RunProcess_js_kt__6db8dd();
|
|
210
210
|
var program = first(args);
|
|
211
211
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
212
|
-
var this_0 = args.
|
|
212
|
+
var this_0 = args.z1(1, args.l());
|
|
213
213
|
var tmp$ret$0 = copyToArray(this_0);
|
|
214
214
|
var spawn = get_childProcess().spawnSync(program, tmp$ret$0, json([to('cwd', workingDirectory), to('maxBuffer', 10485760)]));
|
|
215
215
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../git-adapter/src/commonMain/kotlin/com/zegreatrob/tools/adapter/git/CommitRef.kt","../../../../../git-adapter/src/commonMain/kotlin/com/zegreatrob/tools/adapter/git/GitAdapter.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/common/src/generated/_Collections.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/text/Strings.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/util/Standard.kt","../../../../../git-adapter/src/commonMain/kotlin/com/zegreatrob/tools/adapter/git/TagRef.kt","../../../../../git-adapter/src/jsMain/kotlin/com/zegreatrob/tools/adapter/git/RunProcess.js.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/js/src/kotlin/collectionJs.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/js/src/kotlin/dynamic.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null],"names":["<init>","id","authorEmail","committerEmail","dateTime","parents","fullMessage","toString","hashCode","result","equals","other","parseLog","outputText","element","item","elements","workingDirectory","headCommitId","listTags","commaSplit","output","log","logWithRange","begin","end","logWithRange$default","name","commitId","<get-childProcess>","runProcess","args","program","spawn","<init properties RunProcess.js.kt>"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAIKA,CACDC,E,EACAC,W,EACAC,c,EACAC,Q,EACAC,O,EACAC,WANCN,EAAL;A,IACI,e;IACA,wB;IACA,2B;IACA,qB;IACA,oB;IACA,wB;EANJ,C;yCAJAO,CAAAA,EAAA;A,IAAA,qM;EAAA,C;yCAAAC,CAAAA,EAAA;A,QAAAC,sC;IAAA,6D;IAAA,6D;IAAA,qD;IAAA,oD;IAAA,6D;IAAA,a;EAAA,C;uCAAAC,CAAAC,KAAAD,EAAA;A,IAAA,mB;MAAA,W;IAAA,kC;MAAA,Y;QAAA,uE;IAAA,iD;MAAA,Y;IAAA,iD;MAAA,Y;IAAA,iD;MAAA,Y;IAAA,mD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,iD;MAAA,Y;IAAA,W;EAAA,C;mBCyGYE,C,OAAaC,UAAbD,EAAmC;A;;;
|
|
1
|
+
{"version":3,"sources":["../../../../../git-adapter/src/commonMain/kotlin/com/zegreatrob/tools/adapter/git/CommitRef.kt","../../../../../git-adapter/src/commonMain/kotlin/com/zegreatrob/tools/adapter/git/GitAdapter.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/common/src/generated/_Collections.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/text/Strings.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/util/Standard.kt","../../../../../git-adapter/src/commonMain/kotlin/com/zegreatrob/tools/adapter/git/TagRef.kt","../../../../../git-adapter/src/jsMain/kotlin/com/zegreatrob/tools/adapter/git/RunProcess.js.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/jsMainSources/libraries/stdlib/js/src/kotlin/collectionJs.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/jsMainSources/libraries/stdlib/js/src/kotlin/dynamic.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null],"names":["<init>","id","authorEmail","committerEmail","dateTime","parents","fullMessage","toString","hashCode","result","equals","other","parseLog","outputText","element","item","elements","workingDirectory","headCommitId","listTags","commaSplit","output","log","logWithRange","begin","end","logWithRange$default","name","commitId","<get-childProcess>","runProcess","args","program","spawn","<init properties RunProcess.js.kt>"],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
(function (_, kotlin_clikt_clikt, kotlin_kotlin, kotlin_mordant_mordant) {
|
|
2
|
-
'use strict';
|
|
3
|
-
//region block: imports
|
|
4
|
-
var CoreCliktCommand = kotlin_clikt_clikt.$_$.a;
|
|
5
|
-
var VOID = kotlin_kotlin.$_$.g;
|
|
6
|
-
var Unit_instance = kotlin_kotlin.$_$.f3;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.j8;
|
|
8
|
-
var classMeta = kotlin_kotlin.$_$.f7;
|
|
9
|
-
var setMetadataFor = kotlin_kotlin.$_$.k8;
|
|
10
|
-
var selfAndAncestors = kotlin_clikt_clikt.$_$.d;
|
|
11
|
-
var mapNotNull = kotlin_kotlin.$_$.k9;
|
|
12
|
-
var firstOrNull = kotlin_kotlin.$_$.f9;
|
|
13
|
-
var Terminal_init_$Create$ = kotlin_mordant_mordant.$_$.g;
|
|
14
|
-
var last = kotlin_kotlin.$_$.j9;
|
|
15
|
-
var MultiplatformSystem_instance = kotlin_mordant_mordant.$_$.i;
|
|
16
|
-
var FileNotFound = kotlin_clikt_clikt.$_$.b;
|
|
17
|
-
var Terminal = kotlin_mordant_mordant.$_$.b;
|
|
18
|
-
var Whitespace_NORMAL_getInstance = kotlin_mordant_mordant.$_$.e;
|
|
19
|
-
var Text_init_$Create$ = kotlin_mordant_mordant.$_$.h;
|
|
20
|
-
var AbstractHelpFormatter = kotlin_clikt_clikt.$_$.f;
|
|
21
|
-
var verticalLayout = kotlin_mordant_mordant.$_$.a;
|
|
22
|
-
var charSequenceLength = kotlin_kotlin.$_$.d7;
|
|
23
|
-
var definitionList = kotlin_mordant_mordant.$_$.c;
|
|
24
|
-
var withPadding = kotlin_mordant_mordant.$_$.d;
|
|
25
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.c4;
|
|
26
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
27
|
-
var ensureNotNull = kotlin_kotlin.$_$.ic;
|
|
28
|
-
var drop = kotlin_kotlin.$_$.v9;
|
|
29
|
-
var plus = kotlin_kotlin.$_$.oc;
|
|
30
|
-
var Whitespace_PRE_WRAP_getInstance = kotlin_mordant_mordant.$_$.f;
|
|
31
|
-
var isBlank = kotlin_kotlin.$_$.ca;
|
|
32
|
-
var replace = kotlin_kotlin.$_$.oa;
|
|
33
|
-
//endregion
|
|
34
|
-
//region block: pre-declaration
|
|
35
|
-
setMetadataFor(CliktCommand, 'CliktCommand', classMeta, CoreCliktCommand);
|
|
36
|
-
setMetadataFor(MordantHelpFormatter, 'MordantHelpFormatter', classMeta, AbstractHelpFormatter);
|
|
37
|
-
//endregion
|
|
38
|
-
function CliktCommand(name) {
|
|
39
|
-
name = name === VOID ? null : name;
|
|
40
|
-
CoreCliktCommand.call(this, name);
|
|
41
|
-
installMordant(this);
|
|
42
|
-
}
|
|
43
|
-
function installMordant(_this__u8e3s4, force) {
|
|
44
|
-
force = force === VOID ? false : force;
|
|
45
|
-
_this__u8e3s4.z1g(installMordant$lambda(force));
|
|
46
|
-
}
|
|
47
|
-
function get_terminal(_this__u8e3s4) {
|
|
48
|
-
// Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
|
|
49
|
-
var key = 'mordant_terminal';
|
|
50
|
-
var tmp = selfAndAncestors(_this__u8e3s4);
|
|
51
|
-
var tmp0_elvis_lhs = firstOrNull(mapNotNull(tmp, _get_terminal_$lambda_5keric(key)));
|
|
52
|
-
var tmp_0;
|
|
53
|
-
if (tmp0_elvis_lhs == null) {
|
|
54
|
-
// Inline function 'kotlin.also' call
|
|
55
|
-
var this_0 = Terminal_init_$Create$();
|
|
56
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
57
|
-
// Inline function 'com.github.ajalt.clikt.core.<get-terminal>.<anonymous>' call
|
|
58
|
-
// Inline function 'kotlin.collections.set' call
|
|
59
|
-
var this_1 = last(selfAndAncestors(_this__u8e3s4)).x1e_1;
|
|
60
|
-
var key_0 = 'mordant_terminal';
|
|
61
|
-
this_1.c2(key_0, this_0);
|
|
62
|
-
tmp_0 = this_0;
|
|
63
|
-
} else {
|
|
64
|
-
tmp_0 = tmp0_elvis_lhs;
|
|
65
|
-
}
|
|
66
|
-
return tmp_0;
|
|
67
|
-
}
|
|
68
|
-
function installMordant$lambda$lambda(it) {
|
|
69
|
-
return new MordantHelpFormatter(it);
|
|
70
|
-
}
|
|
71
|
-
function installMordant$lambda$lambda_0(it) {
|
|
72
|
-
return MultiplatformSystem_instance.r22(it);
|
|
73
|
-
}
|
|
74
|
-
function installMordant$lambda$lambda_1(it) {
|
|
75
|
-
var tmp0_elvis_lhs = MultiplatformSystem_instance.t22(it);
|
|
76
|
-
var tmp;
|
|
77
|
-
if (tmp0_elvis_lhs == null) {
|
|
78
|
-
throw new FileNotFound(it);
|
|
79
|
-
} else {
|
|
80
|
-
tmp = tmp0_elvis_lhs;
|
|
81
|
-
}
|
|
82
|
-
return tmp;
|
|
83
|
-
}
|
|
84
|
-
function installMordant$lambda$lambda_2(it) {
|
|
85
|
-
MultiplatformSystem_instance.s22(it);
|
|
86
|
-
return Unit_instance;
|
|
87
|
-
}
|
|
88
|
-
function installMordant$lambda$lambda_3(context, message, trailingNewline, err) {
|
|
89
|
-
if (trailingNewline) {
|
|
90
|
-
get_terminal(context).r2c(message, VOID, VOID, VOID, VOID, err);
|
|
91
|
-
} else {
|
|
92
|
-
get_terminal(context).p2c(message, VOID, VOID, VOID, VOID, err);
|
|
93
|
-
}
|
|
94
|
-
return Unit_instance;
|
|
95
|
-
}
|
|
96
|
-
function installMordant$lambda($force) {
|
|
97
|
-
return function ($this$configureContext) {
|
|
98
|
-
var tmp;
|
|
99
|
-
if (!$force ? !($this$configureContext.a1h_1 == null) : false) {
|
|
100
|
-
return Unit_instance;
|
|
101
|
-
}
|
|
102
|
-
var tmp_0 = $this$configureContext;
|
|
103
|
-
tmp_0.f1h_1 = installMordant$lambda$lambda;
|
|
104
|
-
var tmp_1 = $this$configureContext;
|
|
105
|
-
tmp_1.n1h_1 = installMordant$lambda$lambda_0;
|
|
106
|
-
var tmp_2 = $this$configureContext;
|
|
107
|
-
tmp_2.i1h_1 = installMordant$lambda$lambda_1;
|
|
108
|
-
var tmp_3 = $this$configureContext;
|
|
109
|
-
tmp_3.q1h_1 = installMordant$lambda$lambda_2;
|
|
110
|
-
var tmp_4 = $this$configureContext;
|
|
111
|
-
tmp_4.p1h_1 = installMordant$lambda$lambda_3;
|
|
112
|
-
return Unit_instance;
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
function _get_terminal_$lambda_5keric($key) {
|
|
116
|
-
return function (it) {
|
|
117
|
-
var tmp = it.x1e_1.v1($key);
|
|
118
|
-
return tmp instanceof Terminal ? tmp : null;
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
function MordantHelpFormatter$formatHelp$lambda(this$0, $error, $prolog, $epilog, $parameters, $programName) {
|
|
122
|
-
return function ($this$verticalLayout) {
|
|
123
|
-
$this$verticalLayout.h29(1);
|
|
124
|
-
$this$verticalLayout.e29(this$0.g1n($error, $prolog, $epilog, $parameters, $programName));
|
|
125
|
-
return Unit_instance;
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
function MordantHelpFormatter$renderUsage$lambda($prog, $usageParts) {
|
|
129
|
-
return function ($this$definitionList) {
|
|
130
|
-
$this$definitionList.b2d($prog, Text_init_$Create$($usageParts, Whitespace_NORMAL_getInstance()));
|
|
131
|
-
$this$definitionList.v2c_1 = true;
|
|
132
|
-
$this$definitionList.y2c(1);
|
|
133
|
-
return Unit_instance;
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
function MordantHelpFormatter$renderProlog$lambda($this$withPadding) {
|
|
137
|
-
$this$withPadding.e2b_1 = 2;
|
|
138
|
-
return Unit_instance;
|
|
139
|
-
}
|
|
140
|
-
function MordantHelpFormatter$renderParameters$lambda(this$0, $parameters) {
|
|
141
|
-
return function ($this$definitionList) {
|
|
142
|
-
var _iterator__ex2g4s = this$0.t1o($parameters).m();
|
|
143
|
-
while (_iterator__ex2g4s.n()) {
|
|
144
|
-
var section = _iterator__ex2g4s.o();
|
|
145
|
-
$this$definitionList.b2d(section.n1m_1, section.o1m_1);
|
|
146
|
-
}
|
|
147
|
-
return Unit_instance;
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
function MordantHelpFormatter$renderOptionGroup$lambda($this$withPadding) {
|
|
151
|
-
$this$withPadding.b2b_1 = 1;
|
|
152
|
-
$this$withPadding.e2b_1 = 2;
|
|
153
|
-
$this$withPadding.d2b_1 = 1;
|
|
154
|
-
return Unit_instance;
|
|
155
|
-
}
|
|
156
|
-
function MordantHelpFormatter$renderOptionGroup$lambda_0($markdown, this$0, $options) {
|
|
157
|
-
return function ($this$verticalLayout) {
|
|
158
|
-
$this$verticalLayout.g29($markdown);
|
|
159
|
-
$this$verticalLayout.g29(this$0.d1p($options));
|
|
160
|
-
return Unit_instance;
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
function MordantHelpFormatter$buildParameterList$lambda($rows, this$0) {
|
|
164
|
-
return function ($this$definitionList) {
|
|
165
|
-
$this$definitionList.v2c_1 = true;
|
|
166
|
-
var _iterator__ex2g4s = $rows.m();
|
|
167
|
-
while (_iterator__ex2g4s.n()) {
|
|
168
|
-
var row = _iterator__ex2g4s.o();
|
|
169
|
-
$this$definitionList.c2d(this$0.y1p(row), this$0.z1p(row));
|
|
170
|
-
}
|
|
171
|
-
return Unit_instance;
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
function MordantHelpFormatter(context, requiredOptionMarker, showDefaultValues, showRequiredTag) {
|
|
175
|
-
requiredOptionMarker = requiredOptionMarker === VOID ? null : requiredOptionMarker;
|
|
176
|
-
showDefaultValues = showDefaultValues === VOID ? false : showDefaultValues;
|
|
177
|
-
showRequiredTag = showRequiredTag === VOID ? false : showRequiredTag;
|
|
178
|
-
AbstractHelpFormatter.call(this, context, requiredOptionMarker, showDefaultValues, showRequiredTag);
|
|
179
|
-
}
|
|
180
|
-
protoOf(MordantHelpFormatter).g2e = function () {
|
|
181
|
-
return get_terminal(this.u1m_1).b26_1;
|
|
182
|
-
};
|
|
183
|
-
protoOf(MordantHelpFormatter).t1g = function (error, prolog, epilog, parameters, programName) {
|
|
184
|
-
var widget = verticalLayout(MordantHelpFormatter$formatHelp$lambda(this, error, prolog, epilog, parameters, programName));
|
|
185
|
-
return get_terminal(this.u1m_1).s2c(widget);
|
|
186
|
-
};
|
|
187
|
-
protoOf(MordantHelpFormatter).i1n = function (parameters, error) {
|
|
188
|
-
return Text_init_$Create$(this.m1n(parameters, error));
|
|
189
|
-
};
|
|
190
|
-
protoOf(MordantHelpFormatter).h1n = function (parameters, programName) {
|
|
191
|
-
var title = this.h2e(this.f1n().t1p());
|
|
192
|
-
var prog = title + ' ' + programName;
|
|
193
|
-
var usageParts = this.q1n(parameters);
|
|
194
|
-
var tmp;
|
|
195
|
-
// Inline function 'kotlin.text.isEmpty' call
|
|
196
|
-
if (charSequenceLength(usageParts) === 0) {
|
|
197
|
-
tmp = Text_init_$Create$(prog, Whitespace_NORMAL_getInstance());
|
|
198
|
-
} else {
|
|
199
|
-
tmp = definitionList(MordantHelpFormatter$renderUsage$lambda(prog, usageParts));
|
|
200
|
-
}
|
|
201
|
-
return tmp;
|
|
202
|
-
};
|
|
203
|
-
protoOf(MordantHelpFormatter).j1n = function (prolog) {
|
|
204
|
-
var tmp = this.i2e(prolog);
|
|
205
|
-
return withPadding(tmp, false, MordantHelpFormatter$renderProlog$lambda);
|
|
206
|
-
};
|
|
207
|
-
protoOf(MordantHelpFormatter).l1n = function (epilog) {
|
|
208
|
-
return this.i2e(epilog);
|
|
209
|
-
};
|
|
210
|
-
protoOf(MordantHelpFormatter).k1n = function (parameters) {
|
|
211
|
-
return definitionList(MordantHelpFormatter$renderParameters$lambda(this, parameters));
|
|
212
|
-
};
|
|
213
|
-
protoOf(MordantHelpFormatter).r1o = function (help, parameters) {
|
|
214
|
-
// Inline function 'kotlin.collections.map' call
|
|
215
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
216
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(parameters, 10));
|
|
217
|
-
var tmp0_iterator = parameters.m();
|
|
218
|
-
while (tmp0_iterator.n()) {
|
|
219
|
-
var item = tmp0_iterator.o();
|
|
220
|
-
var tmp$ret$0 = this.w1o(item);
|
|
221
|
-
destination.e(tmp$ret$0);
|
|
222
|
-
}
|
|
223
|
-
var options = destination;
|
|
224
|
-
if (help == null)
|
|
225
|
-
return this.d1p(options);
|
|
226
|
-
var tmp = this.i2e(help);
|
|
227
|
-
var markdown = withPadding(tmp, false, MordantHelpFormatter$renderOptionGroup$lambda);
|
|
228
|
-
return verticalLayout(MordantHelpFormatter$renderOptionGroup$lambda_0(markdown, this, options));
|
|
229
|
-
};
|
|
230
|
-
protoOf(MordantHelpFormatter).c1n = function (name) {
|
|
231
|
-
// Inline function 'kotlin.text.lowercase' call
|
|
232
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
233
|
-
return '<' + name.toLowerCase() + '>';
|
|
234
|
-
};
|
|
235
|
-
protoOf(MordantHelpFormatter).b1p = function (name) {
|
|
236
|
-
return this.g2e().r25('danger').p1y(name);
|
|
237
|
-
};
|
|
238
|
-
protoOf(MordantHelpFormatter).k1p = function (name) {
|
|
239
|
-
return this.g2e().r25('muted').p1y(name);
|
|
240
|
-
};
|
|
241
|
-
protoOf(MordantHelpFormatter).a1n = function (name) {
|
|
242
|
-
return this.g2e().r25('info').p1y(name);
|
|
243
|
-
};
|
|
244
|
-
protoOf(MordantHelpFormatter).d1n = function (name) {
|
|
245
|
-
return this.g2e().r25('info').p1y(name);
|
|
246
|
-
};
|
|
247
|
-
protoOf(MordantHelpFormatter).e1n = function (name) {
|
|
248
|
-
return this.g2e().r25('info').p1y(name);
|
|
249
|
-
};
|
|
250
|
-
protoOf(MordantHelpFormatter).s1o = function (title) {
|
|
251
|
-
return this.g2e().r25('warning').p1y(title);
|
|
252
|
-
};
|
|
253
|
-
protoOf(MordantHelpFormatter).h2e = function (title) {
|
|
254
|
-
return this.g2e().r25('warning').p1y(title);
|
|
255
|
-
};
|
|
256
|
-
protoOf(MordantHelpFormatter).o1n = function (title) {
|
|
257
|
-
return this.g2e().r25('danger').p1y(title);
|
|
258
|
-
};
|
|
259
|
-
protoOf(MordantHelpFormatter).t1n = function (parameter) {
|
|
260
|
-
return this.g2e().r25('muted').p1y(parameter);
|
|
261
|
-
};
|
|
262
|
-
protoOf(MordantHelpFormatter).m1p = function (metavar) {
|
|
263
|
-
return this.g2e().r25('warning').e22(this.g2e().r25('muted')).p1y(metavar);
|
|
264
|
-
};
|
|
265
|
-
protoOf(MordantHelpFormatter).y1p = function (row) {
|
|
266
|
-
var tmp;
|
|
267
|
-
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
268
|
-
var this_0 = row.r1m_1;
|
|
269
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
270
|
-
if (this_0 == null ? true : charSequenceLength(this_0) === 0) {
|
|
271
|
-
tmp = ' ';
|
|
272
|
-
} else {
|
|
273
|
-
// Inline function 'kotlin.text.ifEmpty' call
|
|
274
|
-
var this_1 = drop(' ', ensureNotNull(row.r1m_1).length);
|
|
275
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
276
|
-
var tmp_0;
|
|
277
|
-
// Inline function 'kotlin.text.isEmpty' call
|
|
278
|
-
if (charSequenceLength(this_1) === 0) {
|
|
279
|
-
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderDefinitionTerm.<anonymous>' call
|
|
280
|
-
tmp_0 = ' ';
|
|
281
|
-
} else {
|
|
282
|
-
tmp_0 = this_1;
|
|
283
|
-
}
|
|
284
|
-
var tmp$ret$3 = tmp_0;
|
|
285
|
-
tmp = plus(row.r1m_1, tmp$ret$3);
|
|
286
|
-
}
|
|
287
|
-
var termPrefix = tmp;
|
|
288
|
-
return Text_init_$Create$(termPrefix + row.p1m_1, Whitespace_PRE_WRAP_getInstance());
|
|
289
|
-
};
|
|
290
|
-
protoOf(MordantHelpFormatter).z1p = function (row) {
|
|
291
|
-
return isBlank(row.q1m_1) ? Text_init_$Create$('') : this.i2e(row.q1m_1);
|
|
292
|
-
};
|
|
293
|
-
protoOf(MordantHelpFormatter).d1p = function (rows) {
|
|
294
|
-
return definitionList(MordantHelpFormatter$buildParameterList$lambda(rows, this));
|
|
295
|
-
};
|
|
296
|
-
protoOf(MordantHelpFormatter).i2e = function (text) {
|
|
297
|
-
return Text_init_$Create$(replace(text, '\n\n', '\x85\x85'), Whitespace_NORMAL_getInstance());
|
|
298
|
-
};
|
|
299
|
-
//region block: exports
|
|
300
|
-
_.$_$ = _.$_$ || {};
|
|
301
|
-
_.$_$.a = CliktCommand;
|
|
302
|
-
//endregion
|
|
303
|
-
return _;
|
|
304
|
-
}(module.exports, require('./clikt-clikt.js'), require('./kotlin-kotlin-stdlib.js'), require('./mordant-mordant.js')));
|
|
305
|
-
|
|
306
|
-
//# sourceMappingURL=clikt-clikt-mordant.js.map
|