| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Nit: toBuf() seems redundant here.
Sorry, something went wrong.
There was a problem hiding this comment.
Nit: maybe it's better to move this after the instanceof check to only run it once when Sign is called without new.
Sorry, something went wrong.
There was a problem hiding this comment.
Ditto.
Sorry, something went wrong.
|
@nodejs/tsc ... ping? Please review? |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM. Next step would be to migrate SignBase::CheckThrow...
Sorry, something went wrong.
There was a problem hiding this comment.
Checked the wrong box before
Sorry, something went wrong.
|
Also after this patch, sign.sign() and verify.verify() take array buffer views as key, the documentation need to be updated (not necessarily in this PR) |
Sorry, something went wrong.
|
re: SignBase::CheckThrow and the doc updates... yes, I intend to do both in separate PRs. |
Sorry, something went wrong.
|
@nodejs/tsc ... need at least one more TSC signoff on this please |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
Sorry, something went wrong.
Improve argument type checking and move into js, use internal/errors
Sorry, something went wrong.
|
CI was a bit too red, trying again: https://ci.nodejs.org/job/node-test-commit/13401/ |
Sorry, something went wrong.
Improve argument type checking and move into js, use internal/errors PR-URL: #15757 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Improve argument type checking and move into js, use internal/errors PR-URL: nodejs/node#15757 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Improve argument type checking and move into js, use internal/errors PR-URL: nodejs/node#15757 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
| Back | FazBrowse Home | New Git URL |
Improve argument type checking and move into js, use internal/errors
Improve tests.
Checklist
Affected core subsystem(s)
crypto