Socket
Socket
Sign inDemoInstall

vega-lite-api

Package Overview
Dependencies
0
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.0 to 0.11.0

14

package.json
{
"name": "vega-lite-api",
"version": "0.5.0",
"version": "0.11.0",
"description": "A JavaScript API for Vega-Lite.",

@@ -28,11 +28,11 @@ "keywords": [

"devDependencies": {
"@rollup/plugin-json": "^4.0.2",
"@rollup/plugin-json": "^4.0.3",
"eslint": "^6.8.0",
"rimraf": "^3.0.2",
"rollup": "^1.32.1",
"tape": "^4.13.2",
"terser": "^4.6.10",
"vega": "^5.10.1",
"vega-lite": "^4.9.0"
"rollup": "^2.7.3",
"tape": "^5.0.0",
"terser": "^4.6.12",
"vega": "^5.11.1",
"vega-lite": "^4.11.0"
}
}

@@ -104,12 +104,2 @@ import {BaseObject, copy, flat, get, init, isArray, isString, set} from './__util__';

facet(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "facet", value);
return obj;
} else {
return get(this, "facet");
}
}
name(value) {

@@ -116,0 +106,0 @@ if (arguments.length) {

import {BaseObject, copy, flat, get, init, isArray, isString, set} from './__util__';
import {_facet} from './_facet';
import {render, toSpec, toString, toView} from './__view__';

@@ -195,2 +196,8 @@

facet(...values) {
values = values.slice(0, 1);
const obj = _facet(...values);
return obj.spec(this);
}
render(...values) {

@@ -197,0 +204,0 @@ return render.apply(this, values);

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -32,2 +32,12 @@ import {BaseObject, assign, copy, get, init, isString, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -34,0 +44,0 @@ if (arguments.length) {

import {BaseObject, copy, flat, get, init, isArray, isString, set} from './__util__';
import {_facet} from './_facet';
import {_repeat} from './_repeat';

@@ -197,2 +198,8 @@ import {render, toSpec, toString, toView} from './__view__';

facet(...values) {
values = values.slice(0, 1);
const obj = _facet(...values);
return obj.spec(this);
}
repeat(...values) {

@@ -199,0 +206,0 @@ values = values.slice(0, 1);

@@ -22,2 +22,12 @@ import {BaseObject, assign, copy, get, init, isArray, isString, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -24,0 +34,0 @@ if (arguments.length) {

@@ -32,2 +32,12 @@ import {BaseObject, assign, copy, get, init, isString, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -34,0 +44,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

import {BaseObject, copy, flat, get, init, isArray, isString, set} from './__util__';
import {_facet} from './_facet';
import {_repeat} from './_repeat';

@@ -177,2 +178,8 @@ import {render, toSpec, toString, toView} from './__view__';

facet(...values) {
values = values.slice(0, 1);
const obj = _facet(...values);
return obj.spec(this);
}
repeat(...values) {

@@ -179,0 +186,0 @@ values = values.slice(0, 1);

@@ -22,2 +22,12 @@ import {BaseObject, assign, copy, get, init, isString, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -24,0 +34,0 @@ if (arguments.length) {

@@ -22,2 +22,12 @@ import {BaseObject, assign, copy, get, init, isString, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -24,0 +34,0 @@ if (arguments.length) {

@@ -22,2 +22,12 @@ import {BaseObject, assign, copy, get, init, isString, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -24,0 +34,0 @@ if (arguments.length) {

@@ -22,2 +22,12 @@ import {BaseObject, assign, copy, get, init, isString, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -24,0 +34,0 @@ if (arguments.length) {

@@ -22,2 +22,12 @@ import {BaseObject, assign, copy, get, init, isString, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -24,0 +34,0 @@ if (arguments.length) {

@@ -22,2 +22,12 @@ import {BaseObject, assign, copy, get, init, isString, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -24,0 +34,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -22,2 +22,12 @@ import {BaseObject, assign, copy, get, init, isString, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -24,0 +34,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -32,2 +32,12 @@ import {BaseObject, assign, copy, get, init, isString, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -34,0 +44,0 @@ if (arguments.length) {

@@ -22,2 +22,12 @@ import {BaseObject, assign, copy, get, init, isString, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -24,0 +34,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, flat, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -22,2 +22,12 @@ import {BaseObject, assign, copy, get, init, isString, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -24,0 +34,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -22,2 +22,12 @@ import {BaseObject, assign, copy, get, init, isArray, isString, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -24,0 +34,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

import {BaseObject, copy, flat, get, init, isArray, isString, set} from './__util__';
import {_facet} from './_facet';
import {_repeat} from './_repeat';

@@ -177,2 +178,8 @@ import {render, toSpec, toString, toView} from './__view__';

facet(...values) {
values = values.slice(0, 1);
const obj = _facet(...values);
return obj.spec(this);
}
repeat(...values) {

@@ -179,0 +186,0 @@ values = values.slice(0, 1);

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

@@ -21,2 +21,12 @@ import {BaseObject, assign, copy, get, init, merge, set} from './__util__';

band(value) {
if (arguments.length) {
const obj = copy(this);
set(obj, "band", value);
return obj;
} else {
return get(this, "band");
}
}
bin(value) {

@@ -23,0 +33,0 @@ if (arguments.length) {

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc