Socket
Socket
Sign inDemoInstall

vega-lite

Package Overview
Dependencies
Maintainers
2
Versions
470
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 1.0.7 to 1.0.8

.idea/.name

2

examples/examples.test.js

@@ -21,3 +21,3 @@ "use strict";

chai_1.assert(isVlValid);
var vegaSpec = vl.compile(vlspec);
var vegaSpec = vl.compile(vlspec).spec;
var isVgValid = validator.validate(vegaSpec, vgSchema);

@@ -24,0 +24,0 @@ if (!isVgValid) {

@@ -25,3 +25,3 @@ import {assert} from 'chai';

const vegaSpec = vl.compile(vlspec);
const vegaSpec = vl.compile(vlspec).spec;

@@ -28,0 +28,0 @@ const isVgValid = validator.validate(vegaSpec, vgSchema);

@@ -8,4 +8,4 @@ {

"color": {"field": "site", "type": "nominal"},
"order": {"aggregate": "sum", "field": "yield", "type": "nominal"}
"order": {"aggregate": "sum", "field": "yield", "type": "quantitative"}
}
}
{
"name": "vega-lite",
"author": "Jeffrey Heer, Dominik Moritz, Kanit \"Ham\" Wongsuphasawat",
"version": "1.0.7",
"version": "1.0.8",
"collaborators": [

@@ -27,3 +27,3 @@ "Kanit Wongsuphasawat <kanitw@gmail.com> (http://kanitw.yellowpigz.com)",

"clean": "rm -f vega-lite.* vega-lite-schema.json & find src -name '*.js*' -type f -delete & find test -name '*.js*' -type f -delete & find site -name '*.js*' -type f -delete & rm -rf examples/_diff examples/_original examples/_output examples/images && rm -rf data",
"data": "cp -r node_modules/vega-datasets/data data",
"data": "rsync -r node_modules/vega-datasets/data/* data",
"deploy": "scripts/deploy.sh",

@@ -72,3 +72,3 @@ "deploy:gh": "scripts/deploy-gh.sh",

"uglify-js": "^2.6.2",
"vega": "^2.5.0",
"vega": "^2.5.1",
"vega-datasets": "vega/vega-datasets#gh-pages",

@@ -75,0 +75,0 @@ "watchify": "^3.7.0",

@@ -25,9 +25,9 @@ "use strict";

var timeComponents = [];
if (timeString.indexOf('hour') > -1) {
if (timeString.indexOf('hours') > -1) {
timeComponents.push('%H');
}
if (timeString.indexOf('minute') > -1) {
if (timeString.indexOf('minutes') > -1) {
timeComponents.push('%M');
}
if (timeString.indexOf('second') > -1) {
if (timeString.indexOf('seconds') > -1) {
timeComponents.push('%S');

@@ -34,0 +34,0 @@ }

@@ -31,9 +31,9 @@ import {contains, range} from '../util';

if (timeString.indexOf('hour') > -1) {
if (timeString.indexOf('hours') > -1) {
timeComponents.push('%H');
}
if (timeString.indexOf('minute') > -1) {
if (timeString.indexOf('minutes') > -1) {
timeComponents.push('%M');
}
if (timeString.indexOf('second') > -1) {
if (timeString.indexOf('seconds') > -1) {
timeComponents.push('%S');

@@ -40,0 +40,0 @@ }

@@ -159,3 +159,3 @@ import {ScaleConfig, FacetScaleConfig, defaultScaleConfig, defaultFacetScaleConfig} from './scale';

*/
strokeDashOffset?: number[];
strokeDashOffset?: number;

@@ -162,0 +162,0 @@ // ---------- Stacking: Bar & Area ----------

@@ -18,2 +18,3 @@ "use strict";

TimeUnit[TimeUnit["YEARMONTHDAYHOURSMINUTES"] = 'yearmonthdayhoursminutes'] = "YEARMONTHDAYHOURSMINUTES";
TimeUnit[TimeUnit["YEARMONTHDAYHOURSMINUTESSECONDS"] = 'yearmonthdayhoursminutesseconds'] = "YEARMONTHDAYHOURSMINUTESSECONDS";
TimeUnit[TimeUnit["HOURSMINUTES"] = 'hoursminutes'] = "HOURSMINUTES";

@@ -41,2 +42,3 @@ TimeUnit[TimeUnit["HOURSMINUTESSECONDS"] = 'hoursminutesseconds'] = "HOURSMINUTESSECONDS";

TimeUnit.YEARMONTHDAYHOURSMINUTES,
TimeUnit.YEARMONTHDAYHOURSMINUTESSECONDS,
TimeUnit.HOURSMINUTES,

@@ -43,0 +45,0 @@ TimeUnit.HOURSMINUTESSECONDS,

@@ -18,2 +18,3 @@

YEARMONTHDAYHOURSMINUTES = 'yearmonthdayhoursminutes' as any,
YEARMONTHDAYHOURSMINUTESSECONDS = 'yearmonthdayhoursminutesseconds' as any,
HOURSMINUTES = 'hoursminutes' as any,

@@ -41,2 +42,3 @@ HOURSMINUTESSECONDS = 'hoursminutesseconds' as any,

TimeUnit.YEARMONTHDAYHOURSMINUTES,
TimeUnit.YEARMONTHDAYHOURSMINUTESSECONDS,
TimeUnit.HOURSMINUTES,

@@ -43,0 +45,0 @@ TimeUnit.HOURSMINUTESSECONDS,

@@ -433,2 +433,3 @@ {

"yearmonthdayhoursminutes",
"yearmonthdayhoursminutesseconds",
"hoursminutes",

@@ -943,6 +944,3 @@ "hoursminutesseconds",

"strokeDashOffset": {
"type": "array",
"items": {
"type": "number"
},
"type": "number",
"description": "The offset (in pixels) into which to begin drawing with the stroke dash array."

@@ -949,0 +947,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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 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