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.0.0-beta.11 to 10.0.0-beta.12

dist/actions-8416850b.cjs.dev.js

2

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

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

var actions_dist_useGestureCoreActions = require('../../dist/actions-50385b2b.cjs.dev.js');
var actions_dist_useGestureCoreActions = require('../../dist/actions-8416850b.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-69908e5f.cjs.prod.js');
var actions_dist_useGestureCoreActions = require('../../dist/actions-cb2bdb38.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, p as pinchAction, r as registerAction, s as scrollAction, w as wheelAction } from '../../dist/actions-811d5746.esm.js';
export { C as ConfigResolverMap, E as EngineMap, e as dragAction, h as hoverAction, m as moveAction, p as pinchAction, r as registerAction, s as scrollAction, w as wheelAction } from '../../dist/actions-d0a83687.esm.js';
import '../../dist/maths-b2a210f4.esm.js';

@@ -152,2 +152,6 @@ import { GestureKey } from './config';

/**
* Event type.
*/
type: string;
/**
* Value returned by your handler on its previous run.

@@ -154,0 +158,0 @@ */

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

var actions_dist_useGestureCoreActions = require('./actions-50385b2b.cjs.dev.js');
var actions_dist_useGestureCoreActions = require('./actions-8416850b.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-69908e5f.cjs.prod.js');
var actions_dist_useGestureCoreActions = require('./actions-cb2bdb38.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, c as toReactHandlerProp, E as EngineMap, d as chain } from './actions-811d5746.esm.js';
import { S as SUPPORT, C as ConfigResolverMap, _ as _objectSpread2, a as _defineProperty, t as toDomEventType, i as isTouch, b as touchIds, c as toReactHandlerProp, E as EngineMap, d as chain } from './actions-d0a83687.esm.js';
import './maths-b2a210f4.esm.js';

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

{
"name": "@use-gesture/core",
"version": "10.0.0-beta.11",
"version": "10.0.0-beta.12",
"description": "Core engine for receiving gestures",

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

@@ -121,2 +121,7 @@ import { CoordinatesEngine } from './CoordinatesEngine'

if (!state._pointerActive) return
// if the event has the same timestamp as the previous event
// note that checking type equality is ONLY for tests ¯\_(ツ)_/¯
if (state.type === event.type && event.timeStamp === state.timeStamp) return
const id = pointerId(event)

@@ -123,0 +128,0 @@ if (state._pointerId && id !== state._pointerId) return

@@ -186,2 +186,3 @@ import { Controller } from '../Controller'

state.event = event
state.type = event.type
shared.touches = this.ctrl.pointerIds.size || this.ctrl.touchIds.size

@@ -188,0 +189,0 @@ shared.locked = !!document.pointerLockElement

@@ -155,2 +155,6 @@ import { GestureKey } from './config'

/**
* Event type.
*/
type: string
/**
* Value returned by your handler on its previous run.

@@ -157,0 +161,0 @@ */

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