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

glud-component

Package Overview
Dependencies
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glud-component - npm Package Compare versions

Comparing version 1.9.10 to 1.9.11

16

lib/useModalOpenInMobileLayout.js

@@ -30,3 +30,10 @@ 'use strict';

var parent = getParentClosest(ref.current, '#ui-container');
if (parent && show) {
var modalChild = parent.getAttribute('data-modalchild');
if (modalChild) {
parent.setAttribute('data-modalchild', '' + (Number(modalChild) + 1));
} else {
parent.setAttribute('data-modalchild', '1');
}
parent.style.overflow = 'hidden';

@@ -37,3 +44,10 @@ }

if (parent && show) {
parent.style.overflow = 'auto';
var _modalChild = parent.getAttribute('data-modalchild');
if (_modalChild === '1') {
parent.style.overflow = 'auto';
parent.setAttribute('data-modalchild', '0');
} else {
var newModalChild = Number(_modalChild) - 1;
parent.setAttribute('data-modalchild', '' + newModalChild);
}
}

@@ -40,0 +54,0 @@ };

2

package.json
{
"name": "glud-component",
"version": "1.9.10",
"version": "1.9.11",
"description": "",

@@ -5,0 +5,0 @@ "repository": {

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