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

@blocksuite/global

Package Overview
Dependencies
Maintainers
5
Versions
1171
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.5.0-20230315153039-983040a to 0.5.0-20230317001802-ebd1fa9

dist/utils/types.d.ts

1

dist/config/icons.d.ts

@@ -72,2 +72,3 @@ export declare const TextIcon: import("lit").TemplateResult<1>;

export declare const TransparentIcon: import("lit").TemplateResult<1>;
export declare const MoreHorizontalIcon: import("lit").TemplateResult<1>;
//# sourceMappingURL=icons.d.ts.map

2

dist/types.d.ts

@@ -28,3 +28,3 @@ import type { CodeBlockModelSchema, DatabaseBlockModelSchema, DividerBlockModelSchema, EmbedBlockModelSchema, FrameBlockModelSchema, ListBlockModelSchema, PageBlockModelSchema, ParagraphBlockModelSchema, SurfaceBlockModelSchema } from '@blocksuite/blocks';

};
export type UnionToIntersection<T> = (T extends any ? (x: T) => any : never) extends (x: infer R) => any ? R : never;
export * from './utils/types.js';
//# sourceMappingURL=types.d.ts.map

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

export {};
export * from './utils/types.js';
//# sourceMappingURL=types.js.map

@@ -22,3 +22,3 @@ import type { BaseBlockModel } from '@blocksuite/store';

export declare const isNonTextBlock: <Key extends "affine:paragraph" | "affine:page" | "affine:list" | "affine:frame" | "affine:code" | "affine:divider" | "affine:embed" | "affine:surface" | "affine:database" = "affine:paragraph" | "affine:page" | "affine:list" | "affine:frame" | "affine:code" | "affine:divider" | "affine:embed" | "affine:surface" | "affine:database">(model: BaseBlockModel) => boolean;
type Allowed = void | null | undefined | boolean | number | string | unknown[] | object;
type Allowed = unknown | void | null | undefined | boolean | number | string | unknown[] | object;
export declare function assertEquals<T extends Allowed, U extends T>(val: T, expected: U, message?: string): asserts val is U;

@@ -25,0 +25,0 @@ export declare function isEqual<T extends Allowed, U extends T>(val: T, expected: U): boolean;

{
"name": "@blocksuite/global",
"version": "0.5.0-20230315153039-983040a",
"version": "0.5.0-20230317001802-ebd1fa9",
"types": "./index.d.ts",

@@ -26,3 +26,3 @@ "type": "module",

"ansi-colors": "^4.1.3",
"zod": "^3.20.6"
"zod": "^3.21.4"
},

@@ -29,0 +29,0 @@ "devDependencies": {

@@ -53,6 +53,2 @@ import type {

export type UnionToIntersection<T> =
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(T extends any ? (x: T) => any : never) extends (x: infer R) => any
? R
: never;
export * from './utils/types.js';

@@ -76,2 +76,3 @@ import type { BaseBlockModel } from '@blocksuite/store';

type Allowed =
| unknown
| void

@@ -78,0 +79,0 @@ | null

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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

Sorry, the diff of this file is too big to display

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