select-animation 1.6.2 → 1.7.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "select-animation",
3
- "version": "1.6.2",
3
+ "version": "1.7.0",
4
4
  "description": "High-performance JavaScript animation engine for organic & fluid motion",
5
5
  "main": "select-animation.js",
6
6
  "scripts": {
@@ -149,7 +149,7 @@
149
149
  // -----------------------------
150
150
  const animate = function () {
151
151
  const definitions = arguments;
152
- const defsCopy = copyObj(definitions);
152
+ const defsCopy = copyObj(Array.prototype.slice.call(definitions));
153
153
 
154
154
  return function () {
155
155
  let tmp, i, propIndex, fromItem, toItem, valFrom, valTo, t;
@@ -848,6 +848,8 @@
848
848
  return ret;
849
849
  };
850
850
 
851
+
852
+
851
853
  // Expose both for browser and Node/npm consumers
852
854
  if (typeof module !== 'undefined' && module.exports) {
853
855
  module.exports = {