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

@blocksuite/global

Package Overview
Dependencies
Maintainers
0
Versions
1140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocksuite/global - npm Package Compare versions

Comparing version 0.0.0-canary-20241207001518 to 0.0.0-canary-20241208001658

2

CHANGELOG.md
# @blocksuite/global
## 0.0.0-canary-20241207001518
## 0.0.0-canary-20241208001658

@@ -5,0 +5,0 @@ ### Patch Changes

@@ -106,2 +106,7 @@ // control coords are not relative to start or end

export function getBezierParameters(points) {
// Fallback for degenerate Bezier curve (all points are at the same position)
if (points.length === 1) {
const point = points[0];
return [point, point, point, point];
}
return [points[0], points[0].absOut, points[1].absIn, points[1]];

@@ -108,0 +113,0 @@ }

{
"name": "@blocksuite/global",
"version": "0.0.0-canary-20241207001518",
"version": "0.0.0-canary-20241208001658",
"types": "./index.d.ts",

@@ -5,0 +5,0 @@ "type": "module",

@@ -147,2 +147,8 @@ // control coords are not relative to start or end

): BezierCurveParameters {
// Fallback for degenerate Bezier curve (all points are at the same position)
if (points.length === 1) {
const point = points[0];
return [point, point, point, point];
}
return [points[0], points[0].absOut, points[1].absIn, points[1]];

@@ -149,0 +155,0 @@ }

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