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

@zag-js/dom-utils

Package Overview
Dependencies
Maintainers
1
Versions
227
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.0.0-dev-20220709181637 to 0.0.0-dev-20220710093812

3

dist/index.js

@@ -331,3 +331,4 @@ "use strict";

},
getActiveElement: (ctx) => roots.getDoc(ctx).activeElement
getActiveElement: (ctx) => roots.getDoc(ctx).activeElement,
getById: (ctx, id) => roots.getRootNode(ctx).getElementById(id)
};

@@ -334,0 +335,0 @@ return __spreadValues(__spreadValues({}, roots), domUtils);

@@ -24,2 +24,3 @@ export declare function isDocument(el: any): el is Document;

getActiveElement: (ctx: Ctx) => HTMLElement;
getById: (ctx: Ctx, id: string) => HTMLElement;
} & T;

@@ -26,0 +27,0 @@ export declare function contains(parent: HTMLElement | EventTarget | null | undefined, child: HTMLElement | EventTarget | null): boolean;

{
"name": "@zag-js/dom-utils",
"version": "0.0.0-dev-20220709181637",
"version": "0.0.0-dev-20220710093812",
"description": "",

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

"dependencies": {
"@zag-js/types": "0.0.0-dev-20220709181637",
"@zag-js/types": "0.0.0-dev-20220710093812",
"@zag-js/utils": "0.1.2"

@@ -31,0 +31,0 @@ },

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