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

@zag-js/dom-event

Package Overview
Dependencies
Maintainers
1
Versions
690
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version

to
0.0.0-dev-20240614092224

2

dist/index.d.ts

@@ -74,3 +74,3 @@ import { JSX } from '@zag-js/types';

declare function queueBeforeEvent(element: Element, type: string, cb: () => void): () => void;
declare function queueBeforeEvent(element: EventTarget, type: string, cb: () => void): () => void;

@@ -77,0 +77,0 @@ declare function requestPointerLock(doc: Document, fn?: (locked: boolean) => void): (() => void) | undefined;

{
"name": "@zag-js/dom-event",
"version": "0.0.0-dev-20240612172509",
"version": "0.0.0-dev-20240614092224",
"description": "",

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

"dependencies": {
"@zag-js/types": "0.0.0-dev-20240612172509",
"@zag-js/dom-query": "0.0.0-dev-20240612172509",
"@zag-js/text-selection": "0.0.0-dev-20240612172509"
"@zag-js/types": "0.0.0-dev-20240614092224",
"@zag-js/dom-query": "0.0.0-dev-20240614092224",
"@zag-js/text-selection": "0.0.0-dev-20240614092224"
},

@@ -33,0 +33,0 @@ "devDependencies": {

@@ -1,2 +0,2 @@

export function queueBeforeEvent(element: Element, type: string, cb: () => void) {
export function queueBeforeEvent(element: EventTarget, type: string, cb: () => void) {
const createTimer = (callback: () => void) => {

@@ -3,0 +3,0 @@ const timerId = requestAnimationFrame(callback)

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