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

@types/mina

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/mina - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

10

mina/index.d.ts

@@ -6,3 +6,11 @@ // Type definitions for mina Snap-SVG 0.4

declare function mina(a: number, A: number, b: number, B: number, get: () => number, set: (time: number) => void, easing?: (num: number) => number): mina.AnimationDescriptor;
declare function mina(
a: number,
A: number,
b: number,
B: number,
get: () => number,
set: (time: number) => void,
easing?: (num: number) => number,
): mina.AnimationDescriptor;
declare namespace mina {

@@ -9,0 +17,0 @@ interface MinaAnimation {

7

mina/package.json
{
"name": "@types/mina",
"version": "0.4.2",
"version": "0.4.3",
"description": "TypeScript definitions for mina Snap-SVG",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mina",
"license": "MIT",

@@ -32,4 +33,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "84db8503f714c95f7edb889447129f7ffc7591905c1e62164929580e9dafa5f4",
"typeScriptVersion": "3.2"
"typesPublisherContentHash": "facf3e52137093b9a3c20473478db95f5241b9eece9564143e933abfcbc525bf",
"typeScriptVersion": "4.5"
}

@@ -9,5 +9,67 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mina.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mina/index.d.ts)
````ts
// Type definitions for mina Snap-SVG 0.4
// Project: https://github.com/adobe-webplatform/Snap.svg
// Definitions by: Lars Klein <https://github.com/lhk>, Mattanja Kern <https://github.com/mattanja>, Andrey Kurdyumov <https://github.com/kant2002>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function mina(
a: number,
A: number,
b: number,
B: number,
get: () => number,
set: (time: number) => void,
easing?: (num: number) => number,
): mina.AnimationDescriptor;
declare namespace mina {
interface MinaAnimation {
id: string;
duration(): number;
easing(): number;
speed(): number;
status(): number;
stop(): void;
}
interface AnimationDescriptor {
id: string;
start: number;
end: number;
b: number;
s: number;
dur: number;
spd: number;
get(): number;
set(slave: number): number;
easing(input: number): number;
status(): number;
status(newStatus: number): void;
speed(): number;
speed(newSpeed: number): void;
duration(): number;
duration(newDuration: number): void;
stop(): void;
pause(): void;
resume(): void;
update(): void;
}
function backin(n: number): number;
function backout(n: number): number;
function bounce(n: number): number;
function easein(n: number): number;
function easeinout(n: number): number;
function easeout(n: number): number;
function elastic(n: number): number;
function getById(id: string): AnimationDescriptor;
function linear(n: number): number;
function time(): number;
}
````
### Additional Details
* Last updated: Thu, 17 Sep 2020 18:03:38 GMT
* Last updated: Wed, 27 Sep 2023 09:42:16 GMT
* Dependencies: none

@@ -14,0 +76,0 @@ * Global values: `mina`

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