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

@blocksuite/store

Package Overview
Dependencies
Maintainers
5
Versions
1252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocksuite/store - npm Package Compare versions

Comparing version 0.3.0-20221221054016-12522fa to 0.3.0-20221221064254-e3ebf2f

2

dist/blob/utils.js

@@ -6,3 +6,3 @@ import { createStore, del, get, keys, set, clear } from 'idb-keyval';

const buffer = Buffer.from(hash);
return buffer.toString('base64url');
return buffer.toString('base64').replace(/\+/g, '-').replace(/\//g, '_');
}

@@ -9,0 +9,0 @@ export function getDatabase(type, database) {

@@ -51,2 +51,3 @@ import * as Y from 'yjs';

export declare class Workspace {
static Y: typeof Y;
private _store;

@@ -53,0 +54,0 @@ private _indexer;

@@ -253,2 +253,3 @@ import * as Y from 'yjs';

}
Workspace.Y = Y;
//# sourceMappingURL=workspace.js.map
{
"name": "@blocksuite/store",
"version": "0.3.0-20221221054016-12522fa",
"version": "0.3.0-20221221064254-e3ebf2f",
"description": "BlockSuite data store built for general purpose state management.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -9,3 +9,3 @@ import { createStore, del, get, keys, set, clear } from 'idb-keyval';

return buffer.toString('base64url');
return buffer.toString('base64').replace(/\+/g, '-').replace(/\//g, '_');
}

@@ -12,0 +12,0 @@

@@ -205,2 +205,4 @@ import * as Y from 'yjs';

export class Workspace {
static Y = Y;
private _store: Store;

@@ -207,0 +209,0 @@ private _indexer: Indexer;

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