Socket
Socket
Sign inDemoInstall

@any-touch/recognizer

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@any-touch/recognizer - npm Package Compare versions

Comparing version 0.6.0-beta.2 to 0.6.0-beta.7

dist/index.js

4

package.json
{
"name": "@any-touch/recognizer",
"version": "0.6.0-beta.2",
"version": "0.6.0-beta.7",
"description": "any-touch的识别器的基类.",

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

},
"gitHead": "1fbc166a952c787afd7716f08978e824eecaa123"
"gitHead": "8d7b05667880d9e5ac91b7bc4e457624e35cb994"
}

@@ -0,0 +0,0 @@ # Recognizer

import { Input, ComputeConstructor } from '@any-touch/shared/types';
import {
STATUS_POSSIBLE,
} from '@any-touch/shared/const';
} from '@any-touch/shared';
export default abstract class RecognizerBase {
// 导出recognizeForPressMoveLike,
// resetStatusForPressMoveLike
export { default as recognizeForPressMoveLike } from './recognizeForPressMoveLike';
export { default as resetStatusForPressMoveLike } from './resetStatusForPressMoveLike';
export default abstract class{
// 给use方法用

@@ -8,0 +13,0 @@ static type = 'Recognizer';

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

INPUT_CANCEL, INPUT_END, INPUT_MOVE
} from '@any-touch/shared/const';
} from '@any-touch/shared';

@@ -15,3 +15,3 @@ import {

STATUS_RECOGNIZED
} from '@any-touch/shared/const'
} from '@any-touch/shared'
import resetStatus from './resetStatusForPressMoveLike';

@@ -18,0 +18,0 @@

@@ -7,3 +7,3 @@ import Recognizer from './index';

STATUS_FAILED, STATUS_RECOGNIZED
} from '@any-touch/shared/const'
} from '@any-touch/shared'
export default function(recognizer: Recognizer) {

@@ -10,0 +10,0 @@ // 重置status

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