Huge News!Announcing our $40M Series B led by Abstract Ventures.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 3.0.3 to 3.0.4

18

dist/main/index.js

@@ -506,12 +506,14 @@ 'use strict'

;(0, _passiveLayoutEffect.default)(() => {
const cacheSize = positioner.size()
const nextPositioner = initPositioner()
let index = 0
if (didMount.current) {
const cacheSize = positioner.size()
const nextPositioner = initPositioner()
let index = 0
for (; index < cacheSize; index++) {
const pos = positioner.get(index)
nextPositioner.set(index, pos !== void 0 ? pos.height : 0)
}
for (; index < cacheSize; index++) {
const pos = positioner.get(index)
nextPositioner.set(index, pos !== void 0 ? pos.height : 0)
}
setPositioner(nextPositioner) // eslint-disable-next-line
setPositioner(nextPositioner)
} // eslint-disable-next-line
}, [width, columnWidth, columnGutter, columnCount])

@@ -518,0 +520,0 @@ return positioner

@@ -459,12 +459,14 @@ import React from 'react'

useLayoutEffect(() => {
const cacheSize = positioner.size()
const nextPositioner = initPositioner()
let index = 0
if (didMount.current) {
const cacheSize = positioner.size()
const nextPositioner = initPositioner()
let index = 0
for (; index < cacheSize; index++) {
const pos = positioner.get(index)
nextPositioner.set(index, pos !== void 0 ? pos.height : 0)
}
for (; index < cacheSize; index++) {
const pos = positioner.get(index)
nextPositioner.set(index, pos !== void 0 ? pos.height : 0)
}
setPositioner(nextPositioner) // eslint-disable-next-line
setPositioner(nextPositioner)
} // eslint-disable-next-line
}, [width, columnWidth, columnGutter, columnCount])

@@ -471,0 +473,0 @@ return positioner

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

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

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