Socket
Socket
Sign inDemoInstall

@any-touch/doubletap

Package Overview
Dependencies
3
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.0.3-2.0.3-alpha.1.0

2

dist/index.es.js

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

import t from"@any-touch/tap";var e=window.setTimeout;function a(a){a.use(t,{name:"doubletap",tapTimes:2});var o,u=a.get("doubletap");return a.beforeEach((function(t,a){"tap"===t?(clearTimeout(o),o=e((function(){[0,2].includes(u.state)&&a()}),300)):a()})),u}export{a as default};
import t from"@any-touch/tap";const{setTimeout:e}=window;function o(o){o.use(t,{name:"doubletap",tapTimes:2});const a=o.get("doubletap");let u;return o.beforeEach(((t,o)=>{"tap"===t?(clearTimeout(u),u=e((()=>{[0,2].includes(a.state)&&o()}),300)):o()})),a}export{o as default};
//# sourceMappingURL=index.es.js.map
{
"name": "@any-touch/doubletap",
"version": "2.0.2",
"version": "2.0.3-2.0.3-alpha.1.0",
"description": "any-touch的识别器, 用来识别双击手势, 是Tap识别器的一个特例",

@@ -11,5 +11,5 @@ "main": "./dist/index",

"dependencies": {
"@any-touch/compute": "^2.0.2",
"@any-touch/shared": "^2.0.2",
"@any-touch/vector": "^2.0.2"
"@any-touch/compute": "^2.0.3-2.0.3-alpha.1.0",
"@any-touch/shared": "^2.0.3-2.0.3-alpha.1.0",
"@any-touch/vector": "^2.0.3-2.0.3-alpha.1.0"
},

@@ -23,3 +23,3 @@ "files": [

"sideEffects": false,
"gitHead": "7df4617ecb8b89c720ce9747cdd77554c4966a88"
"gitHead": "5fe455a5e75ea4301ae73b35afba7f3929b1f07c"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc