@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.
- package/README.md +15 -15
- package/expression-parser.js +1693 -1691
- package/expression-parser.js.map +1 -1
- package/expression-parser.mjs +1693 -1691
- package/expression-parser.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.js +13 -13
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +7 -7
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/package.json +1 -1
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -68,6 +68,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
68
68
|
};
|
|
69
69
|
}(Math.log, Math.LN2);
|
|
70
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;
|
|
@@ -113,22 +113,22 @@ if (typeof Math.imul === 'undefined') {
|
|
|
113
113
|
setMetadataFor(IteratorImpl, 'IteratorImpl', classMeta);
|
|
114
114
|
setMetadataFor(ListIteratorImpl, 'ListIteratorImpl', classMeta, IteratorImpl);
|
|
115
115
|
setMetadataFor(List, 'List', interfaceMeta, VOID, [Collection]);
|
|
116
|
-
setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection,
|
|
116
|
+
setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, Collection, List]);
|
|
117
117
|
setMetadataFor(Map_0, 'Map', interfaceMeta);
|
|
118
118
|
setMetadataFor(AbstractMap, 'AbstractMap', classMeta, VOID, [Map_0]);
|
|
119
119
|
setMetadataFor(AbstractMutableMap, 'AbstractMutableMap', classMeta, AbstractMap, [AbstractMap, Map_0]);
|
|
120
120
|
setMetadataFor(Set, 'Set', interfaceMeta, VOID, [Collection]);
|
|
121
|
-
setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection,
|
|
121
|
+
setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, Collection, Set]);
|
|
122
122
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
123
123
|
setMetadataFor(RandomAccess, 'RandomAccess', interfaceMeta);
|
|
124
|
-
setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList,
|
|
124
|
+
setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, Collection, List, RandomAccess], ArrayList_init_$Create$);
|
|
125
125
|
setMetadataFor(HashMap, 'HashMap', classMeta, AbstractMutableMap, [AbstractMutableMap, Map_0], HashMap_init_$Create$);
|
|
126
|
-
setMetadataFor(HashMapKeys, 'HashMapKeys', classMeta, AbstractMutableSet, [
|
|
127
|
-
setMetadataFor(HashMapEntrySetBase, 'HashMapEntrySetBase', classMeta, AbstractMutableSet, [
|
|
126
|
+
setMetadataFor(HashMapKeys, 'HashMapKeys', classMeta, AbstractMutableSet, [Collection, Set, AbstractMutableSet]);
|
|
127
|
+
setMetadataFor(HashMapEntrySetBase, 'HashMapEntrySetBase', classMeta, AbstractMutableSet, [Collection, Set, AbstractMutableSet]);
|
|
128
128
|
setMetadataFor(HashMapEntrySet, 'HashMapEntrySet', classMeta, HashMapEntrySetBase);
|
|
129
129
|
setMetadataFor(HashMapKeysDefault$iterator$1, VOID, classMeta);
|
|
130
130
|
setMetadataFor(HashMapKeysDefault, 'HashMapKeysDefault', classMeta, AbstractMutableSet);
|
|
131
|
-
setMetadataFor(HashSet, 'HashSet', classMeta, AbstractMutableSet, [AbstractMutableSet,
|
|
131
|
+
setMetadataFor(HashSet, 'HashSet', classMeta, AbstractMutableSet, [AbstractMutableSet, Collection, Set], HashSet_init_$Create$);
|
|
132
132
|
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
133
133
|
setMetadataFor(Itr, 'Itr', classMeta);
|
|
134
134
|
setMetadataFor(KeysItr, 'KeysItr', classMeta, Itr);
|
|
@@ -174,7 +174,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
174
174
|
setMetadataFor(InternalMap, 'InternalMap', interfaceMeta);
|
|
175
175
|
setMetadataFor(InternalHashMap, 'InternalHashMap', classMeta, VOID, [InternalMap], InternalHashMap_init_$Create$);
|
|
176
176
|
setMetadataFor(LinkedHashMap, 'LinkedHashMap', classMeta, HashMap, [HashMap, Map_0], LinkedHashMap_init_$Create$);
|
|
177
|
-
setMetadataFor(LinkedHashSet, 'LinkedHashSet', classMeta, HashSet, [HashSet,
|
|
177
|
+
setMetadataFor(LinkedHashSet, 'LinkedHashSet', classMeta, HashSet, [HashSet, Collection, Set], LinkedHashSet_init_$Create$);
|
|
178
178
|
setMetadataFor(BaseOutput, 'BaseOutput', classMeta);
|
|
179
179
|
setMetadataFor(NodeJsOutput, 'NodeJsOutput', classMeta, BaseOutput);
|
|
180
180
|
setMetadataFor(BufferedOutput, 'BufferedOutput', classMeta, BaseOutput, VOID, BufferedOutput);
|