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

@garage-panda/use-await-dom-render

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@garage-panda/use-await-dom-render - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

6

lib/DomObserver.d.ts

@@ -1,3 +0,3 @@

declare type DomObserverCallback = (...args: any[]) => void;
declare type DomObserverEvent = "load" | "dom-update" | "start";
export declare type DomObserverCallback = (...args: any[]) => void;
export declare type DomObserverEvent = "load" | "dom-update" | "start";
declare class DomObserver {

@@ -11,3 +11,3 @@ private observer;

call: (event: DomObserverEvent) => void;
startDomWait: (targetNode: any) => void;
startDomWait: (targetNode: Node) => void;
disconnect: () => void;

@@ -14,0 +14,0 @@ removeListeners: () => void;

export { default as useAwaitDomRender, StartWaitFunc, UseAwaitDomRenderResult } from "./useAwaitDomRender";
export { DomObserverCallback, DomObserverEvent } from "./DomObserver";
{
"name": "@garage-panda/use-await-dom-render",
"version": "0.0.8",
"version": "0.0.9",
"description": "React hook that is used to await all DOM elements inside a node to be rendered",

@@ -12,3 +12,4 @@ "main": "lib/index.js",

"build": "tsc",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"publish-manual": "npm run build && npm publish --access public"
},

@@ -15,0 +16,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