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-alpha.1 to 2.0.2

dist/index.js.map

1

dist/index.js
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("@any-touch/tap")),u=window.setTimeout;exports.default=function(e){e.use(t.default,{name:"doubletap",tapTimes:2});var a,o=e.get("doubletap");return e.beforeEach((function(e,t){"tap"===e?(clearTimeout(a),a=u((function(){[0,2].includes(o.state)&&t()}),300)):t()})),o};
//# sourceMappingURL=index.js.map

13

package.json
{
"name": "@any-touch/doubletap",
"version": "2.0.2-alpha.1",
"version": "2.0.2",
"description": "any-touch的识别器, 用来识别双击手势, 是Tap识别器的一个特例",

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

"dependencies": {
"@any-touch/compute": "^2.0.2-alpha.1",
"@any-touch/shared": "^2.0.2-alpha.1",
"@any-touch/vector": "^2.0.2-alpha.1"
"@any-touch/compute": "^2.0.2",
"@any-touch/shared": "^2.0.2",
"@any-touch/vector": "^2.0.2"
},
"peerDependencies": {
"any-touch": "^2.0.1"
},
"files": [

@@ -26,3 +23,3 @@ "dist/*"

"sideEffects": false,
"gitHead": "6448e271ecbc59ba49d220264ff4f5ab19950b87"
"gitHead": "7df4617ecb8b89c720ce9747cdd77554c4966a88"
}
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