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

svelte-gestures

Package Overview
Dependencies
Maintainers
0
Versions
42
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.1.0 to 5.1.1

dist/types/gestures/composed-gesture/composedGesture.svelte.d.ts

4

dist/index.esm.svelte.js

@@ -392,3 +392,3 @@ const DEFAULT_DELAY = 300; // ms

/*
In quadrants 1 and 3 all works as expected.
In quadrants 1 and 3 all works as expected.
In quadrants 2 and 4, either height or width is negative,

@@ -399,3 +399,3 @@ so we get negative angle. It is even the other of the two angles.

This way we don't need to code our own arc cotangent fn (it does not exist in JS)
*/
*/

@@ -402,0 +402,0 @@ const angle = Math.atan(width / height) / (Math.PI / 180);

@@ -395,3 +395,3 @@ 'use strict';

/*
In quadrants 1 and 3 all works as expected.
In quadrants 1 and 3 all works as expected.
In quadrants 2 and 4, either height or width is negative,

@@ -402,3 +402,3 @@ so we get negative angle. It is even the other of the two angles.

This way we don't need to code our own arc cotangent fn (it does not exist in JS)
*/
*/

@@ -405,0 +405,0 @@ const angle = Math.atan(width / height) / (Math.PI / 180);

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

"license": "MIT",
"version": "5.1.0",
"version": "5.1.1",
"main": "dist/index.svelte.js",

@@ -9,0 +9,0 @@ "module": "dist/index.esm.svelte.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