Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 29, 2025

Bumps animejs from 3.2.2 to 4.2.0.

Release notes

Sourced from animejs's releases.

v4.2.0

Looking at the structure of the second file, I'll reformat the first file to match that cleaner format:

Breaking Changes

  • Utils
    • Remove interpolate() (use the simplified lerp() instead)
    • Remove the clock parameter from lerp() (use the framerate dependent damping function damp() instead)
    • Setting a CSS variable using utils.set() now computes the variable value instead of setting the var name. To set the variable name without conversion, use a function-based value (x: () => var(--value)) or use the native element.style.setProperty('--value')
  • Easings
    • linear(), irregular(), steps() and cubicBezier() have been removed from the core and must now be imported separately

New Features

  • API
    • All modules can now be imported individually with subpaths:
import { animate } from 'animejs/animation';
import { createTimer } from 'animejs/timer';
import { createTimeline } from 'animejs/timeline';
import { createAnimatable } from 'animejs/animatable';
import { createDraggable } from 'animejs/draggable';
import { createScope } from 'animejs/scope';
import { engine } from 'animejs/engine';
import * as events from 'animejs/events';
import * as easings from 'animejs/easings';
import * as utils from 'animejs/utils';
import * as svg from 'animejs/svg';
import * as text from 'animejs/text';
import * as waapi from 'animejs/waapi';
  • Spring
    • Add bounce parameter to control the strength of the spring
    • Add duration parameter to define the perceived duration of the spring
    • Add onComplete callback called when the spring currentTime hits the perceived duration
    • Support for over-damped springs with stiffness values below 30 (previously these values had no effect)
  • WAAPI
    • waapi.animate() built-in eases are now on par with the JS animate() method, plus all native WAAPI easing parameters
    • Add persist parameter to control whether the animation should be canceled on finish
  • JS Animation
    • Add support for CSS variable values (e.g., animate(target, { x: 'var(--x, 100px)' }))
  • Utils
    • Add createSeededRandom() to generate pre-seeded pseudo-random utility functions
  • Docs

Bug Fixes

  • Draggable
    • Allow touch dragging within Shadow DOM (#1067)
    • Fix draggable getting stuck while dragging near the origin of the initial grab
  • Animation
    • Fix animation.revert() not properly reverting multi-target animations styles when targets have different starting style values

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [animejs](https://github.com/juliangarnier/anime) from 3.2.2 to 4.2.0.
- [Release notes](https://github.com/juliangarnier/anime/releases)
- [Commits](juliangarnier/anime@v3.2.2...v4.2.0)

---
updated-dependencies:
- dependency-name: animejs
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 29, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Sep 29, 2025

CodSpeed WallTime Performance Report

Merging #2398 will not alter performance

Comparing dependabot/npm_and_yarn/reacnetgenerator/static/webpack/animejs-4.2.0 (44a26dd) with master (cb83bba)1

Summary

✅ 9 untouched

Footnotes

  1. No successful run was found on master (1ead4bb) during the generation of this report, so cb83bba was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 6, 2025

Superseded by #2399.

@dependabot dependabot bot closed this Oct 6, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/reacnetgenerator/static/webpack/animejs-4.2.0 branch October 6, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant