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

vega-plus

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vega-plus - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

README.md

8

dist/index.js

@@ -6,8 +6,6 @@ export { specRewrite } from './src/spec_rewrite';

import * as vega from 'vega';
import VegaTransformPostgres from "vega-transform-db";
export function parse(spec, httpOptions) {
vega.transforms['dbtransform'] = VegaTransformPostgres;
VegaTransformPostgres.setHttpOptions(httpOptions);
export function parse(spec, transform_type, transform, config, option) {
vega.transforms[transform_type] = transform;
const newSpec = specRewrite(spec);
const runtime = vega.parse(newSpec);
const runtime = vega.parse(newSpec, config, option);
console.log(runtime);

@@ -14,0 +12,0 @@ return runtimeRewrite(runtime);

@@ -7,14 +7,10 @@ export { specRewrite } from './src/spec_rewrite';

import * as vega from 'vega';
import VegaTransformPostgres from "vega-transform-db"
export function parse(spec: vega.Spec, transform_type: string, transform:vega.Transform, config?:object, option?:object) {
export function parse(spec: vega.Spec, httpOptions) {
(vega as any).transforms['dbtransform'] = VegaTransformPostgres;
VegaTransformPostgres.setHttpOptions(httpOptions);
(vega as any).transforms[transform_type] = transform
const newSpec = specRewrite(spec)
const runtime = vega.parse(newSpec)
const runtime = vega.parse(newSpec, config, option)
console.log(runtime)
return runtimeRewrite(runtime)
}
{
"name": "vega-plus",
"version": "0.0.1",
"version": "0.0.2",
"source": "index.ts",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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