@rollup/plugin-inject 4.0.3

Scan modules for global variables and injects `import` statements where necessary

@rollup/plugin-inject@4.0.3 was published on 2021-10-19. Its manifest declares 3 runtime dependencies and 1 peer requirement. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.

All @rollup/plugin-inject versions · Permanent reference to 4.0.3 · Latest release

Package specifications

Version4.0.3
License declarationMIT
Published2021-10-19T13:46:37.342Z
Node.js requirementNot declared
Type declarationsNot declared
Runtime dependency count3
Peer requirement count1
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size19.58 KiB
Published file count6
Package typeNot declared
ES module entrydist/index.es.js
Default entrydist/index.js
Side effects declarationNot declared
Direct advisoriesUnknown
Resolved graph dependenciesUnknown
Repository stars3762
Repository forks639

Install @rollup/plugin-inject 4.0.3

npm install @rollup/plugin-inject@4.0.3
pnpm add @rollup/plugin-inject@4.0.3
yarn add @rollup/plugin-inject@4.0.3

Runtime dependencies

Peer requirements

Optional dependencies

  • None declared

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-Review4/10 — Found 12/26 approved changesets -- score normalized to 4
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
Maintained10/10 — 17 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Binary-Artifacts7/10 — binaries present in source code
Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
Security-Policy0/10 — security policy file not detected
License10/10 — license file detected
Fuzzing0/10 — project is not fuzzed
SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

Evidence and freshness