@godaan/shared 1.0.0-SNAPSHOT-202512150737 → 1.0.0-SNAPSHOT-202512160632

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.
@@ -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)
@@ -123,19 +123,19 @@ if (typeof String.prototype.endsWith === 'undefined') {
123
123
  initMetadataForClass(SubList, 'SubList', VOID, AbstractMutableList);
124
124
  initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
125
125
  initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMutableMap]);
126
- initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, KtSet]);
126
+ initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtSet, Collection]);
127
127
  initMetadataForCompanion(Companion_2);
128
128
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList]);
129
129
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
130
- initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [Collection, KtSet, AbstractMutableSet]);
130
+ initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, Collection, AbstractMutableSet]);
131
131
  initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, AbstractMutableCollection]);
132
- initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [Collection, KtSet, AbstractMutableSet]);
132
+ initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtSet, Collection, AbstractMutableSet]);
133
133
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
134
134
  initMetadataForClass(HashMapKeysDefault$iterator$1);
135
135
  initMetadataForClass(HashMapKeysDefault, 'HashMapKeysDefault', VOID, AbstractMutableSet);
136
136
  initMetadataForClass(HashMapValuesDefault$iterator$1);
137
137
  initMetadataForClass(HashMapValuesDefault, 'HashMapValuesDefault', VOID, AbstractMutableCollection);
138
- initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, Collection, KtSet]);
138
+ initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, KtSet, Collection]);
139
139
  initMetadataForCompanion(Companion_3);
140
140
  initMetadataForClass(Itr, 'Itr');
141
141
  initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
@@ -180,7 +180,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
180
180
  initMetadataForInterface(InternalMap, 'InternalMap');
181
181
  initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
182
182
  initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [HashMap, KtMutableMap]);
183
- initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, Collection, KtSet]);
183
+ initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, KtSet, Collection]);
184
184
  initMetadataForInterface(Continuation, 'Continuation');
185
185
  initMetadataForClass(InterceptedCoroutine, 'InterceptedCoroutine', VOID, VOID, [Continuation]);
186
186
  initMetadataForClass(CoroutineImpl, 'CoroutineImpl', VOID, InterceptedCoroutine, [InterceptedCoroutine, Continuation]);