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

@liveblocks/redux

Package Overview
Dependencies
Maintainers
0
Versions
405
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liveblocks/redux - npm Package Compare versions

Comparing version 2.18.3 to 2.18.4-uns1

dist/index.cjs

38

dist/index.js

@@ -1,9 +0,9 @@

"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
// src/index.ts
import {
detectDupes,
legacy_patchImmutableObject,
lsonToJson,
patchLiveObjectKey
} from "@liveblocks/core";
var _core = require('@liveblocks/core');
// src/errors.ts

@@ -37,7 +37,7 @@ var ERROR_PREFIX = "Invalid @liveblocks/redux middleware config.";

var PKG_NAME = "@liveblocks/redux";
var PKG_VERSION = "2.18.3";
var PKG_FORMAT = "cjs";
var PKG_VERSION = "2.18.4-uns1";
var PKG_FORMAT = "esm";
// src/index.ts
_core.detectDupes.call(void 0, PKG_NAME, PKG_VERSION, PKG_FORMAT);
detectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);
var ACTION_TYPES = {

@@ -209,5 +209,5 @@ ENTER: "@@LIVEBLOCKS/ENTER",

updates[key] = store.getState()[key];
_core.patchLiveObjectKey.call(void 0, root, key, void 0, store.getState()[key]);
patchLiveObjectKey(root, key, void 0, store.getState()[key]);
} else {
updates[key] = _core.lsonToJson.call(void 0, liveblocksStatePart);
updates[key] = lsonToJson(liveblocksStatePart);
}

@@ -254,3 +254,3 @@ }

function leaveRoom2() {
_optionalChain([lastLeaveFn, 'optionalCall', _ => _()]);
lastLeaveFn?.();
}

@@ -302,3 +302,3 @@ function newDispatch(action) {

const newVal = newState[key];
_core.patchLiveObjectKey.call(void 0, root, key, oldVal, newVal);
patchLiveObjectKey(root, key, oldVal, newVal);
}

@@ -339,3 +339,3 @@ }

}
const patched = _core.legacy_patchImmutableObject.call(void 0, partialState, updates);
const patched = legacy_patchImmutableObject(partialState, updates);
const result = {};

@@ -364,6 +364,6 @@ for (const key in mapping) {

}
exports.actions = actions; exports.liveblocksEnhancer = liveblocksEnhancer;
export {
actions,
liveblocksEnhancer
};
//# sourceMappingURL=index.js.map
{
"name": "@liveblocks/redux",
"version": "2.18.3",
"version": "2.18.4-uns1",
"description": "A store enhancer to integrate Liveblocks into Redux stores. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.",
"license": "Apache-2.0",
"type": "commonjs",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"main": "./dist/index.cjs",
"types": "./dist/index.d.cts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"module": "./dist/index.mjs",
"default": "./dist/index.js"
"types": "./dist/index.d.cts",
"module": "./dist/index.js",
"default": "./dist/index.cjs"
}

@@ -36,4 +36,4 @@ }

"dependencies": {
"@liveblocks/client": "2.18.3",
"@liveblocks/core": "2.18.3"
"@liveblocks/client": "2.18.4-uns1",
"@liveblocks/core": "2.18.4-uns1"
},

@@ -40,0 +40,0 @@ "peerDependencies": {

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