Installations
npm install chartjs-plugin-zoom
Developer
chartjs
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
Yes
Node Version
20.18.1
NPM Version
10.8.2
Statistics
597 Stars
368 Commits
327 Forks
21 Watching
11 Branches
62 Contributors
Updated on 27 Nov 2024
Bundle Size
34.93 kB
Minified
12.00 kB
Minified + Gzipped
Languages
JavaScript (98.21%)
TypeScript (1.14%)
Shell (0.54%)
Dockerfile (0.12%)
Total Downloads
Cumulative downloads
Total Downloads
16,406,843
Last day
-2.3%
29,119
Compared to previous day
Last week
2.5%
154,334
Compared to previous week
Last month
10.7%
642,363
Compared to previous month
Last year
43.5%
6,758,861
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
2
Peer Dependencies
1
Dev Dependencies
45
chartjs-plugin-zoom
A zoom and pan plugin for Chart.js >= 3.0.0
For Chart.js 2.6.0 to 2.9.x support, use version 0.7.7 of this plugin.
Panning can be done via the mouse or with a finger. Zooming is done via the mouse wheel or via a pinch gesture. Hammer.js is used for gesture recognition.
Documentation
You can find documentation for chartjs-plugin-zoom at www.chartjs.org/chartjs-plugin-zoom.
Prior to v0.4.0, this plugin was known as 'Chart.Zoom.js'. Old versions are still available on npm under that name.
Contributing
Before submitting an issue or a pull request to the project, please take a moment to look over the contributing guidelines first.
License
chartjs-plugin-zoom.js is available under the MIT license.
No vulnerabilities found.
Reason
30 commit(s) and 17 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE.md:0
- Info: FSF or OSI recognized license: MIT License: LICENSE.md:0
Reason
Found 7/22 approved changesets -- score normalized to 3
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/ci.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/ci.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/ci.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/ci.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/ci.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/compressed-size.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/compressed-size.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/compressed-size.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/compressed-size.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/documentation.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/documentation.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/documentation.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/documentation.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/documentation.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/documentation.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/documentation.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/documentation.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/documentation.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/documentation.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-npm.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/publish-npm.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-npm.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/publish-npm.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-npm.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/publish-npm.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-npm.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/publish-npm.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-npm.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/publish-npm.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-npm.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/publish-npm.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-npm.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/publish-npm.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-npm.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/publish-npm.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-npm.yml:106: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/publish-npm.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-npm.yml:107: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/publish-npm.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-npm.yml:123: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/publish-npm.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-npm.yml:131: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/publish-npm.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-drafter.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/chartjs/chartjs-plugin-zoom/release-drafter.yml/master?enable=pin
- Warn: containerImage not pinned by hash: .devcontainer/Dockerfile:1: pin your Docker image by updating node:23-alpine3.19 to node:23-alpine3.19@sha256:4ebaf825598cb2f47eb2a52c4a0badf800681b49064e9cae73d3ae7a31a7ee44
- Info: 0 out of 16 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 9 third-party GitHubAction dependencies pinned
- Info: 0 out of 1 containerImage dependencies pinned
- Info: 6 out of 6 npmCommand dependencies pinned
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/ci.yml:1
- Warn: no topLevel permission defined: .github/workflows/compressed-size.yml:1
- Warn: no topLevel permission defined: .github/workflows/documentation.yml:1
- Warn: no topLevel permission defined: .github/workflows/publish-npm.yml:1
- Warn: no topLevel permission defined: .github/workflows/release-drafter.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
Project has not signed or included provenance with any releases.
Details
- Warn: release artifact v2.2.0 not signed: https://api.github.com/repos/chartjs/chartjs-plugin-zoom/releases/186705641
- Warn: release artifact v2.1.0 not signed: https://api.github.com/repos/chartjs/chartjs-plugin-zoom/releases/96490897
- Warn: release artifact v2.0.1 not signed: https://api.github.com/repos/chartjs/chartjs-plugin-zoom/releases/85823891
- Warn: release artifact v2.0.0 not signed: https://api.github.com/repos/chartjs/chartjs-plugin-zoom/releases/84036377
- Warn: release artifact v1.2.1 not signed: https://api.github.com/repos/chartjs/chartjs-plugin-zoom/releases/53498728
- Warn: release artifact v2.2.0 does not have provenance: https://api.github.com/repos/chartjs/chartjs-plugin-zoom/releases/186705641
- Warn: release artifact v2.1.0 does not have provenance: https://api.github.com/repos/chartjs/chartjs-plugin-zoom/releases/96490897
- Warn: release artifact v2.0.1 does not have provenance: https://api.github.com/repos/chartjs/chartjs-plugin-zoom/releases/85823891
- Warn: release artifact v2.0.0 does not have provenance: https://api.github.com/repos/chartjs/chartjs-plugin-zoom/releases/84036377
- Warn: release artifact v1.2.1 does not have provenance: https://api.github.com/repos/chartjs/chartjs-plugin-zoom/releases/53498728
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 27 are checked with a SAST tool
Reason
25 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97
- Warn: Project is vulnerable to: GHSA-7wwv-vh3v-89cq
- Warn: Project is vulnerable to: GHSA-pfq8-rq6v-vf5m
- Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27
- Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-6vfc-qv3f-vr6c
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-5rrq-pxf6-6jx5
- Warn: Project is vulnerable to: GHSA-8fr3-hfg3-gpgp
- Warn: Project is vulnerable to: GHSA-gf8q-jrpm-jvxq
- Warn: Project is vulnerable to: GHSA-2r2c-g63r-vccr
- Warn: Project is vulnerable to: GHSA-cfm4-qjh2-4765
- Warn: Project is vulnerable to: GHSA-x4jg-mjrx-434g
- Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr
- Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-5j4c-8p2g-v4jx
- Warn: Project is vulnerable to: GHSA-g3ch-rx76-35fx
- Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6
Score
3.9
/10
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More