git-digger 1.9.17 → 1.9.18

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.
@@ -38,7 +38,7 @@
38
38
  initMetadataForClass(Digger, 'Digger', Digger, CliktCommand);
39
39
  //endregion
40
40
  function Versions() {
41
- this.r21_1 = '1.9.17';
41
+ this.r21_1 = '1.9.18';
42
42
  }
43
43
  var Versions_instance;
44
44
  function Versions_getInstance() {
@@ -53,6 +53,12 @@ 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
+ }
56
62
  if (typeof String.prototype.endsWith === 'undefined') {
57
63
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
58
64
  var subjectString = this.toString();
@@ -64,12 +70,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
64
70
  return lastIndex !== -1 && lastIndex === position;
65
71
  }});
66
72
  }
67
- if (typeof String.prototype.startsWith === 'undefined') {
68
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
69
- position = position || 0;
70
- return this.lastIndexOf(searchString, position) === position;
71
- }});
72
- }
73
73
  //endregion
74
74
  (function (_) {
75
75
  'use strict';
@@ -93,10 +93,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
93
93
  initMetadataForInterface(Entry, 'Entry');
94
94
  initMetadataForInterface(KtMap, 'Map');
95
95
  initMetadataForInterface(MutableIterable, 'MutableIterable');
96
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
96
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
97
97
  initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
98
98
  initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
99
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
99
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
100
100
  initMetadataForCompanion(Companion_0);
101
101
  initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
102
102
  initMetadataForCompanion(Companion_1);
@@ -114,7 +114,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
114
114
  initMetadataForInterface(Comparator, 'Comparator');
115
115
  initMetadataForObject(Unit, 'Unit');
116
116
  initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
117
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
117
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
118
118
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
119
119
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
120
120
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
@@ -127,7 +127,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
127
127
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
128
128
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
129
129
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
130
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
130
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable]);
131
131
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
132
132
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
133
133
  initMetadataForClass(HashMapKeysDefault$iterator$1);
@@ -246,10 +246,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
246
246
  initMetadataForInterface(MapWithDefault, 'MapWithDefault', VOID, VOID, [KtMap]);
247
247
  initMetadataForObject(EmptyMap, 'EmptyMap', VOID, VOID, [KtMap]);
248
248
  initMetadataForClass(IntIterator, 'IntIterator');
249
- initMetadataForClass(ReversedListReadOnly$listIterator$1);
250
- initMetadataForClass(ReversedListReadOnly, 'ReversedListReadOnly', VOID, AbstractList);
251
249
  initMetadataForClass(ReversedList$listIterator$1);
252
250
  initMetadataForClass(ReversedList, 'ReversedList', VOID, AbstractMutableList);
251
+ initMetadataForClass(ReversedListReadOnly$listIterator$1);
252
+ initMetadataForClass(ReversedListReadOnly, 'ReversedListReadOnly', VOID, AbstractList);
253
253
  initMetadataForClass(SequenceScope, 'SequenceScope', VOID, VOID, VOID, [1]);
254
254
  initMetadataForClass(SequenceBuilderIterator, 'SequenceBuilderIterator', SequenceBuilderIterator, SequenceScope, [Continuation], [1]);
255
255
  initMetadataForClass(sequence$$inlined$Sequence$1, VOID, VOID, VOID, [Sequence]);
@@ -769,11 +769,55 @@ if (typeof String.prototype.startsWith === 'undefined') {
769
769
  }
770
770
  return tmp;
771
771
  }
772
+ function firstOrNull(_this__u8e3s4) {
773
+ return _this__u8e3s4.p() ? null : _this__u8e3s4.c1(0);
774
+ }
772
775
  function toMutableList(_this__u8e3s4) {
773
776
  return ArrayList_init_$Create$_1(_this__u8e3s4);
774
777
  }
