@babel/plugin-transform-react-constant-elements 7.21.3
Treat React JSX elements as value types and hoist them to the highest scope
@babel/plugin-transform-react-constant-elements@7.21.3 was published on 2023-03-14. Its manifest declares 1 runtime dependency and 1 peer requirement. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=6.9.0.
All @babel/plugin-transform-react-constant-elements versions · Permanent reference to 7.21.3 · Latest release
Package specifications
| Version | 7.21.3 |
|---|---|
| License declaration | MIT |
| Published | 2023-03-14T14:59:35.284Z |
| Node.js requirement | >=6.9.0 |
| Type declarations | Not declared |
| Runtime dependency count | 1 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 22.74 KiB |
| Published file count | 5 |
| Package type | commonjs |
| ES module entry | Not declared |
| Default entry | ./lib/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 1 |
| Repository stars | 44052 |
| Repository forks | 5960 |
Install @babel/plugin-transform-react-constant-elements 7.21.3
npm install @babel/plugin-transform-react-constant-elements@7.21.3 pnpm add @babel/plugin-transform-react-constant-elements@7.21.3 yarn add @babel/plugin-transform-react-constant-elements@7.21.3
Runtime dependencies
- @babel/helper-plugin-utils ^7.20.2
Peer requirements
- @babel/core ^7.0.0-0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @babel/helper-plugin-utils@7.29.7 — 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 | 9/10 — Found 27/30 approved changesets -- score normalized to 9 |
|---|---|
| Security-Policy | 10/10 — security policy file detected |
| Maintained | 10/10 — 30 commit(s) and 27 issue activity found in the last 90 days -- score normalized to 10 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| CII-Best-Practices | 2/10 — badge detected: InProgress |
| Token-Permissions | 9/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 |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
| Fuzzing | 0/10 — project is not fuzzed |
Evidence and freshness
- https://registry.npmjs.org/%40babel%2Fplugin-transform-react-constant-elements/7.21.3 — retrieved 2026-10-29T12:43:56.086Z
- https://api.deps.dev/v3/projects/github.com%2Fbabel%2Fbabel — retrieved 2026-10-29T11:09:19.462Z
- https://api.deps.dev/v3/systems/npm/packages/%40babel%2Fplugin-transform-react-constant-elements/versions/7.21.3 — retrieved 2026-10-29T12:43:56.597Z
- https://api.deps.dev/v3/systems/npm/packages/%40babel%2Fplugin-transform-react-constant-elements/versions/7.21.3:dependencies — retrieved 2026-10-29T12:43:56.621Z