New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@visactor/vgrammar-coordinate

Package Overview
Dependencies
Maintainers
15
Versions
273
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@visactor/vgrammar-coordinate - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

3

cjs/polar.js

@@ -24,3 +24,4 @@ "use strict";

}
const minX = Math.min.apply(null, xs), minY = Math.min.apply(null, ys), maxX = Math.max.apply(null, xs), maxY = Math.max.apply(null, ys);
const minX = (0, vutils_1.minInArray)(xs), minY = (0, vutils_1.minInArray)(ys), maxX = (0,
vutils_1.maxInArray)(xs), maxY = (0, vutils_1.maxInArray)(ys);
this.startPoint = {

@@ -27,0 +28,0 @@ x: minX,

@@ -1,2 +0,2 @@

import { clampRadian, isNumberClose, isValidNumber, isNil, polarToCartesian, isArray } from "@visactor/vutils";
import { clampRadian, isNumberClose, isValidNumber, isNil, polarToCartesian, isArray, minInArray, maxInArray } from "@visactor/vutils";

@@ -19,3 +19,3 @@ import { Coordinate } from "./base";

}
const minX = Math.min.apply(null, xs), minY = Math.min.apply(null, ys), maxX = Math.max.apply(null, xs), maxY = Math.max.apply(null, ys);
const minX = minInArray(xs), minY = minInArray(ys), maxX = maxInArray(xs), maxY = maxInArray(ys);
this.startPoint = {

@@ -22,0 +22,0 @@ x: minX,

{
"name": "@visactor/vgrammar-coordinate",
"version": "0.9.1",
"version": "0.9.2",
"description": "Coordinates for VGrammar",

@@ -27,4 +27,4 @@ "keywords": [

"dependencies": {
"@visactor/vgrammar-util": "0.9.1",
"@visactor/vutils": "~0.16.12"
"@visactor/vgrammar-util": "0.9.2",
"@visactor/vutils": "~0.16.18"
},

@@ -43,5 +43,5 @@ "devDependencies": {

"@internal/bundler": "0.0.1",
"@internal/eslint-config": "0.0.1",
"@internal/ts-config": "0.0.1",
"@internal/jest-config": "0.0.1",
"@internal/ts-config": "0.0.1"
"@internal/eslint-config": "0.0.1"
},

@@ -48,0 +48,0 @@ "publishConfig": {

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