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.
@@ -2,39 +2,39 @@
2
2
  'use strict';
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
- var toString = kotlin_kotlin.$_$.q8;
6
- var protoOf = kotlin_kotlin.$_$.o8;
7
- var getStringHashCode = kotlin_kotlin.$_$.n7;
8
- var hashCode = kotlin_kotlin.$_$.o7;
9
- var THROW_CCE = kotlin_kotlin.$_$.xb;
10
- var equals = kotlin_kotlin.$_$.i7;
11
- var initMetadataForClass = kotlin_kotlin.$_$.p7;
12
- var plus = kotlin_kotlin.$_$.n5;
13
- var emptyMap = kotlin_kotlin.$_$.m4;
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.$_$.va;
15
+ var split = kotlin_kotlin.$_$.wa;
16
16
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
17
- var joinToString = kotlin_kotlin.$_$.w4;
18
- var reversed = kotlin_kotlin.$_$.u5;
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.$_$.c5;
21
- var Unit_instance = kotlin_kotlin.$_$.g3;
22
- var isBlank = kotlin_kotlin.$_$.ga;
23
- var collectionSizeOrDefault = kotlin_kotlin.$_$.d4;
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.$_$.f7;
26
- var listOf = kotlin_kotlin.$_$.g5;
27
- var isCharSequence = kotlin_kotlin.$_$.z7;
28
- var trim = kotlin_kotlin.$_$.ib;
29
- var emptyList = kotlin_kotlin.$_$.l4;
30
- var listOf_0 = kotlin_kotlin.$_$.f5;
31
- var plus_0 = kotlin_kotlin.$_$.q5;
32
- var first = kotlin_kotlin.$_$.p4;
33
- var copyToArray = kotlin_kotlin.$_$.i4;
34
- var to = kotlin_kotlin.$_$.vc;
35
- var json = kotlin_kotlin.$_$.h8;
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.$_$.h6;
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.r18_1 = id;
46
- this.s18_1 = authorEmail;
47
- this.t18_1 = committerEmail;
48
- this.u18_1 = dateTime;
49
- this.v18_1 = parents;
50
- this.w18_1 = fullMessage;
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.r18_1 + ', authorEmail=' + this.s18_1 + ', committerEmail=' + this.t18_1 + ', dateTime=' + this.u18_1.toString() + ', parents=' + toString(this.v18_1) + ', fullMessage=' + this.w18_1 + ')';
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.r18_1);
57
- result = imul(result, 31) + getStringHashCode(this.s18_1) | 0;
58
- result = imul(result, 31) + getStringHashCode(this.t18_1) | 0;
59
- result = imul(result, 31) + this.u18_1.hashCode() | 0;
60
- result = imul(result, 31) + hashCode(this.v18_1) | 0;
61
- result = imul(result, 31) + getStringHashCode(this.w18_1) | 0;
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.r18_1 === tmp0_other_with_cast.r18_1))
70
+ if (!(this.h19_1 === tmp0_other_with_cast.h19_1))
71
71
  return false;
72
- if (!(this.s18_1 === tmp0_other_with_cast.s18_1))
72
+ if (!(this.i19_1 === tmp0_other_with_cast.i19_1))
73
73
  return false;
74
- if (!(this.t18_1 === tmp0_other_with_cast.t18_1))
74
+ if (!(this.j19_1 === tmp0_other_with_cast.j19_1))
75
75
  return false;
76
- if (!this.u18_1.equals(tmp0_other_with_cast.u18_1))
76
+ if (!this.k19_1.equals(tmp0_other_with_cast.k19_1))
77
77
  return false;
78
- if (!equals(this.v18_1, tmp0_other_with_cast.v18_1))
78
+ if (!equals(this.l19_1, tmp0_other_with_cast.l19_1))
79
79
  return false;
80
- if (!(this.w18_1 === tmp0_other_with_cast.w18_1))
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.x18_1, plus(env, $this.y18_1));
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().u17(last(commaSplit)));
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.z18_1 + '\n']);
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().u17(elements.q(3));
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.x18_1 = workingDirectory;
168
- this.y18_1 = env;
169
- this.z18_1 = '--------!--------';
170
- this.a19_1 = '%H%n%ae%n%ce%n%aI%n%P%n%B%n' + this.z18_1;
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).b19 = function () {
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).c19 = function () {
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).d19 = function () {
181
- return parseLog(this, runProcess$default(this, listOf(['git', '--no-pager', 'log', '--format=' + this.a19_1])));
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).e19 = function (begin, end) {
184
- return parseLog(this, runProcess$default(this, plus_0(listOf(['git', '--no-pager', 'log', '--format=' + this.a19_1, begin]), !(end == null) ? listOf_0(end) : emptyList())));
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).f19 = function (begin, end, $super) {
186
+ protoOf(GitAdapter).v19 = function (begin, end, $super) {
187
187
  end = end === VOID ? null : end;
188
- return $super === VOID ? this.e19(begin, end) : $super.e19.call(this, begin, end);
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.g19_1 = name;
192
- this.h19_1 = commitId;
193
- this.i19_1 = dateTime;
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.g19_1 + ', commitId=' + this.h19_1 + ', dateTime=' + this.i19_1.toString() + ')';
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.g19_1);
200
- result = imul(result, 31) + getStringHashCode(this.h19_1) | 0;
201
- result = imul(result, 31) + this.i19_1.hashCode() | 0;
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.g19_1 === tmp0_other_with_cast.g19_1))
210
+ if (!(this.w19_1 === tmp0_other_with_cast.w19_1))
211
211
  return false;
212
- if (!(this.h19_1 === tmp0_other_with_cast.h19_1))
212
+ if (!(this.x19_1 === tmp0_other_with_cast.x19_1))
213
213
  return false;
214
- if (!this.i19_1.equals(tmp0_other_with_cast.i19_1))
214
+ if (!this.y19_1.equals(tmp0_other_with_cast.y19_1))
215
215
  return false;
216
216
  return true;
217
217
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-digger",
3
- "version": "1.5.19",
3
+ "version": "1.5.21",
4
4
  "main": "kotlin/command-line-tools-digger-cli.js",
5
5
  "devDependencies": {
6
6
  "typescript": "5.5.4",