Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@interactjs/inertia

Package Overview
Dependencies
Maintainers
2
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@interactjs/inertia - npm Package Compare versions

Comparing version 1.4.0-alpha.24 to 1.4.0-alpha.25

12

index.d.ts
declare type Scope = import('@interactjs/core/scope').Scope;
declare module '@interactjs/core/defaultOptions' {
interface PerActionDefaults {
inertia?: {
enabled?: boolean;
resistance?: number;
minSpeed?: number;
endSpeed?: number;
allowResume?: true;
smoothEndDuration?: number;
};
}
}
declare function install(scope: Scope): void;

@@ -3,0 +15,0 @@ declare function calcInertia(interaction: any, state: any): void;

2

index.js

@@ -236,2 +236,2 @@ import modifiers from '@interactjs/modifiers/base';

};
//# sourceMappingURL=index.js.map
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLFNBQVMsTUFBTSw0QkFBNEIsQ0FBQTtBQUNsRCxPQUFPLEtBQUssS0FBSyxNQUFNLG1CQUFtQixDQUFBO0FBQzFDLE9BQU8sR0FBRyxNQUFNLHVCQUF1QixDQUFBO0FBaUJ2QyxTQUFTLE9BQU8sQ0FBRSxLQUFZO0lBQzVCLE1BQU0sRUFDSixZQUFZLEVBQ1osUUFBUSxHQUNULEdBQUcsS0FBSyxDQUFBO0lBRVQsWUFBWSxDQUFDLE9BQU8sQ0FBQyxFQUFFLENBQUMsS0FBSyxFQUFFLENBQUMsV0FBVyxFQUFFLEVBQUU7UUFDN0MsV0FBVyxDQUFDLE9BQU8sR0FBRztZQUNwQixNQUFNLEVBQU8sS0FBSztZQUNsQixTQUFTLEVBQUksS0FBSztZQUNsQixXQUFXLEVBQUUsS0FBSztZQUVsQixV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1cGRhdGVJbmVydGlhQ29vcmRzIChpbnRlcmFjdGlvbikge1xuICBjb25zdCBzdGF0ZSA9IGludGVyYWN0aW9uLmluZXJ0aWFcblxuICAvLyByZXR1cm4gaWYgaW5lcnRpYSBpc24ndCBydW5uaW5nXG4gIGlmICghc3RhdGUuYWN0aXZlKSB7IHJldHVybiB9XG5cbiAgY29uc3QgcGFnZVVwICAgPSBzdGF0ZS51cENvb3Jkcy5wYWdlXG4gIGNvbnN0IGNsaWVudFVwID0gc3RhdGUudXBDb29yZHMuY2xpZW50XG5cbiAgdXRpbHMucG9pbnRlci5zZXRDb29yZHMoaW50ZXJhY3Rpb24uY29vcmRzLmN1ciwgWyB7XG4gICAgcGFnZVggIDogcGFnZVVwLnggICArIHN0YXRlLnN4LFxuICAgIHBhZ2VZICA6IHBhZ2VVcC55ICAgKyBzdGF0ZS5zeSxcbiAgICBjbGllbnRYOiBjbGllbnRVcC54ICsgc3RhdGUuc3gsXG4gICAgY2xpZW50WTogY2xpZW50VXAueSArIHN0YXRlLnN5LFxuICB9IF0pXG59XG5cbmZ1bmN0aW9uIGdldE9wdGlvbnMgKHsgdGFyZ2V0LCBwcmVwYXJlZCB9KSB7XG4gIHJldHVybiB0YXJnZXQgJiYgdGFyZ2V0Lm9wdGlvbnMgJiYgcHJlcGFyZWQubmFtZSAmJiB0YXJnZXQub3B0aW9uc1twcmVwYXJlZC5uYW1lXS5pbmVydGlhXG59XG5cbmV4cG9ydCBkZWZhdWx0IHtcbiAgaW5zdGFsbCxcbiAgY2FsY0luZXJ0aWEsXG4gIGluZXJ0aWFUaWNrLFxuICBzbW90aEVuZFRpY2ssXG4gIHVwZGF0ZUluZXJ0aWFDb29yZHMsXG59XG4iXX0=
{
"name": "@interactjs/inertia",
"version": "1.4.0-alpha.24+sha.1196d35",
"version": "1.4.0-alpha.25+sha.c3a67ce",
"peerDependencies": {
"@interactjs/modifiers": "1.4.0-alpha.24+sha.1196d35",
"@interactjs/utils": "1.4.0-alpha.24+sha.1196d35"
"@interactjs/modifiers": "1.4.0-alpha.25+sha.c3a67ce",
"@interactjs/utils": "1.4.0-alpha.25+sha.c3a67ce"
},
"devDependencies": {
"@interactjs/_dev": "1.4.0-alpha.24+sha.1196d35",
"@interactjs/modifiers": "1.4.0-alpha.24+sha.1196d35",
"@interactjs/utils": "1.4.0-alpha.24+sha.1196d35"
"@interactjs/_dev": "1.4.0-alpha.25+sha.c3a67ce",
"@interactjs/modifiers": "1.4.0-alpha.25+sha.c3a67ce",
"@interactjs/utils": "1.4.0-alpha.25+sha.c3a67ce"
},

@@ -13,0 +13,0 @@ "publishConfig": {

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