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

@antv/g-lite

Package Overview
Dependencies
Maintainers
64
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g-lite - npm Package Compare versions

Comparing version 1.0.68 to 1.0.69

6

dist/Canvas.d.ts

@@ -19,3 +19,4 @@ import type { IRenderer } from './AbstractRenderer';

RESIZE = "resize",
DIRTY_RECTANGLE = "dirtyrectangle"
DIRTY_RECTANGLE = "dirtyrectangle",
RENDERER_CHANGED = "rendererchanged"
}

@@ -129,4 +130,5 @@ /**

private initRenderer;
private initRenderingService;
private loadRendererContainerModule;
setRenderer(renderer: IRenderer): Promise<void>;
setRenderer(renderer: IRenderer): void;
setCursor(cursor: Cursor): void;

@@ -133,0 +135,0 @@ unmountChildren(parent: DisplayObject): void;

@@ -18,3 +18,4 @@ import type { CanvasLike } from '../types';

export interface ContextService<Context> {
init: () => Promise<void>;
init?: () => void;
initAsync?: () => Promise<void>;
destroy: () => void;

@@ -21,0 +22,0 @@ getContext: () => Context | null;

@@ -6,3 +6,3 @@ import type { GlobalRuntime } from '../global-runtime';

import type { EventPosition, InteractivePointerEvent, CanvasConfig } from '../types';
import { AsyncParallelHook, AsyncSeriesWaterfallHook, SyncHook, SyncWaterfallHook } from '../utils';
import { AsyncSeriesWaterfallHook, SyncHook, SyncWaterfallHook } from '../utils';
export type RenderingPluginContext = CanvasContext & GlobalRuntime;

@@ -43,3 +43,3 @@ export interface RenderingPlugin {

*/
init: AsyncParallelHook<[]>;
init: SyncHook<[], void>;
/**

@@ -91,3 +91,3 @@ * only dirty object which has sth changed will be rendered

};
init(): Promise<void>;
init(): void;
getStats(): {

@@ -94,0 +94,0 @@ /**

import type { vec2, vec3 } from 'gl-matrix';
import type { IEventTarget } from '.';
import type { IRenderer } from './AbstractRenderer';

@@ -234,3 +233,3 @@ import type { CSSGlobalKeywords, CSSGradientValue, CSSRGB, CSSUnitValue } from './css';

*/
export interface CanvasLike extends IEventTarget {
export interface CanvasLike extends EventTarget {
width: number;

@@ -237,0 +236,0 @@ height: number;

{
"name": "@antv/g-lite",
"version": "1.0.68",
"version": "1.0.69",
"description": "A core module for rendering engine implements DOM API.",

@@ -53,3 +53,3 @@ "keywords": [

},
"gitHead": "e0c2db3570cd3ce6d2f41e6411f725ac2f9da12c"
"gitHead": "913171a90ea08e7e4210b479faaaa0f4271a0af8"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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