@vizabi/core
Advanced tools
Comparing version 1.29.0 to 1.29.1
@@ -1,2 +0,2 @@ | ||
// http://vizabi.org v1.29.0 Copyright 2023 Jasper Heeffer and others at Gapminder Foundation | ||
// http://vizabi.org v1.29.1 Copyright 2023 Jasper Heeffer and others at Gapminder Foundation | ||
(function (global, factory) { | ||
@@ -3,0 +3,0 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('mobx'), require('d3')) : |
{ | ||
"name": "@vizabi/core", | ||
"version": "1.29.0", | ||
"version": "1.29.1", | ||
"description": "Vizabi core (data layer)", | ||
@@ -5,0 +5,0 @@ "main": "dist/Vizabi.js", |
@@ -148,3 +148,3 @@ import { action, isObservableArray, observable, toJS, trace } from 'mobx'; | ||
}), | ||
deleteFromDimensionsAllINstatements: action("deleteInDimensions", function(markerItem) { | ||
deleteFromDimensionsAllINstatements: action("deleteInDimensions", function(markerItem, statement = "$in") { | ||
if (Array.isArray(markerItem)) { | ||
@@ -165,3 +165,3 @@ for (const el of markerItem) this.deleteFromDimensionsAllINstatements(el) | ||
function findAndRemoveInObject(obj, item, key) { | ||
if (key === "$in") | ||
if (key === statement) | ||
findAndRemoveInArray(obj, item); | ||
@@ -168,0 +168,0 @@ else if (Array.isArray(obj)) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1310866