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

@blocksuite/phasor

Package Overview
Dependencies
Maintainers
5
Versions
411
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocksuite/phasor - npm Package Compare versions

Comparing version 0.0.0-20230825054009-a12544d6-nightly to 0.0.0-20230825222505-f2870064-nightly

2

dist/elements/shape/utils.js

@@ -33,3 +33,3 @@ import { StrokeStyle } from '../../consts.js';

function drawRect(ctx, x, y, width, height, radius) {
const r = Math.min(width * radius, height * radius);
const r = Math.max(Math.min(width * radius, height * radius), 0);
ctx.beginPath();

@@ -36,0 +36,0 @@ ctx.moveTo(x + r, y);

{
"name": "@blocksuite/phasor",
"version": "0.0.0-20230825054009-a12544d6-nightly",
"version": "0.0.0-20230825222505-f2870064-nightly",
"description": "Hybrid canvas renderer.",

@@ -28,3 +28,3 @@ "main": "dist/index.js",

"fractional-indexing": "^3.2.0",
"@blocksuite/global": "0.0.0-20230825054009-a12544d6-nightly"
"@blocksuite/global": "0.0.0-20230825222505-f2870064-nightly"
},

@@ -31,0 +31,0 @@ "scripts": {

@@ -58,3 +58,3 @@ import { StrokeStyle } from '../../consts.js';

) {
const r = Math.min(width * radius, height * radius);
const r = Math.max(Math.min(width * radius, height * radius), 0);
ctx.beginPath();

@@ -61,0 +61,0 @@ ctx.moveTo(x + r, y);

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