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.2 to 1.28.3

2

dist/Dataframe.js

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

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

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

@@ -57,2 +57,3 @@ import { encoding } from './encoding';

parseValue(value){
if (typeof value === "number") value = "" + value;
return parseConfigValue(value, this.data.conceptProps);

@@ -59,0 +60,0 @@ },

@@ -127,2 +127,9 @@ import { createModel, isNumeric, parseConfigValue, sortDateSafe } from "../utils";

get clampDomainToData() { return this.config.clampDomainToData ?? this.defaults.clampDomainToData },
get isSameAsFrameEncScale() {
const enc = this.parent;
const marker = this.parent.marker;
const frame = marker?.encoding?.frame;
return enc.config.modelType !== "frame" && frame && enc.data.concept === frame.data.concept;
},
get domain() {

@@ -136,2 +143,4 @@ let domain;

domain = [...this.range].sort(sortDateSafe);
} else if (this.isSameAsFrameEncScale) {
domain = this.parent.marker.encoding.frame.scale.domain;
} else if (this.data.domain) {

@@ -138,0 +147,0 @@ domain = this.data.domain;

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