New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@liveblocks/yjs

Package Overview
Dependencies
Maintainers
5
Versions
270
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liveblocks/yjs - npm Package Compare versions

Comparing version

to
2.0.0-alpha2

4

dist/index.d.ts

@@ -59,3 +59,3 @@ import { JsonObject, LsonObject, BaseUserMeta, Json, BaseMetadata, Room, User } from '@liveblocks/client';

};
declare class LiveblocksProvider<P extends JsonObject, S extends LsonObject, U extends BaseUserMeta, E extends Json, M extends BaseMetadata$1> extends Observable<unknown> {
declare class LiveblocksYjsProvider<P extends JsonObject, S extends LsonObject, U extends BaseUserMeta, E extends Json, M extends BaseMetadata$1> extends Observable<unknown> {
private room;

@@ -81,2 +81,2 @@ private rootDoc;

export { LiveblocksProvider as default };
export { LiveblocksYjsProvider };

@@ -272,3 +272,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/index.ts

var PKG_NAME = "@liveblocks/yjs";
var PKG_VERSION = "2.0.0-alpha1";
var PKG_VERSION = "2.0.0-alpha2";
var PKG_FORMAT = "cjs";

@@ -281,3 +281,3 @@

};
var LiveblocksProvider = class extends Observable {
var LiveblocksYjsProvider = class extends Observable {
constructor(room, doc, options = DefaultOptions) {

@@ -409,3 +409,3 @@ super();

exports.default = LiveblocksProvider;
exports.LiveblocksYjsProvider = LiveblocksYjsProvider;
//# sourceMappingURL=index.js.map
{
"name": "@liveblocks/yjs",
"version": "2.0.0-alpha1",
"version": "2.0.0-alpha2",
"description": "An integration with . Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.",

@@ -31,3 +31,3 @@ "license": "Apache-2.0",

"lint": "eslint src/",
"lint:package": "publint --strict && attw --pack --ignore-rules cjs-only-exports-default",
"lint:package": "publint --strict && attw --pack",
"test": "jest --silent --verbose --color=always",

@@ -37,4 +37,4 @@ "test:watch": "jest --silent --verbose --color=always --watch"

"dependencies": {
"@liveblocks/client": "2.0.0-alpha1",
"@liveblocks/core": "2.0.0-alpha1",
"@liveblocks/client": "2.0.0-alpha2",
"@liveblocks/core": "2.0.0-alpha2",
"js-base64": "^3.7.5"

@@ -48,3 +48,4 @@ },

"@liveblocks/jest-config": "*",
"@testing-library/jest-dom": "^5.16.5"
"@testing-library/jest-dom": "^5.16.5",
"msw": "^0.47.4"
},

@@ -51,0 +52,0 @@ "sideEffects": false,

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