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

@uwdata/vgplot

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uwdata/vgplot - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

12

package.json
{
"name": "@uwdata/vgplot",
"version": "0.3.1",
"version": "0.3.2",
"description": "A Mosaic-based interactive grammar of graphics.",

@@ -32,6 +32,6 @@ "keywords": [

"dependencies": {
"@observablehq/plot": "^0.6.8",
"@uwdata/mosaic-core": "^0.3.0",
"@uwdata/mosaic-inputs": "^0.3.0",
"@uwdata/mosaic-sql": "^0.3.0",
"@observablehq/plot": "^0.6.9",
"@uwdata/mosaic-core": "^0.3.2",
"@uwdata/mosaic-inputs": "^0.3.2",
"@uwdata/mosaic-sql": "^0.3.2",
"d3": "^7.8.5",

@@ -41,3 +41,3 @@ "isoformat": "^0.2.1",

},
"gitHead": "99ecaf952e24072ce7553ecc818c405db2f92d25"
"gitHead": "788bb137cc402b472fc7e4d84844c78151707c82"
}

@@ -10,2 +10,5 @@ import { MosaicClient } from '@uwdata/mosaic-core';

const isSymbolChannel = channel => channel === 'symbol';
const isFieldObject = (channel, field) => {
return channel !== 'sort' && field != null && !Array.isArray(field);
};
const fieldEntry = (channel, field) => ({

@@ -62,3 +65,3 @@ channel,

}
} else if (type === 'object' && !Array.isArray(entry) && entry != null) {
} else if (type === 'object' && isFieldObject(channel, entry)) {
channels.push(fieldEntry(channel, entry));

@@ -65,0 +68,0 @@ } else if (entry !== undefined) {

const constantOptions = new Set([
'order',
'sort',
'label',

@@ -4,0 +5,0 @@ 'anchor',

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

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

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