Back to Explore

pillarjs/parseurl

GitHub
1 watchersOpen source

Last release: 4/16/2019

parseurl is a Node.js module that parses the URL from a request object (by reading `req.url`). It returns a result matching Node.js `url.parse`, and it memoizes the parsed output so repeated calls on the same request return a cached result when `req.url` or `req.originalUrl` does not change.

Project status

  • The project appears actively maintained in the broader sense, with an upstream push reported on 2026-03-01, but the most recent tagged updates shown here are much older (latest is 1.3.3 from 2019).
  • Apparent update cadence is low, with versions published years apart (2019, 2017, 2016), so changes likely occur infrequently or are not always reflected in new tags.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 1.3.3

    4/16/2019

    Version 1.3.3 is a small patch release that primarily adjusts how parseurl populates URL-like fields (especially query/search) across different Node.js versions. It also updates CI/test tooling and modernizes benchmark and documentation assets, with no new runtime API surface indicated.

  • 1.3.2

    9/9/2017

    Release 1.3.2 has no publisher-provided release notes. The code changes focus on performance improvements to the URL fast-path parsing logic, plus some build and development tooling updates (linting, CI matrix, and benchmark script tweaks).

    Breaking
  • 1.3.1

    1/17/2016

    Release 1.3.1 does not include any release notes, so there is no documented information about changes, fixes, or migration requirements. Developers should review the changelog and commit history for this tag to identify any undocumented behavior changes before upgrading.

  • 1.3.0

    8/10/2014

    Release 1.3.0 introduces a new API, parseurl.original(req), to parse a request's originalUrl with memoization and fallback behavior. It also changes parseurl(req) behavior to return undefined when req.url is missing, and includes updated tests and a minor dev dependency bump.

    Features
  • 1.2.0

    7/21/2014

    Version 1.2.0 of parseurl refactors the URL memoization logic and the internal fast-path parsing behavior. It also adds benchmarks, a test suite, and modernizes project metadata and CI, but the actual runtime parsing changes are concentrated in index.js.

    Features
  • 1.1.3

    7/9/2014

    Release 1.1.3 bumps the package version and includes a small fix in the URL memoization freshness check. The only code change is in the `fresh(req, parsedUrl)` logic in `index.js`, plus a HISTORY entry.

  • 1.1.2

    7/9/2014

    Release 1.1.2 updates the URL memoization logic to improve compatibility with older Node.js versions, specifically addressing Node.js 0.8 behavior. There are no publisher-provided release notes in the provided data, so the following reflects what the code diff actually changed.

  • 1.1.1

    7/9/2014

    Release 1.1.1 makes a small change to the URL parsing logic to improve compatibility with older Node.js versions. The code diff is limited to a guard added around how `req._parsedUrl` is validated, plus a version/changelog update.

  • 1.1.0

    7/9/2014

    Version 1.1.0 adds a URL parsing fast-path that bypasses the full `url.parse()` call for simple path URLs, while still memoizing results on `req._parsedUrl`. The README and HISTORY were updated to reflect the new behavior, but no publisher release notes were provided to document API or behavior changes.

    Breaking
  • 1.0.1

    3/8/2014

    Release 1.0.1 was published on 2014-03-08. The publisher provided no release notes, so the changes in this version are not described and may require code review or diffing the repository to identify upgrade impact.