Socket
Socket
Sign inDemoInstall

@use-gesture/core

Package Overview
Dependencies
0
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.2.14 to 10.2.15

dist/actions-1416bf77.esm.js

2

actions/dist/use-gesture-core-actions.cjs.dev.js

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

var actions_dist_useGestureCoreActions = require('../../dist/actions-b140bc54.cjs.dev.js');
var actions_dist_useGestureCoreActions = require('../../dist/actions-4f7d7429.cjs.dev.js');
require('../../dist/maths-125ca19a.cjs.dev.js');

@@ -8,0 +8,0 @@

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

var actions_dist_useGestureCoreActions = require('../../dist/actions-7e5f010d.cjs.prod.js');
var actions_dist_useGestureCoreActions = require('../../dist/actions-de1e3912.cjs.prod.js');
require('../../dist/maths-a42ecce1.cjs.prod.js');

@@ -8,0 +8,0 @@

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

export { C as ConfigResolverMap, E as EngineMap, e as dragAction, h as hoverAction, m as moveAction, f as pinchAction, r as registerAction, s as scrollAction, w as wheelAction } from '../../dist/actions-e2a59bb9.esm.js';
export { C as ConfigResolverMap, E as EngineMap, e as dragAction, h as hoverAction, m as moveAction, f as pinchAction, r as registerAction, s as scrollAction, w as wheelAction } from '../../dist/actions-1416bf77.esm.js';
import '../../dist/maths-b2a210f4.esm.js';
# @use-gesture/core
## 10.2.15
### Patch Changes
- be1703a6d: fix: reset \_preventScroll when setting up scroll prevention to avoid side effects
## 10.2.14

@@ -4,0 +10,0 @@

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

var actions_dist_useGestureCoreActions = require('./actions-b140bc54.cjs.dev.js');
var actions_dist_useGestureCoreActions = require('./actions-4f7d7429.cjs.dev.js');
require('./maths-125ca19a.cjs.dev.js');

@@ -8,0 +8,0 @@

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

var actions_dist_useGestureCoreActions = require('./actions-7e5f010d.cjs.prod.js');
var actions_dist_useGestureCoreActions = require('./actions-de1e3912.cjs.prod.js');
require('./maths-a42ecce1.cjs.prod.js');

@@ -8,0 +8,0 @@

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

import { S as SUPPORT, C as ConfigResolverMap, _ as _objectSpread2, a as _defineProperty, t as toDomEventType, i as isTouch, b as touchIds, E as EngineMap, c as chain, p as parseProp, d as toHandlerProp } from './actions-e2a59bb9.esm.js';
import { S as SUPPORT, C as ConfigResolverMap, _ as _objectSpread2, a as _defineProperty, t as toDomEventType, i as isTouch, b as touchIds, E as EngineMap, c as chain, p as parseProp, d as toHandlerProp } from './actions-1416bf77.esm.js';
import './maths-b2a210f4.esm.js';

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

{
"name": "@use-gesture/core",
"version": "10.2.14",
"version": "10.2.15",
"description": "Core engine for receiving gestures",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -306,2 +306,4 @@ import { CoordinatesEngine } from './CoordinatesEngine'

setupScrollPrevention(event: PointerEvent) {
// fixes https://github.com/pmndrs/use-gesture/issues/497
this.state._preventScroll = false
persistEvent(event)

@@ -308,0 +310,0 @@ // we add window listeners that will prevent the scroll when the user has started dragging

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc