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

@domoritz/vega-lite

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@domoritz/vega-lite - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

20

index.js

@@ -1,14 +0,14 @@

define(["vega@3/build/vega.min.js", "vega-lite@2/build/vega-lite.min.js"], function(Vega, VegaLite) {
define("global-vega-lite", ["vega@3", "vega-lite@2"], function(Vega, VegaLite) {
window.vega = Vega;
window.vl = VegaLite;
});
return define(["vega-embed@3/build/vega-embed.min.js"], function(VegaEmbed) {
return function vegalite(spec, options) {
var div = document.createElement("div");
return VegaEmbed(div, spec, Object.assign(options || {}, {mode: 'vega-lite'}))
.then(function() {
return div;
});
};
});
define(["global-vega-lite", "vega-embed@3"], function(_, VegaEmbed) {
return function vegalite(spec, options) {
var div = document.createElement("div");
return VegaEmbed.default(div, spec, Object.assign(options || {}, {mode: 'vega-lite'}))
.then(function() {
return div;
});
};
});
{
"name": "@domoritz/vega-lite",
"version": "0.1.8",
"version": "0.1.9",
"description": "A convenience method for using Vega-Lite.",

@@ -5,0 +5,0 @@ "keywords": [

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