chartjs / chartjs/chartjs-plugin-zoom

Find a solution for hammerjs

Open
#938 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
623
Forks
331
Avg merge
7h 5m
Merged PRs (30d)
7

Description

hammerjs [has been unmaintained for 6 years](https://github.com/hammerjs/hammer.js/graphs/contributors). It's last version has been released 9 years ago.

Since we updated to chart.js 4, we get this:

▲ [WARNING] Module 'hammerjs' used by 'node_modules/chartjs-plugin-zoom/dist/chartjs-plugin-zoom.esm.js' is not ESM

It seems as if it's only a matter of time until things start to fall apart because of hammerjs - so maybe it's time to find an alternative?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing how hammerjs is used through node_modules/chartjs-plugin-zoom/dist/chartjs-plugin-zoom.esm.js with Chart.js 4. Compare possible approaches for removing the non-ESM warning and replacing the unmaintained dependency. Done means the plugin has a supported solution without relying on hammerjs and works with Chart.js 4.

Written by the indexing model from the issue text.

Assessment

Tech stack
chart.js, javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.