Socket
Socket
Sign inDemoInstall

@any-touch/pinch

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@any-touch/pinch - npm Package Compare versions

Comparing version 0.6.0-beta.30 to 0.6.1-beta.0

4

dist/index.dev.js

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

var scale = this.computed.scale;
return this.isValidPointLength(pointLength) && void 0 !== scale && (this.options.threshold < Math.abs(scale - 1) || this.isRecognized);
return this.isValidPointLength(pointLength)
&& void 0 !== scale
&& (this.options.threshold < Math.abs(scale - 1) || this.isRecognized);
};

@@ -26,0 +28,0 @@ default_1.prototype.recognize = function (input, emit) {

@@ -18,3 +18,5 @@ import { __extends, __assign } from 'tslib';

var scale = this.computed.scale;
return this.isValidPointLength(pointLength) && void 0 !== scale && (this.options.threshold < Math.abs(scale - 1) || this.isRecognized);
return this.isValidPointLength(pointLength)
&& void 0 !== scale
&& (this.options.threshold < Math.abs(scale - 1) || this.isRecognized);
};

@@ -21,0 +23,0 @@ default_1.prototype.recognize = function (input, emit) {

{
"name": "@any-touch/pinch",
"version": "0.6.0-beta.30",
"version": "0.6.1-beta.0",
"description": "any-touch的识别器, 用来识别捏合手势.",

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

"peerDependencies": {
"any-touch": "0.6.0-beta.29",
"any-touch": "^0.6.0-beta.30",
"tslib": "^1.9.3"

@@ -17,3 +17,3 @@ },

"@any-touch/compute": "^0.6.0-beta.30",
"@any-touch/recognizer": "^0.6.0-beta.30"
"@any-touch/recognizer": "^0.6.1-beta.0"
},

@@ -24,3 +24,3 @@ "publishConfig": {

"sideEffects": false,
"gitHead": "72c35289e4996e7a568625595c8b1fd05728eadb"
"gitHead": "a52710e715405ebc0e70c265f5db341bb427fb23"
}

@@ -24,3 +24,5 @@ import { Input, CommonEmitFunction } from '@any-touch/shared';

const { scale } = this.computed;
return this.isValidPointLength(pointLength) && void 0 !== scale && (this.options.threshold < Math.abs(scale - 1) || this.isRecognized);
return this.isValidPointLength(pointLength)
&& void 0 !== scale
&& (this.options.threshold < Math.abs(scale - 1) || this.isRecognized);
};

@@ -27,0 +29,0 @@

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