@stoplight/path is a Node and modern browser package published by Stoplight, useful for providing path-related functionality. It includes a changelog via GitHub Releases and can be installed with yarn (yarn add @stoplight/path).
Project status
- Maintenance status: The source appears quiet/dormant today, with the most recent recorded update v2.0.1 on 2024-03-19, and the last upstream push 2025-01-20, leaving a gap of well over a year with no further updates as of 2026-08-13.
- Update cadence: Activity is irregular rather than steady. There were multiple releases in the 2019-2020 range, a cluster of major changes around v2.0.0 in early 2023, and then only one small update in 2024.
AI summary generated
Recent updates
v2.0.1
Release v2.0.1 primarily removes the "type": "commonjs" field from package.json. The code change set is small, but the yarn.lock file also updates several transitive dependencies.
v2.0.0
v2.0.0 modernizes the build and adds support for Stoplight URIs (stoplight://). It also drops support for Node versions earlier than 12. The diff shows additional non-release-noted packaging and export-resolution changes that can break existing consumers.
BreakingFeaturesv2.0.0-beta.2
v2.0.0-beta.2 primarily changes the package to use CommonJS module semantics instead of ESM by updating the package.json module type. Release notes describe this as a compatibility bug fix, but the diff also includes additional test configuration and developer workflow tweaks not mentioned.
Breakingv2.0.0-beta.1
v2.0.0-beta.1 introduces dual packaging and updates the build toolchain to emit both ESM and CommonJS outputs. It also documents dropping support for Node versions older than 12.
BreakingFeaturesv1.3.2
v1.3.2 is a small bug-fix release that improves recognition of Windows drive letters when they appear with a leading slash (for example, '/C:/'). It also adds/updates test coverage around drive-letter capitalization normalization for paths and file URLs.
v1.3.1
v1.3.1 primarily updates the build grammar generation to optimize PEG.js output for speed instead of size. The only documented change is within the pegjs build script. The code diff also includes several indirect dependency/version changes in yarn.lock that are not mentioned in the release notes.
v1.3.0
v1.3.0 adds a new path utility named stripRoot and re-exports it from the package entrypoint. The change includes a new implementation file and a dedicated test suite verifying how root-like prefixes are removed from POSIX and Windows-style paths.
Featuresv1.2.1
Release v1.2.1 makes small bug fixes related to SRN deserialization and adds more test coverage around filenames and URI paths that contain dots. The visible change is in how `deserializeSrn` determines the `file` and `ext` fields from the input SRN string.
v1.2.0
v1.2.0 introduces new SRN helper functionality, specifically serialize and deserialize utilities, along with tests and public exports. In addition, the repository build and test scripts were adjusted to separate grammar building from the main build, and to ensure grammar generation runs before tests.
Featuresv1.1.0
v1.1.0 adds support for passing an optional second parameter to the basename function. The implementation now conditionally removes the file extension based on the second argument, and the test suite is updated to cover the new behavior.
Features