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

get-window-offset

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-window-offset - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

6

build/cjs/src/isSetOverflow.js

@@ -31,6 +31,8 @@ "use strict";

while (thisParent.nodeName != "BODY") {
var _thisParent;
if (thisParent.dataset.overflow) {
return thisParent;
}
var overflowX = (0, _getStyle["default"])(thisParent, "overflow-x");
var overflowY = (0, _getStyle["default"])(thisParent, "overflow-y");
if ("visible" !== overflowY || "visible" !== overflowX || (_thisParent = thisParent) !== null && _thisParent !== void 0 && (_thisParent = _thisParent.dataset) !== null && _thisParent !== void 0 && _thisParent.overflow) {
if ("visible" !== overflowY || "visible" !== overflowX) {
var oScroll = (0, _getScrollInfo["default"])(thisParent);

@@ -37,0 +39,0 @@ if (oScroll.top || oScroll.left) {

{
"version": "0.10.1",
"version": "0.10.2",
"name": "get-window-offset",

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

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