@mapbox/postcss-html-filter 2.0.0
Filter CSS through HTML, removing selectors that do not apply to the HTML
@mapbox/postcss-html-filter@2.0.0 was published on 2020-06-15. Its manifest declares 5 runtime dependencies and 1 peer requirement. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=10.
All @mapbox/postcss-html-filter versions · Permanent reference to 2.0.0 · Latest release
Package specifications
| Version | 2.0.0 |
|---|---|
| License declaration | MIT |
| Published | 2020-06-15T20:52:48.789Z |
| Node.js requirement | >=10 |
| Type declarations | Not declared |
| Runtime dependency count | 5 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 16.27 KiB |
| Published file count | 12 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 38 |
| Repository stars | 11 |
| Repository forks | 3 |
Install @mapbox/postcss-html-filter 2.0.0
npm install @mapbox/postcss-html-filter@2.0.0 pnpm add @mapbox/postcss-html-filter@2.0.0 yarn add @mapbox/postcss-html-filter@2.0.0
Runtime dependencies
- cheerio ^1.0.0-rc.3
- lodash ^4.17.15
- postcss-discard-empty ^4.0.1
- postcss-discard-unused ^4.0.1
- postcss-selector-parser ^6.0.2
Peer requirements
- postcss >=5.0.0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- boolbase@1.0.0 — indirect
- cheerio@1.2.0 — direct
- cheerio-select@2.1.0 — indirect
- css-select@5.2.2 — indirect
- css-what@6.2.2 — indirect
- cssesc@3.0.0 — indirect
- dom-serializer@2.0.0 — indirect
- domelementtype@2.3.0 — indirect
- domhandler@5.0.3 — indirect
- domutils@3.2.2 — indirect
- dot-prop@5.3.0 — indirect
- encoding-sniffer@0.2.1 — indirect
- entities@4.5.0 — indirect
- entities@6.0.1 — indirect
- entities@7.0.1 — indirect
- htmlparser2@10.1.0 — indirect
- iconv-lite@0.6.3 — indirect
- indexes-of@1.0.1 — indirect
- is-obj@2.0.0 — indirect
- lodash@4.18.1 — direct
- nth-check@2.1.1 — indirect
- parse5@7.3.0 — indirect
- parse5-htmlparser2-tree-adapter@7.1.0 — indirect
- parse5-parser-stream@7.1.2 — indirect
- picocolors@0.2.1 — indirect
- postcss@7.0.39 — indirect
- postcss-discard-empty@4.0.1 — direct
- postcss-discard-unused@4.0.1 — direct
- postcss-selector-parser@3.1.2 — indirect
- postcss-selector-parser@6.1.5 — direct
- safer-buffer@2.1.2 — indirect
- source-map@0.6.1 — indirect
- undici@7.30.1 — indirect
- uniq@1.0.1 — indirect
- uniqs@2.0.0 — indirect
- util-deprecate@1.0.2 — indirect
- whatwg-encoding@3.1.1 — indirect
- whatwg-mimetype@4.0.0 — 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 | 1/10 — Found 3/25 approved changesets -- score normalized to 1 |
|---|---|
| Maintained | 0/10 — project is archived |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| 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 |
| Branch-Protection | 6/10 — branch protection is not maximal on development and all release branches |
| Security-Policy | 10/10 — security policy file detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/%40mapbox%2Fpostcss-html-filter/2.0.0 — retrieved 2026-10-29T14:15:25.586Z
- https://api.deps.dev/v3/projects/github.com%2Fmapbox%2Fpostcss-html-filter — retrieved 2026-10-29T13:08:44.571Z
- https://api.deps.dev/v3/systems/npm/packages/%40mapbox%2Fpostcss-html-filter/versions/2.0.0 — retrieved 2026-10-29T14:15:26.097Z
- https://api.deps.dev/v3/systems/npm/packages/%40mapbox%2Fpostcss-html-filter/versions/2.0.0:dependencies — retrieved 2026-10-29T14:15:26.134Z