Socket
Socket
Sign inDemoInstall

@any-touch/doubletap

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@any-touch/doubletap - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3-alpha.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-alpha.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-alpha.0",
"@any-touch/shared": "^2.0.3-alpha.0",
"@any-touch/vector": "^2.0.3-alpha.0"
},

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

"sideEffects": false,
"gitHead": "7df4617ecb8b89c720ce9747cdd77554c4966a88"
"gitHead": "e53ab5c44a400b04b0de853a9358303007f67e8e"
}

Sorry, the diff of this file is not supported yet

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