This repository was archived by the owner on Jan 19, 2021. It is now read-only.
fix(deps): update dependency sirv-cli to v1#74
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Conversation
1ec274d to
0375a4b
Compare
01704d8 to
23f6a4c
Compare
23f6a4c to
a97a3d6
Compare
a97a3d6 to
1de4683
Compare
1de4683 to
5fbf046
Compare
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.4.5->1.0.10Release Notes
lukeed/sirv
v1.0.10Compare Source
Patches
sirv) UseCache-Control: no-cachewhen bothdev&etagare enabled (#90):c8fe11bBy default
dev-mode always usedno-store– but this also means that anyETagon the response is ignored too. Changing this tono-cacheallows the browser to remember theETagand send if as theIf-None-Matchheader on next request.v1.0.9Compare Source
Patches
(
sirv) More specificignoreregex default (#88):5e3d7a8Thank you @adam-lynch~!
(
sirv) ReplaceVoidFunctionusage in TypeScript definitions (#89):478b487v1.0.8Compare Source
Patches
sirv-cli): Add hidden--no-logsoption (#85):714c058\Does not render
"LOGS"output on requests. Unlike--quiet,--no-logskeeps intro banner.v1.0.7Compare Source
Patches
(
sirv): Use a separateFILEScache persirvinstance (#84):c69bbfbThank you @Rich-Harris~!
(
sirv): Appendmust-revalidateCache-Control directive whenmaxAge: 0is used:fb31a46Only appends when
immutableoption is not in use!v1.0.6Compare Source
Patches
sirv) Ensureoptions.setHeaderschanges are respected (#79):25eb012v1.0.5Compare Source
Patches
sirv) Ensure cached response headers (in "prod" mode) are not mutated between requests (#75, #55):b33bb15Thank you @imtiazmangerah!
v1.0.4Compare Source
Patches
sirv-cli): Allow graceful HTTP/1 support when--http2enabled (#74):4b419bfDoes not affect HTTP/2 clients. Instead, allows HTTP/1.1 clients to connect over HTTPS.
Thank you @ArtskydJ~!
v1.0.3Compare Source
Patches
sirv-cli) Add--no-clearoption to disable console scroll reset (#58):32a6a2cDefault behavior is completely unchanged.
v1.0.2Compare Source
Patches
sirv-cli) Print--hosthint when not in use (#70, #71):ec5febcThank you @mhkeller~!
A lot of users are/were unaware that
sirv-cliwas capable of setting up a network endpoint for your server. The option always existed in the help text's list of options, but it can be easy for things to hide in plain sight! So now the CLI will always show a "Network:" field (to show that it's at least possible) and either the server address if there is one or a short clue about the--hostflag.Chores
mkcertfor alternative SSL certificate generation (#68):9eea208Thank you @longrunningprocess~!
v1.0.1Compare Source
Patches
sirv) Set "br" forcontent-encodingheader value (#65):fa4f7db,7205446Thank you @DaGhostman~!
Chores
sirv) Add additionaldotfilestests:d01fe728785b42v1.0.0Compare Source
Breaking
Both
sirvandsirv-clinow require at least Node v10.x to function (19061be).This is the oldest LTS version of Node.js that's still possesses the "ACTIVE" label.
Features
(
sirv-cli) Added HTTP/2 support (#2, #64):36ba734,8c92751(
sirv-cli) Added--gzipand--brotliflags (#3)(
sirv-cli) Allow--singleto accept custom fallback:fd55eca(
sirv-cli) Added--ignoresoption to escapesingle:918102e(
sirv) Added TypeScript definitions (#61):05058a2(
sirv) Support If-None-Match/ETag matching (#56, #46)(
sirv) Addedsingleoption, with customizable fallback:f13fbb8,fd55eca(
sirv) Allow serving of precompiled gzip and/or brotli files:3d34763(
sirv): Ships separate"module"(ESM) and"main"(CJS) entries:9754302Patches
sirv) Prevent server crash with malformed URLs (#54):1757b26sirv) Allow dotfiles option in "dev" mode (#51)sirv) Allow requests to/.well-known/*files (#50):0a04d66sirv) ForceCache-Control: no-storevalue for "dev" mode (#45):604f926sirv) Respect any previousContent-Typeon response (#38):c08ac50,5ef168fsirv) Ignore deeply-nested dotfiles (default):84d4f33Chores
sirv) Refactor: Consolidate "dev" & "prod" handlers:f1bcc43sirv): Refactor: Extractlistutility intototalist:535b2c2a3463828e9cb49cbe0a47,461b8de,5953004,07c65ac,3cfb51e,4608c92,b3b89cb,f6b1e72,5f583e5,bdfc9b0,3009ae0,5d555d2v0.4.6Compare Source
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:0b6de8dRenovate configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.