Skip to content

Commit 25452ca

Browse files
authored
Merge pull request #582 from tweenjs/release-v18.6.4
v18.6.4
2 parents d76b774 + 352da17 commit 25452ca

8 files changed

+27
-31
lines changed

dist/tween.amd.js

+4-5
Original file line numberDiff line numberDiff line change
@@ -746,10 +746,9 @@ define(['exports'], function (exports) { 'use strict';
746746
};
747747
Tween.prototype._swapEndStartRepeatValues = function (property) {
748748
var tmp = this._valuesStartRepeat[property];
749-
if (typeof this._valuesEnd[property] === 'string') {
750-
// eslint-disable-next-line
751-
// @ts-ignore FIXME?
752-
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(this._valuesEnd[property]);
749+
var endValue = this._valuesEnd[property];
750+
if (typeof endValue === 'string') {
751+
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(endValue);
753752
}
754753
else {
755754
this._valuesStartRepeat[property] = this._valuesEnd[property];
@@ -759,7 +758,7 @@ define(['exports'], function (exports) { 'use strict';
759758
return Tween;
760759
}());
761760

762-
var VERSION = '18.6.3';
761+
var VERSION = '18.6.4';
763762

764763
/**
765764
* Tween.js - Licensed under the MIT license

dist/tween.cjs.js

+4-5
Original file line numberDiff line numberDiff line change
@@ -748,10 +748,9 @@ var Tween = /** @class */ (function () {
748748
};
749749
Tween.prototype._swapEndStartRepeatValues = function (property) {
750750
var tmp = this._valuesStartRepeat[property];
751-
if (typeof this._valuesEnd[property] === 'string') {
752-
// eslint-disable-next-line
753-
// @ts-ignore FIXME?
754-
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(this._valuesEnd[property]);
751+
var endValue = this._valuesEnd[property];
752+
if (typeof endValue === 'string') {
753+
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(endValue);
755754
}
756755
else {
757756
this._valuesStartRepeat[property] = this._valuesEnd[property];
@@ -761,7 +760,7 @@ var Tween = /** @class */ (function () {
761760
return Tween;
762761
}());
763762

764-
var VERSION = '18.6.3';
763+
var VERSION = '18.6.4';
765764

766765
/**
767766
* Tween.js - Licensed under the MIT license

dist/tween.d.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ declare class Tween<T extends UnknownProps> {
142142
private _handleRelativeValue;
143143
private _swapEndStartRepeatValues;
144144
}
145-
declare type UnknownProps = Record<string, unknown>;
145+
declare type UnknownProps = Record<string, any>;
146146

147147
/**
148148
* Controlling groups of tweens
@@ -170,13 +170,13 @@ declare class Sequence {
170170
static nextId(): number;
171171
}
172172

173-
declare const VERSION = "18.6.3";
173+
declare const VERSION = "18.6.4";
174174

175175
declare const nextId: typeof Sequence.nextId;
176-
declare const getAll: () => Tween<Record<string, unknown>>[];
176+
declare const getAll: () => Tween<Record<string, any>>[];
177177
declare const removeAll: () => void;
178-
declare const add: (tween: Tween<Record<string, unknown>>) => void;
179-
declare const remove: (tween: Tween<Record<string, unknown>>) => void;
178+
declare const add: (tween: Tween<Record<string, any>>) => void;
179+
declare const remove: (tween: Tween<Record<string, any>>) => void;
180180
declare const update: (time?: number, preserve?: boolean) => boolean;
181181
declare const exports: {
182182
Easing: {
@@ -251,10 +251,10 @@ declare const exports: {
251251
nextId: typeof Sequence.nextId;
252252
Tween: typeof Tween;
253253
VERSION: string;
254-
getAll: () => Tween<Record<string, unknown>>[];
254+
getAll: () => Tween<Record<string, any>>[];
255255
removeAll: () => void;
256-
add: (tween: Tween<Record<string, unknown>>) => void;
257-
remove: (tween: Tween<Record<string, unknown>>) => void;
256+
add: (tween: Tween<Record<string, any>>) => void;
257+
remove: (tween: Tween<Record<string, any>>) => void;
258258
update: (time?: number, preserve?: boolean) => boolean;
259259
};
260260

dist/tween.esm.js

+4-5
Original file line numberDiff line numberDiff line change
@@ -744,10 +744,9 @@ var Tween = /** @class */ (function () {
744744
};
745745
Tween.prototype._swapEndStartRepeatValues = function (property) {
746746
var tmp = this._valuesStartRepeat[property];
747-
if (typeof this._valuesEnd[property] === 'string') {
748-
// eslint-disable-next-line
749-
// @ts-ignore FIXME?
750-
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(this._valuesEnd[property]);
747+
var endValue = this._valuesEnd[property];
748+
if (typeof endValue === 'string') {
749+
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(endValue);
751750
}
752751
else {
753752
this._valuesStartRepeat[property] = this._valuesEnd[property];
@@ -757,7 +756,7 @@ var Tween = /** @class */ (function () {
757756
return Tween;
758757
}());
759758

760-
var VERSION = '18.6.3';
759+
var VERSION = '18.6.4';
761760

762761
/**
763762
* Tween.js - Licensed under the MIT license

dist/tween.umd.js

+4-5
Original file line numberDiff line numberDiff line change
@@ -750,10 +750,9 @@
750750
};
751751
Tween.prototype._swapEndStartRepeatValues = function (property) {
752752
var tmp = this._valuesStartRepeat[property];
753-
if (typeof this._valuesEnd[property] === 'string') {
754-
// eslint-disable-next-line
755-
// @ts-ignore FIXME?
756-
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(this._valuesEnd[property]);
753+
var endValue = this._valuesEnd[property];
754+
if (typeof endValue === 'string') {
755+
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(endValue);
757756
}
758757
else {
759758
this._valuesStartRepeat[property] = this._valuesEnd[property];
@@ -763,7 +762,7 @@
763762
return Tween;
764763
}());
765764

766-
var VERSION = '18.6.3';
765+
var VERSION = '18.6.4';
767766

768767
/**
769768
* Tween.js - Licensed under the MIT license

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@tweenjs/tween.js",
33
"description": "Super simple, fast and easy to use tweening engine which incorporates optimised Robert Penner's equations.",
4-
"version": "18.6.3",
4+
"version": "18.6.4",
55
"main": "dist/tween.cjs.js",
66
"types": "dist/tween.d.ts",
77
"module": "dist/tween.esm.js",

src/Version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
const VERSION = '18.6.3'
1+
const VERSION = '18.6.4'
22
export default VERSION

0 commit comments

Comments
 (0)