Update dependency sirv to v0.4.6 - abandoned #36
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.
This PR contains the following updates:
0.2.2->0.4.6Release Notes
lukeed/sirv
v0.4.6Compare Source
Patches
Fixes
devmode security vulnerability (#63):1e0bac5Thank you @marvinhagemeister~!
As Marvin describes:
This allows an attacker to traverse the file system outside of the specified directory.
Let's say
sirvwas initialized to serve files from /foo/bar:...and an attacker makes a request to:
...then they are able to download the contents of that file.
Chores
Attach GitHub Actions:
ea15d6aUpdate test runner:
2b965cdUpdate
lernaversion:0b6de8dv0.4.2Compare Source
Patches
--singleflag in "dev" mode:c73fd13v0.4.1Compare Source
Patches
(
sirv): Handle files without an extension correctly (#26):b2e1bafWrongly assumed all extensionless files were pathnames meant to be expanded.
(
sirv): Callreturnfromfor-loopdirectly:c39f0e4v0.4.0Compare Source
Breaking
sirv) Changeopts.onNoMatchfrom(res)to(req, res):abe9d69Allowing the callback to consume the original request & response is more expected and flexible.
Patches
sirv-cli) MaintainRange/partial requests during--devmode:abe9d69By sending an empty object, the original request's headers were all lost.
v0.3.1Compare Source
Patches
opts.setHeadersfunction indevmode: (#22):e4b7cc3v0.3.0Compare Source
Features
(
sirv) Respond toRangeheaders/partial requests correctly! (#19):135db55Now, larger files (video, PDF, etc) will be served correctly. Previously,
sirvwould ignore the ranged requests and pipe down the entire file at once.Patches
sirv) Runningdevmode will also sendLast-ModifiedandContent-Lengthheaders:135db55v0.2.5Compare Source
Patches
Replace
tiny-globwith manual directory traversal:38ba617While
tiny-globis very much a great globbing library,sirvreally had no need for a globbing library because it asks for all files within the directory. This makes declaring & responding to filter patterns pointless.v0.2.4Compare Source
Patches
(
sirv) Decode incoming URL pathnames (#20, #21):54dde5fThanks @Seb35!
(
sirv) AllowmaxAgeoption to have0value:9a392f1(
sirv) Capitalize all outgoing header names:633644fConfiguration
📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.