@dhis2/expression-parser 1.1.0-beta.8 → 1.1.0-beta.9
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.
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -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,17 @@ 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
|
+
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
|
+
}
|
|
71
77
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
72
78
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
73
79
|
var subjectString = this.toString();
|
|
@@ -79,12 +85,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
79
85
|
return lastIndex !== -1 && lastIndex === position;
|
|
80
86
|
}});
|
|
81
87
|
}
|
|
82
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
83
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
84
|
-
position = position || 0;
|
|
85
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
86
|
-
}});
|
|
87
|
-
}
|
|
88
88
|
if (typeof Math.imul === 'undefined') {
|
|
89
89
|
Math.imul = function imul(a, b) {
|
|
90
90
|
return (a & 4.29490176E9) * (b & 65535) + (a & 65535) * (b | 0) | 0;
|
|
@@ -111,22 +111,22 @@ 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,
|
|
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]);
|
|
118
118
|
setMetadataFor(Set, 'Set', interfaceMeta, VOID, [Collection]);
|
|
119
|
-
setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection,
|
|
119
|
+
setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, Set, Collection]);
|
|
120
120
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
121
121
|
setMetadataFor(RandomAccess, 'RandomAccess', interfaceMeta);
|
|
122
|
-
setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList,
|
|
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
|
-
setMetadataFor(HashMapKeys, 'HashMapKeys', classMeta, AbstractMutableSet, [
|
|
125
|
-
setMetadataFor(HashMapEntrySetBase, 'HashMapEntrySetBase', classMeta, AbstractMutableSet, [
|
|
124
|
+
setMetadataFor(HashMapKeys, 'HashMapKeys', classMeta, AbstractMutableSet, [Set, Collection, AbstractMutableSet]);
|
|
125
|
+
setMetadataFor(HashMapEntrySetBase, 'HashMapEntrySetBase', classMeta, AbstractMutableSet, [Set, Collection, AbstractMutableSet]);
|
|
126
126
|
setMetadataFor(HashMapEntrySet, 'HashMapEntrySet', classMeta, HashMapEntrySetBase);
|
|
127
127
|
setMetadataFor(HashMapKeysDefault$iterator$1, VOID, classMeta);
|
|
128
128
|
setMetadataFor(HashMapKeysDefault, 'HashMapKeysDefault', classMeta, AbstractMutableSet);
|
|
129
|
-
setMetadataFor(HashSet, 'HashSet', classMeta, AbstractMutableSet, [AbstractMutableSet,
|
|
129
|
+
setMetadataFor(HashSet, 'HashSet', classMeta, AbstractMutableSet, [AbstractMutableSet, Set, Collection], HashSet_init_$Create$);
|
|
130
130
|
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
131
131
|
setMetadataFor(Itr, 'Itr', classMeta);
|
|
132
132
|
setMetadataFor(KeysItr, 'KeysItr', classMeta, Itr);
|
|
@@ -172,7 +172,7 @@ function containsAllEntries(m) {
|
|
|
172
172
|
setMetadataFor(InternalMap, 'InternalMap', interfaceMeta);
|
|
173
173
|
setMetadataFor(InternalHashMap, 'InternalHashMap', classMeta, VOID, [InternalMap], InternalHashMap_init_$Create$);
|
|
174
174
|
setMetadataFor(LinkedHashMap, 'LinkedHashMap', classMeta, HashMap, [HashMap, Map_0], LinkedHashMap_init_$Create$);
|
|
175
|
-
setMetadataFor(LinkedHashSet, 'LinkedHashSet', classMeta, HashSet, [HashSet,
|
|
175
|
+
setMetadataFor(LinkedHashSet, 'LinkedHashSet', classMeta, HashSet, [HashSet, Set, Collection], LinkedHashSet_init_$Create$);
|
|
176
176
|
setMetadataFor(BaseOutput, 'BaseOutput', classMeta);
|
|
177
177
|
setMetadataFor(NodeJsOutput, 'NodeJsOutput', classMeta, BaseOutput);
|
|
178
178
|
setMetadataFor(BufferedOutput, 'BufferedOutput', classMeta, BaseOutput, VOID, BufferedOutput);
|