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

@dreamworld/web-util

Package Overview
Dependencies
Maintainers
4
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dreamworld/web-util - npm Package Compare versions

Comparing version 1.4.6 to 1.4.7-development.1

2

package.json
{
"name": "@dreamworld/web-util",
"version": "1.4.6",
"version": "1.4.7-development.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -14,5 +14,9 @@ /**

*/
export const scrollIntoView = (scrollingElement, element, bottom = false, offsetTop = 0, offsetBottom = 0) => {
const intersectionCallback = (entries) => {
export const scrollIntoView = (scrollingElement, element, bottom = false, offsetTop = 0, offsetBottom = 0) => {
if (!scrollingElement || !element) {
console.warn('scrollIntoView: scrollingElement or element is not provided.');
return;
}
const intersectionCallback = (entries) => {
intersectionInstance && intersectionInstance.disconnect();

@@ -19,0 +23,0 @@ intersectionInstance = null;

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