@dhis2/expression-parser 1.1.11 → 1.1.12

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,6 +57,11 @@ 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
+ }
60
65
  if (typeof Math.clz32 === 'undefined') {
61
66
  Math.clz32 = function (log, LN2) {
62
67
  return function (x) {
@@ -68,11 +73,6 @@ if (typeof Math.clz32 === 'undefined') {
68
73
  };
69
74
  }(Math.log, Math.LN2);
70
75
  }
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;
@@ -124,16 +124,16 @@ if (typeof String.prototype.startsWith === 'undefined') {
124
124
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtList, Collection]);
125
125
  initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
126
126
  initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMap]);
127
- initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtSet, Collection]);
127
+ initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, KtSet]);
128
128
  initMetadataForCompanion(Companion_2);
129
129
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtList, Collection, RandomAccess]);
130
130
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMap]);
131
- initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, Collection, AbstractMutableSet]);
132
- initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtSet, Collection, AbstractMutableSet]);
131
+ initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [Collection, KtSet, AbstractMutableSet]);
132
+ initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [Collection, KtSet, AbstractMutableSet]);
133
133
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
134
134
  initMetadataForClass(HashMapKeysDefault$iterator$1);
135
135
  initMetadataForClass(HashMapKeysDefault, 'HashMapKeysDefault', VOID, AbstractMutableSet);
136
- initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, KtSet, Collection]);
136
+ initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, Collection, KtSet]);
137
137
  initMetadataForCompanion(Companion_3);
138
138
  initMetadataForClass(Itr, 'Itr');
139
139
  initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
@@ -178,7 +178,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
178
178
  initMetadataForInterface(InternalMap, 'InternalMap');
179
179
  initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
180
180
  initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [HashMap, KtMap]);
181
- initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, KtSet, Collection]);
181
+ initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, Collection, KtSet]);
182
182
  initMetadataForClass(BaseOutput, 'BaseOutput');
183
183
  initMetadataForClass(NodeJsOutput, 'NodeJsOutput', VOID, BaseOutput);
184
184
  initMetadataForClass(BufferedOutput, 'BufferedOutput', BufferedOutput, BaseOutput);