Socket
Socket
Sign inDemoInstall

@antv/g-math

Package Overview
Dependencies
Maintainers
16
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g-math - npm Package Compare versions

Comparing version 0.1.0-beta.3 to 0.1.0-beta.4

22

esm/arc.js

@@ -65,5 +65,12 @@ import { distance, piMod } from './util';

var xAngle = xDim + i;
if (startAngle < xAngle && xAngle < endAngle) {
xs.push(xAngle);
if (startAngle < endAngle) {
if (startAngle < xAngle && xAngle < endAngle) {
xs.push(xAngle);
}
}
else {
if (endAngle < xAngle && xAngle < startAngle) {
xs.push(xAngle);
}
}
}

@@ -85,5 +92,12 @@ for (var i = 0; i < xs.length; i++) {

var yAngle = yDim + i;
if (startAngle < yAngle && yAngle < endAngle) {
ys.push(yAngle);
if (startAngle < endAngle) {
if (startAngle < yAngle && yAngle < endAngle) {
ys.push(yAngle);
}
}
else {
if (endAngle < yAngle && yAngle < startAngle) {
ys.push(yAngle);
}
}
}

@@ -90,0 +104,0 @@ for (var i = 0; i < ys.length; i++) {

@@ -67,5 +67,12 @@ "use strict";

var xAngle = xDim + i;
if (startAngle < xAngle && xAngle < endAngle) {
xs.push(xAngle);
if (startAngle < endAngle) {
if (startAngle < xAngle && xAngle < endAngle) {
xs.push(xAngle);
}
}
else {
if (endAngle < xAngle && xAngle < startAngle) {
xs.push(xAngle);
}
}
}

@@ -87,5 +94,12 @@ for (var i = 0; i < xs.length; i++) {

var yAngle = yDim + i;
if (startAngle < yAngle && yAngle < endAngle) {
ys.push(yAngle);
if (startAngle < endAngle) {
if (startAngle < yAngle && yAngle < endAngle) {
ys.push(yAngle);
}
}
else {
if (endAngle < yAngle && yAngle < startAngle) {
ys.push(yAngle);
}
}
}

@@ -92,0 +106,0 @@ for (var i = 0; i < ys.length; i++) {

4

package.json
{
"name": "@antv/g-math",
"version": "0.1.0-beta.3",
"version": "0.1.0-beta.4",
"description": "geometry math",

@@ -55,3 +55,3 @@ "main": "lib/index.js",

},
"gitHead": "688057a7b8a05b32b3a5286523648c9e8a2067c8"
"gitHead": "dfe406eabeb080b0200809ee347c03a555f4af91"
}

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