Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps animejs from 4.0.1 to 4.2.2.

Release notes

Sourced from animejs's releases.

v4.2.2

Fixes

  • SVG
    • createMotionPath(): Fix a bug introduced in v4.2.1 that wrapped the target back to 0 when reaching 1 (#1104 )

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';
</tr></table> 

... (truncated)

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

---
updated-dependencies:
- dependency-name: animejs
  dependency-version: 4.2.2
  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 Oct 7, 2025
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.

0 participants