Socket
Socket
Sign inDemoInstall

@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 17.3.5 to 17.4.0

.npmignore

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

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

@@ -141,2 +141,3 @@ /**

this._onUpdateCallback = null;
this._onRepeatCallback = null;
this._onCompleteCallback = null;

@@ -322,2 +323,9 @@ this._onStopCallback = null;

onRepeat: function onRepeat(callback) {
this._onRepeatCallback = callback;
return this;
},
onComplete: function (callback) {

@@ -397,3 +405,3 @@

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

@@ -437,2 +445,6 @@

if (this._onRepeatCallback !== null) {
this._onRepeatCallback(this._object);
}
return true;

@@ -439,0 +451,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