
Security News
npm v12 Ships With Install Scripts Off by Default, Begins Deprecating 2FA-Bypass Tokens
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.
@evidence-dev/preprocess
Advanced tools
This package is responsible for transforming Evidence Markdown files into Svelte Components / Pages.
The basic pipeline looks something like this:
---
title: Evidence Preprocess Steps
---
flowchart TD
A(["At Runtime *1"])
B["At Preprocess"]
Content[Markdown File]
ExtractQueries([Discover Queries for Page])
ExecuteQueries([Execute Queries for Page *2 *3])
MarkdownToSvelte["Convert Markdown to Svelte"]
AddScriptTags["Ensure script tags exist"]
InjectFrontmatter[Inject Frontmatter Tags]
Content --> A
A --> ExtractQueries
ExtractQueries --> ExecuteQueries
Content --> B
B --> MarkdownToSvelte
MarkdownToSvelte --> AddScriptTags
AddScriptTags --> InjectFrontmatter
*1 Evidence will render with the static adapter by default; which means that "runtime" becomes "buildtime".
*2 This is handled by the db-orchestrator package, not preprocess - but it is an important step.
*3 This occurs in /pages/api/[route].json. The Svelte Static Adapter pre-renders the result JSON files.
FAQs
Markdown preprocessor for evidence.dev projects
The npm package @evidence-dev/preprocess receives a total of 20,488 weekly downloads. As such, @evidence-dev/preprocess popularity was classified as popular.
We found that @evidence-dev/preprocess demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.

Research
/Security News
Socket tracks the activity as Operation “Muck and Load”: a threat actor uses commit-farming workflows, public dead drops, and protected archives to stage Windows RAT and infostealer malware.

Security News
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.