@any-touch/doubletap
Advanced tools
Comparing version 2.0.2-alpha.1 to 2.0.2
"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 |
{ | ||
"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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6819
3
8
27
2
- Removed@any-touch/core@2.2.0(transitive)
- Removed@any-touch/doubletap@2.2.0(transitive)
- Removed@any-touch/pan@2.2.0(transitive)
- Removed@any-touch/pinch@2.2.0(transitive)
- Removed@any-touch/press@2.2.0(transitive)
- Removed@any-touch/rotate@2.2.0(transitive)
- Removed@any-touch/swipe@2.2.0(transitive)
- Removed@any-touch/tap@2.2.0(transitive)
- Removedany-event@2.2.0(transitive)
- Removedany-touch@2.2.0(transitive)
Updated@any-touch/compute@^2.0.2
Updated@any-touch/shared@^2.0.2
Updated@any-touch/vector@^2.0.2