compression-webpack-plugin
Prepare compressed versions of assets to serve them with Content-Encoding
compression-webpack-plugin@12.0.0 was published on 2026-03-02. 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 >= 20.9.0.
All compression-webpack-plugin versions · Permanent reference to 12.0.0
Package specifications
| Version | 12.0.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-03-02T17:55:03.416Z |
| Node.js requirement | >= 20.9.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 | 39.98 KiB |
| Published file count | 6 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 10 |
| Repository stars | 1424 |
| Repository forks | 108 |
Install compression-webpack-plugin 12.0.0
npm install compression-webpack-plugin@12.0.0 pnpm add compression-webpack-plugin@12.0.0 yarn add compression-webpack-plugin@12.0.0
Runtime dependencies
- schema-utils ^4.2.0
- serialize-javascript ^7.0.3
Peer requirements
- webpack ^5.1.0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @types/json-schema@7.0.15 — indirect
- ajv@8.20.0 — indirect
- ajv-formats@3.0.1 — indirect
- ajv-keywords@5.1.0 — indirect
- fast-deep-equal@3.1.3 — indirect
- fast-uri@3.1.9 — indirect
- json-schema-traverse@1.0.0 — indirect
- require-from-string@2.0.2 — indirect
- schema-utils@4.8.1 — direct
- serialize-javascript@7.1.4 — 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.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Code-Review | 7/10 — Found 17/24 approved changesets -- score normalized to 7 |
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| Pinned-Dependencies | 4/10 — dependency not pinned by hash detected -- score normalized to 4 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Security-Policy | 10/10 — security policy file detected |
| Branch-Protection | 5/10 — branch protection is not maximal on development and all release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/compression-webpack-plugin/12.0.0 — retrieved 2026-10-29T10:51:16.406Z
- https://api.deps.dev/v3/systems/npm/packages/compression-webpack-plugin/versions/12.0.0 — retrieved 2026-10-29T10:51:16.917Z
- https://api.deps.dev/v3/systems/npm/packages/compression-webpack-plugin/versions/12.0.0:dependencies — retrieved 2026-10-29T10:51:16.954Z
- https://api.deps.dev/v3/projects/github.com%2Fwebpack%2Fcompression-webpack-plugin — retrieved 2026-10-29T10:51:17.064Z