Scan your whole stack
Are you using @nowline/renderer?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.0.0-dev.20261130205208.gdbe9b87
@nowline/renderer was last scanned on 30 Nov 2026 at version 0.0.0-dev.20261130205208.gdbe9b87. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.0.0-dev.20261130205208.gdbe9b87 LATEST | 30 Nov 2026 | No rules fired |
| 0.0.0-dev.20261113081432.g753acbe | 13 Nov 2026 | No rules fired |
| 0.13.0 | 13 Nov 2026 | No rules fired |
| 0.0.0-dev.20261113064443.g59273e1 | 13 Nov 2026 | Not shown |
| 0.0.0-dev.20261113044039.g6e1e35a | 13 Nov 2026 | Not shown |
Findings for v0.0.0-dev.20261130205208.gdbe9b87. 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.0.0-dev.20261130205208.gdbe9b87; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
SVG renderer for the Nowline roadmap DSL.
@nowline/renderer takes a positioned model from @nowline/layout
and emits a deterministic SVG string. It is palette-dumb (every color comes
from the positioned model), browser-safe (no fs, path, process, or
Buffer), and has no runtime dependencies beyond @nowline/layout.
Other output formats live in dedicated packages. PNG, PDF, HTML, Mermaid, XLSX, and MS Project XML are produced by
@nowline/export-png,@nowline/export-pdf,@nowline/export-html,@nowline/export-mermaid,@nowline/export-xlsx, and@nowline/export-msprojrespectively. Each one takes the renderer's SVG (or the AST) as input and adds only the runtime dependency it needs — keeping the renderer browser-safe and the per-format install footprint small. Seespecs/handoffs/m2c.md§ 1 for the rationale.
pnpm add @nowline/renderer @nowline/layout @nowline/core
import { layoutRoadmap } from '@nowline/layout';
import { renderSvg } from '@nowline/renderer';
const model = layoutRoadmap(file, resolved, { theme: 'light' });
const svg = await renderSvg(model, {
// optional; used when a roadmap declares a logo path
assetResolver: async (ref) => {
const bytes = await fetchLogoBytes(ref); // your IO
return { bytes, mime: 'image/svg+xml' };
},
noLinks: false, // strip link icons when true
strict: false, // promote asset warnings to errors
warn: (message) => console.warn(message),
});
svg; // string: <svg ...>...</svg>
The returned string is UTF-8 text ready to write to a file, send over HTTP, or inline into HTML.
Given identical (model, options) inputs, renderSvg() returns a byte-identical
string every call. Guarantees:
Math.random, no timestamps).Date.now() or environment-dependent formatting.This makes SVG snapshot tests meaningful: a diff is always a real change, never noise.
sanitizeSvg() → id-namespaced → embedded as <g>..png/.jpg/.jpeg/.webp): base64-encoded and embedded
as <image href="data:image/<type>;base64,...">. No re-encoding.warn(), placeholder rendered. strict: true promotes to an exception.All IO goes through the injected AssetResolver. The renderer never touches
the filesystem.
sanitizeSvg(input: string): string is an in-house allow-list walker designed
to neutralize hostile SVG payloads embedded as roadmap logos. It:
<script>, <foreignObject>, and unknown element types.on* attributes).href / xlink:href; allows fragment-only references.data: URLs inside nested references.nl-logo-* prefix to prevent collisions.The sanitizer is unit-tested against a corpus of malicious and benign SVGs. Zero runtime dependencies.
Rendered SVGs include an inline Nowline attribution mark linking to
https://nowline.io. Per project policy, stripping the mark requires a
commercial license.
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.