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

@tweenjs/tween.js

Package Overview
Dependencies
Maintainers
4
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.6.3 to 18.6.4

9

dist/tween.amd.js

@@ -749,6 +749,5 @@ define(['exports'], function (exports) { 'use strict';

var tmp = this._valuesStartRepeat[property];
if (typeof this._valuesEnd[property] === 'string') {
// eslint-disable-next-line
// @ts-ignore FIXME?
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(this._valuesEnd[property]);
var endValue = this._valuesEnd[property];
if (typeof endValue === 'string') {
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(endValue);
}

@@ -763,3 +762,3 @@ else {

var VERSION = '18.6.3';
var VERSION = '18.6.4';

@@ -766,0 +765,0 @@ /**

@@ -751,6 +751,5 @@ 'use strict';

var tmp = this._valuesStartRepeat[property];
if (typeof this._valuesEnd[property] === 'string') {
// eslint-disable-next-line
// @ts-ignore FIXME?
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(this._valuesEnd[property]);
var endValue = this._valuesEnd[property];
if (typeof endValue === 'string') {
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(endValue);
}

@@ -765,3 +764,3 @@ else {

var VERSION = '18.6.3';
var VERSION = '18.6.4';

@@ -768,0 +767,0 @@ /**

@@ -145,3 +145,3 @@ declare type EasingFunction = (amount: number) => number;

}
declare type UnknownProps = Record<string, unknown>;
declare type UnknownProps = Record<string, any>;

@@ -174,9 +174,9 @@ /**

declare const VERSION = "18.6.3";
declare const VERSION = "18.6.4";
declare const nextId: typeof Sequence.nextId;
declare const getAll: () => Tween<Record<string, unknown>>[];
declare const getAll: () => Tween<Record<string, any>>[];
declare const removeAll: () => void;
declare const add: (tween: Tween<Record<string, unknown>>) => void;
declare const remove: (tween: Tween<Record<string, unknown>>) => void;
declare const add: (tween: Tween<Record<string, any>>) => void;
declare const remove: (tween: Tween<Record<string, any>>) => void;
declare const update: (time?: number, preserve?: boolean) => boolean;

@@ -256,6 +256,6 @@ declare const exports: {

VERSION: string;
getAll: () => Tween<Record<string, unknown>>[];
getAll: () => Tween<Record<string, any>>[];
removeAll: () => void;
add: (tween: Tween<Record<string, unknown>>) => void;
remove: (tween: Tween<Record<string, unknown>>) => void;
add: (tween: Tween<Record<string, any>>) => void;
remove: (tween: Tween<Record<string, any>>) => void;
update: (time?: number, preserve?: boolean) => boolean;

@@ -262,0 +262,0 @@ };

@@ -747,6 +747,5 @@ /**

var tmp = this._valuesStartRepeat[property];
if (typeof this._valuesEnd[property] === 'string') {
// eslint-disable-next-line
// @ts-ignore FIXME?
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(this._valuesEnd[property]);
var endValue = this._valuesEnd[property];
if (typeof endValue === 'string') {
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(endValue);
}

@@ -761,3 +760,3 @@ else {

var VERSION = '18.6.3';
var VERSION = '18.6.4';

@@ -764,0 +763,0 @@ /**

@@ -753,6 +753,5 @@ (function (global, factory) {

var tmp = this._valuesStartRepeat[property];
if (typeof this._valuesEnd[property] === 'string') {
// eslint-disable-next-line
// @ts-ignore FIXME?
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(this._valuesEnd[property]);
var endValue = this._valuesEnd[property];
if (typeof endValue === 'string') {
this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(endValue);
}

@@ -767,3 +766,3 @@ else {

var VERSION = '18.6.3';
var VERSION = '18.6.4';

@@ -770,0 +769,0 @@ /**

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

@@ -28,2 +28,3 @@ "types": "dist/tween.d.ts",

"scripts": {
"dev": "(npm run tsc-watch -- --preserveWatchOutput & p1=$!; npm run rollup-build -- --watch & p2=$!; wait $p1 $p2)",
"build": "rimraf dist .tmp && node scripts/write-version.js && npm run tsc && npm run rollup-build",

@@ -41,5 +42,6 @@ "rollup-build": "rollup -c ./rollup.config.js",

"version": "npm test && git add .",
"release:patch": "npm version patch --message 'v%s' && npm publish && git push --follow-tags",
"release:minor": "npm version minor --message 'v%s' && npm publish && git push --follow-tags",
"release:major": "npm version major --message 'v%s' && npm publish && git push --follow-tags"
"release:patch": "npm version patch --message 'v%s' && npm publish && npm run _release:push-branch",
"release:minor": "npm version minor --message 'v%s' && npm publish && npm run _release:push-branch",
"release:major": "npm version major --message 'v%s' && npm publish && npm run _release:push-branch",
"_release:push-branch": "git push --follow-tags --set-upstream origin `git rev-parse --abbrev-ref HEAD`"
},

@@ -46,0 +48,0 @@ "author": "tween.js contributors (https://github.com/tweenjs/tween.js/graphs/contributors)",

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