@thednp/tween 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -29,7 +29,7 @@ Your favorite framework isn't listed? [Let us know](https://github.com/thednp/tw
29
29
  * **Predictable outcomes** through upfront value validation — invalid values prevent animation start with clear feedback
30
30
  * **Production-ready validation system** catches configuration errors before they break your app
31
31
  * **Natural reverse playback** via inverted easing (no `reverseEasing` option or `valuesStart` reassignment)
32
- * **Extensible interpolation** with built-in [extensions](wiki/Extend.md) or custom per-property validators and interpolators
32
+ * **Extensible interpolation** with built-in [extensions](wiki/Extend.md) for custom per-property validators and interpolators
33
33
 
34
34
  ### Performance Optimizations
35
35
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @thednp/tween hooks for Preact v0.0.4 (https://github.com/thednp/tween)
2
+ * @thednp/tween hooks for Preact v0.0.5 (https://github.com/thednp/tween)
3
3
  * Copyright 2026 © thednp
4
4
  * Licensed under MIT (https://github.com/thednp/tween/blob/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @thednp/tween hooks for Preact v0.0.4 (https://github.com/thednp/tween)
2
+ * @thednp/tween hooks for Preact v0.0.5 (https://github.com/thednp/tween)
3
3
  * Copyright 2026 © thednp
4
4
  * Licensed under MIT (https://github.com/thednp/tween/blob/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @thednp/tween hooks for React v0.0.4 (https://github.com/thednp/tween)
2
+ * @thednp/tween hooks for React v0.0.5 (https://github.com/thednp/tween)
3
3
  * Copyright 2026 © thednp
4
4
  * Licensed under MIT (https://github.com/thednp/tween/blob/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @thednp/tween hooks for React v0.0.4 (https://github.com/thednp/tween)
2
+ * @thednp/tween hooks for React v0.0.5 (https://github.com/thednp/tween)
3
3
  * Copyright 2026 © thednp
4
4
  * Licensed under MIT (https://github.com/thednp/tween/blob/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @thednp/tween primitives for SolidJS v0.0.4 (https://github.com/thednp/tween)
2
+ * @thednp/tween primitives for SolidJS v0.0.5 (https://github.com/thednp/tween)
3
3
  * Copyright 2026 © thednp
4
4
  * Licensed under MIT (https://github.com/thednp/tween/blob/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @thednp/tween primitives for SolidJS v0.0.4 (https://github.com/thednp/tween)
2
+ * @thednp/tween primitives for SolidJS v0.0.5 (https://github.com/thednp/tween)
3
3
  * Copyright 2026 © thednp
4
4
  * Licensed under MIT (https://github.com/thednp/tween/blob/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @thednp/tween utils for Svelte v0.0.4 (https://github.com/thednp/tween)
2
+ * @thednp/tween utils for Svelte v0.0.5 (https://github.com/thednp/tween)
3
3
  * Copyright 2026 © thednp
4
4
  * Licensed under MIT (https://github.com/thednp/tween/blob/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @thednp/tween utils for Svelte v0.0.4 (https://github.com/thednp/tween)
2
+ * @thednp/tween utils for Svelte v0.0.5 (https://github.com/thednp/tween)
3
3
  * Copyright 2026 © thednp
4
4
  * Licensed under MIT (https://github.com/thednp/tween/blob/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @thednp/tween v0.0.4 (https://github.com/thednp/tween)
2
+ * @thednp/tween v0.0.5 (https://github.com/thednp/tween)
3
3
  * Copyright 2026 © thednp
4
4
  * Licensed under MIT (https://github.com/thednp/tween/blob/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @thednp/tween v0.0.4 (https://github.com/thednp/tween)
2
+ * @thednp/tween v0.0.5 (https://github.com/thednp/tween)
3
3
  * Copyright 2026 © thednp
4
4
  * Licensed under MIT (https://github.com/thednp/tween/blob/master/LICENSE)
5
5
  */
@@ -909,7 +909,10 @@ function addToQueue(newItem) {
909
909
  */
910
910
  function removeFromQueue(removedItem) {
911
911
  const idx = Queue.indexOf(removedItem);
912
- if (idx > -1) Queue.splice(idx, 1);
912
+ if (idx > -1) {
913
+ Queue.splice(idx, 1);
914
+ queueLength--;
915
+ }
913
916
  }
914
917
 
915
918
  //#endregion
@@ -1943,7 +1946,7 @@ var Timeline = class {
1943
1946
 
1944
1947
  //#endregion
1945
1948
  //#region package.json
1946
- var version = "0.0.4";
1949
+ var version = "0.0.5";
1947
1950
 
1948
1951
  //#endregion
1949
1952
  export { Easing, Queue, Runtime, Timeline, Tween, addToQueue, arrayConfig, deepAssign, deproxy, dummyInstance, eulerToAxisAngle, interpolateArray, interpolateObject, interpolatePath, interpolateTransform, isArray, isDeepObject, isFunction, isNumber, isObject, isPathLike, isPlainObject, isServer, isString, isTransformLike, isValidArray, isValidPath, isValidTransformArray, now, objectConfig, objectHasProp, pathArrayConfig, pathToString, removeFromQueue, roundTo, setNow, transformConfig, transformToString, validateArray, validateObject, validatePath, validateTransform, validateValues, version };