-
-
Notifications
You must be signed in to change notification settings - Fork 99
Replace url-template and uri-template-router with @fedify/uri-template
#758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
2chanhaeng
wants to merge
49
commits into
fedify-dev:main
Choose a base branch
from
2chanhaeng:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
5cd8862
Initialize @fedify/uri-template package
2chanhaeng 25644de
Update version of @fedify/uri-template
2chanhaeng 3b29ce3
Add test for template
2chanhaeng 76e7c75
Allow **/*.bench.ts files use `@fedfiy/fixture`
2chanhaeng c4c9090
Implement RFC 6570 URI template expansion
2chanhaeng 01a2b4a
Add test suite for @fedify/uri-template Template
2chanhaeng 8759b52
Report URI template expansion errors
2chanhaeng 2372a59
Document URI template compatibility
2chanhaeng 1491e21
Refine URI template expansion internals
2chanhaeng 8d35a15
Add URI template matching
2chanhaeng 4f66ded
Add test suite for URI template matching
2chanhaeng 02406c7
Add RFC 6570 Router class
2chanhaeng 3b46270
Add Router conformance tests
2chanhaeng fd37b88
Capture legacy Router failures
2chanhaeng f3f83cf
Reorganize uri-template into per-feature module layouts
2chanhaeng e923449
Rename "symmetric" to "round-trip" in user-facing prose
2chanhaeng a5045e0
Rename router memory pressure scenario factories
2chanhaeng 64d18ce
Document operator behavior table and drop dead constant
2chanhaeng f04d756
Drop unused VariableSpec and align reporter docs with expansion
2chanhaeng a14d5bb
Document route-shape gaps in uri-template-router compatibility test
2chanhaeng 14a4b29
Drop "using RegExp" qualifier from Template bench label
2chanhaeng 64eb2dc
Add Router#register, batch trie insert, and constructor routes
2chanhaeng dd27de3
Move URI template old tests
2chanhaeng 3fb2396
Group uri-template tests by suite via nested t.step
2chanhaeng bdf5f54
Export `isExpression` from @fedify/uri-template
2chanhaeng 6a3576d
Migrate @fedify/fedify to @fedify/uri-template router
2chanhaeng 319ead3
Note uri-template router migration in CHANGES.md
2chanhaeng 97b15f7
Export isPath helper from @fedify/uri-template
2chanhaeng 8a5d66b
Tighten match backtracking bounds in @fedify/uri-template
2chanhaeng ea23a6a
Replace match bench with backtracking-pressure cases
2chanhaeng 10fc20b
Add PR link
2chanhaeng 074a546
Export `assertPath` from @fedify/uri-template
2chanhaeng 0e1bc07
Replace `Router` from @fedify/fedify with the wrapper of `Router` fro…
2chanhaeng 8de1d9c
Apply review feedback from PR #758
2chanhaeng e49a92a
Fix `consumeUnnamed` over-pruning of valid match decompositions
2chanhaeng 9b41938
Fix `defaultReporter`
2chanhaeng 5f60402
Tighten identifier path validation in FederationBuilder
2chanhaeng 1d8e02a
Accept the empty path so trailing-slash retry can match `/`
2chanhaeng 99da76c
Polish naming and fixture comments in uri-template tests
2chanhaeng 2195307
Centralize expression parse error reporting in the tokenizer
2chanhaeng 880d1e5
Drop stale router trie entries on re-registration
2chanhaeng 04be48b
Serialize Deno check tasks behind install in `mise test`
2chanhaeng c611249
Make @fedify/uri-template default reporter a no-op
2chanhaeng 5e96c8c
Recover round-trip for associative keys with non-varname characters
2chanhaeng 2c1d58a
Split identifier path validation into loose and strict asserts
2chanhaeng 996a371
Exclude old/ compat tests from published @fedify/uri-template
2chanhaeng cc67dd8
Reuse PrioritizedRouteEntry as the Trie entry constraint
2chanhaeng 679f2c9
Drop unused throw() helper from TemplateParseError
2chanhaeng 1a1de0d
Note compat Router shim breaking changes in changelog
2chanhaeng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.