Last 12 weeks · 64 commits
4 of 6 standards met
Stabilizes the RFC 9651 Structured Field Values module (added in #6963). Renames → ; export is now Renames the type to , as it shadowed TypeScript's built-in utility type Removes tags and exports the module from Updates imports accordingly The module passes the official HTTPWG conformance suite and has had no behavioral changes since landing.
Summary Cleanup of the public API in preparation for a future stabilization proposal. The goal is to remove surface that should not be stabilized and fix documentation that did not match actual behavior, so the API that remains is the API we would commit to at 1.0.0. Breaking changes Remove unused exported types. The union and its event interfaces (, , , , , ) and were leftovers from a pre-callback event-object design and appeared in no public function signature. is the tokenizer's internal contract and has moved to . Rename to . It survives only as the type of , so the suffix was a misnomer. no longer appends to messages when position tracking is disabled. is documented as the sentinel for "position unknown". Documentation fixes and are UTF-16 code-unit offsets into the input string, not byte offsets. is keyed by the raw qualified attribute name (e.g. , ), not the local name. now documents that it only fires when is set; under the default, a DOCTYPE throws. Tests Public-level DOCTYPE tests: receives name, public ID, and system ID; the default rejects DOCTYPE without invoking the callback (previously only covered at the internal tokenizer level). Tests for the position-suffix behavior of . Test plan [x] passes locally _This PR was developed with the assistance of an AI agent in Cursor; all changes were reviewed and verified by me._
Repository: denoland/std. Description: The Deno Standard Library Stars: 3547, Forks: 676. Primary language: TypeScript. Languages: TypeScript (96.4%), JavaScript (3.3%), Rust (0.2%). License: MIT. Homepage: https://jsr.io/@std Topics: deno, javascript, typescript. Latest release: release-2026.06.30 (1d ago). Open PRs: 55, open issues: 235. Last activity: 1d ago. Community health: 87%. Top contributors: iuioiua, kt3k, timreichen, bartlomieju, ry, denobot, tomas-zijdemans, caspervonb, nayeemrmn, kitsonk and others.