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

svelte-gestures

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-gestures - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

10

global.d.ts

@@ -11,4 +11,6 @@ import { PanPointerEventDetail } from './src/pan';

declare namespace svelteHTML {
interface HTMLAttributes {
'on:pan'?: (event: CustomEvent<PanPointerEventDetail>) => void;
interface HTMLAttributes<T> {
'on:pan'?: (
event: CustomEvent<{ x: number; y: number; target: EventTarget & T }>
) => void;
'on:panup'?: (event: CustomEvent<GestureCustomEvent>) => void;

@@ -41,3 +43,5 @@ 'on:pandown'?: (event: CustomEvent<GestureCustomEvent>) => void;

'on:shapeGesturemove'?: (event: CustomEvent<GestureCustomEvent>) => void;
onpan?: (event: CustomEvent<PanPointerEventDetail>) => void;
onpan?: (
event: CustomEvent<{ x: number; y: number; target: EventTarget & T }>
) => void;
onpanup?: (event: CustomEvent<GestureCustomEvent>) => void;

@@ -44,0 +48,0 @@ onpandown?: (event: CustomEvent<GestureCustomEvent>) => void;

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "5.0.0",
"version": "5.0.1",
"main": "dist/index.js",

@@ -9,0 +9,0 @@ "module": "dist/index.esm.js",

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