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-20230829150056-df43987c-nightly to 0.0.0-20230830111255-92eab248-nightly

4

package.json
{
"name": "@blocksuite/phasor",
"version": "0.0.0-20230829150056-df43987c-nightly",
"version": "0.0.0-20230830111255-92eab248-nightly",
"description": "Hybrid canvas renderer.",

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

"fractional-indexing": "^3.2.0",
"@blocksuite/global": "0.0.0-20230829150056-df43987c-nightly"
"@blocksuite/global": "0.0.0-20230830111255-92eab248-nightly"
},

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

@@ -45,3 +45,3 @@ import type * as Y from 'yjs';

T extends ISurfaceElement = ISurfaceElement,
L extends ISurfaceElementLocalRecord = ISurfaceElementLocalRecord
L extends ISurfaceElementLocalRecord = ISurfaceElementLocalRecord,
> {

@@ -48,0 +48,0 @@ abstract containedByBounds(bounds: Bound): boolean;

@@ -36,3 +36,3 @@ import { assertExists } from '@blocksuite/global/utils';

export function compare<
T extends { id: string; index: string; batch?: string | null }
T extends { id: string; index: string; batch?: string | null },
>(a: T, b: T): number {

@@ -39,0 +39,0 @@ if (a.batch && b.batch) {

@@ -20,3 +20,3 @@ import type { StrokeOptions, StrokePoint } from './types.js';

T extends number[],
K extends { x: number; y: number; pressure?: number }
K extends { x: number; y: number; pressure?: number },
>(points: (T | K)[], options = {} as StrokeOptions): StrokePoint[] {

@@ -23,0 +23,0 @@ const { streamline = 0.5, size = 16, last: isComplete = false } = options;

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