Update dependency polka to v1.0.0-next.22 - autoclosed#393
Closed
renovate[bot] wants to merge 1 commit intomasterfrom
Closed
Update dependency polka to v1.0.0-next.22 - autoclosed#393renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
bda5fbb to
893110f
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
1.0.0-next.15->1.0.0-next.22Release Notes
lukeed/polka
v1.0.0-next.22Compare Source
Patches
(
polka) Ensureerror.statusis numeric before assigning as status code (#178):8448ac0Thank you @lovasoa
(
polka) Ensureerror.statusis 3-digit status code:561558bv1.0.0-next.21Compare Source
Breaking
polka) Removecodeproperty support fornext()errors:f95a5b4Previously any errors or custom error-objects could use the
codeproperty to set the response status code. However, this could pose a problem with nativeErrortypes that set an error code (eg,"ENOENT") which is an invalid status code.Now you must use the
statusproperty, which was always supported, but took a backseat tocode's existence. Express also supports thestatusproperty.next({ -- code: 422, ++ status: 422, message: 'Invalid content', });Chores
@polka/url) Accomodate an updated error message in test expectant:d30d448v1.0.0-next.20Compare Source
Breaking
@polka/url): RemovetoDecodeparameter (#175):e45fe88Apparently no one was using it except for me 😆 so I removed it as it was causing cache/mutation conflicts in rare cases downstream.
v1.0.0-next.19Compare Source
v1.0.0-next.18Compare Source
v1.0.0-next.17Compare Source
Patches
@polka/url): EnsuretoDecodevalue is considered duringreq._parsedUrlcache match:f64b4bbFor example, if you
parsea URL without decoding it, that previous result should not be reused if you callparseagain w/toDecodeset totruethis time. Should be true for the reverse situation too.v1.0.0-next.16Compare Source
Breaking
No longer automatically decodes
req.urlandreq.pathvalues anymore (#172):6ef32a6,363e1f6Previously, these properties had already passed through
decodeURIComponent, which could affect Polka's own routing (#142) or external middleware that always expectedreq.pathand/orreq.urlto remain percent-encoded.However, all
req.paramsvalues are still decoded!This change aligns Polka with the default Express decoding behavior.
Chores
toDecodeparameter in@polka/urlREADME (#168):363e1f6Configuration
📅 Schedule: "before 3am on the first day of the month" (UTC).
🚦 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.