| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Review requested:
|
Sorry, something went wrong.
|
Sorry, some-how missed js lint error in test. Fixed it, also updated first commit message. Please approve run @VoltrexKeyva |
Sorry, something went wrong.
|
@VoltrexKeyva any chance to approve?) |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
| if (normalizedEncoding === undefined) { | ||
| throw new ERR_UNKNOWN_ENCODING(encoding); | ||
| } | ||
| assert(false, 'Cannot change encoding'); |
There was a problem hiding this comment.
why throw error by assert? it will be some internal error, no?
Sorry, something went wrong.
There was a problem hiding this comment.
We can replace the assert with a coded error in a follow up semver-major PRs that contain breaking changes and should be released in the next major version. PR.
Sorry, something went wrong.
There was a problem hiding this comment.
I think it is better to have a coded error, can I make the change? @panva
Sorry, something went wrong.
There was a problem hiding this comment.
Sure, best wait until this change lands.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Adds encoding validation to update and final cipher methods.
Refs: #45189