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

react-virtualized

Package Overview
Dependencies
Maintainers
2
Versions
296
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-virtualized - npm Package Compare versions

Comparing version 9.17.2 to 9.17.3

13

dist/commonjs/Grid/utils/maxElementSize.js

@@ -1,2 +0,2 @@

"use strict";
'use strict';

@@ -9,2 +9,6 @@ Object.defineProperty(exports, "__esModule", {

var isBrowser = function isBrowser() {
return typeof window !== 'undefined';
};
var isChrome = function isChrome() {

@@ -15,7 +19,8 @@ return !!window.chrome && !!window.chrome.webstore;

var getMaxElementSize = exports.getMaxElementSize = function getMaxElementSize() {
if (isChrome()) {
return CHROME_MAX_ELEMENT_SIZE;
if (isBrowser()) {
if (isChrome()) {
return CHROME_MAX_ELEMENT_SIZE;
}
}
return DEFAULT_MAX_ELEMENT_SIZE;
};
var DEFAULT_MAX_ELEMENT_SIZE = 1500000;
var CHROME_MAX_ELEMENT_SIZE = 1.67771e7;
var isBrowser = function isBrowser() {
return typeof window !== 'undefined';
};
var isChrome = function isChrome() {

@@ -9,7 +13,8 @@ return !!window.chrome && !!window.chrome.webstore;

export var getMaxElementSize = function getMaxElementSize() {
if (isChrome()) {
return CHROME_MAX_ELEMENT_SIZE;
if (isBrowser()) {
if (isChrome()) {
return CHROME_MAX_ELEMENT_SIZE;
}
}
return DEFAULT_MAX_ELEMENT_SIZE;
};

@@ -6,3 +6,3 @@ {

"user": "bvaughn",
"version": "9.17.2",
"version": "9.17.3",
"homepage": "https://github.com/bvaughn/react-virtualized",

@@ -39,3 +39,3 @@ "main": "dist/commonjs/index.js",

"test:jest": "jest --no-watchman --runInBand",
"test:ci": "cross-env JEST=ci jest --testPathPattern=jest.js --no-watchman --maxWorkers 2 --coverage && codecov",
"test:ci": "cross-env JEST=ci jest --testPathPattern=\".(jest|ssr).js\" --no-watchman --maxWorkers 2 --coverage && codecov",
"watch": "watch 'clear && npm run test -s' source",

@@ -42,0 +42,0 @@ "watch:jest": "jest --no-watchman --watch"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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