Socket
Socket
Sign inDemoInstall

@any-touch/compute

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@any-touch/compute - npm Package Compare versions

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

dist/index.js

6

package.json
{
"name": "@any-touch/compute",
"version": "0.6.0-beta.2",
"version": "0.6.0-beta.7",
"main": "dist/index.js",
"module": "dist/index.mjs",
"description": "any-touch内部依赖的包, 进行手势数据计算.",

@@ -10,3 +12,3 @@ "publishConfig": {

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

@@ -0,0 +0,0 @@ import { Vector } from '@any-touch/shared/types';

@@ -0,0 +0,0 @@ import radianToAngle from '@any-touch/vector/radianToAngle';

import { Input, directionString } from '@any-touch/shared/types';
import { CLIENT_X, CLIENT_Y, INPUT_MOVE, INPUT_START } from '@any-touch/shared/const';
import { NONE } from '@any-touch/vector/DIRECION';
import { CLIENT_X, CLIENT_Y, INPUT_MOVE, INPUT_START } from '@any-touch/shared';
import { NONE } from '@any-touch/shared';
import getVLength from '@any-touch/vector/getVLength';

@@ -6,0 +6,0 @@ import getDirection from '@any-touch/vector/getDirection';

import { Input } from '@any-touch/shared/types';
import { INPUT_START } from '@any-touch/shared/const';
import { INPUT_START } from '@any-touch/shared';
export default class ComputeMaxLength {

@@ -4,0 +4,0 @@ maxPointLength = 0;

@@ -0,0 +0,0 @@ import { Vector } from '@any-touch/shared/types';

@@ -6,3 +6,3 @@ // 返回最近一个时间段的计算结果

import { Input, PureInput, directionString } from '@any-touch/shared/types';
import {INPUT_MOVE,COMPUTE_INTERVAL } from '@any-touch/shared/const';
import {INPUT_MOVE,COMPUTE_INTERVAL } from '@any-touch/shared';
import getDirection from '@any-touch/vector/getDirection';

@@ -9,0 +9,0 @@ export default class ComputeVAndDir {

import { PureInput, Vector } from '@any-touch/shared/types';
import { CLIENT_X, CLIENT_Y } from '@any-touch/shared/const';
import { CLIENT_X, CLIENT_Y } from '@any-touch/shared';
export default function computeVector(input: PureInput): Vector {

@@ -4,0 +4,0 @@ return {

@@ -0,0 +0,0 @@ import { Vector, Input } from '@any-touch/shared/types';

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