@xiuper/mpp-core 0.2.0 → 1.0.2

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.
@@ -384,7 +384,7 @@
384
384
  return tmp;
385
385
  }
386
386
  initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
387
- initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithUtcOffset, WithTime]);
387
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithDate, WithTime]);
388
388
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
389
389
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
390
390
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -30,8 +30,8 @@
30
30
  var Unit_instance = kotlin_kotlin.$_$.h6;
31
31
  var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.p2;
32
32
  var AbstractSet = kotlin_kotlin.$_$.l6;
33
- var Collection = kotlin_kotlin.$_$.n6;
34
33
  var KtSet = kotlin_kotlin.$_$.z6;
34
+ var Collection = kotlin_kotlin.$_$.n6;
35
35
  var AbstractCollection = kotlin_kotlin.$_$.i6;
36
36
  var objectCreate = kotlin_kotlin.$_$.ye;
37
37
  var until = kotlin_kotlin.$_$.rf;
@@ -57,9 +57,9 @@
57
57
  initMetadataForClass(TrieNodeKeysIterator, 'TrieNodeKeysIterator', TrieNodeKeysIterator, TrieNodeBaseIterator);
58
58
  initMetadataForClass(TrieNodeValuesIterator, 'TrieNodeValuesIterator', TrieNodeValuesIterator, TrieNodeBaseIterator);
59
59
  initMetadataForClass(TrieNodeEntriesIterator, 'TrieNodeEntriesIterator', TrieNodeEntriesIterator, TrieNodeBaseIterator);
60
- initMetadataForClass(PersistentHashMapKeys, 'PersistentHashMapKeys', VOID, AbstractSet, [Collection, KtSet, AbstractSet]);
60
+ initMetadataForClass(PersistentHashMapKeys, 'PersistentHashMapKeys', VOID, AbstractSet, [KtSet, Collection, AbstractSet]);
61
61
  initMetadataForClass(PersistentHashMapValues, 'PersistentHashMapValues', VOID, AbstractCollection, [Collection, AbstractCollection]);
62
- initMetadataForClass(PersistentHashMapEntries, 'PersistentHashMapEntries', VOID, AbstractSet, [Collection, KtSet, AbstractSet]);
62
+ initMetadataForClass(PersistentHashMapEntries, 'PersistentHashMapEntries', VOID, AbstractSet, [KtSet, Collection, AbstractSet]);
63
63
  initMetadataForClass(ModificationResult, 'ModificationResult');
64
64
  initMetadataForCompanion(Companion_0);
65
65
  initMetadataForClass(TrieNode, 'TrieNode');
@@ -71,9 +71,9 @@
71
71
  initMetadataForClass(PersistentOrderedMapValuesIterator, 'PersistentOrderedMapValuesIterator');
72
72
  initMetadataForClass(PersistentOrderedMapEntriesIterator, 'PersistentOrderedMapEntriesIterator');
73
73
  initMetadataForClass(PersistentOrderedMapLinksIterator, 'PersistentOrderedMapLinksIterator');
74
- initMetadataForClass(PersistentOrderedMapKeys, 'PersistentOrderedMapKeys', VOID, AbstractSet, [Collection, KtSet, AbstractSet]);
74
+ initMetadataForClass(PersistentOrderedMapKeys, 'PersistentOrderedMapKeys', VOID, AbstractSet, [KtSet, Collection, AbstractSet]);
75
75
  initMetadataForClass(PersistentOrderedMapValues, 'PersistentOrderedMapValues', VOID, AbstractCollection, [Collection, AbstractCollection]);
76
- initMetadataForClass(PersistentOrderedMapEntries, 'PersistentOrderedMapEntries', VOID, AbstractSet, [Collection, KtSet, AbstractSet]);
76
+ initMetadataForClass(PersistentOrderedMapEntries, 'PersistentOrderedMapEntries', VOID, AbstractSet, [KtSet, Collection, AbstractSet]);
77
77
  initMetadataForObject(EndOfChain, 'EndOfChain');
78
78
  initMetadataForObject(MapImplementation, 'MapImplementation');
79
79
  //endregion
@@ -57,12 +57,6 @@ if (typeof Math.clz32 === 'undefined') {
57
57
  };
58
58
  }(Math.log, Math.LN2);
59
59
  }
60
- if (typeof String.prototype.startsWith === 'undefined') {
61
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
62
- position = position || 0;
63
- return this.lastIndexOf(searchString, position) === position;
64
- }});
65
- }
66
60
  if (typeof String.prototype.endsWith === 'undefined') {
67
61
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
68
62
  var subjectString = this.toString();
@@ -74,6 +68,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
74
68
  return lastIndex !== -1 && lastIndex === position;
75
69
  }});
76
70
  }
71
+ if (typeof String.prototype.startsWith === 'undefined') {
72
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
73
+ position = position || 0;
74
+ return this.lastIndexOf(searchString, position) === position;
75
+ }});
76
+ }
77
77
  //endregion
78
78
  (function (factory) {
79
79
  if (typeof define === 'function' && define.amd)
@@ -110,8 +110,8 @@ if (typeof String.prototype.endsWith === 'undefined') {
110
110
  }
111
111
  initMetadataForInterface(KtMap, 'Map');
112
112
  initMetadataForInterface(MutableIterable, 'MutableIterable');
113
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
114
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
113
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
114
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
115
115
  initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
116
116
  initMetadataForCompanion(Companion_1);
117
117
  initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
@@ -134,7 +134,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
134
134
  initMetadataForInterface(Comparator, 'Comparator');
135
135
  initMetadataForObject(Unit, 'Unit');
136
136
  initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
137
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
137
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
138
138
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
139
139
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
140
140
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
@@ -147,7 +147,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
147
147
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
148
148
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
149
149
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
150
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable, AbstractMutableCollection]);
150
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
151
151
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
152
152
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
153
153
  initMetadataForClass(HashMapKeysDefault$iterator$1);