@dhis2/expression-parser 1.4.2 → 1.4.3

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,11 +57,6 @@ if (typeof Array.prototype.fill === 'undefined') {
57
57
  }});
58
58
  }
59
59
  });
60
- if (typeof Math.log10 === 'undefined') {
61
- Math.log10 = function (x) {
62
- return Math.log(x) * Math.LOG10E;
63
- };
64
- }
65
60
  if (typeof Math.clz32 === 'undefined') {
66
61
  Math.clz32 = function (log, LN2) {
67
62
  return function (x) {
@@ -73,6 +68,11 @@ if (typeof Math.clz32 === 'undefined') {
73
68
  };
74
69
  }(Math.log, Math.LN2);
75
70
  }
71
+ if (typeof Math.log10 === 'undefined') {
72
+ Math.log10 = function (x) {
73
+ return Math.log(x) * Math.LOG10E;
74
+ };
75
+ }
76
76
  if (typeof String.prototype.startsWith === 'undefined') {
77
77
  Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
78
78
  position = position || 0;
@@ -120,19 +120,19 @@ initMetadataForObject(Unit, 'Unit');
120
120
  initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection]);
121
121
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
122
122
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
123
- initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtList, Collection]);
123
+ initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, KtList]);
124
124
  initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
125
125
  initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMap]);
126
- initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtSet, Collection]);
126
+ initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, KtSet]);
127
127
  initMetadataForCompanion(Companion_2);
128
- initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtList, Collection, RandomAccess]);
128
+ initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, Collection, KtList, RandomAccess]);
129
129
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMap]);
130
- initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, Collection, AbstractMutableSet]);
131
- initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtSet, Collection, AbstractMutableSet]);
130
+ initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [Collection, KtSet, AbstractMutableSet]);
131
+ initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [Collection, KtSet, AbstractMutableSet]);
132
132
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
133
133
  initMetadataForClass(HashMapKeysDefault$iterator$1);
134
134
  initMetadataForClass(HashMapKeysDefault, 'HashMapKeysDefault', VOID, AbstractMutableSet);
135
- initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, KtSet, Collection]);
135
+ initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, Collection, KtSet]);
136
136
  initMetadataForCompanion(Companion_3);
137
137
  initMetadataForClass(Itr, 'Itr');
138
138
  initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
@@ -176,7 +176,7 @@ function containsAllEntries(m) {
176
176
  initMetadataForInterface(InternalMap, 'InternalMap');
177
177
  initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
178
178
  initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [HashMap, KtMap]);
179
- initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, KtSet, Collection]);
179
+ initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, Collection, KtSet]);
180
180
  initMetadataForClass(BaseOutput, 'BaseOutput');
181
181
  initMetadataForClass(NodeJsOutput, 'NodeJsOutput', VOID, BaseOutput);
182
182
  initMetadataForClass(BufferedOutput, 'BufferedOutput', BufferedOutput, BaseOutput);