Changelog
Unreleased
Fixed
- (No public-API behavior changes in this pass — the function’s output is identical to v1.0.0. Bugs noticed and left in place are tracked as skipped tests in
src/__tests__/concat-route.test.ts; see the file:line comments inside.)
Added
- README rewrite. Marketing-style index with install, 30-second tour, full API surface, normalization rules, edge cases (query strings, hash fragments, absolute URLs), and links to sibling packages.
- AI kit.
llms.txt,llms-full.txt, andskills/folder (README,overview,concat-route,recipes) for tool-assisted development. - Test suite. Vitest tests covering empty input, root segments, falsy filtering, leading/trailing slash stripping, multi-slash collapse, embedded slashes, query strings, hash fragments, and known-quirk cases (skipped).
- CI. GitHub Actions workflow: Node 18/20/22 × Ubuntu, plus Node 20 × Windows.
- Package metadata.
keywords,sideEffects: false, andtest/test:watchscripts.vitestandtypescriptadded as devDependencies.
Changed
- (None — the public API of
concatRouteis unchanged.)
Removed
- (None.)
Tests
<count emitted by `yarn test` — see CI for the canonical number>