[Snyk] Upgrade sirv-cli from 0.2.5 to 0.4.5 #1
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.
Snyk has created this PR to upgrade sirv-cli from 0.2.5 to 0.4.5.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.Release notes
Package name: sirv-cli
v0.4.5
Patches
(
sirv-cli
): Hide network address on non-localhost
hostnames: aeb4d72Passing
--host
without a value is an alias for--host 0.0.0.0
It will be displayed if
--host
flag is defined(
sirv-cli
): Correct--single
404 handler (#30): 3d27ed1Patches
(
sirv-cli
): Add missing--host
flag to change hostname (#29): 210302e(
sirv-cli
): Add missing support forPORT
andHOST
environment variables: 04ea942Chores
--dev
flag to README docs (#28): 11cc39aThank you @paulocoghi
Patches
--single
flag in "dev" mode: c73fd13Patches
(
sirv
): Handle files without an extension correctly (#26): b2e1bafWrongly assumed all extensionless files were pathnames meant to be expanded.
(
sirv
): Callreturn
fromfor-loop
directly: c39f0e4Breaking
sirv
) Changeopts.onNoMatch
from(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--dev
mode: abe9d69By sending an empty object, the original request's headers were all lost.
Patches
sirv-cli
) Ensurereq.headers
exists during--single
mode (#23): 1f515feThank you @bryanwood!
Patches
opts.setHeaders
function indev
mode: (#22): e4b7cc3Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs