Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tweenjs/tween.js

Package Overview
Dependencies
Maintainers
3
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tweenjs/tween.js - npm Package Compare versions

Comparing version 18.1.2 to 18.2.0

15

dist/tween.amd.js

@@ -57,6 +57,7 @@ define(function () { 'use strict';

// Tweens are updated in "batches". If you add a new tween during an update, then the
// new tween will be updated in the next batch.
// If you remove a tween during an update, it may or may not be updated. However,
// if the removed tween was added during the current batch, then it will not be updated.
// Tweens are updated in "batches". If you add a new tween during an
// update, then the new tween will be updated in the next batch.
// If you remove a tween during an update, it may or may not be updated.
// However, if the removed tween was added during the current batch,
// then it will not be updated.
while (tweenIds.length > 0) {

@@ -209,4 +210,6 @@ this._tweensAddedDuringUpdate = {};

// Save the starting value.
this._valuesStart[property] = this._object[property];
// Save the starting value, but only once.
if (typeof(this._valuesStart[property]) === 'undefined') {
this._valuesStart[property] = this._object[property];
}

@@ -213,0 +216,0 @@ if ((this._valuesStart[property] instanceof Array) === false) {

@@ -57,6 +57,7 @@ 'use strict';

// Tweens are updated in "batches". If you add a new tween during an update, then the
// new tween will be updated in the next batch.
// If you remove a tween during an update, it may or may not be updated. However,
// if the removed tween was added during the current batch, then it will not be updated.
// Tweens are updated in "batches". If you add a new tween during an
// update, then the new tween will be updated in the next batch.
// If you remove a tween during an update, it may or may not be updated.
// However, if the removed tween was added during the current batch,
// then it will not be updated.
while (tweenIds.length > 0) {

@@ -209,4 +210,6 @@ this._tweensAddedDuringUpdate = {};

// Save the starting value.
this._valuesStart[property] = this._object[property];
// Save the starting value, but only once.
if (typeof(this._valuesStart[property]) === 'undefined') {
this._valuesStart[property] = this._object[property];
}

@@ -213,0 +216,0 @@ if ((this._valuesStart[property] instanceof Array) === false) {

@@ -55,6 +55,7 @@ /**

// Tweens are updated in "batches". If you add a new tween during an update, then the
// new tween will be updated in the next batch.
// If you remove a tween during an update, it may or may not be updated. However,
// if the removed tween was added during the current batch, then it will not be updated.
// Tweens are updated in "batches". If you add a new tween during an
// update, then the new tween will be updated in the next batch.
// If you remove a tween during an update, it may or may not be updated.
// However, if the removed tween was added during the current batch,
// then it will not be updated.
while (tweenIds.length > 0) {

@@ -207,4 +208,6 @@ this._tweensAddedDuringUpdate = {};

// Save the starting value.
this._valuesStart[property] = this._object[property];
// Save the starting value, but only once.
if (typeof(this._valuesStart[property]) === 'undefined') {
this._valuesStart[property] = this._object[property];
}

@@ -211,0 +214,0 @@ if ((this._valuesStart[property] instanceof Array) === false) {

@@ -61,6 +61,7 @@ (function (global, factory) {

// Tweens are updated in "batches". If you add a new tween during an update, then the
// new tween will be updated in the next batch.
// If you remove a tween during an update, it may or may not be updated. However,
// if the removed tween was added during the current batch, then it will not be updated.
// Tweens are updated in "batches". If you add a new tween during an
// update, then the new tween will be updated in the next batch.
// If you remove a tween during an update, it may or may not be updated.
// However, if the removed tween was added during the current batch,
// then it will not be updated.
while (tweenIds.length > 0) {

@@ -213,4 +214,6 @@ this._tweensAddedDuringUpdate = {};

// Save the starting value.
this._valuesStart[property] = this._object[property];
// Save the starting value, but only once.
if (typeof(this._valuesStart[property]) === 'undefined') {
this._valuesStart[property] = this._object[property];
}

@@ -217,0 +220,0 @@ if ((this._valuesStart[property] instanceof Array) === false) {

2

package.json
{
"name": "@tweenjs/tween.js",
"description": "Super simple, fast and easy to use tweening engine which incorporates optimised Robert Penner's equations.",
"version": "18.1.2",
"version": "18.2.0",
"main": "dist/tween.cjs.js",

@@ -6,0 +6,0 @@ "module": "dist/tween.esm.js",

@@ -55,6 +55,7 @@ /**

// Tweens are updated in "batches". If you add a new tween during an update, then the
// new tween will be updated in the next batch.
// If you remove a tween during an update, it may or may not be updated. However,
// if the removed tween was added during the current batch, then it will not be updated.
// Tweens are updated in "batches". If you add a new tween during an
// update, then the new tween will be updated in the next batch.
// If you remove a tween during an update, it may or may not be updated.
// However, if the removed tween was added during the current batch,
// then it will not be updated.
while (tweenIds.length > 0) {

@@ -207,4 +208,6 @@ this._tweensAddedDuringUpdate = {};

// Save the starting value.
this._valuesStart[property] = this._object[property];
// Save the starting value, but only once.
if (typeof(this._valuesStart[property]) === 'undefined') {
this._valuesStart[property] = this._object[property];
}

@@ -211,0 +214,0 @@ if ((this._valuesStart[property] instanceof Array) === false) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc