Scan your whole stack
Are you using @djangocfg/widget-diagram?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.31
@djangocfg/widget-diagram was last scanned on 1 Dec 2026 at version 0.1.31. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.31 LATEST | 1 Dec 2026 | No rules fired |
| 0.1.30 | 1 Dec 2026 | No rules fired |
| 0.1.29 | 30 Nov 2026 | No rules fired |
| 0.1.27 | 11 Nov 2026 | Not shown |
| 0.1.26 | 11 Nov 2026 | Not shown |
Findings for v0.1.31. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.31; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Mermaid diagrams, both halves: typed builders that WRITE the source, and a
full-parser renderer that DRAWS it. Supports the diagram types covered by the builders (FlowDiagram,
SequenceDiagram, JourneyDiagram) plus anything else Mermaid parses (gantt,
class, state, ER, pie, mindmap, …) via the chart prop. Click-to-fullscreen
via the floating toolbar.
pnpm add @djangocfg/widget-diagram @djangocfg/ui-core
@djangocfg/widget-media/diagram is the OTHER one, and it is not a duplicate.
widget-diagram |
widget-media/diagram |
|
|---|---|---|
| Parser | mermaid, ~84 MB unpacked |
beautiful-mermaid, ~2 MB |
| Covers | everything mermaid parses | flowchart, sequence, state, class, ER — source otherwise |
| For | a surface whose job IS the diagram | a chat transcript, where most messages have none |
Do not import both into one app.
import { FlowDiagram } from '@djangocfg/widget-diagram/builders';
The ./builders subpath holds no static edge to the parser, so a server pass,
a test or a CLI can write diagram source without resolving a renderer.
src/entries.test.ts walks the graph and holds that.
pnpm --filter @djangocfg/widget-diagram check-types test
import Mermaid from '@djangocfg/widget-diagram';
<Mermaid chart={`
flowchart LR
A[Client] --> B[API] --> C[(DB)]
`} />
Builder API:
import Mermaid, { FlowDiagram } from '@djangocfg/widget-diagram';
const chart = new FlowDiagram({ direction: 'LR' })
.node('a', 'Client')
.node('b', 'API')
.edge('a', 'b')
.build();
<Mermaid chart={chart} />
| Prop | Type | Default | Description |
|---|---|---|---|
chart |
string |
— | Mermaid source. |
isCompact |
boolean |
false |
Tighter padding for embedded contexts. |
fullscreen |
boolean |
true |
Click-to-fullscreen via the floating toolbar. |
scrollIsolation |
boolean |
false |
Lock page wheel while hovering. Off by default — Mermaid SVGs don't scroll, the overlay just steals wheel events. |
debounceMs |
number |
300 |
Re-render debounce after chart changes. Lower for static diagrams, higher while streaming. |
className |
string |
— | — |
lazy()-wrapped with a Suspense spinner, so the cost is only paid when a diagram is actually mounted.useThemePalette / useStylePresets / useBoxColors (exported alongside the builders) — Mermaid colors follow the active app theme; do not hard-code hex.Adapted from jalcoui (MIT).
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.