You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@virtual-grid/react

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@virtual-grid/react - npm Package Compare versions

Comparing version

to
2.0.3

6

dist/index.js

@@ -207,2 +207,3 @@ "use client";

const _b = options, { getItemId, getItemData, invert } = _b, measureOptions = __objRest(_b, ["getItemId", "getItemData", "invert"]);
const rerender = import_react4.default.useReducer(() => ({}), {})[1];
const [gridWidth, setGridWidth] = import_react4.default.useState(0);

@@ -216,3 +217,6 @@ const [gridHeight, setGridHeight] = import_react4.default.useState(0);

setOptions(__spreadProps(__spreadValues({}, options), { width, height }));
(0, import_use_deep_compare.useDeepCompareMemo)(measure, [measure, measureOptions, width, height]);
(0, import_use_deep_compare.useDeepCompareMemo)(() => {
measure();
rerender();
}, [measure, rerender, measureOptions, width, height]);
const observeGrid = (0, import_shared.observeGridSize)(props);

@@ -219,0 +223,0 @@ (0, import_use_resize_observer.default)({

6

package.json
{
"name": "@virtual-grid/react",
"version": "2.0.2",
"version": "2.0.3",
"license": "MIT",

@@ -34,4 +34,4 @@ "exports": {

"@virtual-grid/eslint-config": "0.0.0",
"@virtual-grid/tsconfig": "0.0.0",
"@virtual-grid/tsup-config": "0.0.0"
"@virtual-grid/tsup-config": "0.0.0",
"@virtual-grid/tsconfig": "0.0.0"
},

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

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