
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
@nitrosend/email-renderer
Advanced tools
Nitrosend email renderer: section design JSON -> MJML. The single implementation of email section semantics, executed in the browser canvas and embedded in the Rails API.
The single implementation of Nitrosend email section semantics: section design JSON → MJML. Executed in two hosts from the same artifact:
MJML → HTML compilation uses the same pinned MRML build on both sides, so output is identical by construction.
import { loadSchema, documentToMjml, renderDocumentMjml } from "@nitrosend/email-renderer";
import schema from "@nitrosend/email-renderer/schema.json";
loadSchema(schema); // once per process; or pass the /v1/my/templates/spec payload
// Canvas mode: inline theme, no mj-head (canvas hosts render head elements
// as visible components)
const canvasMjml = documentToMjml(design);
// Document mode: full MJML with mj-head (font imports, heading rule,
// mj-attributes defaults) — what the server host executes
const mjml = renderDocumentMjml(design);
design is Nitrosend's section document: { version, theme, sections: [{ type, props, styles }] }.
schema.json is a generated snapshot of the component schema (theme + style
attribute registries). The source of truth is config/email_components.yml in
the API; regenerate with bin/rails email:goldens:generate there.
goldens/ locks rendering behavior:
*.design.json — the corpus (library templates, starters, synthetics),
exported by the API's golden generator.*.server.mjml — the Rails renderer's output for each design (the parity
reference).*.ts.mjml — this package's locked output. npm test fails on any drift;
regenerate intentionally with UPDATE_GOLDENS=1 npm test.DIVERGENCE.md — the tracked structural gap list between the two engines
(regenerated on every test run; empty is the parity goal).npm install
npm test
FAQs
Nitrosend email renderer: section design JSON -> MJML. The single implementation of email section semantics, executed in the browser canvas and embedded in the Rails API.
The npm package @nitrosend/email-renderer receives a total of 27 weekly downloads. As such, @nitrosend/email-renderer popularity was classified as not popular.
We found that @nitrosend/email-renderer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.