Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 20, 2025

Bumps animejs from 3.2.2 to 4.0.2.

Release notes

Sourced from animejs's releases.

v4.0.2

Fixes

Timer

  • Fixes floating point inaccuracies with .stretch(). (#1005)

SVG

  • Fixes stroke-linecap defined in a stylesheet overriding attributes defined bycreateDrawable() . (#1002)
  • Fixes createDrawable() line effect issues when the attribute / property vector-effect is set to "non-scaling-stroke". (#793)

WAAPI

  • Fixes a Promise issue with WAAPI animations when the complete() method is called before the animation plays. (#1001)
  • Prevents conflicts between user defined CSS Custom Properties and the WAAPI animate() properties. (#1000)
  • Fixes a caching issue that prevented to use different parameters for the same easing function. (#999)

Draggable

  • Fixes .revert() not properly reverting the draggable internal Animatable, keeping the x and y styles defined. (#997)
  • Fixes onSettle() triggering on the onComplete callback of the x property, before the y property has updated, causing the draggable to sometimes not go back to its initial position. (#997)

Types

v4.0.1

Fixes

v4.0.0

A complete rewrite of Anime.js, with a modular, ESM-first API, improved performance, and TONS of new features.

[!TIP] If you're migrating from v3, check out the migration guide.

animejs-v4-release-video.mp4

Timer

createTimer(options)

Schedules and controls timed function callbacks that can be used as a replacement to setTimeout() or setInterval(), keeping animations and callbacks in sync. This is the base class that both Animation and Timeline inherit from.

  • Properties: duration, delay, loop, loopDelay, frameRate, playbackRate
  • Methods: play(), pause(), resume(), restart(), cancel(), seek(), stretch(), then()

Animation

animate(targets, options)

New parameters:

... (truncated)

Commits
  • 14e75f7 Build v4.0.2
  • 3b6584e Cleanup types
  • 7538f34 Fix setDashoffset and vector-effect="non-scaling-stroke" miscalculation #793
  • 2d52ab8 Fix stroke-linecap round / square defined in a stylesheet conflicting with cr...
  • 731ea28 Update tests styles
  • db8bebb Delete documentation.md
  • ef53486 Merge pull request #1004 from AdeboyeDN/feat/add-draggable-params-types
  • d6eada4 Compile types
  • 57e3ba1 Add draggables test
  • 163c9aa Fix floating points issue when stretching a timer / animation #1005
  • Additional commits viewable in compare view

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.0.2.
- [Release notes](https://github.com/juliangarnier/anime/releases)
- [Commits](juliangarnier/anime@v3.2.2...v4.0.2)

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

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 Jun 20, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Jun 20, 2025

CodSpeed Performance Report

Merging #2371 will not alter performance

Comparing dependabot/npm_and_yarn/reacnetgenerator/static/webpack/animejs-4.0.2 (2abdd46) with master (2b218d2)

Summary

✅ 8 untouched benchmarks

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 23, 2025

Superseded by #2379.

@dependabot dependabot bot closed this Jul 23, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/reacnetgenerator/static/webpack/animejs-4.0.2 branch July 23, 2025 18:24
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