Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 6, 2025

Bumps animejs from 3.2.2 to 4.2.1.

Release notes

Sourced from animejs's releases.

v4.2.1

New features

Changes

  • Timer, Animation, Timeline
    • .reset(softReset): The softReset parameter type is now a Boolean instead of an int
  • Draggable
    • createDraggable(): The drag threshold is now 3px with a mouse and 7px with touch instead of 3px everywhere

Fixes

  • onScroll
    • Fix wrong target offsets calculation when container is scaled (#1098) (@​sxnb)
  • Types
    • Fix await animate() throwing Typescript error (#1043)

Docs

  • Every demos can now be edited on CodePen
  • Added .reset() chapters

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';

... (truncated)

Commits
  • 1bfdb09 v4.2.1
  • d91d3cf Merge pull request #1079 from AdeboyeDN/AdeboyeDN-feat/error-for-invalid-morp...
  • 5c6509d Keep Callback and promise types, just remove nullify then on this #1043 #1082
  • befebe7 Merge pull request #1091 from craig-jennings/craig/add-drag-threshold-parameter
  • 0135223 Set default touch dragTreshold to 7
  • 0f2b21b Merge pull request #1037 from TheHyrox/master
  • 7e9d4a7 Update motionpath.js with offset param
  • c849093 Merge branch 'dev' into pr/1037
  • 3736d36 Merge pull request #1098 from sxnb/fix/scaling-scroll-target
  • 8fac68d Use container instead of target to calculate scale, otherwise calling . clien...
  • 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.2.1.
- [Release notes](https://github.com/juliangarnier/anime/releases)
- [Commits](juliangarnier/anime@v3.2.2...v4.2.1)

---
updated-dependencies:
- dependency-name: animejs
  dependency-version: 4.2.1
  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 Oct 6, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Oct 6, 2025

CodSpeed Performance Report

Merging #2399 will not alter performance

Comparing dependabot/npm_and_yarn/reacnetgenerator/static/webpack/animejs-4.2.1 (b75bbcc) with master (943409a)

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

Summary

✅ 9 untouched
⏩ 8 skipped1

Footnotes

  1. 8 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 7, 2025

Superseded by #2401.

@dependabot dependabot bot closed this Oct 7, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/reacnetgenerator/static/webpack/animejs-4.2.1 branch October 7, 2025 17:02
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