velocity-animate
Advanced tools
Comparing version 2.0.3 to 2.0.4
{ | ||
"name": "velocity-animate", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Accelerated JavaScript animation.", | ||
@@ -31,6 +31,7 @@ "keywords": [ | ||
"scripts": { | ||
"start": "rollup -w -c --environment BUILD", | ||
"start": "rollup -w -c --environment BUILD,TEST", | ||
"build": "rollup -c --environment BUILD,MINIFY,TEST", | ||
"lint": "tslint src/**/*.ts src-ui/**/*.ts test/src/**/*.ts", | ||
"test": "rollup -c --environment TEST" | ||
"test": "rollup -c --environment TEST", | ||
"version": "npm run build && auto-changelog && git add ." | ||
}, | ||
@@ -42,6 +43,10 @@ "main": "velocity.min.js", | ||
"files": [ | ||
"velocity.js", | ||
"velocity.d.ts", | ||
"velocity.js", | ||
"velocity.es5.js", | ||
"velocity.es5.js.map", | ||
"velocity.js.map", | ||
"velocity.min.js", | ||
"velocity.ui.js", | ||
"velocity.ui.js.map", | ||
"velocity.ui.min.js" | ||
@@ -51,2 +56,3 @@ ], | ||
"@types/qunit": "^2.5.1", | ||
"auto-changelog": "^1.7.0", | ||
"babel-core": "^6.26.3", | ||
@@ -53,0 +59,0 @@ "babel-plugin-external-helpers": "^6.22.0", |
@@ -649,8 +649,24 @@ /* | ||
export interface VelocityExtended<TNode extends Node = HTMLorSVGElement> { | ||
velocity: Velocity & VelocityChain & { | ||
/** | ||
* This is the actual Promise used by Velocity. If using Promise.all() or | ||
* similar methods then you may need to use this instead of the Velocity | ||
* result itself. | ||
*/ | ||
readonly promise: Promise<HTMLorSVGElement[] & VelocityExtended>; | ||
/** | ||
* This is the Velocity chaining method. It is functionally equivalent to | ||
* the normal Velocity call, but allows chaining on the elements it is | ||
* attached to. | ||
*/ | ||
readonly velocity: Velocity & { | ||
/** | ||
* These are the animation objects attached to this specific chain. This | ||
* is used in some actions to allow the call to only touch the specific | ||
* animations called rather than just the animations on the linked | ||
* elements. | ||
* | ||
* TODO: Decide if this should be public | ||
* @private | ||
*/ | ||
animations: AnimationCall[]; | ||
readonly animations: AnimationCall[]; | ||
}; | ||
@@ -820,3 +836,3 @@ } | ||
*/ | ||
export interface Velocity { | ||
export interface Velocity extends VelocityChain { | ||
/** | ||
@@ -823,0 +839,0 @@ * Available to be able to check what version you're running against. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1252761
13
12599
20