@antv/g2 4.2.12
the Grammar of Graphics in Javascript
@antv/g2@4.2.12 was published on 2025-09-18. Its manifest declares 15 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All @antv/g2 versions · Permanent reference to 4.2.12 · Latest release
Package specifications
| Version | 4.2.12 |
|---|---|
| License declaration | MIT |
| Published | 2025-09-18T07:24:06.479Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 15 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 11511.11 KiB |
| Published file count | 1623 |
| Package type | Not declared |
| ES module entry | esm/index.js |
| Default entry | lib/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 27 |
| Repository stars | 12646 |
| Repository forks | 1663 |
Install @antv/g2 4.2.12
npm install @antv/g2@4.2.12 pnpm add @antv/g2@4.2.12 yarn add @antv/g2@4.2.12
Runtime dependencies
- tslib ^2.0.0
- @antv/attr ^0.3.1
- @antv/util ~2.0.5
- @antv/coord ^0.3.0
- @antv/g-svg ~0.5.6
- @antv/scale ^0.3.14
- @antv/adjust ^0.2.1
- @antv/g-base ~0.5.6
- @antv/dom-util ^2.0.2
- @antv/g-canvas ~0.5.10
- @antv/component ^0.8.27
- @antv/path-util ^2.0.15
- @antv/color-util ^2.0.2
- @antv/matrix-util ^3.1.0-beta.3
- @antv/event-emitter ~0.1.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @antv/adjust@0.2.5 — direct
- @antv/attr@0.3.5 — direct
- @antv/color-util@2.0.6 — direct
- @antv/component@0.8.35 — direct
- @antv/coord@0.3.1 — direct
- @antv/dom-util@2.0.4 — direct
- @antv/event-emitter@0.1.3 — direct
- @antv/g-base@0.5.16 — direct
- @antv/g-canvas@0.5.17 — direct
- @antv/g-math@0.1.9 — indirect
- @antv/g-svg@0.5.7 — direct
- @antv/matrix-util@3.0.4 — indirect
- @antv/matrix-util@3.1.0-beta.3 — direct
- @antv/path-util@2.0.15 — direct
- @antv/scale@0.3.18 — direct
- @antv/util@2.0.17 — direct
- @types/d3-timer@2.0.3 — indirect
- csstype@3.2.3 — indirect
- d3-color@3.1.0 — indirect
- d3-ease@1.0.7 — indirect
- d3-interpolate@3.0.1 — indirect
- d3-timer@1.0.10 — indirect
- detect-browser@5.3.0 — indirect
- fecha@4.2.3 — indirect
- gl-matrix@3.4.4 — indirect
- tslib@1.14.1 — indirect
- tslib@2.8.1 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 5/10 — Found 13/23 approved changesets -- score normalized to 5 |
|---|---|
| Maintained | 4/10 — 3 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 4 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| License | 10/10 — license file detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Fuzzing | 0/10 — project is not fuzzed |
| Security-Policy | 10/10 — security policy file detected |
| SAST | 8/10 — SAST tool is not run on all commits -- score normalized to 8 |
Evidence and freshness
- https://registry.npmjs.org/%40antv%2Fg2/4.2.12 — retrieved 2026-10-29T10:59:16.979Z
- https://api.deps.dev/v3/systems/npm/packages/%40antv%2Fg2/versions/4.2.12 — retrieved 2026-10-29T10:59:17.475Z
- https://api.deps.dev/v3/systems/npm/packages/%40antv%2Fg2/versions/4.2.12:dependencies — retrieved 2026-10-29T10:59:17.543Z
- https://api.deps.dev/v3/projects/github.com%2Fantvis%2Fg2 — retrieved 2026-10-29T10:59:18.156Z