775
- function firstOrNull(_this__u8e3s4) {
776
- return _this__u8e3s4.p() ? null : _this__u8e3s4.c1(0);
778
+ function take(_this__u8e3s4, n) {
779
+ // Inline function 'kotlin.require' call
780
+ if (!(n >= 0)) {
781
+ var message = 'Requested element count ' + n + ' is less than zero.';
782
+ throw IllegalArgumentException_init_$Create$_0(toString_1(message));
783
+ }
784
+ if (n === 0)
785
+ return emptyList();
786
+ if (isInterface(_this__u8e3s4, Collection)) {
787
+ if (n >= _this__u8e3s4.d1())
788
+ return toList_0(_this__u8e3s4);
789
+ if (n === 1)
790
+ return listOf(first_0(_this__u8e3s4));
791
+ }
792
+ var count = 0;
793
+ var list = ArrayList_init_$Create$_0(n);
794
+ var _iterator__ex2g4s = _this__u8e3s4.r();
795
+ $l$loop: while (_iterator__ex2g4s.s()) {
796
+ var item = _iterator__ex2g4s.t();
797
+ list.v(item);
798
+ count = count + 1 | 0;
799
+ if (count === n)
800
+ break $l$loop;
801
+ }
802
+ return optimizeReadOnlyList(list);
803
+ }
804
+ function lastOrNull(_this__u8e3s4) {
805
+ return _this__u8e3s4.p() ? null : _this__u8e3s4.c1(_this__u8e3s4.d1() - 1 | 0);
806
+ }
807
+ function first(_this__u8e3s4) {
808
+ if (_this__u8e3s4.p())
809
+ throw NoSuchElementException_init_$Create$_0('List is empty.');
810
+ return _this__u8e3s4.c1(0);
811
+ }
812
+ function plus_0(_this__u8e3s4, element) {
813
+ var result = ArrayList_init_$Create$_0(_this__u8e3s4.d1() + 1 | 0);
814
+ result.h1(_this__u8e3s4);
815
+ result.v(element);
816
+ return result;
817
+ }
818
+ function asSequence(_this__u8e3s4) {
819
+ // Inline function 'kotlin.sequences.Sequence' call
820
+ return new asSequence$$inlined$Sequence$1(_this__u8e3s4);
777
821
  }
778
822
  function drop(_this__u8e3s4, n) {
779
823
  // Inline function 'kotlin.require' call
@@ -827,50 +871,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
827
871
  }
828
872
  return optimizeReadOnlyList(list);
829
873
  }
830
- function take(_this__u8e3s4, n) {
831
- // Inline function 'kotlin.require' call
832
- if (!(n >= 0)) {
833
- var message = 'Requested element count ' + n + ' is less than zero.';
834
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
835
- }
836
- if (n === 0)
837
- return emptyList();
838
- if (isInterface(_this__u8e3s4, Collection)) {
839
- if (n >= _this__u8e3s4.d1())
840
- return toList_0(_this__u8e3s4);
841
- if (n === 1)
842
- return listOf(first_0(_this__u8e3s4));
843
- }
844
- var count = 0;
845
- var list = ArrayList_init_$Create$_0(n);
846
- var _iterator__ex2g4s = _this__u8e3s4.r();
847
- $l$loop: while (_iterator__ex2g4s.s()) {
848
- var item = _iterator__ex2g4s.t();
849
- list.v(item);
850
- count = count + 1 | 0;
851
- if (count === n)
852
- break $l$loop;
853
- }
854
- return optimizeReadOnlyList(list);
855
- }
856
- function lastOrNull(_this__u8e3s4) {
857
- return _this__u8e3s4.p() ? null : _this__u8e3s4.c1(_this__u8e3s4.d1() - 1 | 0);
858
- }
859
- function first(_this__u8e3s4) {
860
- if (_this__u8e3s4.p())
861
- throw NoSuchElementException_init_$Create$_0('List is empty.');
862
- return _this__u8e3s4.c1(0);
863
- }
864
- function plus_0(_this__u8e3s4, element) {
865
- var result = ArrayList_init_$Create$_0(_this__u8e3s4.d1() + 1 | 0);
866
- result.h1(_this__u8e3s4);
867
- result.v(element);
868
- return result;
869
- }
870
- function asSequence(_this__u8e3s4) {
871
- // Inline function 'kotlin.sequences.Sequence' call
872
- return new asSequence$$inlined$Sequence$1(_this__u8e3s4);
873
- }
874
874
  function toList_0(_this__u8e3s4) {
875
875
  if (isInterface(_this__u8e3s4, Collection)) {
876
876
  var tmp;
@@ -957,19 +957,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
957
957
  }
958
958
  return destination;
959
959
  }
