Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vizabi/core

Package Overview
Dependencies
Maintainers
5
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vizabi/core - npm Package Compare versions

Comparing version 1.28.5 to 1.28.7

2

dist/Dataframe.js

@@ -1,2 +0,2 @@

// http://vizabi.org v1.28.5 Copyright 2023 Jasper Heeffer and others at Gapminder Foundation
// http://vizabi.org v1.28.7 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.28.5",
"version": "1.28.7",
"description": "Vizabi core (data layer)",

@@ -5,0 +5,0 @@ "main": "dist/Vizabi.js",

@@ -204,2 +204,7 @@ import { resolveRef } from "../config";

const keyStr = createKeyStr(space);
//add isness for entity sets
if(concept === this.concept && this.conceptIsEntitySetAndItsDomainIsInSpace)
concept = [concept, "is--" + concept];
concept = Array.isArray(concept) ? concept : [concept];

@@ -261,3 +266,3 @@ concept = concept.filter(concept => {

response.raw.forEach(m => {
m[this.concept] = m[this.concept] ?? m[this.conceptProps.domain];
if(m[this.concept] == null && m["is--" + this.concept]) m[this.concept] = m[this.conceptProps.domain];
});

@@ -264,0 +269,0 @@ }

@@ -20,3 +20,3 @@ import { action } from 'mobx';

"_ordinal": {
"_default": "#ffb600",
"_default": "#aaa",
"0": "#4cd843",

@@ -35,3 +35,3 @@ "1": "#e83739",

},
"_default": {
"_constant": {
"_default": "#ffb600"

@@ -67,3 +67,3 @@ }

} else {
palette = deepclone(this.defaultPalettes["_default"]);
palette = deepclone(this.defaultPalettes["_constant"]);
}

@@ -81,3 +81,3 @@ } else if (this.colorConceptProp.palette) {

//constant
if (this.encoding.data.isConstant) return "_default";
if (this.encoding.data.isConstant) return "_constant";
//measure

@@ -102,3 +102,3 @@ if (["time", "measure"].includes(this.encoding.data.conceptProps.concept_type)) return "_continuous";

get defaultColor() {
return this.getColor("_default") || this.defaultPalettes["_default"]["_default"];
return this.getColor("_default") || this.defaultPalettes[this.paletteType]["_default"];
},

@@ -105,0 +105,0 @@ get paletteDomain() {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc