@dhis2/expression-parser 1.3.0 → 1.4.0

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.
@@ -122,12 +122,12 @@ if (typeof String.prototype.startsWith === 'undefined') {
122
122
  initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection]);
123
123
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
124
124
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
125
- initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtList, Collection]);
125
+ initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, KtList]);
126
126
  initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
127
127
  initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMap]);
128
128
  initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtSet, Collection]);
129
129
  initMetadataForCompanion(Companion_2);
130
- initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtList, Collection, RandomAccess]);
130
+ initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, Collection, KtList, RandomAccess]);
131
131
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMap]);
132
132
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, Collection, AbstractMutableSet]);
133
133
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtSet, Collection, AbstractMutableSet]);
@@ -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;