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

@rowsncolumns/grid

Package Overview
Dependencies
Maintainers
1
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rowsncolumns/grid - npm Package Compare versions

Comparing version 6.2.12 to 6.2.13

6

dist/helpers.d.ts

@@ -138,2 +138,8 @@ /// <reference types="react" />

/**
* Check if two areas are equal
* @param area1
* @param area2
*/
export declare const isAreasEqual: (area1: AreaProps, area2: AreaProps) => boolean;
/**
* Get maximum bound of an area, caters to merged cells

@@ -140,0 +146,0 @@ * @param area

13

dist/helpers.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isArrowKey = exports.castToString = exports.focusableNodeNames = exports.findNextCellInDataRegion = exports.findLastContentfulCell = exports.findNextContentfulCell = exports.clampIndex = exports.isEqualCells = exports.isNull = exports.autoSizerCanvas = exports.AutoSizerCanvas = exports.canUseDOM = exports.extendAreaToMergedCells = exports.areaInsideArea = exports.areaIntersects = exports.findNextCellWithinBounds = exports.prepareClipboardData = exports.numberToAlphabet = exports.clampCellCoords = exports.newSelectionFromDrag = exports.selectionSpansCells = exports.selectionFromActiveCell = exports.requestTimeout = exports.cancelTimeout = exports.getOffsetForRowAndAlignment = exports.getOffsetForColumnAndAlignment = exports.getOffsetForIndexAndAlignment = exports.rafThrottle = exports.debounce = exports.throttle = exports.cellIdentifier = exports.getEstimatedTotalWidth = exports.getEstimatedTotalHeight = exports.getItemMetadata = exports.getColumnWidth = exports.getRowHeight = exports.getColumnOffset = exports.getRowOffset = exports.itemKey = exports.getBoundedCells = exports.getColumnStopIndexForStartIndex = exports.getColumnStartIndexForOffset = exports.getRowStopIndexForStartIndex = exports.getRowStartIndexForOffset = exports.ItemType = exports.Align = void 0;
exports.isArrowKey = exports.castToString = exports.focusableNodeNames = exports.findNextCellInDataRegion = exports.findLastContentfulCell = exports.findNextContentfulCell = exports.clampIndex = exports.isEqualCells = exports.isNull = exports.autoSizerCanvas = exports.AutoSizerCanvas = exports.canUseDOM = exports.extendAreaToMergedCells = exports.isAreasEqual = exports.areaInsideArea = exports.areaIntersects = exports.findNextCellWithinBounds = exports.prepareClipboardData = exports.numberToAlphabet = exports.clampCellCoords = exports.newSelectionFromDrag = exports.selectionSpansCells = exports.selectionFromActiveCell = exports.requestTimeout = exports.cancelTimeout = exports.getOffsetForRowAndAlignment = exports.getOffsetForColumnAndAlignment = exports.getOffsetForIndexAndAlignment = exports.rafThrottle = exports.debounce = exports.throttle = exports.cellIdentifier = exports.getEstimatedTotalWidth = exports.getEstimatedTotalHeight = exports.getItemMetadata = exports.getColumnWidth = exports.getRowHeight = exports.getColumnOffset = exports.getRowOffset = exports.itemKey = exports.getBoundedCells = exports.getColumnStopIndexForStartIndex = exports.getColumnStartIndexForOffset = exports.getRowStopIndexForStartIndex = exports.getRowStartIndexForOffset = exports.ItemType = exports.Align = void 0;
const types_1 = require("./types");

@@ -623,2 +623,13 @@ var Align;

/**
* Check if two areas are equal
* @param area1
* @param area2
*/
exports.isAreasEqual = (area1, area2) => {
return (area1.bottom === area2.bottom &&
area1.top === area2.top &&
area1.left === area2.left &&
area1.right === area2.right);
};
/**
* Get maximum bound of an area, caters to merged cells

@@ -625,0 +636,0 @@ * @param area

4

package.json
{
"name": "@rowsncolumns/grid",
"description": "Declarative React Canvas Grid primitive for Data table, Pivot table, Excel Worksheets",
"version": "6.2.12",
"version": "6.2.13",
"main": "dist/index.js",

@@ -46,3 +46,3 @@ "license": "MIT",

},
"gitHead": "ecac7c9a43b90d7b895519bcedd14928bf4ed103"
"gitHead": "8149f899177ce2eae132793c2742ff4d6cef94ae"
}

@@ -863,2 +863,16 @@ // Utilities extracted from https://github.com/bvaughn/react-window

/**
* Check if two areas are equal
* @param area1
* @param area2
*/
export const isAreasEqual = (area1: AreaProps, area2: AreaProps) => {
return (
area1.bottom === area2.bottom &&
area1.top === area2.top &&
area1.left === area2.left &&
area1.right === area2.right
)
}
/**
* Get maximum bound of an area, caters to merged cells

@@ -865,0 +879,0 @@ * @param area

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