
Security News
npm Tooling Bug Incorrectly Marks One-Character Packages as Security Holders
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.
weave-md-core
Advanced tools
Weave Markdown language contract - spec, schemas, types, and pure helpers
The language contract for Weave Markdown - spec, schemas, types, and pure helpers.
This package contains:
spec/) - Normative prose defining Weave Markdownschema/) - Machine-readable schemas for AST and graph structures@weave-md/core has no filesystem access and no rendering side effects. It provides:
parseNodeUrl(href: string) - Parse node: URLs into structured referencesformatNodeUrl(ref: NodeRef) - Format references back to node: URLsbuildGraph(sections: Section[], links: Link[]) - Build document graph with node connectionsdetectCycles(graph: Graph) - Detect circular references in the document graphnpm install @weave-md/core
import { parseNodeUrl, formatNodeUrl, buildGraph, SPEC_VERSION } from '@weave-md/core';
// Parse node URLs
const ref = parseNodeUrl('node:intro?display=footnote');
console.log(ref); // { id: 'intro', display: 'footnote' }
// Format node URLs
const url = formatNodeUrl({ id: 'intro', display: 'footnote' });
console.log(url); // 'node:intro?display=footnote'
// Build document graph
const graph = buildGraph(sections, links);
console.log(graph.nodes); // Graph nodes with incoming/outgoing connections
console.log(SPEC_VERSION); // '0.1.0'
import { GalleryBlock, MathBlock, VideoBlock } from '@weave-md/core/weave-format';
const gallery: GalleryBlock = {
type: 'gallery',
urls: ['image1.jpg', 'image2.jpg'],
columns: 3,
gap: 8,
aspect: '16:9'
};
@weave-md/parse - AST generation (depends on core)@weave-md/validate - Document-level validation (depends on core)@weave-md/basic - CLI, rendering, export (depends on parse + validate)MIT
FAQs
Weave Markdown language contract - spec, schemas, types, and pure helpers
We found that weave-md-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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 confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.