Skip to content

armgit / anime

Public Imported from GitHub
0

JavaScript animation engine

Build

Julian Garnier186098b90a13
diff --git a/dist/modules/animatable/animatable.cjs b/dist/modules/animatable/animatable.cjs
index 6ac9da35..2ab9aaa3 100644
--- a/dist/modules/animatable/animatable.cjs
+++ b/dist/modules/animatable/animatable.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - animatable - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
@@ -120,7 +120,7 @@ class Animatable {
tween._currentTime = 0;
});
if (!helpers.isUnd(duration)) animation$1.stretch(duration);
- animation$1.reset(1).resume();
+ animation$1.reset(true).resume();
return this;
}
};
diff --git a/dist/modules/animatable/animatable.js b/dist/modules/animatable/animatable.js
index 39fed719..9fea10cd 100644
--- a/dist/modules/animatable/animatable.js
+++ b/dist/modules/animatable/animatable.js
@@ -1,6 +1,6 @@
/**
* Anime.js - animatable - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
@@ -118,7 +118,7 @@ class Animatable {
tween._currentTime = 0;
});
if (!isUnd(duration)) animation.stretch(duration);
- animation.reset(1).resume();
+ animation.reset(true).resume();
return this;
}
};
diff --git a/dist/modules/animatable/index.cjs b/dist/modules/animatable/index.cjs
index 50967488..498663d9 100644
--- a/dist/modules/animatable/index.cjs
+++ b/dist/modules/animatable/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - animatable - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/animatable/index.js b/dist/modules/animatable/index.js
index aea24004..030080b5 100644
--- a/dist/modules/animatable/index.js
+++ b/dist/modules/animatable/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - animatable - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/animation/additive.cjs b/dist/modules/animation/additive.cjs
index 3a90c9eb..3f425a44 100644
--- a/dist/modules/animation/additive.cjs
+++ b/dist/modules/animation/additive.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - animation - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/animation/additive.js b/dist/modules/animation/additive.js
index 96934a9d..58b4a1e4 100644
--- a/dist/modules/animation/additive.js
+++ b/dist/modules/animation/additive.js
@@ -1,6 +1,6 @@
/**
* Anime.js - animation - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/animation/animation.cjs b/dist/modules/animation/animation.cjs
index 8019a21e..344dace4 100644
--- a/dist/modules/animation/animation.cjs
+++ b/dist/modules/animation/animation.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - animation - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/animation/animation.js b/dist/modules/animation/animation.js
index 42ef32ce..93f73792 100644
--- a/dist/modules/animation/animation.js
+++ b/dist/modules/animation/animation.js
@@ -1,6 +1,6 @@
/**
* Anime.js - animation - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/animation/composition.cjs b/dist/modules/animation/composition.cjs
index f86d3cb8..eb5eae40 100644
--- a/dist/modules/animation/composition.cjs
+++ b/dist/modules/animation/composition.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - animation - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/animation/composition.js b/dist/modules/animation/composition.js
index 8cdacf56..05539a94 100644
--- a/dist/modules/animation/composition.js
+++ b/dist/modules/animation/composition.js
@@ -1,6 +1,6 @@
/**
* Anime.js - animation - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/animation/index.cjs b/dist/modules/animation/index.cjs
index d756951d..752cfe43 100644
--- a/dist/modules/animation/index.cjs
+++ b/dist/modules/animation/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - animation - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/animation/index.js b/dist/modules/animation/index.js
index a88d099c..e01a29a9 100644
--- a/dist/modules/animation/index.js
+++ b/dist/modules/animation/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - animation - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/clock.cjs b/dist/modules/core/clock.cjs
index e6ad3550..28551f84 100644
--- a/dist/modules/core/clock.cjs
+++ b/dist/modules/core/clock.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - core - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/clock.js b/dist/modules/core/clock.js
index f59aabd3..33f43f76 100644
--- a/dist/modules/core/clock.js
+++ b/dist/modules/core/clock.js
@@ -1,6 +1,6 @@
/**
* Anime.js - core - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/colors.cjs b/dist/modules/core/colors.cjs
index b3325398..0272261b 100644
--- a/dist/modules/core/colors.cjs
+++ b/dist/modules/core/colors.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - core - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/colors.js b/dist/modules/core/colors.js
index 3c6549ec..f2bfcb55 100644
--- a/dist/modules/core/colors.js
+++ b/dist/modules/core/colors.js
@@ -1,6 +1,6 @@
/**
* Anime.js - core - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/consts.cjs b/dist/modules/core/consts.cjs
index a22c5bbf..92ab6f7f 100644
--- a/dist/modules/core/consts.cjs
+++ b/dist/modules/core/consts.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - core - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/consts.js b/dist/modules/core/consts.js
index d6a8e8a2..60a4b5e5 100644
--- a/dist/modules/core/consts.js
+++ b/dist/modules/core/consts.js
@@ -1,6 +1,6 @@
/**
* Anime.js - core - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/globals.cjs b/dist/modules/core/globals.cjs
index bc1f3eb1..619b84e9 100644
--- a/dist/modules/core/globals.cjs
+++ b/dist/modules/core/globals.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - core - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
@@ -65,7 +65,7 @@ const globals = {
tickThreshold: 200,
};
-const globalVersions = { version: '4.2.0', engine: null };
+const globalVersions = { version: '4.2.1', engine: null };
if (consts.isBrowser) {
if (!consts.win.AnimeJS) consts.win.AnimeJS = [];
diff --git a/dist/modules/core/globals.js b/dist/modules/core/globals.js
index 6decea57..ac1f7ed9 100644
--- a/dist/modules/core/globals.js
+++ b/dist/modules/core/globals.js
@@ -1,6 +1,6 @@
/**
* Anime.js - core - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
@@ -63,7 +63,7 @@ const globals = {
tickThreshold: 200,
};
-const globalVersions = { version: '4.2.0', engine: null };
+const globalVersions = { version: '4.2.1', engine: null };
if (isBrowser) {
if (!win.AnimeJS) win.AnimeJS = [];
diff --git a/dist/modules/core/helpers.cjs b/dist/modules/core/helpers.cjs
index 8b468aa2..36b9da36 100644
--- a/dist/modules/core/helpers.cjs
+++ b/dist/modules/core/helpers.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - core - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/helpers.js b/dist/modules/core/helpers.js
index 8cd1c894..c165b034 100644
--- a/dist/modules/core/helpers.js
+++ b/dist/modules/core/helpers.js
@@ -1,6 +1,6 @@
/**
* Anime.js - core - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/render.cjs b/dist/modules/core/render.cjs
index 4fd98b54..479d3c8c 100644
--- a/dist/modules/core/render.cjs
+++ b/dist/modules/core/render.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - core - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/render.js b/dist/modules/core/render.js
index 29054935..2acb7489 100644
--- a/dist/modules/core/render.js
+++ b/dist/modules/core/render.js
@@ -1,6 +1,6 @@
/**
* Anime.js - core - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/styles.cjs b/dist/modules/core/styles.cjs
index 816a7205..eee963ec 100644
--- a/dist/modules/core/styles.cjs
+++ b/dist/modules/core/styles.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - core - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/styles.js b/dist/modules/core/styles.js
index ea4f2429..2554fe2d 100644
--- a/dist/modules/core/styles.js
+++ b/dist/modules/core/styles.js
@@ -1,6 +1,6 @@
/**
* Anime.js - core - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/targets.cjs b/dist/modules/core/targets.cjs
index b365b9af..1d07292d 100644
--- a/dist/modules/core/targets.cjs
+++ b/dist/modules/core/targets.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - core - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/targets.js b/dist/modules/core/targets.js
index 9da193f8..efb89fa5 100644
--- a/dist/modules/core/targets.js
+++ b/dist/modules/core/targets.js
@@ -1,6 +1,6 @@
/**
* Anime.js - core - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/transforms.cjs b/dist/modules/core/transforms.cjs
index 1285e52e..40d717e3 100644
--- a/dist/modules/core/transforms.cjs
+++ b/dist/modules/core/transforms.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - core - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/transforms.js b/dist/modules/core/transforms.js
index b8101781..b75393ec 100644
--- a/dist/modules/core/transforms.js
+++ b/dist/modules/core/transforms.js
@@ -1,6 +1,6 @@
/**
* Anime.js - core - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/units.cjs b/dist/modules/core/units.cjs
index 9da3a8c4..73dea18d 100644
--- a/dist/modules/core/units.cjs
+++ b/dist/modules/core/units.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - core - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/units.js b/dist/modules/core/units.js
index c2e33eca..fe2ffa75 100644
--- a/dist/modules/core/units.js
+++ b/dist/modules/core/units.js
@@ -1,6 +1,6 @@
/**
* Anime.js - core - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/values.cjs b/dist/modules/core/values.cjs
index 57c67e95..abcb5400 100644
--- a/dist/modules/core/values.cjs
+++ b/dist/modules/core/values.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - core - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/core/values.js b/dist/modules/core/values.js
index 9c43a215..64955fc0 100644
--- a/dist/modules/core/values.js
+++ b/dist/modules/core/values.js
@@ -1,6 +1,6 @@
/**
* Anime.js - core - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/draggable/draggable.cjs b/dist/modules/draggable/draggable.cjs
index 5dcc95c5..616fc779 100644
--- a/dist/modules/draggable/draggable.cjs
+++ b/dist/modules/draggable/draggable.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - draggable - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/draggable/draggable.js b/dist/modules/draggable/draggable.js
index 2c732b41..ab488193 100644
--- a/dist/modules/draggable/draggable.js
+++ b/dist/modules/draggable/draggable.js
@@ -1,6 +1,6 @@
/**
* Anime.js - draggable - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/draggable/index.cjs b/dist/modules/draggable/index.cjs
index 60c8a8dc..e6feaf0d 100644
--- a/dist/modules/draggable/index.cjs
+++ b/dist/modules/draggable/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - draggable - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/draggable/index.js b/dist/modules/draggable/index.js
index 5d7b901e..51785f45 100644
--- a/dist/modules/draggable/index.js
+++ b/dist/modules/draggable/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - draggable - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/cubic-bezier/index.cjs b/dist/modules/easings/cubic-bezier/index.cjs
index cd6200d6..3b5b13e9 100644
--- a/dist/modules/easings/cubic-bezier/index.cjs
+++ b/dist/modules/easings/cubic-bezier/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/cubic-bezier/index.js b/dist/modules/easings/cubic-bezier/index.js
index ab84bdd3..708e5459 100644
--- a/dist/modules/easings/cubic-bezier/index.js
+++ b/dist/modules/easings/cubic-bezier/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/eases/index.cjs b/dist/modules/easings/eases/index.cjs
index 34a50d68..9ab011d6 100644
--- a/dist/modules/easings/eases/index.cjs
+++ b/dist/modules/easings/eases/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/eases/index.js b/dist/modules/easings/eases/index.js
index 17977df8..b77fecdd 100644
--- a/dist/modules/easings/eases/index.js
+++ b/dist/modules/easings/eases/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/eases/parser.cjs b/dist/modules/easings/eases/parser.cjs
index 9db91473..84f29247 100644
--- a/dist/modules/easings/eases/parser.cjs
+++ b/dist/modules/easings/eases/parser.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/eases/parser.js b/dist/modules/easings/eases/parser.js
index bb5539c9..0d2061d2 100644
--- a/dist/modules/easings/eases/parser.js
+++ b/dist/modules/easings/eases/parser.js
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/index.cjs b/dist/modules/easings/index.cjs
index 1c93b393..857270d4 100644
--- a/dist/modules/easings/index.cjs
+++ b/dist/modules/easings/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/index.js b/dist/modules/easings/index.js
index dc42558b..f60198b1 100644
--- a/dist/modules/easings/index.js
+++ b/dist/modules/easings/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/irregular/index.cjs b/dist/modules/easings/irregular/index.cjs
index f1cc6bda..d31ccf36 100644
--- a/dist/modules/easings/irregular/index.cjs
+++ b/dist/modules/easings/irregular/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/irregular/index.js b/dist/modules/easings/irregular/index.js
index bf0f01fa..1f9b6a4e 100644
--- a/dist/modules/easings/irregular/index.js
+++ b/dist/modules/easings/irregular/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/linear/index.cjs b/dist/modules/easings/linear/index.cjs
index f6156b72..cbc543c5 100644
--- a/dist/modules/easings/linear/index.cjs
+++ b/dist/modules/easings/linear/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/linear/index.js b/dist/modules/easings/linear/index.js
index b198c386..8af78033 100644
--- a/dist/modules/easings/linear/index.js
+++ b/dist/modules/easings/linear/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/none.cjs b/dist/modules/easings/none.cjs
index ac17b457..258b375d 100644
--- a/dist/modules/easings/none.cjs
+++ b/dist/modules/easings/none.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/none.js b/dist/modules/easings/none.js
index 5a3a3afc..e3107a6b 100644
--- a/dist/modules/easings/none.js
+++ b/dist/modules/easings/none.js
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/spring/index.cjs b/dist/modules/easings/spring/index.cjs
index d7661799..fe91917b 100644
--- a/dist/modules/easings/spring/index.cjs
+++ b/dist/modules/easings/spring/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/spring/index.js b/dist/modules/easings/spring/index.js
index a03de8c5..9aa2adea 100644
--- a/dist/modules/easings/spring/index.js
+++ b/dist/modules/easings/spring/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/steps/index.cjs b/dist/modules/easings/steps/index.cjs
index d1c1141f..91a1f406 100644
--- a/dist/modules/easings/steps/index.cjs
+++ b/dist/modules/easings/steps/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/easings/steps/index.js b/dist/modules/easings/steps/index.js
index 8399f20d..8b55bfe2 100644
--- a/dist/modules/easings/steps/index.js
+++ b/dist/modules/easings/steps/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - easings - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/engine/engine.cjs b/dist/modules/engine/engine.cjs
index 682b402a..90900b46 100644
--- a/dist/modules/engine/engine.cjs
+++ b/dist/modules/engine/engine.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - engine - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/engine/engine.js b/dist/modules/engine/engine.js
index ce5e6542..02a2daf1 100644
--- a/dist/modules/engine/engine.js
+++ b/dist/modules/engine/engine.js
@@ -1,6 +1,6 @@
/**
* Anime.js - engine - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/engine/index.cjs b/dist/modules/engine/index.cjs
index aa4884e3..97468bb1 100644
--- a/dist/modules/engine/index.cjs
+++ b/dist/modules/engine/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - engine - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/engine/index.js b/dist/modules/engine/index.js
index 1931588a..52c43d83 100644
--- a/dist/modules/engine/index.js
+++ b/dist/modules/engine/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - engine - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/events/index.cjs b/dist/modules/events/index.cjs
index 896b3e2a..cad25664 100644
--- a/dist/modules/events/index.cjs
+++ b/dist/modules/events/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - events - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/events/index.js b/dist/modules/events/index.js
index 831e82fe..2b435cf0 100644
--- a/dist/modules/events/index.js
+++ b/dist/modules/events/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - events - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/events/scroll.cjs b/dist/modules/events/scroll.cjs
index c33a9473..e659326f 100644
--- a/dist/modules/events/scroll.cjs
+++ b/dist/modules/events/scroll.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - events - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/events/scroll.js b/dist/modules/events/scroll.js
index b2184e50..e711e429 100644
--- a/dist/modules/events/scroll.js
+++ b/dist/modules/events/scroll.js
@@ -1,6 +1,6 @@
/**
* Anime.js - events - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/index.cjs b/dist/modules/index.cjs
index ad04e20d..96746361 100644
--- a/dist/modules/index.cjs
+++ b/dist/modules/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/index.js b/dist/modules/index.js
index 8c184357..547ddcdd 100644
--- a/dist/modules/index.js
+++ b/dist/modules/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/scope/index.cjs b/dist/modules/scope/index.cjs
index 05014c5a..4cd08e5e 100644
--- a/dist/modules/scope/index.cjs
+++ b/dist/modules/scope/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - scope - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/scope/index.js b/dist/modules/scope/index.js
index c5916d4c..49eafe6c 100644
--- a/dist/modules/scope/index.js
+++ b/dist/modules/scope/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - scope - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/scope/scope.cjs b/dist/modules/scope/scope.cjs
index 710f6287..0eb93744 100644
--- a/dist/modules/scope/scope.cjs
+++ b/dist/modules/scope/scope.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - scope - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/scope/scope.js b/dist/modules/scope/scope.js
index 4e00a9b9..d4302f60 100644
--- a/dist/modules/scope/scope.js
+++ b/dist/modules/scope/scope.js
@@ -1,6 +1,6 @@
/**
* Anime.js - scope - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/svg/drawable.cjs b/dist/modules/svg/drawable.cjs
index 6df66c46..050e44e4 100644
--- a/dist/modules/svg/drawable.cjs
+++ b/dist/modules/svg/drawable.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - svg - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/svg/drawable.js b/dist/modules/svg/drawable.js
index ae5229a5..0ee9e686 100644
--- a/dist/modules/svg/drawable.js
+++ b/dist/modules/svg/drawable.js
@@ -1,6 +1,6 @@
/**
* Anime.js - svg - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/svg/helpers.cjs b/dist/modules/svg/helpers.cjs
index d1b26c00..3adbb321 100644
--- a/dist/modules/svg/helpers.cjs
+++ b/dist/modules/svg/helpers.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - svg - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/svg/helpers.js b/dist/modules/svg/helpers.js
index 5aeef3a3..a4cea3a7 100644
--- a/dist/modules/svg/helpers.js
+++ b/dist/modules/svg/helpers.js
@@ -1,6 +1,6 @@
/**
* Anime.js - svg - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/svg/index.cjs b/dist/modules/svg/index.cjs
index 2819cfc5..8e95ea06 100644
--- a/dist/modules/svg/index.cjs
+++ b/dist/modules/svg/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - svg - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/svg/index.js b/dist/modules/svg/index.js
index a402730a..e3ad57b8 100644
--- a/dist/modules/svg/index.js
+++ b/dist/modules/svg/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - svg - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/svg/morphto.cjs b/dist/modules/svg/morphto.cjs
index e7777c3f..002c0433 100644
--- a/dist/modules/svg/morphto.cjs
+++ b/dist/modules/svg/morphto.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - svg - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/svg/morphto.js b/dist/modules/svg/morphto.js
index 829d68c2..376736bc 100644
--- a/dist/modules/svg/morphto.js
+++ b/dist/modules/svg/morphto.js
@@ -1,6 +1,6 @@
/**
* Anime.js - svg - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/svg/motionpath.cjs b/dist/modules/svg/motionpath.cjs
index 8449cc6a..527c882f 100644
--- a/dist/modules/svg/motionpath.cjs
+++ b/dist/modules/svg/motionpath.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - svg - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/svg/motionpath.js b/dist/modules/svg/motionpath.js
index 78b1449f..7ea6ac98 100644
--- a/dist/modules/svg/motionpath.js
+++ b/dist/modules/svg/motionpath.js
@@ -1,6 +1,6 @@
/**
* Anime.js - svg - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/text/index.cjs b/dist/modules/text/index.cjs
index 698a0ea0..447140e8 100644
--- a/dist/modules/text/index.cjs
+++ b/dist/modules/text/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - text - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/text/index.js b/dist/modules/text/index.js
index bc221d29..607c2993 100644
--- a/dist/modules/text/index.js
+++ b/dist/modules/text/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - text - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/text/split.cjs b/dist/modules/text/split.cjs
index eaab4417..17bff76c 100644
--- a/dist/modules/text/split.cjs
+++ b/dist/modules/text/split.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - text - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/text/split.js b/dist/modules/text/split.js
index b089acb6..6e46e410 100644
--- a/dist/modules/text/split.js
+++ b/dist/modules/text/split.js
@@ -1,6 +1,6 @@
/**
* Anime.js - text - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/timeline/index.cjs b/dist/modules/timeline/index.cjs
index ed552676..757dec96 100644
--- a/dist/modules/timeline/index.cjs
+++ b/dist/modules/timeline/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - timeline - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/timeline/index.js b/dist/modules/timeline/index.js
index c6b0352e..9725b179 100644
--- a/dist/modules/timeline/index.js
+++ b/dist/modules/timeline/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - timeline - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/timeline/position.cjs b/dist/modules/timeline/position.cjs
index 22550ea5..289a04c2 100644
--- a/dist/modules/timeline/position.cjs
+++ b/dist/modules/timeline/position.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - timeline - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/timeline/position.js b/dist/modules/timeline/position.js
index cd945d37..c6c2b72e 100644
--- a/dist/modules/timeline/position.js
+++ b/dist/modules/timeline/position.js
@@ -1,6 +1,6 @@
/**
* Anime.js - timeline - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/timeline/timeline.cjs b/dist/modules/timeline/timeline.cjs
index ff6c1390..4454caae 100644
--- a/dist/modules/timeline/timeline.cjs
+++ b/dist/modules/timeline/timeline.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - timeline - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
@@ -81,7 +81,7 @@ function addTlChild(childParams, tl, timePosition, targets, index, length) {
const tlChild = targets ?
new animation.JSAnimation(targets,/** @type {AnimationParams} */(childParams), tl, adjustedPosition, false, index, length) :
new timer.Timer(/** @type {TimerParams} */(childParams), tl, adjustedPosition);
- tlChild.init(1);
+ tlChild.init(true);
// TODO: Might be better to insert at a position relative to startTime?
helpers.addChild(tl, tlChild);
helpers.forEachChildren(tl, (/** @type {Renderable} */child) => {
@@ -185,7 +185,7 @@ class Timeline extends timer.Timer {
position.parseTimelinePosition(this,a2),
);
}
- return this.init(1); // 1 = internalRender
+ return this.init(true);
}
}
diff --git a/dist/modules/timeline/timeline.js b/dist/modules/timeline/timeline.js
index aa8e9095..76f13266 100644
--- a/dist/modules/timeline/timeline.js
+++ b/dist/modules/timeline/timeline.js
@@ -1,6 +1,6 @@
/**
* Anime.js - timeline - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
@@ -79,7 +79,7 @@ function addTlChild(childParams, tl, timePosition, targets, index, length) {
const tlChild = targets ?
new JSAnimation(targets,/** @type {AnimationParams} */(childParams), tl, adjustedPosition, false, index, length) :
new Timer(/** @type {TimerParams} */(childParams), tl, adjustedPosition);
- tlChild.init(1);
+ tlChild.init(true);
// TODO: Might be better to insert at a position relative to startTime?
addChild(tl, tlChild);
forEachChildren(tl, (/** @type {Renderable} */child) => {
@@ -183,7 +183,7 @@ class Timeline extends Timer {
parseTimelinePosition(this,a2),
);
}
- return this.init(1); // 1 = internalRender
+ return this.init(true);
}
}
diff --git a/dist/modules/timer/index.cjs b/dist/modules/timer/index.cjs
index 4da67804..37d643ea 100644
--- a/dist/modules/timer/index.cjs
+++ b/dist/modules/timer/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - timer - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/timer/index.js b/dist/modules/timer/index.js
index 3735ca7f..45ef6371 100644
--- a/dist/modules/timer/index.js
+++ b/dist/modules/timer/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - timer - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/timer/timer.cjs b/dist/modules/timer/timer.cjs
index ad03bede..8d3af8eb 100644
--- a/dist/modules/timer/timer.cjs
+++ b/dist/modules/timer/timer.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - timer - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
@@ -114,7 +114,6 @@ class Timer extends clock.Clock {
/** @type {Number} */(timerLoop) < 0 ? Infinity :
/** @type {Number} */(timerLoop) + 1;
-
let offsetPosition = 0;
if (parent) {
@@ -204,7 +203,7 @@ class Timer extends clock.Clock {
}
set cancelled(cancelled) {
- cancelled ? this.cancel() : this.reset(1).play();
+ cancelled ? this.cancel() : this.reset(true).play();
}
get currentTime() {
@@ -269,10 +268,10 @@ class Timer extends clock.Clock {
}
/**
- * @param {Number} internalRender
+ * @param {Boolean} [softReset]
* @return {this}
*/
- reset(internalRender = 0) {
+ reset(softReset = false) {
// If cancelled, revive the timer before rendering in order to have propertly composed tweens siblings
reviveTimer(this);
if (this._reversed && !this._reverse) this.reversed = false;
@@ -281,7 +280,7 @@ class Timer extends clock.Clock {
// NOTE: This is only required for Timelines and might be better to move to the Timeline class?
this._iterationTime = this.iterationDuration;
// Set tickMode to tickModes.FORCE to force rendering
- render.tick(this, 0, 1, internalRender, consts.tickModes.FORCE);
+ render.tick(this, 0, 1, ~~softReset, consts.tickModes.FORCE);
// Reset timer properties after revive / render to make sure the props are not updated again
resetTimerProperties(this);
// Also reset children properties
@@ -292,16 +291,16 @@ class Timer extends clock.Clock {
}
/**
- * @param {Number} internalRender
+ * @param {Boolean} internalRender
* @return {this}
*/
- init(internalRender = 0) {
+ init(internalRender = false) {
this.fps = this._fps;
this.speed = this._speed;
// Manually calling .init() on timelines should render all children intial state
// Forces all children to render once then render to 0 when reseted
if (!internalRender && this._hasChildren) {
- render.tick(this, this.duration, 1, internalRender, consts.tickModes.FORCE);
+ render.tick(this, this.duration, 1, ~~internalRender, consts.tickModes.FORCE);
}
this.reset(internalRender);
// Make sure to set autoplay to false to child timers so it doesn't attempt to autoplay / link
@@ -355,7 +354,7 @@ class Timer extends clock.Clock {
/** @return {this} */
restart() {
- return this.reset(0).resume();
+ return this.reset().resume();
}
/**
diff --git a/dist/modules/timer/timer.d.ts b/dist/modules/timer/timer.d.ts
index 6d188ad9..979b88be 100644
--- a/dist/modules/timer/timer.d.ts
+++ b/dist/modules/timer/timer.d.ts
@@ -79,15 +79,15 @@ export class Timer extends Clock {
set reversed(reverse: boolean);
get reversed(): boolean;
/**
- * @param {Number} internalRender
+ * @param {Boolean} [softReset]
* @return {this}
*/
- reset(internalRender?: number): this;
+ reset(softReset?: boolean): this;
/**
- * @param {Number} internalRender
+ * @param {Boolean} internalRender
* @return {this}
*/
- init(internalRender?: number): this;
+ init(internalRender?: boolean): this;
/** @return {this} */
resetTime(): this;
/** @return {this} */
diff --git a/dist/modules/timer/timer.js b/dist/modules/timer/timer.js
index 13910d56..78795dca 100644
--- a/dist/modules/timer/timer.js
+++ b/dist/modules/timer/timer.js
@@ -1,6 +1,6 @@
/**
* Anime.js - timer - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
@@ -112,7 +112,6 @@ class Timer extends Clock {
/** @type {Number} */(timerLoop) < 0 ? Infinity :
/** @type {Number} */(timerLoop) + 1;
-
let offsetPosition = 0;
if (parent) {
@@ -202,7 +201,7 @@ class Timer extends Clock {
}
set cancelled(cancelled) {
- cancelled ? this.cancel() : this.reset(1).play();
+ cancelled ? this.cancel() : this.reset(true).play();
}
get currentTime() {
@@ -267,10 +266,10 @@ class Timer extends Clock {
}
/**
- * @param {Number} internalRender
+ * @param {Boolean} [softReset]
* @return {this}
*/
- reset(internalRender = 0) {
+ reset(softReset = false) {
// If cancelled, revive the timer before rendering in order to have propertly composed tweens siblings
reviveTimer(this);
if (this._reversed && !this._reverse) this.reversed = false;
@@ -279,7 +278,7 @@ class Timer extends Clock {
// NOTE: This is only required for Timelines and might be better to move to the Timeline class?
this._iterationTime = this.iterationDuration;
// Set tickMode to tickModes.FORCE to force rendering
- tick(this, 0, 1, internalRender, tickModes.FORCE);
+ tick(this, 0, 1, ~~softReset, tickModes.FORCE);
// Reset timer properties after revive / render to make sure the props are not updated again
resetTimerProperties(this);
// Also reset children properties
@@ -290,16 +289,16 @@ class Timer extends Clock {
}
/**
- * @param {Number} internalRender
+ * @param {Boolean} internalRender
* @return {this}
*/
- init(internalRender = 0) {
+ init(internalRender = false) {
this.fps = this._fps;
this.speed = this._speed;
// Manually calling .init() on timelines should render all children intial state
// Forces all children to render once then render to 0 when reseted
if (!internalRender && this._hasChildren) {
- tick(this, this.duration, 1, internalRender, tickModes.FORCE);
+ tick(this, this.duration, 1, ~~internalRender, tickModes.FORCE);
}
this.reset(internalRender);
// Make sure to set autoplay to false to child timers so it doesn't attempt to autoplay / link
@@ -353,7 +352,7 @@ class Timer extends Clock {
/** @return {this} */
restart() {
- return this.reset(0).resume();
+ return this.reset().resume();
}
/**
diff --git a/dist/modules/utils/chainable.cjs b/dist/modules/utils/chainable.cjs
index 43b51870..91fe30cc 100644
--- a/dist/modules/utils/chainable.cjs
+++ b/dist/modules/utils/chainable.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - utils - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/utils/chainable.js b/dist/modules/utils/chainable.js
index 2034b9d9..f0a43ba4 100644
--- a/dist/modules/utils/chainable.js
+++ b/dist/modules/utils/chainable.js
@@ -1,6 +1,6 @@
/**
* Anime.js - utils - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/utils/index.cjs b/dist/modules/utils/index.cjs
index ddd50eac..6eac74ab 100644
--- a/dist/modules/utils/index.cjs
+++ b/dist/modules/utils/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - utils - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/utils/index.js b/dist/modules/utils/index.js
index 4a683950..e07e93fd 100644
--- a/dist/modules/utils/index.js
+++ b/dist/modules/utils/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - utils - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/utils/number.cjs b/dist/modules/utils/number.cjs
index bea494e7..74a5efb9 100644
--- a/dist/modules/utils/number.cjs
+++ b/dist/modules/utils/number.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - utils - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/utils/number.js b/dist/modules/utils/number.js
index 30e8e7c4..a14e0c46 100644
--- a/dist/modules/utils/number.js
+++ b/dist/modules/utils/number.js
@@ -1,6 +1,6 @@
/**
* Anime.js - utils - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/utils/random.cjs b/dist/modules/utils/random.cjs
index 0b7547d5..04fe9638 100644
--- a/dist/modules/utils/random.cjs
+++ b/dist/modules/utils/random.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - utils - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/utils/random.js b/dist/modules/utils/random.js
index dcff5069..5d57a7d0 100644
--- a/dist/modules/utils/random.js
+++ b/dist/modules/utils/random.js
@@ -1,6 +1,6 @@
/**
* Anime.js - utils - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/utils/stagger.cjs b/dist/modules/utils/stagger.cjs
index b333d003..c9ec4ebf 100644
--- a/dist/modules/utils/stagger.cjs
+++ b/dist/modules/utils/stagger.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - utils - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/utils/stagger.js b/dist/modules/utils/stagger.js
index 206e2219..ee1159b7 100644
--- a/dist/modules/utils/stagger.js
+++ b/dist/modules/utils/stagger.js
@@ -1,6 +1,6 @@
/**
* Anime.js - utils - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/utils/target.cjs b/dist/modules/utils/target.cjs
index 2de66964..14b41a84 100644
--- a/dist/modules/utils/target.cjs
+++ b/dist/modules/utils/target.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - utils - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/utils/target.js b/dist/modules/utils/target.js
index d18b74b8..e53acd9a 100644
--- a/dist/modules/utils/target.js
+++ b/dist/modules/utils/target.js
@@ -1,6 +1,6 @@
/**
* Anime.js - utils - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/utils/time.cjs b/dist/modules/utils/time.cjs
index 4317453a..3fc8b5de 100644
--- a/dist/modules/utils/time.cjs
+++ b/dist/modules/utils/time.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - utils - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/utils/time.js b/dist/modules/utils/time.js
index bbe8c4ce..f64a0c62 100644
--- a/dist/modules/utils/time.js
+++ b/dist/modules/utils/time.js
@@ -1,6 +1,6 @@
/**
* Anime.js - utils - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/waapi/composition.cjs b/dist/modules/waapi/composition.cjs
index c57a2f12..5a75d7c1 100644
--- a/dist/modules/waapi/composition.cjs
+++ b/dist/modules/waapi/composition.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - waapi - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/waapi/composition.js b/dist/modules/waapi/composition.js
index 74a4d64e..da968251 100644
--- a/dist/modules/waapi/composition.js
+++ b/dist/modules/waapi/composition.js
@@ -1,6 +1,6 @@
/**
* Anime.js - waapi - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/waapi/index.cjs b/dist/modules/waapi/index.cjs
index ab51d7e9..ea8fd634 100644
--- a/dist/modules/waapi/index.cjs
+++ b/dist/modules/waapi/index.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - waapi - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/waapi/index.js b/dist/modules/waapi/index.js
index eee5754d..39950708 100644
--- a/dist/modules/waapi/index.js
+++ b/dist/modules/waapi/index.js
@@ -1,6 +1,6 @@
/**
* Anime.js - waapi - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/waapi/waapi.cjs b/dist/modules/waapi/waapi.cjs
index 6d519363..1b4b848b 100644
--- a/dist/modules/waapi/waapi.cjs
+++ b/dist/modules/waapi/waapi.cjs
@@ -1,6 +1,6 @@
/**
* Anime.js - waapi - CJS
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/dist/modules/waapi/waapi.js b/dist/modules/waapi/waapi.js
index 9a065ec4..a98b8777 100644
--- a/dist/modules/waapi/waapi.js
+++ b/dist/modules/waapi/waapi.js
@@ -1,6 +1,6 @@
/**
* Anime.js - waapi - ESM
- * @version v4.2.0
+ * @version v4.2.1
* @license MIT
* @copyright 2025 - Julian Garnier
*/
diff --git a/package-lock.json b/package-lock.json
index df91ff22..1d0fda88 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "animejs",
- "version": "4.2.0",
+ "version": "4.2.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "animejs",
- "version": "4.2.0",
+ "version": "4.2.1",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",