@socketsupply/components
Advanced tools
Comparing version 13.2.4 to 13.2.5
{ | ||
"name": "@socketsupply/components", | ||
"version": "13.2.4", | ||
"version": "13.2.5", | ||
"description": "Example components", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -390,3 +390,4 @@ const Tonic = require('@socketsupply/tonic') | ||
const totalHeight = this.rows.length * this.props.rowHeight | ||
const rowsLength = this.rows ? this.rows.length : 0 | ||
const totalHeight = rowsLength * this.props.rowHeight | ||
if ( | ||
@@ -403,3 +404,3 @@ viewEnd === totalHeight && | ||
if ( | ||
this.rows.length === this.props.maxRowsLength && | ||
rowsLength === this.props.maxRowsLength && | ||
viewStart === 0 && | ||
@@ -416,3 +417,3 @@ this.prefetchTop && | ||
if (!popHappened && ( | ||
this.rows.length === this.props.maxRowsLength && | ||
rowsLength === this.props.maxRowsLength && | ||
start <= this.props.prefetchThreshold | ||
@@ -464,4 +465,6 @@ )) { | ||
const start = i * parseInt(this.props.rowsPerPage, 10) | ||
const limit = Math.min((i + 1) * this.props.rowsPerPage, this.rows.length) | ||
const rowsLength = this.rows ? this.rows.length : 0 | ||
const limit = Math.min((i + 1) * this.props.rowsPerPage, rowsLength) | ||
const inner = this.querySelector('.tonic--windowed--inner') | ||
@@ -468,0 +471,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1013239
27421
0