@cruglobal/godtools-shared 0.9.2-SNAPSHOT.1353 → 0.9.2-SNAPSHOT.1356

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.
@@ -37,12 +37,6 @@ if (typeof Math.log2 === 'undefined') {
37
37
  return Math.log(x) * Math.LOG2E;
38
38
  };
39
39
  }
40
- if (typeof String.prototype.startsWith === 'undefined') {
41
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
42
- position = position || 0;
43
- return this.lastIndexOf(searchString, position) === position;
44
- }});
45
- }
46
40
  if (typeof String.prototype.endsWith === 'undefined') {
47
41
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
48
42
  var subjectString = this.toString();
@@ -54,6 +48,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
54
48
  return lastIndex !== -1 && lastIndex === position;
55
49
  }});
56
50
  }
51
+ if (typeof String.prototype.startsWith === 'undefined') {
52
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
53
+ position = position || 0;
54
+ return this.lastIndexOf(searchString, position) === position;
55
+ }});
56
+ }
57
57
  if (typeof Math.imul === 'undefined') {
58
58
  Math.imul = function imul(a, b) {
59
59
  return (a & 4.29490176E9) * (b & 65535) + (a & 65535) * (b | 0) | 0;
@@ -94,7 +94,7 @@ if (typeof Math.imul === 'undefined') {
94
94
  setMetadataFor(Companion_1, 'Companion', objectMeta);
95
95
  setMetadataFor(Companion_2, 'Companion', objectMeta);
96
96
  setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta, AbstractCollection, [AbstractCollection, Collection]);
97
- setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, List, Collection]);
97
+ setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, Collection, List]);
98
98
  setMetadataFor(ArrayDeque, 'ArrayDeque', classMeta, AbstractMutableList);
99
99
  setMetadataFor(EmptyList, 'EmptyList', objectMeta, VOID, [List]);
100
100
  setMetadataFor(ArrayAsCollection, 'ArrayAsCollection', classMeta, VOID, [Collection]);
@@ -213,17 +213,17 @@ if (typeof Math.imul === 'undefined') {
213
213
  setMetadataFor(Entry, 'Entry', interfaceMeta);
214
214
  setMetadataFor(MutableEntry, 'MutableEntry', interfaceMeta, VOID, [Entry]);
215
215
  setMetadataFor(SimpleEntry, 'SimpleEntry', classMeta, VOID, [MutableEntry]);
216
- setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, Set, Collection]);
216
+ setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, Collection, Set]);
217
217
  setMetadataFor(AbstractEntrySet, 'AbstractEntrySet', classMeta, AbstractMutableSet);
218
218
  setMetadataFor(AbstractMutableMap$keys$1, VOID, classMeta, AbstractMutableSet);
219
219
  setMetadataFor(AbstractMutableMap$values$1, VOID, classMeta, AbstractMutableCollection);
220
220
  setMetadataFor(AbstractMutableMap, 'AbstractMutableMap', classMeta, AbstractMap, [AbstractMap, Map]);
221
221
  setMetadataFor(Companion_7, 'Companion', objectMeta);
222
- setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, List, Collection]);
222
+ setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, Collection, List]);
223
223
  setMetadataFor(HashCode, 'HashCode', objectMeta);
224
224
  setMetadataFor(EntrySet, 'EntrySet', classMeta, AbstractEntrySet);
225
225
  setMetadataFor(HashMap, 'HashMap', classMeta, AbstractMutableMap, [AbstractMutableMap, Map]);
226
- setMetadataFor(HashSet, 'HashSet', classMeta, AbstractMutableSet, [AbstractMutableSet, Set, Collection]);
226
+ setMetadataFor(HashSet, 'HashSet', classMeta, AbstractMutableSet, [AbstractMutableSet, Collection, Set]);
227
227
  setMetadataFor(InternalHashCodeMap$iterator$1, VOID, classMeta);
228
228
  function createJsMap() {
229
229
  var result = Object.create(null);
@@ -242,7 +242,7 @@ if (typeof Math.imul === 'undefined') {
242
242
  setMetadataFor(EntrySet_0, 'EntrySet', classMeta, AbstractEntrySet);
243
243
  setMetadataFor(LinkedHashMap, 'LinkedHashMap', classMeta, HashMap, [HashMap, Map]);
244
244
  setMetadataFor(Companion_9, 'Companion', objectMeta);
245
- setMetadataFor(LinkedHashSet, 'LinkedHashSet', classMeta, HashSet, [HashSet, Set, Collection]);
245
+ setMetadataFor(LinkedHashSet, 'LinkedHashSet', classMeta, HashSet, [HashSet, Collection, Set]);
246
246
  setMetadataFor(BaseOutput, 'BaseOutput', classMeta);
247
247
  setMetadataFor(NodeJsOutput, 'NodeJsOutput', classMeta, BaseOutput);
248
248
  setMetadataFor(BufferedOutput, 'BufferedOutput', classMeta, BaseOutput);