@dhis2/expression-parser 1.1.0 → 1.1.1

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.
@@ -52,11 +52,6 @@ if (typeof Array.prototype.fill === 'undefined') {
52
52
  }});
53
53
  }
54
54
  });
55
- if (typeof Math.log10 === 'undefined') {
56
- Math.log10 = function (x) {
57
- return Math.log(x) * Math.LOG10E;
58
- };
59
- }
60
55
  if (typeof Math.clz32 === 'undefined') {
61
56
  Math.clz32 = function (log, LN2) {
62
57
  return function (x) {
@@ -68,6 +63,11 @@ if (typeof Math.clz32 === 'undefined') {
68
63
  };
69
64
  }(Math.log, Math.LN2);
70
65
  }
66
+ if (typeof Math.log10 === 'undefined') {
67
+ Math.log10 = function (x) {
68
+ return Math.log(x) * Math.LOG10E;
69
+ };
70
+ }
71
71
  if (typeof String.prototype.startsWith === 'undefined') {
72
72
  Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
73
73
  position = position || 0;
@@ -111,7 +111,7 @@ setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta
111
111
  setMetadataFor(IteratorImpl, 'IteratorImpl', classMeta);
112
112
  setMetadataFor(ListIteratorImpl, 'ListIteratorImpl', classMeta, IteratorImpl);
113
113
  setMetadataFor(List, 'List', interfaceMeta, VOID, [Collection]);
114
- setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, Collection, List]);
114
+ setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, List, Collection]);
115
115
  setMetadataFor(Map_0, 'Map', interfaceMeta);
116
116
  setMetadataFor(AbstractMap, 'AbstractMap', classMeta, VOID, [Map_0]);
117
117
  setMetadataFor(AbstractMutableMap, 'AbstractMutableMap', classMeta, AbstractMap, [AbstractMap, Map_0]);
@@ -119,7 +119,7 @@ setMetadataFor(Set, 'Set', interfaceMeta, VOID, [Collection]);
119
119
  setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, Collection, Set]);
120
120
  setMetadataFor(Companion, 'Companion', objectMeta);
121
121
  setMetadataFor(RandomAccess, 'RandomAccess', interfaceMeta);
122
- setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, Collection, List, RandomAccess], ArrayList_init_$Create$);
122
+ setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, List, Collection, RandomAccess], ArrayList_init_$Create$);
123
123
  setMetadataFor(HashMap, 'HashMap', classMeta, AbstractMutableMap, [AbstractMutableMap, Map_0], HashMap_init_$Create$);
124
124
  setMetadataFor(HashMapKeys, 'HashMapKeys', classMeta, AbstractMutableSet, [Collection, Set, AbstractMutableSet]);
125
125
  setMetadataFor(HashMapEntrySetBase, 'HashMapEntrySetBase', classMeta, AbstractMutableSet, [Collection, Set, AbstractMutableSet]);