960
- function last_1(_this__u8e3s4) {
961
- if (isInterface(_this__u8e3s4, KtList))
962
- return last_0(_this__u8e3s4);
963
- else {
964
- var iterator = _this__u8e3s4.r();
965
- if (!iterator.s())
966
- throw NoSuchElementException_init_$Create$_0('Collection is empty.');
967
- var last = iterator.t();
968
- while (iterator.s())
969
- last = iterator.t();
970
- return last;
971
- }
972
- }
973
960
  function sortedWith(_this__u8e3s4, comparator) {
974
961
  if (isInterface(_this__u8e3s4, Collection)) {
975
962
  if (_this__u8e3s4.d1() <= 1)
@@ -986,6 +973,19 @@ if (typeof String.prototype.startsWith === 'undefined') {
986
973
  sortWith_0(this_1, comparator);
987
974
  return this_1;
988
975
  }
976
+ function last_1(_this__u8e3s4) {
977
+ if (isInterface(_this__u8e3s4, KtList))
978
+ return last_0(_this__u8e3s4);
979
+ else {
980
+ var iterator = _this__u8e3s4.r();
981
+ if (!iterator.s())
982
+ throw NoSuchElementException_init_$Create$_0('Collection is empty.');
983
+ var last = iterator.t();
984
+ while (iterator.s())
985
+ last = iterator.t();
986
+ return last;
987
+ }
988
+ }
989
989
  function toMutableList_0(_this__u8e3s4) {
990
990
  if (isInterface(_this__u8e3s4, Collection))
991
991
  return toMutableList(_this__u8e3s4);
@@ -7435,12 +7435,12 @@ if (typeof String.prototype.startsWith === 'undefined') {
7435
7435
  }
7436
7436
  return tmp;
7437
7437
  }
7438
- function listOfNotNull(elements) {
7439
- return filterNotNull(elements);
7440
- }
7441
7438
  function get_lastIndex_1(_this__u8e3s4) {
7442
7439
  return _this__u8e3s4.d1() - 1 | 0;
7443
7440
  }
7441
+ function listOfNotNull(elements) {
7442
+ return filterNotNull(elements);
7443
+ }
7444
7444
  function EmptyList() {
7445
7445
  EmptyList_instance = this;
7446
7446
  this.gd_1 = new Long(-1478467534, -1720727600);
@@ -7848,101 +7848,63 @@ if (typeof String.prototype.startsWith === 'undefined') {
7848
7848
  return this.rd();
7849
7849
  };
7850
7850
  function asReversed(_this__u8e3s4) {
7851
- return new ReversedListReadOnly(_this__u8e3s4);
7852
- }
7853
- function asReversed_0(_this__u8e3s4) {
7854
7851
  return new ReversedList(_this__u8e3s4);
7855
7852
  }
7856
- function ReversedListReadOnly$listIterator$1(this$0, $index) {
7857
- this.td_1 = this$0;
7858
- this.sd_1 = this$0.ud_1.i1(reversePositionIndex(this$0, $index));
7859
- }
7860
- protoOf(ReversedListReadOnly$listIterator$1).s = function () {
7861
- return this.sd_1.c4();
7862
- };
7863
- protoOf(ReversedListReadOnly$listIterator$1).c4 = function () {
7864
- return this.sd_1.s();
7865
- };
7866
- protoOf(ReversedListReadOnly$listIterator$1).t = function () {
7867
- return this.sd_1.e4();
7868
- };
7869
- protoOf(ReversedListReadOnly$listIterator$1).d4 = function () {
7870
- return reverseIteratorIndex(this.td_1, this.sd_1.f4());
7871
- };
7872
- protoOf(ReversedListReadOnly$listIterator$1).e4 = function () {
7873
- return this.sd_1.t();
7874
- };
7875
- protoOf(ReversedListReadOnly$listIterator$1).f4 = function () {
7876
- return reverseIteratorIndex(this.td_1, this.sd_1.d4());
7877
- };
7878
- function ReversedListReadOnly(delegate) {
7879
- AbstractList.call(this);
7880
- this.ud_1 = delegate;
7853
+ function asReversed_0(_this__u8e3s4) {
7854
+ return new ReversedListReadOnly(_this__u8e3s4);
7881
7855
  }
7882
- protoOf(ReversedListReadOnly).d1 = function () {
7883
- return this.ud_1.d1();
7884
- };
7885
- protoOf(ReversedListReadOnly).c1 = function (index) {
7886
- return this.ud_1.c1(reverseElementIndex(this, index));
7887
- };
7888
- protoOf(ReversedListReadOnly).r = function () {
7889
- return this.i1(0);
7890
- };
7891
- protoOf(ReversedListReadOnly).i1 = function (index) {
7892
- return new ReversedListReadOnly$listIterator$1(this, index);
7893
- };
7894
7856
  function ReversedList$listIterator$1(this$0, $index) {
7895
- this.wd_1 = this$0;
7896
- this.vd_1 = this$0.yd_1.i1(reversePositionIndex(this$0, $index));
7857
+ this.td_1 = this$0;
7858
+ this.sd_1 = this$0.vd_1.i1(reversePositionIndex(this$0, $index));
7897
7859
  }
7898
7860
  protoOf(ReversedList$listIterator$1).s = function () {
7899
- return this.vd_1.c4();
7861
+ return this.sd_1.c4();
7900
7862
  };
7901
7863
  protoOf(ReversedList$listIterator$1).c4 = function () {
7902
- return this.vd_1.s();
7864
+ return this.sd_1.s();
7903
7865
  };
7904
7866
  protoOf(ReversedList$listIterator$1).t = function () {
7905
- return this.vd_1.e4();
7867
+ return this.sd_1.e4();
7906
7868
  };
7907
7869
  protoOf(ReversedList$listIterator$1).d4 = function () {
7908
- return reverseIteratorIndex(this.wd_1, this.vd_1.f4());
7870
+ return reverseIteratorIndex(this.td_1, this.sd_1.f4());
7909
7871
  };
7910
7872
  protoOf(ReversedList$listIterator$1).e4 = function () {
7911
- return this.vd_1.t();
7873
+ return this.sd_1.t();
7912
7874
  };
7913
7875
  protoOf(ReversedList$listIterator$1).f4 = function () {
7914
- return reverseIteratorIndex(this.wd_1, this.vd_1.d4());
7876
+ return reverseIteratorIndex(this.td_1, this.sd_1.d4());
7915
7877
  };
7916
7878
  protoOf(ReversedList$listIterator$1).s3 = function () {
7917
- return this.vd_1.s3();
7879
+ return this.sd_1.s3();
7918
7880
  };
7919
7881
  function ReversedList(delegate) {
7920
7882
  AbstractMutableList.call(this);
7921
- this.yd_1 = delegate;
7883
+ this.vd_1 = delegate;
7922
7884
  }
7923
7885
  protoOf(ReversedList).d1 = function () {
7924
- return this.yd_1.d1();
7886
+ return this.vd_1.d1();
7925
7887
  };
7926
7888
  protoOf(ReversedList).c1 = function (index) {
7927
- return this.yd_1.c1(reverseElementIndex(this, index));
7889
+ return this.vd_1.c1(reverseElementIndex(this, index));
7928
7890
  };
7929
7891
  protoOf(ReversedList).l2 = function () {
7930
- return this.yd_1.l2();
7892
+ return this.vd_1.l2();
7931
7893
  };
7932
7894
  protoOf(ReversedList).o2 = function (index) {
7933
- return this.yd_1.o2(reverseElementIndex(this, index));
7895
+ return this.vd_1.o2(reverseElementIndex(this, index));
7934
7896
  };
7935
- protoOf(ReversedList).zd = function (index, element) {
7936
- return this.yd_1.m2(reverseElementIndex(this, index), element);
7897
+ protoOf(ReversedList).wd = function (index, element) {
7898
+ return this.vd_1.m2(reverseElementIndex(this, index), element);
7937
7899
  };
7938
7900
  protoOf(ReversedList).m2 = function (index, element) {
7939
- return this.zd(index, element);
7901
+ return this.wd(index, element);
7940
7902
  };
7941
- protoOf(ReversedList).ae = function (index, element) {
7942
- this.yd_1.n2(reversePositionIndex(this, index), element);
7903
+ protoOf(ReversedList).xd = function (index, element) {
7904
+ this.vd_1.n2(reversePositionIndex(this, index), element);
7943
7905
  };
7944
7906
  protoOf(ReversedList).n2 = function (index, element) {
7945
- return this.ae(index, element);
7907
+ return this.xd(index, element);
7946
7908
  };
7947
7909
  protoOf(ReversedList).r = function () {
7948
7910
  return this.i1(0);
@@ -7950,6 +7912,44 @@ if (typeof String.prototype.startsWith === 'undefined') {
7950
7912
  protoOf(ReversedList).i1 = function (index) {
7951
7913
  return new ReversedList$listIterator$1(this, index);
7952
7914
  };
7915
+ function ReversedListReadOnly$listIterator$1(this$0, $index) {
7916
+ this.zd_1 = this$0;
7917
+ this.yd_1 = this$0.ae_1.i1(reversePositionIndex(this$0, $index));
7918
+ }
7919
+ protoOf(ReversedListReadOnly$listIterator$1).s = function () {
7920
+ return this.yd_1.c4();
7921
+ };
7922
+ protoOf(ReversedListReadOnly$listIterator$1).c4 = function () {
7923
+ return this.yd_1.s();
7924
+ };
7925
+ protoOf(ReversedListReadOnly$listIterator$1).t = function () {
7926
+ return this.yd_1.e4();
7927
+ };
7928
+ protoOf(ReversedListReadOnly$listIterator$1).d4 = function () {
7929
+ return reverseIteratorIndex(this.zd_1, this.yd_1.f4());
7930
+ };
7931
+ protoOf(ReversedListReadOnly$listIterator$1).e4 = function () {
7932
+ return this.yd_1.t();
7933
+ };
7934
+ protoOf(ReversedListReadOnly$listIterator$1).f4 = function () {
7935
+ return reverseIteratorIndex(this.zd_1, this.yd_1.d4());
7936
+ };
7937
+ function ReversedListReadOnly(delegate) {
7938
+ AbstractList.call(this);
7939
+ this.ae_1 = delegate;
7940
+ }
7941
+ protoOf(ReversedListReadOnly).d1 = function () {
7942
+ return this.ae_1.d1();
7943
+ };
7944
+ protoOf(ReversedListReadOnly).c1 = function (index) {
7945
+ return this.ae_1.c1(reverseElementIndex(this, index));
7946
+ };
7947
+ protoOf(ReversedListReadOnly).r = function () {
7948
+ return this.i1(0);
7949
+ };
7950
+ protoOf(ReversedListReadOnly).i1 = function (index) {
7951
+ return new ReversedListReadOnly$listIterator$1(this, index);
7952
+ };
7953
7953
  function reverseElementIndex(_this__u8e3s4, index) {
7954
7954
  var tmp;
7955
7955
  if (0 <= index ? index <= get_lastIndex_1(_this__u8e3s4) : false) {
@@ -11672,8 +11672,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
11672
11672
  _.$_$.m3 = KtSet;
11673
11673
  _.$_$.n3 = addAll;
11674
11674
  _.$_$.o3 = asList;
11675
- _.$_$.p3 = asReversed_0;
11676
- _.$_$.q3 = asReversed;
11675
+ _.$_$.p3 = asReversed;
11676
+ _.$_$.q3 = asReversed_0;
11677
11677
  _.$_$.r3 = asSequence_0;
11678
11678
  _.$_$.s3 = checkBuilderCapacity;
11679
11679
  _.$_$.t3 = checkCountOverflow;