Socket
Socket
Sign inDemoInstall

@antv/g

Package Overview
Dependencies
Maintainers
4
Versions
349
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

.idea/deployment.xml

1

index.js

@@ -21,4 +21,5 @@ module.exports = {

MatrixUtil: require('./src/util/matrix'),
CommonUtil: require('./src/util/common'),
DomUtil: require('./src/util/dom'),
Event: require('./src/event')
};

2

package.json
{
"name": "@antv/g",
"version": "2.0.2",
"version": "2.0.3",
"description": "A canvas library which providing 2d draw for G2.",

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

@@ -176,3 +176,5 @@ const Util = require('../../util/index');

const inm = mat3.invert([], m);
vec3.transformMat3(v, v, inm);
if (inm) {
vec3.transformMat3(v, v, inm);
}
}

@@ -179,0 +181,0 @@ return this;

@@ -1,18 +0,18 @@

const Shape = {
Rect: require('./rect'),
Circle: require('./circle'),
Ellipse: require('./ellipse'),
Path: require('./path'),
Text: require('./text'),
Line: require('./line'),
Image: require('./image'),
Polygon: require('./polygon'),
Polyline: require('./polyline'),
Arc: require('./arc'),
Fan: require('./fan'),
Cubic: require('./cubic'),
Quadratic: require('./quadratic'),
Marker: require('./marker')
};
const Shape = require('../core/shape');
Shape.Rect = require('./rect');
Shape.Rect = require('./rect');
Shape.Circle = require('./circle');
Shape.Ellipse = require('./ellipse');
Shape.Path = require('./path');
Shape.Text = require('./text');
Shape.Line = require('./line');
Shape.Image = require('./image');
Shape.Polygon = require('./polygon');
Shape.Polyline = require('./polyline');
Shape.Arc = require('./arc');
Shape.Fan = require('./fan');
Shape.Cubic = require('./cubic');
Shape.Quadratic = require('./quadratic');
Shape.Marker = require('./marker');
module.exports = Shape;

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

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