New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.4.0-20230116190618-0dc5fd3 to 0.4.0-20230117022540-0a09287

6

dist/container.js

@@ -5,7 +5,3 @@ import * as Y from 'yjs';

import { Renderer } from './renderer.js';
function assertExists(val) {
if (val === null || val === undefined) {
throw new Error('val does not exist');
}
}
import { assertExists } from '@blocksuite/global/utils';
export class SurfaceContainer {

@@ -12,0 +8,0 @@ constructor(canvas, yContainer) {

1

dist/index.js

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

/// <reference types="@blocksuite/global" />
export { Renderer } from './renderer.js';

@@ -2,0 +3,0 @@ export * from './elements.js';

{
"name": "@blocksuite/phasor",
"version": "0.4.0-20230116190618-0dc5fd3",
"version": "0.4.0-20230117022540-0a09287",
"description": "Hybrid canvas renderer.",

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

"dependencies": {
"@blocksuite/global": "0.4.0-20230117022540-0a09287",
"fractional-indexing": "^3.1.0"

@@ -26,0 +27,0 @@ },

@@ -6,9 +6,4 @@ import * as Y from 'yjs';

import { Renderer } from './renderer.js';
import { assertExists } from '@blocksuite/global/utils';
function assertExists<T>(val: T | null | undefined): asserts val is T {
if (val === null || val === undefined) {
throw new Error('val does not exist');
}
}
export class SurfaceContainer {

@@ -15,0 +10,0 @@ readonly renderer: Renderer;

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

/// <reference types="@blocksuite/global" />
export { Renderer } from './renderer.js';

@@ -2,0 +3,0 @@ export * from './elements.js';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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