ol 10.4.1-dev.1742978581042 → 10.4.1-dev.1743023060994
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/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/expr/cpu.js +1 -1
- package/package.json +1 -1
- package/util.js +1 -1
package/expr/cpu.js
CHANGED
|
@@ -502,7 +502,7 @@ function compileMatchExpression(expression, context) {
|
|
|
502
502
|
}
|
|
503
503
|
return (context) => {
|
|
504
504
|
const value = args[0](context);
|
|
505
|
-
for (let i = 1; i < length; i += 2) {
|
|
505
|
+
for (let i = 1; i < length - 1; i += 2) {
|
|
506
506
|
if (value === args[i](context)) {
|
|
507
507
|
return args[i + 1](context);
|
|
508
508
|
}
|
package/package.json
CHANGED
package/util.js
CHANGED