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.9 to 0.1.10

11

index.js

@@ -1,10 +0,11 @@

define("global-vega-lite", ["vega@3", "vega-lite@2"], function(Vega, VegaLite) {
window.vega = Vega;
window.vl = VegaLite;
requirejs.config({
shim: {
"vega-embed@3": ["vega@3", "vega-lite@2"]
}
});
define(["global-vega-lite", "vega-embed@3"], function(_, VegaEmbed) {
define(["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'}))
return VegaEmbed.default(div, spec, Object.assign(options || {}, {mode: "vega-lite"}))
.then(function() {

@@ -11,0 +12,0 @@ return div;

{
"name": "@domoritz/vega-lite",
"version": "0.1.9",
"version": "0.1.10",
"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