Socket
Socket
Sign inDemoInstall

@antv/g

Package Overview
Dependencies
Maintainers
5
Versions
350
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 3.0.0-beta.7 to 3.0.0-beta.8

.idea/inspectionProfiles/Project_Default.xml

2

lib/index.js

@@ -11,3 +11,3 @@ module.exports = {

// version, etc.
version: '3.0.0-beta.7'
version: '3.0.0-beta.8'
};

@@ -23,3 +23,2 @@ var Util = require('../index');

} else if (k === 'matrix') {
console.log(k);
rst.matrix = props[k];

@@ -80,3 +79,3 @@ } else if (!ReservedProps[k]) {

}
var formatProps = getFormatProps(toProps);
var formatProps = getFormatProps(toProps, self);
// 记录动画属性

@@ -83,0 +82,0 @@ var animator = {

@@ -23,3 +23,3 @@ var Util = require('../index');

var fromAttrs = animator.fromAttrs;
var toM = animator.toM;
var toMatrix = animator.toMatrix;
if (self.get('destroyed')) {

@@ -55,4 +55,4 @@ return;

}
if (toM) {
var mf = interpolateArray(animator.fromM, toM);
if (toMatrix) {
var mf = interpolateArray(animator.fromMatrix, toMatrix);
var cM = mf(ratio);

@@ -59,0 +59,0 @@ self.setMatrix(cM);

{
"name": "@antv/g",
"version": "3.0.0-beta.7",
"version": "3.0.0-beta.8",
"description": "A canvas library which providing 2d draw for G2.",

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

@@ -11,3 +11,3 @@ module.exports = {

// version, etc.
version: '3.0.0-beta.7'
version: '3.0.0-beta.8'
};

@@ -23,3 +23,2 @@ const Util = require('../index');

} else if (k === 'matrix') {
console.log(k);
rst.matrix = props[k];

@@ -78,3 +77,3 @@ } else if (!ReservedProps[k]) {

}
const formatProps = getFormatProps(toProps);
const formatProps = getFormatProps(toProps, self);
// 记录动画属性

@@ -81,0 +80,0 @@ const animator = {

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

const fromAttrs = animator.fromAttrs;
const toM = animator.toM;
const toMatrix = animator.toMatrix;
if (self.get('destroyed')) {

@@ -52,4 +52,4 @@ return;

}
if (toM) {
const mf = interpolateArray(animator.fromM, toM);
if (toMatrix) {
const mf = interpolateArray(animator.fromMatrix, toMatrix);
const cM = mf(ratio);

@@ -56,0 +56,0 @@ self.setMatrix(cM);

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

Sorry, the diff of this file is not supported yet

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