Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps animejs from 4.0.1 to 4.2.0.

Release notes

Sourced from animejs's releases.

v4.2.0

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 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
    • Fix inline styles with hyphens (e.g., border-radius, stroke-width) not being properly reverted
  • WAAPI

... (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 4.0.1 to 4.2.0.
- [Release notes](https://github.com/juliangarnier/anime/releases)
- [Commits](juliangarnier/anime@v4.0.1...v4.2.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 30, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 6, 2025

Superseded by #7250.

@dependabot dependabot bot closed this Oct 6, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/circumstellar-habitable-zone-simulator/animejs-4.2.0 branch October 6, 2025 10:45
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