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 16.11.0 to 17.1.0

benchmarks/additionWithoutStart.js

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": "16.11.0",
"version": "17.1.0",
"main": "src/Tween.js",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/tweenjs/tween.js",

@@ -175,3 +175,3 @@ /**

this._startTime = time !== undefined ? time : TWEEN.now();
this._startTime = time !== undefined ? typeof time === 'string' ? TWEEN.now() + parseFloat(time) : time : TWEEN.now();
this._startTime += this._delayTime;

@@ -224,3 +224,3 @@

if (this._onStopCallback !== null) {
this._onStopCallback.call(this._object, this._object);
this._onStopCallback(this._object);
}

@@ -338,3 +338,3 @@

if (this._onStartCallback !== null) {
this._onStartCallback.call(this._object, this._object);
this._onStartCallback(this._object);
}

@@ -386,3 +386,3 @@

if (this._onUpdateCallback !== null) {
this._onUpdateCallback.call(this._object, value);
this._onUpdateCallback(this._object);
}

@@ -432,3 +432,3 @@

this._onCompleteCallback.call(this._object, this._object);
this._onCompleteCallback(this._object);
}

@@ -435,0 +435,0 @@

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