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

@antv/g-lite

Package Overview
Dependencies
Maintainers
66
Versions
148
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 2.0.7 to 2.0.8

4

dist/Canvas.d.ts

@@ -71,2 +71,6 @@ /// <reference types="webxr" />

/**
* double click speed (ms), default is 200ms
*/
dblClickSpeed?: CanvasConfig['dblClickSpeed'];
/**
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element

@@ -73,0 +77,0 @@ */

@@ -417,2 +417,3 @@ import type RBush from 'rbush';

isMouseEvent: (event: InteractivePointerEvent) => event is MouseEvent;
dblClickSpeed?: number;
render: () => void;

@@ -419,0 +420,0 @@ destroy: (destroyScenegraph?: boolean) => void;

@@ -0,1 +1,8 @@

import { mat4 } from 'gl-matrix';
type RectangleLike = {
x: number;
y: number;
width: number;
height: number;
};
export declare class Rectangle implements DOMRect {

@@ -6,2 +13,10 @@ x: number;

height: number;
/**
* @see https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/fromRect_static
*/
static fromRect(rect: RectangleLike): Rectangle;
/**
* will return a new rect instance
*/
static applyTransform(rect: Rectangle, matrix: mat4): Rectangle;
left: number;

@@ -14,1 +29,2 @@ right: number;

}
export {};

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

isMouseEvent?: (event: InteractivePointerEvent) => event is MouseEvent;
dblClickSpeed?: number;
/**

@@ -279,0 +280,0 @@ * Listen to native click event instead of mocking with pointerup & down events.

2

package.json
{
"name": "@antv/g-lite",
"version": "2.0.7",
"version": "2.0.8",
"description": "A core module for rendering engine implements DOM API.",

@@ -5,0 +5,0 @@ "keywords": [

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 too big to display

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 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