fast-uri is a dependency-free RFC 3986 URI toolbox for Node.js that provides helpers to parse, serialize, resolve, normalize, and compare URIs. It is useful when you need to work with URI components consistently, including configurable parsing options and scheme-specific processing rules.
Project status
- Actively maintained: The repo has recent pushes (last upstream push on 2026-06-07) and multiple updates in 2026 (v3.1.1 on 2026-05-04, v3.1.2 on 2026-05-05), indicating ongoing maintenance.
- Update cadence: A tight security cadence in early May 2026 (back to back updates), with the prior tagged update much earlier (v3.1.0 on 2025-08-25), then additional activity after tagging (June 2026 push without a cited tag).
AI summary generated Today
Recent updates
v3.1.2
1 month agofast-uri v3.1.2 is a security-focused release. Release notes state that malformed fragment decoding is now handled as a parse error instead of throwing. The code diff shows additional security and behavior changes beyond the documented fragment handling.
SecurityFeaturesv3.1.1
1 month agofast-uri v3.1.1 is primarily presented as a security release, with several CI and dev dependency maintenance updates. However, the code diff shows substantial changes to URI percent-encoding and path-escape normalization logic that can affect outputs of parse/normalize/equal and also changes what is exported from the package.
BreakingSecurityv3.1.0
9 months agov3.1.0 focuses on CI and test pipeline updates (node 24, browser testing, hardened workflow permissions) plus several URI correctness fixes. The library code also received substantial internal refactors in scheme handling and URI normalization utilities (IPv4/IPv6, dot segment removal, URN handling).
Featuresv3.0.6
1/20/2025v3.0.6 makes small refactors to the URI parsing and scheme detection logic, mainly simplifying condition checks and removing what the maintainers call “useless assertions.” It also adjusts the repository automation to reduce Dependabot update frequency.
v3.0.5
1/6/2025Release v3.0.5 focuses on maintaining compatibility with older Node.js versions (Node 10). The code changes mainly remove optional chaining syntax and the CI workflow adds a Node 10 regression test job. No runtime API changes are documented or evident in the diff.
v3.0.4
1/5/2025v3.0.4 mainly performs internal refactors and performance tweaks (cached IPv4 regex, optional chaining) while updating development tooling from Standard to NeoStandard/Eslint. It also includes README and CI/workflow configuration updates.
v3.0.3
10/15/2024Release v3.0.3 makes a small metadata correction in the fast-uri package manifest. The main change is updating the published npm license field.
Breakingv3.0.2
9/26/2024fast-uri v3.0.2 is a small release that switches the test runner from tap to tape, includes a minor serialization performance optimization, and updates the GitHub Actions workflows. It also claims a fix for parsing userinfo in URIs. The code diff shows the expected push-call optimizations and test framework changes, but there is an additional behavioral change in URI parsing for userinfo that is not spelled out in the release notes.
v3.0.1
6/27/2024v3.0.1 primarily addresses a fragment parsing incompatibility related to how URI fragments are decoded and re-encoded. The code change adjusts fragment handling behavior in the core `parse` function, and the release also adds an AJV-based test to validate URI resolver compatibility.
v3.0.0
6/23/2024v3.0.0 updates fast-uri parsing logic to better distinguish IP hosts from domain names during IDN conversion, and it improves internal IPv6 hex normalization. The release also adds extensive compatibility tests derived from uri-js and adjusts CI/test tooling.
Features