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

@use-gesture/core

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@use-gesture/core - npm Package Compare versions

Comparing version 10.1.1 to 10.1.2

dist/actions-6606eda7.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-f5eb6dbd.cjs.dev.js');
var actions_dist_useGestureCoreActions = require('../../dist/actions-fdc16234.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-575c4fd6.cjs.prod.js');
var actions_dist_useGestureCoreActions = require('../../dist/actions-d5d20134.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-c32d6a70.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-6606eda7.esm.js';
import '../../dist/maths-b2a210f4.esm.js';
# @use-gesture/core
## 10.1.2
### Patch Changes
- ed0073543: fix: add threshold to config resolver
## 10.1.1

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

@@ -12,2 +12,3 @@ import { Vector2, State, GenericOptions } from '../types';

}): any;
threshold(value: any): [any, any];
};

@@ -13,2 +13,3 @@ import { InternalCoordinatesOptions, CoordinatesConfig, DragBounds, State, Vector2 } from '../types';

}): any;
threshold(value: any): [any, any];
};

@@ -13,2 +13,3 @@ export declare const hoverConfigResolver: {

}): any;
threshold(value: any): [any, any];
};

@@ -13,2 +13,3 @@ export declare const moveConfigResolver: {

}): any;
threshold(value: any): [any, any];
};

@@ -12,2 +12,3 @@ export declare const scrollConfigResolver: {

}): any;
threshold(value: any): [any, any];
};

@@ -12,2 +12,3 @@ export declare const wheelConfigResolver: {

}): any;
threshold(value: any): [any, any];
};

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

var actions_dist_useGestureCoreActions = require('./actions-f5eb6dbd.cjs.dev.js');
var actions_dist_useGestureCoreActions = require('./actions-fdc16234.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-575c4fd6.cjs.prod.js');
var actions_dist_useGestureCoreActions = require('./actions-d5d20134.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, d as toHandlerProp } from './actions-c32d6a70.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, d as toHandlerProp } from './actions-6606eda7.esm.js';
import './maths-b2a210f4.esm.js';

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

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

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

@@ -33,2 +33,5 @@ import { Vector2, State, GenericOptions } from '../types'

return value || config.shared.transform
},
threshold(value: any) {
return V.toVector(value, 0)
}

@@ -35,0 +38,0 @@ }

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

const { state, shared, config, ingKey, args } = this
const { transform, threshold = [0, 0] } = config
const { transform, threshold } = config
shared[ingKey] = state._active = state.active = state._blocked = state._force = false

@@ -157,0 +157,0 @@ state._step = [false, false]

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