@rollup/plugin-sucrase 4.0.4
Compile TypeScript, Flow, JSX, etc with Sucrase
@rollup/plugin-sucrase@4.0.4 was published on 2022-05-14. Its manifest declares 2 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=12.0.0.
All @rollup/plugin-sucrase versions · Permanent reference to 4.0.4 · View npm registry JSON · Latest release
Package specifications
| Version | 4.0.4 |
|---|---|
| License declaration | MIT |
| Published | 2022-05-14T23:05:36.556Z |
| Node.js requirement | >=12.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 8.80 KiB |
| Published file count | 5 |
| Package type | Not declared |
| ES module entry | dist/index.es.js |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 20 |
| Repository stars | 3762 |
| Repository forks | 639 |
Install @rollup/plugin-sucrase 4.0.4
npm install @rollup/plugin-sucrase@4.0.4 pnpm add @rollup/plugin-sucrase@4.0.4 yarn add @rollup/plugin-sucrase@4.0.4
Runtime dependencies
- sucrase ^3.20.0
- @rollup/pluginutils ^4.1.1
Peer requirements
- rollup ^2.53.1
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @jridgewell/gen-mapping@0.3.13 — indirect
- @jridgewell/resolve-uri@3.1.2 — indirect
- @jridgewell/sourcemap-codec@1.6.0 — indirect
- @jridgewell/trace-mapping@0.3.31 — indirect
- @rollup/pluginutils@4.2.1 — direct
- any-promise@1.3.0 — indirect
- commander@4.1.1 — indirect
- estree-walker@2.0.2 — indirect
- fdir@6.5.0 — indirect
- lines-and-columns@1.2.4 — indirect
- mz@2.7.0 — indirect
- object-assign@4.1.1 — indirect
- picomatch@2.3.2 — indirect
- picomatch@4.0.7 — indirect
- pirates@4.0.7 — indirect
- sucrase@3.35.1 — direct
- thenify@3.3.1 — indirect
- thenify-all@1.6.0 — indirect
- tinyglobby@0.2.17 — indirect
- ts-interface-checker@0.1.13 — 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
- Readable npm registry JSON — retrieved 2026-11-05T15:28:57.959Z
- https://api.deps.dev/v3/systems/npm/packages/%40rollup%2Fplugin-sucrase/versions/4.0.4 — retrieved 2026-11-05T15:28:58.044Z
- https://api.deps.dev/v3/systems/npm/packages/%40rollup%2Fplugin-sucrase/versions/4.0.4:dependencies — retrieved 2026-11-05T15:28:58.080Z
- https://api.deps.dev/v3/projects/github.com%2Frollup%2Fplugins — retrieved 2026-11-05T11:46:44.527Z