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

vega-typings

Package Overview
Dependencies
Maintainers
4
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vega-typings - npm Package Compare versions

Comparing version 0.21.0 to 0.22.0

6

package.json
{
"name": "vega-typings",
"version": "0.21.0",
"version": "0.22.0",
"description": "Typings for Vega.",

@@ -21,5 +21,7 @@ "types": "types",

"dependencies": {
"vega-event-selector": "^3.0.0",
"vega-expression": "^5.0.0",
"vega-util": "^1.15.2"
},
"gitHead": "fa2028c00b859c4485cac836c5a314fd37b7f109"
"gitHead": "774165e29850b66ec8b79ba52a7955f1ab936ea6"
}

@@ -10,2 +10,3 @@ export interface Changeset {

export class Operator {
source?: Operator;
constructor(init?: any, update?: (obj: any, pulse: any) => any, params?: any, react?: boolean);

@@ -12,0 +13,0 @@ targets(): any;

@@ -0,1 +1,2 @@

import { LoggerInterface } from 'vega-util';
import {

@@ -7,12 +8,9 @@ Color,

Format,
NumberLocale,
Padding,
SignalValue,
Spec,
TimeLocale,
} from '../spec';
import { Changeset, Transform } from './dataflow';
import { Renderers } from './renderer';
import { Changeset, Transform } from './dataflow';
import { Scene } from './scene';
import { LoggerInterface } from 'vega-util';

@@ -257,2 +255,4 @@ // TODO

export { parseSelector } from 'vega-event-selector';
export { codegenExpression, parseExpression } from 'vega-expression';
export * from 'vega-util';

@@ -262,5 +262,1 @@ export * from './dataflow';

export * from './scene';
export { codegen as codegenExpression, parse as parseExpression } from 'vega-expression';
export { selector as parseSelector } from 'vega-event-selector';

@@ -1,2 +0,1 @@

import { Scene, SceneItem } from './scene';
import { Loader } from '.';

@@ -3,0 +2,0 @@

@@ -0,1 +1,3 @@

import { Operator } from './dataflow';
export interface Scene {

@@ -39,3 +41,12 @@ bounds: Bounds;

datum?: object;
mark: { role: string };
mark: {
bounds: Bounds;
clip: boolean;
interactive: boolean;
items: SceneItem[];
marktype: string;
role: string;
source: Operator;
zindex: number;
};
x: number;

@@ -45,2 +56,6 @@ y: number;

export type SceneAxis = SceneItem & {
orient: 'bottom' | 'left' | 'right' | 'top';
};
export type SceneRect = SceneItem & {

@@ -47,0 +62,0 @@ fill: string;

@@ -517,3 +517,3 @@ import {

anchor?: LabelAnchor[] | LabelAnchor | SignalRef;
padding?: number | SignalRef;
padding?: number | null | SignalRef;
markIndex?: number;

@@ -520,0 +520,0 @@ lineAnchor?: LineLabelAnchor | SignalRef;

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