Update animejs requirement from 2.2.0 to 3.0.0
Updates the requirements on animejs to permit the latest version.
Release notes
Sourced from animejs's releases.
v3.0.0
New features
- New easings: spring(mass, stiffness, damping, velocity) and steps(x)
- Add endDelay parameter
- New keyframes system
- New staggering helper
- New callbacks: loopBegin(), loopComplete(), changeBegin(), change() and changeComplete()
- Automatic CSS units conversion
- Responsive motion path animation
- New set() helper to apply values instantly to multiple targets
- ES6 Modules and new build process
- New documentation
- A website.
Bug fixes
- No need to re-define a transform property when animating multiple transforms on the same target in a timeline
- Improved simultaneous animations on the same target #257
- Allow remove() to remove targets from timeline #318 #286
- Reversed animations can now be delayed using endDelay #254
- Better inline style unit handling (check inline style before getComputedStyle) #251
- SVG scale property is no longer overridden by CSS transform scale #316
- Fix Uncaught “TypeError: Cannot read property 'targets' of undefined” when there are no TL parameters object specified #341
- Fix a bug that prevented specific HTML ids selectors to be selected (HEX colours) #281
- Fix wrong initial SVG transform value in some cases #340
API changes
- run() callback has been replaced by change()
- animations are now paused when tab of window is not active
- getValue() has been replaced by get()
- Cubic Bézier curves are now defined using a string ‘cubicBezier(x1,y1,x2,y2)’ instead of an array
- Timeline offset property has been replaced by timelineOffset #229
- Timeline offset can be set as a second argument inside .add()
Commits
- See full diff in compare view
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 cancel merge
will cancel a previously requested merge -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot ignore this [patch|minor|major] version
will close this PR and stop Dependabot creating any more for this minor/major 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) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.