Socket
Socket
Sign inDemoInstall

vega-lite

Package Overview
Dependencies
Maintainers
4
Versions
469
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vega-lite - npm Package Compare versions

Comparing version 5.5.1--canary.8475.a9d1dc5.0 to 5.5.1--canary.8475.ccc3007.0

16

build/src/compile/mark/init.js

@@ -99,15 +99,13 @@ import { isBinned, isBinning } from '../../bin';

}
else {
return 'vertical';
}
}
return 'vertical';
}
// If x is range and y is non-range, non-bin Q, x is likely a prebinned field
// If x is range and y is non-range, non-bin Q
if (!y2) {
if (isFieldDef(x) && isBinned(x.bin)) {
return 'vertical';
if ((isFieldDef(y) && y.type === QUANTITATIVE && !isBinning(y.bin)) || isNumericDataDef(y)) {
if (isFieldDef(x) && isBinned(x.bin)) {
return 'vertical';
}
}
else {
return 'horizontal';
}
return 'horizontal';
}

@@ -114,0 +112,0 @@ }

{
"name": "vega-lite",
"author": "Dominik Moritz, Kanit \"Ham\" Wongsuphasawat, Arvind Satyanarayan, Jeffrey Heer",
"version": "5.5.1--canary.8475.a9d1dc5.0",
"version": "5.5.1--canary.8475.ccc3007.0",
"collaborators": [

@@ -6,0 +6,0 @@ "Kanit Wongsuphasawat (http://kanitw.yellowpigz.com)",

@@ -131,15 +131,15 @@ import {Orientation, SignalRef} from 'vega';

return 'horizontal';
} else {
return 'vertical';
}
}
return 'vertical';
}
// If x is range and y is non-range, non-bin Q, x is likely a prebinned field
// If x is range and y is non-range, non-bin Q
if (!y2) {
if (isFieldDef(x) && isBinned(x.bin)) {
return 'vertical';
} else {
return 'horizontal';
if ((isFieldDef(y) && y.type === QUANTITATIVE && !isBinning(y.bin)) || isNumericDataDef(y)) {
if (isFieldDef(x) && isBinned(x.bin)) {
return 'vertical';
}
}
return 'horizontal';
}

@@ -146,0 +146,0 @@ }

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc