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

masonic

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

masonic - npm Package Compare versions

Comparing version 2.0.9 to 2.0.10

26

dist/cjs/index.js

@@ -490,3 +490,2 @@ 'use strict'

const prevStopIndex = useRef()
const prevRange = useRef(emptyArr)

@@ -612,3 +611,3 @@ const _ref_3 = useState(initPositioner)

const children = []
const range = []
const itemRole = `${role}item`
overscanBy = height * overscanBy

@@ -618,15 +617,5 @@ positionCache.range(

scrollTop + overscanBy,
(i, l, t) => {
range.push(i, l, t)
}
)
(index, left, top) => {
stopIndex.current = void 0
if (range.length > 0) {
stopIndex.current = void 0
for (let i = 0; i < range.length; i++) {
const index = range[i],
left = range[++i],
top = range[++i]
if (stopIndex.current === void 0) {

@@ -653,3 +642,3 @@ startIndex.current = index

ref: setItemRef(index),
role: `${role}item`,
role: itemRole,
style:

@@ -669,6 +658,4 @@ typeof itemStyle === 'object' && itemStyle !== null

}
)
prevRange.current = range
}
if (

@@ -697,4 +684,3 @@ shortestColumnSize < scrollTop + overscanBy &&

ref: setItemRef(index),
role: `${role}item`,
observerRef: setItemRef(index),
role: itemRole,
style:

@@ -701,0 +687,0 @@ typeof itemStyle === 'object' && itemStyle !== null

@@ -461,3 +461,2 @@ import _pt from 'prop-types'

const prevStopIndex = useRef()
const prevRange = useRef(emptyArr)

@@ -583,3 +582,3 @@ const _ref_3 = useState(initPositioner)

const children = []
const range = []
const itemRole = role + 'item'
overscanBy = height * overscanBy

@@ -589,15 +588,5 @@ positionCache.range(

scrollTop + overscanBy,
(i, l, t) => {
range.push(i, l, t)
}
)
(index, left, top) => {
stopIndex.current = void 0
if (range.length > 0) {
stopIndex.current = void 0
for (let i = 0; i < range.length; i++) {
const index = range[i],
left = range[++i],
top = range[++i]
if (stopIndex.current === void 0) {

@@ -624,3 +613,3 @@ startIndex.current = index

ref: setItemRef(index),
role: role + 'item',
role: itemRole,
style:

@@ -640,6 +629,4 @@ typeof itemStyle === 'object' && itemStyle !== null

}
)
prevRange.current = range
}
if (

@@ -668,4 +655,3 @@ shortestColumnSize < scrollTop + overscanBy &&

ref: setItemRef(index),
role: role + 'item',
observerRef: setItemRef(index),
role: itemRole,
style:

@@ -672,0 +658,0 @@ typeof itemStyle === 'object' && itemStyle !== null

{
"name": "masonic",
"version": "2.0.9",
"version": "2.0.10",
"homepage": "https://github.com/jaredLunde/masonic#readme",

@@ -5,0 +5,0 @@ "repository": "github:jaredLunde/masonic",

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