-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: deprecate hash constructor #51077
Merged
nodejs-github-bot
merged 1 commit into
nodejs:main
from
marco-ippolito:feat/deprecate-hash
Dec 10, 2023
Merged
doc: deprecate hash constructor #51077
nodejs-github-bot
merged 1 commit into
nodejs:main
from
marco-ippolito:feat/deprecate-hash
Dec 10, 2023
Conversation
This file contains 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
nodejs-github-bot
added
deprecations
Issues and PRs related to deprecations.
doc
Issues and PRs related to the documentations.
labels
Dec 6, 2023
marco-ippolito
force-pushed
the
feat/deprecate-hash
branch
from
December 6, 2023 19:54
5a84550
to
3838e04
Compare
anonrig
reviewed
Dec 6, 2023
marco-ippolito
force-pushed
the
feat/deprecate-hash
branch
from
December 6, 2023 20:01
dad2f99
to
7f2906e
Compare
marco-ippolito
force-pushed
the
feat/deprecate-hash
branch
from
December 6, 2023 20:02
7f2906e
to
ff25004
Compare
anonrig
approved these changes
Dec 6, 2023
cc @nodejs/crypto |
H4ad
approved these changes
Dec 7, 2023
marco-ippolito
added
the
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
label
Dec 7, 2023
jasnell
approved these changes
Dec 9, 2023
anonrig
added
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Dec 10, 2023
nodejs-github-bot
removed
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Dec 10, 2023
Landed in ba3f721 |
RafaelGSS
pushed a commit
that referenced
this pull request
Dec 15, 2023
PR-URL: #51077 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS
added a commit
that referenced
this pull request
Dec 15, 2023
Notable changes: deps: * (SEMVER-MINOR) add simdjson (Yagiz Nizipli) #50322 doc: * deprecate hash constructor (Marco Ippolito) #51077 * deprecate `dirent.path` (Antoine du Hamel) #51020 module: * merge config with `package_json_reader` (Yagiz Nizipli) #50322 src: * move package resolver to c++ (Yagiz Nizipli) #50322 PR-URL: TBD
Merged
RafaelGSS
added a commit
that referenced
this pull request
Dec 15, 2023
Notable changes: deps: * (SEMVER-MINOR) add simdjson (Yagiz Nizipli) #50322 doc: * deprecate hash constructor (Marco Ippolito) #51077 * deprecate `dirent.path` (Antoine du Hamel) #51020 module: * merge config with `package_json_reader` (Yagiz Nizipli) #50322 src: * move package resolver to c++ (Yagiz Nizipli) #50322 PR-URL: #51166
RafaelGSS
added a commit
that referenced
this pull request
Dec 15, 2023
Notable changes: deps: * (SEMVER-MINOR) add simdjson (Yagiz Nizipli) #50322 doc: * deprecate hash constructor (Marco Ippolito) #51077 * deprecate `dirent.path` (Antoine du Hamel) #51020 module: * merge config with `package_json_reader` (Yagiz Nizipli) #50322 src: * move package resolver to c++ (Yagiz Nizipli) #50322 PR-URL: #51166
RafaelGSS
added a commit
that referenced
this pull request
Dec 19, 2023
Notable changes: deps: * (SEMVER-MINOR) add simdjson (Yagiz Nizipli) #50322 doc: * deprecate hash constructor (Marco Ippolito) #51077 * deprecate `dirent.path` (Antoine du Hamel) #51020 module: * merge config with `package_json_reader` (Yagiz Nizipli) #50322 src: * move package resolver to c++ (Yagiz Nizipli) #50322 PR-URL: #51166
richardlau
pushed a commit
that referenced
this pull request
Mar 25, 2024
PR-URL: #51077 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: James M Snell <jasnell@gmail.com>
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
crypto
Issues and PRs related to the crypto subsystem.
deprecations
Issues and PRs related to deprecations.
doc
Issues and PRs related to the documentations.
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.
Hash
is an internal and shouldnt be called directly but throughcreateHash()
:https://github.com/nodejs/node/blob/main/doc/api/crypto.md#class-hash
Calling
Hash
without new qualifier avoids us from moving into ES6 classes.The idea is to deprecate it, and refactor it with es6 class without exposing it.
@anonrig