git-digger 1.9.26 → 1.9.27
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/clikt-clikt-mordant.js +77 -77
- package/kotlin/clikt-clikt.js +1271 -1271
- package/kotlin/colormath-root-colormath.js +432 -432
- package/kotlin/command-line-tools-digger-cli.js +111 -111
- package/kotlin/kotlin-kotlin-stdlib.js +7 -7
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1609 -1609
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1255 -1255
- package/kotlin/mordant-mordant.js +1181 -1181
- package/kotlin/tools-digger-core.js +79 -79
- package/kotlin/tools-digger-json.js +150 -150
- package/kotlin/tools-digger-model.js +50 -50
- package/kotlin/tools-git-adapter.js +47 -13
- package/kotlin/tools-git-adapter.js.map +1 -1
- package/package.json +1 -1
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
initMetadataForClass(OutputFormat, 'OutputFormat', VOID, Enum);
|
|
66
66
|
//endregion
|
|
67
67
|
function Versions() {
|
|
68
|
-
this.
|
|
68
|
+
this.a2i_1 = '1.9.27';
|
|
69
69
|
}
|
|
70
70
|
var Versions_instance;
|
|
71
71
|
function Versions_getInstance() {
|
|
@@ -73,47 +73,47 @@
|
|
|
73
73
|
}
|
|
74
74
|
function _get_dir__e67350($this) {
|
|
75
75
|
var tmp = KProperty1;
|
|
76
|
-
return $this.
|
|
76
|
+
return $this.q2i_1.j1u($this, getPropertyCallableRef('dir', 1, tmp, AllContributionData$_get_dir_$ref_wg6jhm_0(), null));
|
|
77
77
|
}
|
|
78
78
|
function _get_outputFile__pta58u($this) {
|
|
79
79
|
var tmp = KProperty1;
|
|
80
|
-
return $this.
|
|
80
|
+
return $this.r2i_1.j1u($this, getPropertyCallableRef('outputFile', 1, tmp, AllContributionData$_get_outputFile_$ref_2u5sp2_0(), null));
|
|
81
81
|
}
|
|
82
82
|
function _get_label__euqgmb($this) {
|
|
83
83
|
var tmp = KProperty1;
|
|
84
|
-
return $this.
|
|
84
|
+
return $this.s2i_1.j1u($this, getPropertyCallableRef('label', 1, tmp, AllContributionData$_get_label_$ref_3wi4kj_0(), null));
|
|
85
85
|
}
|
|
86
86
|
function _get_majorRegex__5j6ypp($this) {
|
|
87
87
|
var tmp = KProperty1;
|
|
88
|
-
return $this.
|
|
88
|
+
return $this.t2i_1.j1u($this, getPropertyCallableRef('majorRegex', 1, tmp, AllContributionData$_get_majorRegex_$ref_1hzqob_0(), null));
|
|
89
89
|
}
|
|
90
90
|
function _get_minorRegex__20z96h($this) {
|
|
91
91
|
var tmp = KProperty1;
|
|
92
|
-
return $this.
|
|
92
|
+
return $this.u2i_1.j1u($this, getPropertyCallableRef('minorRegex', 1, tmp, AllContributionData$_get_minorRegex_$ref_grl9sf_0(), null));
|
|
93
93
|
}
|
|
94
94
|
function _get_patchRegex__mtlu2c($this) {
|
|
95
95
|
var tmp = KProperty1;
|
|
96
|
-
return $this.
|
|
96
|
+
return $this.v2i_1.j1u($this, getPropertyCallableRef('patchRegex', 1, tmp, AllContributionData$_get_patchRegex_$ref_c7qjno_0(), null));
|
|
97
97
|
}
|
|
98
98
|
function _get_noneRegex__1tdbgi($this) {
|
|
99
99
|
var tmp = KProperty1;
|
|
100
|
-
return $this.
|
|
100
|
+
return $this.w2i_1.j1u($this, getPropertyCallableRef('noneRegex', 1, tmp, AllContributionData$_get_noneRegex_$ref_zhv3p4_0(), null));
|
|
101
101
|
}
|
|
102
102
|
function _get_storyIdRegex__auqux8($this) {
|
|
103
103
|
var tmp = KProperty1;
|
|
104
|
-
return $this.
|
|
104
|
+
return $this.x2i_1.j1u($this, getPropertyCallableRef('storyIdRegex', 1, tmp, AllContributionData$_get_storyIdRegex_$ref_5u1ovg_0(), null));
|
|
105
105
|
}
|
|
106
106
|
function _get_easeRegex__pf594o($this) {
|
|
107
107
|
var tmp = KProperty1;
|
|
108
|
-
return $this.
|
|
108
|
+
return $this.y2i_1.j1u($this, getPropertyCallableRef('easeRegex', 1, tmp, AllContributionData$_get_easeRegex_$ref_np9uma_0(), null));
|
|
109
109
|
}
|
|
110
110
|
function _get_tagRegex__ibn0wy($this) {
|
|
111
111
|
var tmp = KProperty1;
|
|
112
|
-
return $this.
|
|
112
|
+
return $this.z2i_1.j1u($this, getPropertyCallableRef('tagRegex', 1, tmp, AllContributionData$_get_tagRegex_$ref_cls7rq_0(), null));
|
|
113
113
|
}
|
|
114
114
|
function _get_format__qlarck($this) {
|
|
115
115
|
var tmp = KProperty1;
|
|
116
|
-
return $this.
|
|
116
|
+
return $this.a2j_1.j1u($this, getPropertyCallableRef('format', 1, tmp, AllContributionData$_get_format_$ref_cn6yng_0(), null));
|
|
117
117
|
}
|
|
118
118
|
function _get_core__d4zfrg($this) {
|
|
119
119
|
// Inline function 'kotlin.text.ifBlank' call
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
tmp_0 = Regex_init_$Create$(tmp0_safe_receiver);
|
|
135
135
|
}
|
|
136
136
|
var tmp1_elvis_lhs = tmp_0;
|
|
137
|
-
var tmp15_tagRegex = tmp1_elvis_lhs == null ? Defaults_getInstance().
|
|
137
|
+
var tmp15_tagRegex = tmp1_elvis_lhs == null ? Defaults_getInstance().zm_1 : tmp1_elvis_lhs;
|
|
138
138
|
var tmp16_gitWrapper = new GitAdapter(_get_dir__e67350($this));
|
|
139
139
|
var tmp2_safe_receiver = _get_majorRegex__5j6ypp($this);
|
|
140
140
|
var tmp_1;
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
tmp_1 = Regex_init_$Create$(tmp2_safe_receiver);
|
|
146
146
|
}
|
|
147
147
|
var tmp3_elvis_lhs = tmp_1;
|
|
148
|
-
var tmp_2 = tmp3_elvis_lhs == null ? Defaults_getInstance_0().
|
|
148
|
+
var tmp_2 = tmp3_elvis_lhs == null ? Defaults_getInstance_0().cn_1 : tmp3_elvis_lhs;
|
|
149
149
|
var tmp4_safe_receiver = _get_minorRegex__20z96h($this);
|
|
150
150
|
var tmp_3;
|
|
151
151
|
if (tmp4_safe_receiver == null) {
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
tmp_3 = Regex_init_$Create$(tmp4_safe_receiver);
|
|
156
156
|
}
|
|
157
157
|
var tmp5_elvis_lhs = tmp_3;
|
|
158
|
-
var tmp_4 = tmp5_elvis_lhs == null ? Defaults_getInstance_0().
|
|
158
|
+
var tmp_4 = tmp5_elvis_lhs == null ? Defaults_getInstance_0().dn_1 : tmp5_elvis_lhs;
|
|
159
159
|
var tmp6_safe_receiver = _get_patchRegex__mtlu2c($this);
|
|
160
160
|
var tmp_5;
|
|
161
161
|
if (tmp6_safe_receiver == null) {
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
tmp_5 = Regex_init_$Create$(tmp6_safe_receiver);
|
|
166
166
|
}
|
|
167
167
|
var tmp7_elvis_lhs = tmp_5;
|
|
168
|
-
var tmp_6 = tmp7_elvis_lhs == null ? Defaults_getInstance_0().
|
|
168
|
+
var tmp_6 = tmp7_elvis_lhs == null ? Defaults_getInstance_0().en_1 : tmp7_elvis_lhs;
|
|
169
169
|
var tmp8_safe_receiver = _get_noneRegex__1tdbgi($this);
|
|
170
170
|
var tmp_7;
|
|
171
171
|
if (tmp8_safe_receiver == null) {
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
tmp_7 = Regex_init_$Create$(tmp8_safe_receiver);
|
|
176
176
|
}
|
|
177
177
|
var tmp9_elvis_lhs = tmp_7;
|
|
178
|
-
var tmp_8 = tmp9_elvis_lhs == null ? Defaults_getInstance_0().
|
|
178
|
+
var tmp_8 = tmp9_elvis_lhs == null ? Defaults_getInstance_0().fn_1 : tmp9_elvis_lhs;
|
|
179
179
|
var tmp10_safe_receiver = _get_storyIdRegex__auqux8($this);
|
|
180
180
|
var tmp_9;
|
|
181
181
|
if (tmp10_safe_receiver == null) {
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
tmp_9 = Regex_init_$Create$(tmp10_safe_receiver);
|
|
186
186
|
}
|
|
187
187
|
var tmp11_elvis_lhs = tmp_9;
|
|
188
|
-
var tmp_10 = tmp11_elvis_lhs == null ? Defaults_getInstance_0().
|
|
188
|
+
var tmp_10 = tmp11_elvis_lhs == null ? Defaults_getInstance_0().gn_1 : tmp11_elvis_lhs;
|
|
189
189
|
var tmp12_safe_receiver = _get_easeRegex__pf594o($this);
|
|
190
190
|
var tmp_11;
|
|
191
191
|
if (tmp12_safe_receiver == null) {
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
tmp_11 = Regex_init_$Create$(tmp12_safe_receiver);
|
|
196
196
|
}
|
|
197
197
|
var tmp13_elvis_lhs = tmp_11;
|
|
198
|
-
var tmp17_messageDigger = new MessageDigger(tmp_2, tmp_4, tmp_6, tmp_8, tmp_10, tmp13_elvis_lhs == null ? Defaults_getInstance_0().
|
|
198
|
+
var tmp17_messageDigger = new MessageDigger(tmp_2, tmp_4, tmp_6, tmp_8, tmp_10, tmp13_elvis_lhs == null ? Defaults_getInstance_0().hn_1 : tmp13_elvis_lhs);
|
|
199
199
|
return new DiggerCore(tmp14_label, tmp16_gitWrapper, tmp17_messageDigger, tmp15_tagRegex);
|
|
200
200
|
}
|
|
201
201
|
function AllContributionData$_get_dir_$ref_wg6jhm() {
|
|
@@ -313,43 +313,43 @@
|
|
|
313
313
|
var tmp = this;
|
|
314
314
|
var tmp_0 = argument(this, 'git-repo');
|
|
315
315
|
var tmp_1 = KProperty1;
|
|
316
|
-
tmp.
|
|
316
|
+
tmp.q2i_1 = tmp_0.l1u(this, getPropertyCallableRef('dir', 1, tmp_1, AllContributionData$_get_dir_$ref_wg6jhm(), null));
|
|
317
317
|
var tmp_2 = this;
|
|
318
318
|
var tmp_3 = default_0(option(this, []), 'allContributionData.json');
|
|
319
319
|
var tmp_4 = KProperty1;
|
|
320
|
-
tmp_2.
|
|
320
|
+
tmp_2.r2i_1 = tmp_3.w1u(this, getPropertyCallableRef('outputFile', 1, tmp_4, AllContributionData$_get_outputFile_$ref_2u5sp2(), null));
|
|
321
321
|
var tmp_5 = this;
|
|
322
322
|
var tmp_6 = default_0(option(this, []), '');
|
|
323
323
|
var tmp_7 = KProperty1;
|
|
324
|
-
tmp_5.
|
|
324
|
+
tmp_5.s2i_1 = tmp_6.w1u(this, getPropertyCallableRef('label', 1, tmp_7, AllContributionData$_get_label_$ref_3wi4kj(), null));
|
|
325
325
|
var tmp_8 = this;
|
|
326
326
|
var tmp_9 = option(this, []);
|
|
327
327
|
var tmp_10 = KProperty1;
|
|
328
|
-
tmp_8.
|
|
328
|
+
tmp_8.t2i_1 = tmp_9.w1u(this, getPropertyCallableRef('majorRegex', 1, tmp_10, AllContributionData$_get_majorRegex_$ref_1hzqob(), null));
|
|
329
329
|
var tmp_11 = this;
|
|
330
330
|
var tmp_12 = option(this, []);
|
|
331
331
|
var tmp_13 = KProperty1;
|
|
332
|
-
tmp_11.
|
|
332
|
+
tmp_11.u2i_1 = tmp_12.w1u(this, getPropertyCallableRef('minorRegex', 1, tmp_13, AllContributionData$_get_minorRegex_$ref_grl9sf(), null));
|
|
333
333
|
var tmp_14 = this;
|
|
334
334
|
var tmp_15 = option(this, []);
|
|
335
335
|
var tmp_16 = KProperty1;
|
|
336
|
-
tmp_14.
|
|
336
|
+
tmp_14.v2i_1 = tmp_15.w1u(this, getPropertyCallableRef('patchRegex', 1, tmp_16, AllContributionData$_get_patchRegex_$ref_c7qjno(), null));
|
|
337
337
|
var tmp_17 = this;
|
|
338
338
|
var tmp_18 = option(this, []);
|
|
339
339
|
var tmp_19 = KProperty1;
|
|
340
|
-
tmp_17.
|
|
340
|
+
tmp_17.w2i_1 = tmp_18.w1u(this, getPropertyCallableRef('noneRegex', 1, tmp_19, AllContributionData$_get_noneRegex_$ref_zhv3p4(), null));
|
|
341
341
|
var tmp_20 = this;
|
|
342
342
|
var tmp_21 = option(this, []);
|
|
343
343
|
var tmp_22 = KProperty1;
|
|
344
|
-
tmp_20.
|
|
344
|
+
tmp_20.x2i_1 = tmp_21.w1u(this, getPropertyCallableRef('storyIdRegex', 1, tmp_22, AllContributionData$_get_storyIdRegex_$ref_5u1ovg(), null));
|
|
345
345
|
var tmp_23 = this;
|
|
346
346
|
var tmp_24 = option(this, []);
|
|
347
347
|
var tmp_25 = KProperty1;
|
|
348
|
-
tmp_23.
|
|
348
|
+
tmp_23.y2i_1 = tmp_24.w1u(this, getPropertyCallableRef('easeRegex', 1, tmp_25, AllContributionData$_get_easeRegex_$ref_np9uma(), null));
|
|
349
349
|
var tmp_26 = this;
|
|
350
350
|
var tmp_27 = option(this, []);
|
|
351
351
|
var tmp_28 = KProperty1;
|
|
352
|
-
tmp_26.
|
|
352
|
+
tmp_26.z2i_1 = tmp_27.w1u(this, getPropertyCallableRef('tagRegex', 1, tmp_28, AllContributionData$_get_tagRegex_$ref_cls7rq(), null));
|
|
353
353
|
var tmp_29 = this;
|
|
354
354
|
// Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
|
|
355
355
|
var this_0 = option(this, ['--format'], 'Output format: text (writes to file, default) or json (stdout)');
|
|
@@ -372,20 +372,20 @@
|
|
|
372
372
|
var tmp$ret$0 = choice(this_0, destination, VOID, true);
|
|
373
373
|
var tmp_30 = default_0(tmp$ret$0, OutputFormat_TEXT_getInstance());
|
|
374
374
|
var tmp_31 = KProperty1;
|
|
375
|
-
tmp_29.
|
|
375
|
+
tmp_29.a2j_1 = tmp_30.w1u(this, getPropertyCallableRef('format', 1, tmp_31, AllContributionData$_get_format_$ref_cn6yng(), null));
|
|
376
376
|
}
|
|
377
|
-
protoOf(AllContributionData).
|
|
378
|
-
var jsonString = toJsonString(_get_core__d4zfrg(this).
|
|
377
|
+
protoOf(AllContributionData).u1l = function () {
|
|
378
|
+
var jsonString = toJsonString(_get_core__d4zfrg(this).bn());
|
|
379
379
|
switch (_get_format__qlarck(this).y2_1) {
|
|
380
380
|
case 1:
|
|
381
|
-
var dataElement = Default_getInstance().
|
|
382
|
-
this.
|
|
381
|
+
var dataElement = Default_getInstance().i16(jsonString);
|
|
382
|
+
this.j1k(successResponse(dataElement));
|
|
383
383
|
break;
|
|
384
384
|
case 0:
|
|
385
385
|
writeToFile(jsonString, _get_outputFile__pta58u(this));
|
|
386
386
|
// Inline function 'kotlin.also' call
|
|
387
387
|
|
|
388
|
-
this.
|
|
388
|
+
this.j1k('Data written to ' + _get_outputFile__pta58u(this));
|
|
389
389
|
break;
|
|
390
390
|
default:
|
|
391
391
|
noWhenBranchMatchedException();
|
|
@@ -394,47 +394,47 @@
|
|
|
394
394
|
};
|
|
395
395
|
function _get_dir__e67350_0($this) {
|
|
396
396
|
var tmp = KProperty1;
|
|
397
|
-
return $this.
|
|
397
|
+
return $this.q2j_1.j1u($this, getPropertyCallableRef('dir', 1, tmp, CurrentContributionData$_get_dir_$ref_bhrf2a_0(), null));
|
|
398
398
|
}
|
|
399
399
|
function _get_outputFile__pta58u_0($this) {
|
|
400
400
|
var tmp = KProperty1;
|
|
401
|
-
return $this.
|
|
401
|
+
return $this.r2j_1.j1u($this, getPropertyCallableRef('outputFile', 1, tmp, CurrentContributionData$_get_outputFile_$ref_rovsk2_0(), null));
|
|
402
402
|
}
|
|
403
403
|
function _get_label__euqgmb_0($this) {
|
|
404
404
|
var tmp = KProperty1;
|
|
405
|
-
return $this.
|
|
405
|
+
return $this.s2j_1.j1u($this, getPropertyCallableRef('label', 1, tmp, CurrentContributionData$_get_label_$ref_x6bhqd_0(), null));
|
|
406
406
|
}
|
|
407
407
|
function _get_majorRegex__5j6ypp_0($this) {
|
|
408
408
|
var tmp = KProperty1;
|
|
409
|
-
return $this.
|
|
409
|
+
return $this.t2j_1.j1u($this, getPropertyCallableRef('majorRegex', 1, tmp, CurrentContributionData$_get_majorRegex_$ref_w11bxf_0(), null));
|
|
410
410
|
}
|
|
411
411
|
function _get_minorRegex__20z96h_0($this) {
|
|
412
412
|
var tmp = KProperty1;
|
|
413
|
-
return $this.
|
|
413
|
+
return $this.u2j_1.j1u($this, getPropertyCallableRef('minorRegex', 1, tmp, CurrentContributionData$_get_minorRegex_$ref_nqh6xl_0(), null));
|
|
414
414
|
}
|
|
415
415
|
function _get_patchRegex__mtlu2c_0($this) {
|
|
416
416
|
var tmp = KProperty1;
|
|
417
|
-
return $this.
|
|
417
|
+
return $this.v2j_1.j1u($this, getPropertyCallableRef('patchRegex', 1, tmp, CurrentContributionData$_get_patchRegex_$ref_ibb1lg_0(), null));
|
|
418
418
|
}
|
|
419
419
|
function _get_noneRegex__1tdbgi_0($this) {
|
|
420
420
|
var tmp = KProperty1;
|
|
421
|
-
return $this.
|
|
421
|
+
return $this.w2j_1.j1u($this, getPropertyCallableRef('noneRegex', 1, tmp, CurrentContributionData$_get_noneRegex_$ref_4ehpk0_0(), null));
|
|
422
422
|
}
|
|
423
423
|
function _get_storyIdRegex__auqux8_0($this) {
|
|
424
424
|
var tmp = KProperty1;
|
|
425
|
-
return $this.
|
|
425
|
+
return $this.x2j_1.j1u($this, getPropertyCallableRef('storyIdRegex', 1, tmp, CurrentContributionData$_get_storyIdRegex_$ref_3840gk_0(), null));
|
|
426
426
|
}
|
|
427
427
|
function _get_easeRegex__pf594o_0($this) {
|
|
428
428
|
var tmp = KProperty1;
|
|
429
|
-
return $this.
|
|
429
|
+
return $this.y2j_1.j1u($this, getPropertyCallableRef('easeRegex', 1, tmp, CurrentContributionData$_get_easeRegex_$ref_7e3jiu_0(), null));
|
|
430
430
|
}
|
|
431
431
|
function _get_tagRegex__ibn0wy_0($this) {
|
|
432
432
|
var tmp = KProperty1;
|
|
433
|
-
return $this.
|
|
433
|
+
return $this.z2j_1.j1u($this, getPropertyCallableRef('tagRegex', 1, tmp, CurrentContributionData$_get_tagRegex_$ref_bbekxq_0(), null));
|
|
434
434
|
}
|
|
435
435
|
function _get_format__qlarck_0($this) {
|
|
436
436
|
var tmp = KProperty1;
|
|
437
|
-
return $this.
|
|
437
|
+
return $this.a2k_1.j1u($this, getPropertyCallableRef('format', 1, tmp, CurrentContributionData$_get_format_$ref_aid4c_0(), null));
|
|
438
438
|
}
|
|
439
439
|
function _get_core__d4zfrg_0($this) {
|
|
440
440
|
// Inline function 'kotlin.text.ifBlank' call
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
tmp_2 = Regex_init_$Create$(tmp0_safe_receiver);
|
|
457
457
|
}
|
|
458
458
|
var tmp1_elvis_lhs = tmp_2;
|
|
459
|
-
var tmp_3 = tmp1_elvis_lhs == null ? Defaults_getInstance_0().
|
|
459
|
+
var tmp_3 = tmp1_elvis_lhs == null ? Defaults_getInstance_0().cn_1 : tmp1_elvis_lhs;
|
|
460
460
|
var tmp2_safe_receiver = _get_minorRegex__20z96h_0($this);
|
|
461
461
|
var tmp_4;
|
|
462
462
|
if (tmp2_safe_receiver == null) {
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
tmp_4 = Regex_init_$Create$(tmp2_safe_receiver);
|
|
467
467
|
}
|
|
468
468
|
var tmp3_elvis_lhs = tmp_4;
|
|
469
|
-
var tmp_5 = tmp3_elvis_lhs == null ? Defaults_getInstance_0().
|
|
469
|
+
var tmp_5 = tmp3_elvis_lhs == null ? Defaults_getInstance_0().dn_1 : tmp3_elvis_lhs;
|
|
470
470
|
var tmp4_safe_receiver = _get_patchRegex__mtlu2c_0($this);
|
|
471
471
|
var tmp_6;
|
|
472
472
|
if (tmp4_safe_receiver == null) {
|
|
@@ -476,7 +476,7 @@
|
|
|
476
476
|
tmp_6 = Regex_init_$Create$(tmp4_safe_receiver);
|
|
477
477
|
}
|
|
478
478
|
var tmp5_elvis_lhs = tmp_6;
|
|
479
|
-
var tmp_7 = tmp5_elvis_lhs == null ? Defaults_getInstance_0().
|
|
479
|
+
var tmp_7 = tmp5_elvis_lhs == null ? Defaults_getInstance_0().en_1 : tmp5_elvis_lhs;
|
|
480
480
|
var tmp6_safe_receiver = _get_noneRegex__1tdbgi_0($this);
|
|
481
481
|
var tmp_8;
|
|
482
482
|
if (tmp6_safe_receiver == null) {
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
tmp_8 = Regex_init_$Create$(tmp6_safe_receiver);
|
|
487
487
|
}
|
|
488
488
|
var tmp7_elvis_lhs = tmp_8;
|
|
489
|
-
var tmp_9 = tmp7_elvis_lhs == null ? Defaults_getInstance_0().
|
|
489
|
+
var tmp_9 = tmp7_elvis_lhs == null ? Defaults_getInstance_0().fn_1 : tmp7_elvis_lhs;
|
|
490
490
|
var tmp8_safe_receiver = _get_storyIdRegex__auqux8_0($this);
|
|
491
491
|
var tmp_10;
|
|
492
492
|
if (tmp8_safe_receiver == null) {
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
tmp_10 = Regex_init_$Create$(tmp8_safe_receiver);
|
|
497
497
|
}
|
|
498
498
|
var tmp9_elvis_lhs = tmp_10;
|
|
499
|
-
var tmp_11 = tmp9_elvis_lhs == null ? Defaults_getInstance_0().
|
|
499
|
+
var tmp_11 = tmp9_elvis_lhs == null ? Defaults_getInstance_0().gn_1 : tmp9_elvis_lhs;
|
|
500
500
|
var tmp10_safe_receiver = _get_easeRegex__pf594o_0($this);
|
|
501
501
|
var tmp_12;
|
|
502
502
|
if (tmp10_safe_receiver == null) {
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
tmp_12 = Regex_init_$Create$(tmp10_safe_receiver);
|
|
507
507
|
}
|
|
508
508
|
var tmp11_elvis_lhs = tmp_12;
|
|
509
|
-
var tmp_13 = new MessageDigger(tmp_3, tmp_5, tmp_7, tmp_9, tmp_11, tmp11_elvis_lhs == null ? Defaults_getInstance_0().
|
|
509
|
+
var tmp_13 = new MessageDigger(tmp_3, tmp_5, tmp_7, tmp_9, tmp_11, tmp11_elvis_lhs == null ? Defaults_getInstance_0().hn_1 : tmp11_elvis_lhs);
|
|
510
510
|
var tmp12_safe_receiver = _get_tagRegex__ibn0wy_0($this);
|
|
511
511
|
var tmp_14;
|
|
512
512
|
if (tmp12_safe_receiver == null) {
|
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
tmp_14 = Regex_init_$Create$(tmp12_safe_receiver);
|
|
517
517
|
}
|
|
518
518
|
var tmp13_elvis_lhs = tmp_14;
|
|
519
|
-
return new DiggerCore(tmp_0, tmp_1, tmp_13, tmp13_elvis_lhs == null ? Defaults_getInstance().
|
|
519
|
+
return new DiggerCore(tmp_0, tmp_1, tmp_13, tmp13_elvis_lhs == null ? Defaults_getInstance().zm_1 : tmp13_elvis_lhs);
|
|
520
520
|
}
|
|
521
521
|
function CurrentContributionData$_get_dir_$ref_bhrf2a() {
|
|
522
522
|
return function (p0) {
|
|
@@ -633,43 +633,43 @@
|
|
|
633
633
|
var tmp = this;
|
|
634
634
|
var tmp_0 = argument(this, 'git-repo');
|
|
635
635
|
var tmp_1 = KProperty1;
|
|
636
|
-
tmp.
|
|
636
|
+
tmp.q2j_1 = tmp_0.l1u(this, getPropertyCallableRef('dir', 1, tmp_1, CurrentContributionData$_get_dir_$ref_bhrf2a(), null));
|
|
637
637
|
var tmp_2 = this;
|
|
638
638
|
var tmp_3 = default_0(option(this, []), 'currentContributionData.json');
|
|
639
639
|
var tmp_4 = KProperty1;
|
|
640
|
-
tmp_2.
|
|
640
|
+
tmp_2.r2j_1 = tmp_3.w1u(this, getPropertyCallableRef('outputFile', 1, tmp_4, CurrentContributionData$_get_outputFile_$ref_rovsk2(), null));
|
|
641
641
|
var tmp_5 = this;
|
|
642
642
|
var tmp_6 = default_0(option(this, []), '');
|
|
643
643
|
var tmp_7 = KProperty1;
|
|
644
|
-
tmp_5.
|
|
644
|
+
tmp_5.s2j_1 = tmp_6.w1u(this, getPropertyCallableRef('label', 1, tmp_7, CurrentContributionData$_get_label_$ref_x6bhqd(), null));
|
|
645
645
|
var tmp_8 = this;
|
|
646
646
|
var tmp_9 = option(this, []);
|
|
647
647
|
var tmp_10 = KProperty1;
|
|
648
|
-
tmp_8.
|
|
648
|
+
tmp_8.t2j_1 = tmp_9.w1u(this, getPropertyCallableRef('majorRegex', 1, tmp_10, CurrentContributionData$_get_majorRegex_$ref_w11bxf(), null));
|
|
649
649
|
var tmp_11 = this;
|
|
650
650
|
var tmp_12 = option(this, []);
|
|
651
651
|
var tmp_13 = KProperty1;
|
|
652
|
-
tmp_11.
|
|
652
|
+
tmp_11.u2j_1 = tmp_12.w1u(this, getPropertyCallableRef('minorRegex', 1, tmp_13, CurrentContributionData$_get_minorRegex_$ref_nqh6xl(), null));
|
|
653
653
|
var tmp_14 = this;
|
|
654
654
|
var tmp_15 = option(this, []);
|
|
655
655
|
var tmp_16 = KProperty1;
|
|
656
|
-
tmp_14.
|
|
656
|
+
tmp_14.v2j_1 = tmp_15.w1u(this, getPropertyCallableRef('patchRegex', 1, tmp_16, CurrentContributionData$_get_patchRegex_$ref_ibb1lg(), null));
|
|
657
657
|
var tmp_17 = this;
|
|
658
658
|
var tmp_18 = option(this, []);
|
|
659
659
|
var tmp_19 = KProperty1;
|
|
660
|
-
tmp_17.
|
|
660
|
+
tmp_17.w2j_1 = tmp_18.w1u(this, getPropertyCallableRef('noneRegex', 1, tmp_19, CurrentContributionData$_get_noneRegex_$ref_4ehpk0(), null));
|
|
661
661
|
var tmp_20 = this;
|
|
662
662
|
var tmp_21 = option(this, []);
|
|
663
663
|
var tmp_22 = KProperty1;
|
|
664
|
-
tmp_20.
|
|
664
|
+
tmp_20.x2j_1 = tmp_21.w1u(this, getPropertyCallableRef('storyIdRegex', 1, tmp_22, CurrentContributionData$_get_storyIdRegex_$ref_3840gk(), null));
|
|
665
665
|
var tmp_23 = this;
|
|
666
666
|
var tmp_24 = option(this, []);
|
|
667
667
|
var tmp_25 = KProperty1;
|
|
668
|
-
tmp_23.
|
|
668
|
+
tmp_23.y2j_1 = tmp_24.w1u(this, getPropertyCallableRef('easeRegex', 1, tmp_25, CurrentContributionData$_get_easeRegex_$ref_7e3jiu(), null));
|
|
669
669
|
var tmp_26 = this;
|
|
670
670
|
var tmp_27 = option(this, []);
|
|
671
671
|
var tmp_28 = KProperty1;
|
|
672
|
-
tmp_26.
|
|
672
|
+
tmp_26.z2j_1 = tmp_27.w1u(this, getPropertyCallableRef('tagRegex', 1, tmp_28, CurrentContributionData$_get_tagRegex_$ref_bbekxq(), null));
|
|
673
673
|
var tmp_29 = this;
|
|
674
674
|
// Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
|
|
675
675
|
var this_0 = option(this, ['--format'], 'Output format: text (writes to file, default) or json (stdout)');
|
|
@@ -692,20 +692,20 @@
|
|
|
692
692
|
var tmp$ret$0 = choice(this_0, destination, VOID, true);
|
|
693
693
|
var tmp_30 = default_0(tmp$ret$0, OutputFormat_TEXT_getInstance());
|
|
694
694
|
var tmp_31 = KProperty1;
|
|
695
|
-
tmp_29.
|
|
695
|
+
tmp_29.a2k_1 = tmp_30.w1u(this, getPropertyCallableRef('format', 1, tmp_31, CurrentContributionData$_get_format_$ref_aid4c(), null));
|
|
696
696
|
}
|
|
697
|
-
protoOf(CurrentContributionData).
|
|
698
|
-
var jsonString = toJsonString_0(_get_core__d4zfrg_0(this).
|
|
697
|
+
protoOf(CurrentContributionData).u1l = function () {
|
|
698
|
+
var jsonString = toJsonString_0(_get_core__d4zfrg_0(this).an());
|
|
699
699
|
switch (_get_format__qlarck_0(this).y2_1) {
|
|
700
700
|
case 1:
|
|
701
|
-
var dataElement = Default_getInstance().
|
|
702
|
-
this.
|
|
701
|
+
var dataElement = Default_getInstance().i16(jsonString);
|
|
702
|
+
this.j1k(successResponse(dataElement));
|
|
703
703
|
break;
|
|
704
704
|
case 0:
|
|
705
705
|
writeToFile(jsonString, _get_outputFile__pta58u_0(this));
|
|
706
706
|
// Inline function 'kotlin.also' call
|
|
707
707
|
|
|
708
|
-
this.
|
|
708
|
+
this.j1k('Data written to ' + _get_outputFile__pta58u_0(this));
|
|
709
709
|
break;
|
|
710
710
|
default:
|
|
711
711
|
noWhenBranchMatchedException();
|
|
@@ -715,24 +715,24 @@
|
|
|
715
715
|
function Digger$lambda($version, $this) {
|
|
716
716
|
return function ($this$eagerOption) {
|
|
717
717
|
var it = $version;
|
|
718
|
-
var tmp$ret$0 = $this.
|
|
718
|
+
var tmp$ret$0 = $this.c1h_1 + ' version ' + it;
|
|
719
719
|
throw new PrintMessage(tmp$ret$0);
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
722
|
function Digger() {
|
|
723
723
|
CliktCommand.call(this);
|
|
724
724
|
// Inline function 'com.github.ajalt.clikt.parameters.options.versionOption' call
|
|
725
|
-
var version = Versions_instance.
|
|
725
|
+
var version = Versions_instance.a2i_1;
|
|
726
726
|
var help = 'Show the version and exit';
|
|
727
727
|
var names = setOf('--version');
|
|
728
728
|
eagerOption(this, names, help, VOID, VOID, VOID, Digger$lambda(version, this));
|
|
729
729
|
}
|
|
730
|
-
protoOf(Digger).
|
|
731
|
-
this.
|
|
730
|
+
protoOf(Digger).u1l = function () {
|
|
731
|
+
this.j1k('Welcome to Digger CLI.');
|
|
732
732
|
};
|
|
733
733
|
function Companion() {
|
|
734
734
|
}
|
|
735
|
-
protoOf(Companion).
|
|
735
|
+
protoOf(Companion).x17 = function () {
|
|
736
736
|
return $serializer_getInstance();
|
|
737
737
|
};
|
|
738
738
|
var Companion_instance;
|
|
@@ -742,59 +742,59 @@
|
|
|
742
742
|
function $serializer() {
|
|
743
743
|
$serializer_instance = this;
|
|
744
744
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.digger.cli.SuccessResponse', this, 2);
|
|
745
|
-
tmp0_serialDesc.
|
|
746
|
-
tmp0_serialDesc.
|
|
747
|
-
this.
|
|
748
|
-
}
|
|
749
|
-
protoOf($serializer).
|
|
750
|
-
var tmp0_desc = this.
|
|
751
|
-
var tmp1_output = encoder.
|
|
752
|
-
tmp1_output.
|
|
753
|
-
tmp1_output.
|
|
754
|
-
tmp1_output.
|
|
745
|
+
tmp0_serialDesc.ox('status', false);
|
|
746
|
+
tmp0_serialDesc.ox('data', false);
|
|
747
|
+
this.q2k_1 = tmp0_serialDesc;
|
|
748
|
+
}
|
|
749
|
+
protoOf($serializer).r2k = function (encoder, value) {
|
|
750
|
+
var tmp0_desc = this.q2k_1;
|
|
751
|
+
var tmp1_output = encoder.fq(tmp0_desc);
|
|
752
|
+
tmp1_output.tr(tmp0_desc, 0, value.s2k_1);
|
|
753
|
+
tmp1_output.vr(tmp0_desc, 1, JsonElementSerializer_getInstance(), value.t2k_1);
|
|
754
|
+
tmp1_output.gq(tmp0_desc);
|
|
755
755
|
};
|
|
756
|
-
protoOf($serializer).
|
|
757
|
-
return this.
|
|
756
|
+
protoOf($serializer).jn = function (encoder, value) {
|
|
757
|
+
return this.r2k(encoder, value instanceof SuccessResponse ? value : THROW_CCE());
|
|
758
758
|
};
|
|
759
|
-
protoOf($serializer).
|
|
760
|
-
var tmp0_desc = this.
|
|
759
|
+
protoOf($serializer).kn = function (decoder) {
|
|
760
|
+
var tmp0_desc = this.q2k_1;
|
|
761
761
|
var tmp1_flag = true;
|
|
762
762
|
var tmp2_index = 0;
|
|
763
763
|
var tmp3_bitMask0 = 0;
|
|
764
764
|
var tmp4_local0 = null;
|
|
765
765
|
var tmp5_local1 = null;
|
|
766
|
-
var tmp6_input = decoder.
|
|
767
|
-
if (tmp6_input.
|
|
768
|
-
tmp4_local0 = tmp6_input.
|
|
766
|
+
var tmp6_input = decoder.fq(tmp0_desc);
|
|
767
|
+
if (tmp6_input.vq()) {
|
|
768
|
+
tmp4_local0 = tmp6_input.pq(tmp0_desc, 0);
|
|
769
769
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
770
|
-
tmp5_local1 = tmp6_input.
|
|
770
|
+
tmp5_local1 = tmp6_input.rq(tmp0_desc, 1, JsonElementSerializer_getInstance(), tmp5_local1);
|
|
771
771
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
772
772
|
} else
|
|
773
773
|
while (tmp1_flag) {
|
|
774
|
-
tmp2_index = tmp6_input.
|
|
774
|
+
tmp2_index = tmp6_input.wq(tmp0_desc);
|
|
775
775
|
switch (tmp2_index) {
|
|
776
776
|
case -1:
|
|
777
777
|
tmp1_flag = false;
|
|
778
778
|
break;
|
|
779
779
|
case 0:
|
|
780
|
-
tmp4_local0 = tmp6_input.
|
|
780
|
+
tmp4_local0 = tmp6_input.pq(tmp0_desc, 0);
|
|
781
781
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
782
782
|
break;
|
|
783
783
|
case 1:
|
|
784
|
-
tmp5_local1 = tmp6_input.
|
|
784
|
+
tmp5_local1 = tmp6_input.rq(tmp0_desc, 1, JsonElementSerializer_getInstance(), tmp5_local1);
|
|
785
785
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
786
786
|
break;
|
|
787
787
|
default:
|
|
788
788
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
789
789
|
}
|
|
790
790
|
}
|
|
791
|
-
tmp6_input.
|
|
791
|
+
tmp6_input.gq(tmp0_desc);
|
|
792
792
|
return SuccessResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
793
793
|
};
|
|
794
|
-
protoOf($serializer).
|
|
795
|
-
return this.
|
|
794
|
+
protoOf($serializer).in = function () {
|
|
795
|
+
return this.q2k_1;
|
|
796
796
|
};
|
|
797
|
-
protoOf($serializer).
|
|
797
|
+
protoOf($serializer).qx = function () {
|
|
798
798
|
// Inline function 'kotlin.arrayOf' call
|
|
799
799
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
800
800
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -808,25 +808,25 @@
|
|
|
808
808
|
}
|
|
809
809
|
function SuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, $this) {
|
|
810
810
|
if (!(3 === (3 & seen0))) {
|
|
811
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
811
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().q2k_1);
|
|
812
812
|
}
|
|
813
|
-
$this.
|
|
814
|
-
$this.
|
|
813
|
+
$this.s2k_1 = status;
|
|
814
|
+
$this.t2k_1 = data;
|
|
815
815
|
return $this;
|
|
816
816
|
}
|
|
817
817
|
function SuccessResponse_init_$Create$(seen0, status, data, serializationConstructorMarker) {
|
|
818
818
|
return SuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, objectCreate(protoOf(SuccessResponse)));
|
|
819
819
|
}
|
|
820
820
|
function SuccessResponse(status, data) {
|
|
821
|
-
this.
|
|
822
|
-
this.
|
|
821
|
+
this.s2k_1 = status;
|
|
822
|
+
this.t2k_1 = data;
|
|
823
823
|
}
|
|
824
824
|
protoOf(SuccessResponse).toString = function () {
|
|
825
|
-
return 'SuccessResponse(status=' + this.
|
|
825
|
+
return 'SuccessResponse(status=' + this.s2k_1 + ', data=' + toString(this.t2k_1) + ')';
|
|
826
826
|
};
|
|
827
827
|
protoOf(SuccessResponse).hashCode = function () {
|
|
828
|
-
var result = getStringHashCode(this.
|
|
829
|
-
result = imul(result, 31) + hashCode(this.
|
|
828
|
+
var result = getStringHashCode(this.s2k_1);
|
|
829
|
+
result = imul(result, 31) + hashCode(this.t2k_1) | 0;
|
|
830
830
|
return result;
|
|
831
831
|
};
|
|
832
832
|
protoOf(SuccessResponse).equals = function (other) {
|
|
@@ -834,14 +834,14 @@
|
|
|
834
834
|
return true;
|
|
835
835
|
if (!(other instanceof SuccessResponse))
|
|
836
836
|
return false;
|
|
837
|
-
if (!(this.
|
|
837
|
+
if (!(this.s2k_1 === other.s2k_1))
|
|
838
838
|
return false;
|
|
839
|
-
if (!equals(this.
|
|
839
|
+
if (!equals(this.t2k_1, other.t2k_1))
|
|
840
840
|
return false;
|
|
841
841
|
return true;
|
|
842
842
|
};
|
|
843
843
|
function successResponse(data) {
|
|
844
|
-
return Default_getInstance().
|
|
844
|
+
return Default_getInstance().g16(Companion_instance.x17(), new SuccessResponse('success', data));
|
|
845
845
|
}
|
|
846
846
|
function main_0(args) {
|
|
847
847
|
return main(cli(), platformArgCorrection(args));
|
|
@@ -877,7 +877,7 @@
|
|
|
877
877
|
return OutputFormat_JSON_instance;
|
|
878
878
|
}
|
|
879
879
|
//region block: post-declaration
|
|
880
|
-
protoOf($serializer).
|
|
880
|
+
protoOf($serializer).rx = typeParametersSerializers;
|
|
881
881
|
//endregion
|
|
882
882
|
//region block: init
|
|
883
883
|
Versions_instance = new Versions();
|
|
@@ -53,12 +53,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
53
53
|
};
|
|
54
54
|
}(Math.log, Math.LN2);
|
|
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
|
-
}
|
|
62
56
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
63
57
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
64
58
|
var subjectString = this.toString();
|
|
@@ -70,6 +64,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
70
64
|
return lastIndex !== -1 && lastIndex === position;
|
|
71
65
|
}});
|
|
72
66
|
}
|
|
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
|
//endregion
|
|
74
74
|
(function (_) {
|
|
75
75
|
'use strict';
|
|
@@ -13725,7 +13725,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
13725
13725
|
_.$_$.o1 = Regex_init_$Create$;
|
|
13726
13726
|
_.$_$.p1 = StringBuilder_init_$Create$;
|
|
13727
13727
|
_.$_$.q1 = StringBuilder_init_$Create$_0;
|
|
13728
|
-
_.$_$.r1 = Exception_init_$
|
|
13728
|
+
_.$_$.r1 = Exception_init_$Init$_0;
|
|
13729
13729
|
_.$_$.s1 = IllegalArgumentException_init_$Init$;
|
|
13730
13730
|
_.$_$.t1 = IllegalArgumentException_init_$Init$_0;
|
|
13731
13731
|
_.$_$.u1 = IllegalArgumentException_init_$Create$_0;
|