@rollup/plugin-commonjs 26.0.2
Convert CommonJS modules to ES2015
@rollup/plugin-commonjs@26.0.2 was published on 2024-09-23. Its manifest declares 6 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=16.0.0 || 14 >= 14.17.
All @rollup/plugin-commonjs versions · Permanent reference to 26.0.2 · Latest release
Package specifications
| Version | 26.0.2 |
|---|---|
| License declaration | MIT |
| Published | 2024-09-23T15:06:38.042Z |
| Node.js requirement | >=16.0.0 || 14 >= 14.17 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 6 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 252.76 KiB |
| Published file count | 8 |
| 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 | 49 |
| Repository stars | 3762 |
| Repository forks | 639 |
Install @rollup/plugin-commonjs 26.0.2
npm install @rollup/plugin-commonjs@26.0.2 pnpm add @rollup/plugin-commonjs@26.0.2 yarn add @rollup/plugin-commonjs@26.0.2
Runtime dependencies
- glob ^10.4.1
- commondir ^1.0.1
- is-reference 1.2.1
- magic-string ^0.30.3
- estree-walker ^2.0.2
- @rollup/pluginutils ^5.0.1
Peer requirements
- rollup ^2.68.0||^3.0.0||^4.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.
- @rollup/pluginutils@5.5.1 — direct
- commondir@1.0.1 — direct
- estree-walker@2.0.2 — direct
- glob@10.5.0 — direct
- is-reference@1.2.1 — direct
- magic-string@0.30.21 — direct
- @types/estree@1.0.9 — indirect
- picomatch@4.0.7 — indirect
- foreground-child@3.3.1 — indirect
- jackspeak@3.4.3 — indirect
- minimatch@9.0.9 — indirect
- minipass@7.1.3 — indirect
- package-json-from-dist@1.0.1 — indirect
- path-scurry@1.11.1 — indirect
- @jridgewell/sourcemap-codec@1.6.0 — indirect
- cross-spawn@7.0.6 — indirect
- signal-exit@4.1.0 — indirect
- @isaacs/cliui@8.0.2 — indirect
- @pkgjs/parseargs@0.11.0 — indirect
- brace-expansion@2.1.7 — indirect
- lru-cache@10.4.3 — indirect
- path-key@3.1.1 — indirect
- shebang-command@2.0.0 — indirect
- which@2.0.2 — indirect
- string-width@4.2.3 — indirect
- string-width@5.1.2 — indirect
- strip-ansi@6.0.1 — indirect
- strip-ansi@7.2.0 — indirect
- wrap-ansi@7.0.0 — indirect
- wrap-ansi@8.1.0 — indirect
- balanced-match@1.0.2 — indirect
- shebang-regex@3.0.0 — indirect
- isexe@2.0.0 — indirect
- emoji-regex@8.0.0 — indirect
- is-fullwidth-code-point@3.0.0 — indirect
- strip-ansi@6.0.1 — indirect
- eastasianwidth@0.2.0 — indirect
- emoji-regex@9.2.2 — indirect
- ansi-regex@5.0.1 — indirect
- ansi-regex@6.4.0 — indirect
- ansi-styles@4.3.0 — indirect
- string-width@4.2.3 — indirect
- strip-ansi@6.0.1 — indirect
- ansi-styles@6.2.3 — indirect
- ansi-regex@5.0.1 — indirect
- color-convert@2.0.1 — indirect
- emoji-regex@8.0.0 — indirect
- ansi-regex@5.0.1 — indirect
- color-name@1.1.4 — 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-commonjs/26.0.2 — retrieved 2026-10-29T14:15:14.587Z
- https://api.deps.dev/v3/projects/github.com%2Frollup%2Fplugins — retrieved 2026-10-29T12:01:26.331Z
- https://api.deps.dev/v3/systems/npm/packages/%40rollup%2Fplugin-commonjs/versions/26.0.2 — retrieved 2026-10-29T14:15:15.142Z
- https://api.deps.dev/v3/systems/npm/packages/%40rollup%2Fplugin-commonjs/versions/26.0.2:dependencies — retrieved 2026-10-29T14:15:15.166Z