@rollup/plugin-inject 5.0.3
Scan modules for global variables and injects `import` statements where necessary
@rollup/plugin-inject@5.0.3 was published on 2022-12-17. Its manifest declares 3 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=14.0.0.
All @rollup/plugin-inject versions · Permanent reference to 5.0.3 · Latest release
Package specifications
| Version | 5.0.3 |
|---|---|
| License declaration | MIT |
| Published | 2022-12-17T15:03:33.059Z |
| Node.js requirement | >=14.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 3 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 18.56 KiB |
| Published file count | 6 |
| Package type | Not declared |
| ES module entry | ./dist/es/index.js |
| Default entry | ./dist/cjs/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 6 |
| Repository stars | 3762 |
| Repository forks | 639 |
Install @rollup/plugin-inject 5.0.3
npm install @rollup/plugin-inject@5.0.3 pnpm add @rollup/plugin-inject@5.0.3 yarn add @rollup/plugin-inject@5.0.3
Runtime dependencies
- @rollup/pluginutils ^5.0.1
- estree-walker ^2.0.2
- magic-string ^0.27.0
Peer requirements
- rollup ^1.20.0||^2.0.0||^3.0.0 (optional peer)
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @jridgewell/sourcemap-codec@1.6.0 — indirect
- @rollup/pluginutils@5.5.1 — direct
- @types/estree@1.0.9 — indirect
- estree-walker@2.0.2 — direct
- magic-string@0.27.0 — direct
- picomatch@4.0.7 — indirect
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 | 4/10 — Found 12/26 approved changesets -- score normalized to 4 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Maintained | 10/10 — 17 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 7/10 — binaries present in source code |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Security-Policy | 0/10 — security policy file not detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/%40rollup%2Fplugin-inject/5.0.3 — retrieved 2026-10-29T11:56:02.391Z
- https://api.deps.dev/v3/projects/github.com%2Frollup%2Fplugins — retrieved 2026-10-29T06:01:06.986Z
- https://api.deps.dev/v3/systems/npm/packages/%40rollup%2Fplugin-inject/versions/5.0.3:dependencies — retrieved 2026-10-29T11:56:02.932Z
- https://api.deps.dev/v3/systems/npm/packages/%40rollup%2Fplugin-inject/versions/5.0.3 — retrieved 2026-10-29T11:56:02.953Z