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

@domoritz/vega

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@domoritz/vega - npm Package Compare versions

Comparing version 0.1.8 to 5.0.0

build/vega-node.js

103

index.js

@@ -1,27 +0,78 @@

define(["vega-embed@3"], function(VegaEmbed) {
var ID = 'vega-embed-style';
if (!document.getElementById(ID)) {
var style = document.createElement("style")
style.id = ID
style.innerHTML = ".vega-embed .vega-actions > a { opacity: 0.2; font-size: 0.9em; margin-right: 0.6em; } " +
".vega-embed:hover .vega-actions > a { opacity: 1; }"
document.getElementsByTagName("head")[0].appendChild(style)
}
// -- Transforms -----
return function vegalite(spec, options) {
var div = document.createElement("div");
return VegaEmbed.default(div, spec, Object.assign(
options || {},
{
mode: "vega",
actions: Object.assign(
{source: false},
options ? options.actions || {} : {})
})
)
.then(function(result) {
div.value = result.view;
return div;
});
};
});
import {extend} from 'vega-util';
import {transforms} from 'vega-dataflow';
import * as tx from 'vega-transforms';
import * as vtx from 'vega-view-transforms';
import * as encode from 'vega-encode';
import * as geo from 'vega-geo';
import * as force from 'vega-force';
import * as tree from 'vega-hierarchy';
import * as voronoi from 'vega-voronoi';
import * as wordcloud from 'vega-wordcloud';
import * as xf from 'vega-crossfilter';
extend(transforms, tx, vtx, encode, geo, force, tree, voronoi, wordcloud, xf);
// -- Exports -----
export {
version
} from './package.json';
export * from 'vega-statistics';
export * from 'vega-util';
export * from 'vega-loader';
export * from 'vega-scenegraph';
export {
Dataflow,
EventStream,
Parameters,
Pulse,
MultiPulse,
Operator,
Transform,
changeset,
ingest,
isTuple,
definition,
transform,
transforms,
tupleid
} from 'vega-dataflow';
export {
scale,
scheme,
schemeDiscretized,
interpolate,
interpolateRange,
timeInterval
} from 'vega-scale';
export {
projection
} from 'vega-projection';
export {
View
} from 'vega-view';
export {
expressionFunction,
formatLocale,
timeFormatLocale
} from 'vega-functions';
export {
parse
} from 'vega-parser';
export {
parse as runtime,
context as runtimeContext
} from 'vega-runtime';
{
"name": "@domoritz/vega",
"version": "0.1.8",
"description": "A convenience method for using Vega.",
"version": "5.0.0",
"description": "The Vega visualization grammar.",
"keywords": [
"vega"
"vega",
"visualization",
"interaction",
"dataflow",
"library",
"data",
"d3"
],
"homepage": "https://github.com/observablehq/vega",
"repository": "https://github.com/observablehq/vega",
"license": "ISC",
"author": {
"name": "Observable, Inc."
"license": "BSD-3-Clause",
"author": "UW Interactive Data Lab (http://idl.cs.washington.edu)",
"main": "build/vega-node.js",
"module": "build/vega-core.mjs",
"unpkg": "build/vega.min.js",
"jsdelivr": "build/vega.min.js",
"repository": "vega/vega",
"scripts": {
"rollup": "node rollup-node && node schema-copy",
"prebuild": "rimraf build && mkdirp build",
"build": "yarn rollup && node rollup && node rollup -e && node rollup -e -m",
"postbuild": "terser build/vega.js -c -m -o build/vega.min.js && terser build/vega-core.js -c -m -o build/vega-core.min.js",
"pretest": "yarn prebuild && yarn rollup",
"test": "TZ=America/Los_Angeles tape 'test/**/*-test.js' && eslint index.js test"
},
"publishConfig": {
"tag": "next"
"dependencies": {
"vega-crossfilter": "^4.0.0",
"vega-dataflow": "^5.0.0",
"vega-encode": "^4.0.0",
"vega-event-selector": "^2.0.0",
"vega-expression": "^2.5.0",
"vega-functions": "^5.0.0",
"vega-force": "^4.0.0",
"vega-geo": "^4.0.0",
"vega-hierarchy": "^4.0.0",
"vega-loader": "^4.0.0",
"vega-parser": "^5.0.0",
"vega-projection": "^1.2.1",
"vega-runtime": "^5.0.0",
"vega-scale": "^3.0.0",
"vega-scenegraph": "^4.0.0",
"vega-statistics": "^1.2.4",
"vega-transforms": "^4.0.0",
"vega-typings": "*",
"vega-util": "^1.8.0",
"vega-view": "^5.0.0",
"vega-view-transforms": "^4.0.0",
"vega-voronoi": "^4.0.0",
"vega-wordcloud": "^4.0.0"
},
"devDependencies": {
"vega-schema": "*"
}
}
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