You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@zag-js/dom-query

Package Overview
Dependencies
Maintainers
1
Versions
757
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/dom-query - npm Package Compare versions

Comparing version

to
1.18.0

3

dist/index.js

@@ -609,6 +609,7 @@ 'use strict';

var OVERFLOW_RE = /auto|scroll|overlay|hidden|clip/;
var nonOverflowValues = /* @__PURE__ */ new Set(["inline", "contents"]);
function isOverflowElement(el) {
const win = getWindow(el);
const { overflow, overflowX, overflowY, display } = win.getComputedStyle(el);
return OVERFLOW_RE.test(overflow + overflowY + overflowX) && !["inline", "contents"].includes(display);
return OVERFLOW_RE.test(overflow + overflowY + overflowX) && !nonOverflowValues.has(display);
}

@@ -615,0 +616,0 @@ function isScrollable(el) {

{
"name": "@zag-js/dom-query",
"version": "1.17.4",
"version": "1.18.0",
"description": "The dom helper library for zag.js machines",

@@ -31,3 +31,3 @@ "keywords": [

"dependencies": {
"@zag-js/types": "1.17.4"
"@zag-js/types": "1.18.0"
},

@@ -34,0 +34,0 @@ "module": "dist/index.mjs",

Sorry, the diff of this file is not supported yet