-
-
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
52
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
52 commits
Select commit
Hold shift + click to select a range
b10b302
Initialize @fedify/uri-template package
2chanhaeng 3b9e7e6
Update version of @fedify/uri-template
2chanhaeng dd39374
Add test for template
2chanhaeng 0cedded
Allow **/*.bench.ts files use `@fedfiy/fixture`
2chanhaeng 90f9a76
Implement RFC 6570 URI template expansion
2chanhaeng 4299495
Add test suite for @fedify/uri-template Template
2chanhaeng 26a3fde
Report URI template expansion errors
2chanhaeng 06004f9
Document URI template compatibility
2chanhaeng b6cf3d0
Refine URI template expansion internals
2chanhaeng 7aa6e64
Add URI template matching
2chanhaeng 6fd3a79
Add test suite for URI template matching
2chanhaeng f9d6547
Add RFC 6570 Router class
2chanhaeng ea3285b
Add Router conformance tests
2chanhaeng 07ffdd9
Capture legacy Router failures
2chanhaeng f1d7cb4
Reorganize uri-template into per-feature module layouts
2chanhaeng 4db8018
Rename "symmetric" to "round-trip" in user-facing prose
2chanhaeng fdd22fe
Rename router memory pressure scenario factories
2chanhaeng d7edc8c
Document operator behavior table and drop dead constant
2chanhaeng 1a659ef
Drop unused VariableSpec and align reporter docs with expansion
2chanhaeng 6ca9760
Document route-shape gaps in uri-template-router compatibility test
2chanhaeng 988fe3f
Drop "using RegExp" qualifier from Template bench label
2chanhaeng d61d955
Add Router#register, batch trie insert, and constructor routes
2chanhaeng f26656c
Move URI template old tests
2chanhaeng 43db02a
Group uri-template tests by suite via nested t.step
2chanhaeng dbffeae
Export `isExpression` from @fedify/uri-template
2chanhaeng b417f3a
Migrate @fedify/fedify to @fedify/uri-template router
2chanhaeng 5a3a9a7
Note uri-template router migration in CHANGES.md
2chanhaeng 8f579bd
Export isPath helper from @fedify/uri-template
2chanhaeng cf168c6
Tighten match backtracking bounds in @fedify/uri-template
2chanhaeng 558f9dc
Replace match bench with backtracking-pressure cases
2chanhaeng 44a5028
Add PR link
2chanhaeng 982fdc5
Export `assertPath` from @fedify/uri-template
2chanhaeng 7e98a73
Replace `Router` from @fedify/fedify with the wrapper of `Router` fro…
2chanhaeng daa8d42
Apply review feedback from PR #758
2chanhaeng 467a7ec
Fix `consumeUnnamed` over-pruning of valid match decompositions
2chanhaeng 8289124
Fix `defaultReporter`
2chanhaeng b1dfac4
Tighten identifier path validation in FederationBuilder
2chanhaeng 92f60ef
Accept the empty path so trailing-slash retry can match `/`
2chanhaeng 289a200
Polish naming and fixture comments in uri-template tests
2chanhaeng 804aceb
Centralize expression parse error reporting in the tokenizer
2chanhaeng 5079da4
Drop stale router trie entries on re-registration
2chanhaeng 2699ddd
Serialize Deno check tasks behind install in `mise test`
2chanhaeng ce1f4e8
Make @fedify/uri-template default reporter a no-op
2chanhaeng e441009
Recover round-trip for associative keys with non-varname characters
2chanhaeng eacebad
Split identifier path validation into loose and strict asserts
2chanhaeng 80813de
Exclude old/ compat tests from published @fedify/uri-template
2chanhaeng 3fce9bc
Reuse PrioritizedRouteEntry as the Trie entry constraint
2chanhaeng 4721652
Drop unused throw() helper from TemplateParseError
2chanhaeng de0ada0
Note compat Router shim breaking changes in changelog
2chanhaeng 76846fa
Index router trie at the token level to share dynamic prefixes
2chanhaeng 089beca
Refactor router trie traversals with fold helpers
2chanhaeng f24bba2
Fix lockfile
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.