← Home

react-syntax-highlighter

syntax highlighting component for react with prismjs or highlightjs ast using inline styles

19
Versions
MIT
License
No
Install Scripts
Missing
Provenance

Supply chain provenance

Status for the latest visible version.

No SLSA provenance npm registry signatures gitHead linked

Without SLSA provenance there is no cryptographic link between this tarball and the public source — the axios compromise (March 2026) relied on exactly this gap.

Maintainers

conorhastingsmdejonghsimmerer

Keywords

reactsyntaxlowlighthighlightingast

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
provenance publisher-changed AI (provenance): Legitimate maintainer transition from conorhastings to simmerer within the react-syntax-highlighter GitHub org; simmerer has a strong track record (49 approved, 0 rejected). ai
publish-pattern new-deps-added AI (publish-pattern): highlightjs-vue is a legitimate highlight.js language extension consistent with this package's purpose; addition is benign and expected for Vue syntax support. ai
source-diff large-new-source-files AI (source-diff): react-syntax-highlighter routinely ships large numbers of generated language/theme definition files for highlight.js and prismjs; this is expected build output, not injected code. ai
dependencies unvetted-dep:prismjs AI (dependencies): prismjs is a core, well-known syntax highlighting library and a fundamental dependency of react-syntax-highlighter by design. Stable false positive for this package. ai

Versions (showing 19 of 119)

Version Deps Published
2.3.0 2 / 14
2.2.0 2 / 14
2.1.1 2 / 14
2.1.0 2 / 14
2.0.4 2 / 14
2.0.3 2 / 13
2.0.2 2 / 13
2.0.1 2 / 13
2.0.0 2 / 13
1.3.0 2 / 13
1.2.0 2 / 13
1.1.2 2 / 13
1.1.1 2 / 13
1.1.0 2 / 13
1.0.2 2 / 13
1.0.1 2 / 13
1.0.0 2 / 13
0.0.2 2 / 4
0.0.1 2 / 4