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.6
Release Notes
lukeed/sirv
v0.4.6
Compare Source
Patches
Fixes
dev
mode security vulnerability (#63):1e0bac5
Thank you @marvinhagemeister~!
As Marvin describes:
This allows an attacker to traverse the file system outside of the specified directory.
Let's say
sirv
was 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:
ea15d6a
Update test runner:
2b965cd
Update
lerna
version:0b6de8d
v0.4.2
Compare Source
Patches
--single
flag in "dev" mode:c73fd13
v0.4.1
Compare Source
Patches
(
sirv
): Handle files without an extension correctly (#26):b2e1baf
Wrongly assumed all extensionless files were pathnames meant to be expanded.
(
sirv
): Callreturn
fromfor-loop
directly:c39f0e4
v0.4.0
Compare Source
Breaking
sirv
) Changeopts.onNoMatch
from(res)
to(req, res)
:abe9d69
Allowing the callback to consume the original request & response is more expected and flexible.
Patches
sirv-cli
) MaintainRange
/partial requests during--dev
mode:abe9d69
By sending an empty object, the original request's headers were all lost.
v0.3.1
Compare Source
Patches
opts.setHeaders
function indev
mode: (#22):e4b7cc3
v0.3.0
Compare Source
Features
(
sirv
) Respond toRange
headers/partial requests correctly! (#19):135db55
Now, larger files (video, PDF, etc) will be served correctly. Previously,
sirv
would ignore the ranged requests and pipe down the entire file at once.Patches
sirv
) Runningdev
mode will also sendLast-Modified
andContent-Length
headers:135db55
v0.2.5
Compare Source
Patches
Replace
tiny-glob
with manual directory traversal:38ba617
While
tiny-glob
is very much a great globbing library,sirv
really 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.4
Compare Source
Patches
(
sirv
) Decode incoming URL pathnames (#20, #21):54dde5f
Thanks @Seb35!
(
sirv
) AllowmaxAge
option to have0
value:9a392f1
(
sirv
) Capitalize all outgoing header names:633644f
Configuration
📅 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.