Huge News!Announcing our $40M Series B led by Abstract Ventures.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-20220425073521 to 0.0.0-dev-20220425184023

4

dist/index.js

@@ -831,3 +831,3 @@ var __create = Object.create;

}
function observeChildren(node, fn, subtree = false) {
function observeChildren(node, fn) {
if (!node)

@@ -843,3 +843,3 @@ return noop;

});
obs.observe(node, { childList: true, subtree });
obs.observe(node, { childList: true, subtree: true });
return () => obs.disconnect();

@@ -846,0 +846,0 @@ }

declare type Callback = (v: MutationRecord) => void;
export declare function observeAttributes(node: Element | null, attributes: string | string[], fn: Callback): () => void;
export declare function observeChildren(node: Element | null, fn: Callback, subtree?: boolean): () => void;
export declare function observeChildren(node: Element | null, fn: Callback): () => void;
export {};
//# sourceMappingURL=mutation-observer.d.ts.map
{
"name": "@zag-js/dom-utils",
"version": "0.0.0-dev-20220425073521",
"version": "0.0.0-dev-20220425184023",
"description": "",

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

"@types/react": "^18.0.0",
"@zag-js/utils": "^0.0.0-dev-20220425073521",
"@zag-js/utils": "^0.0.0-dev-20220425184023",
"scroll-into-view-if-needed": "^2.2.29"

@@ -32,0 +32,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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