-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: fix property name 'detail' of performanceEntry #40019
Closed
ChristianBoehlke
wants to merge
1
commit into
nodejs:master
from
ChristianBoehlke:perf-hooks-details
Closed
doc: fix property name 'detail' of performanceEntry #40019
ChristianBoehlke
wants to merge
1
commit into
nodejs:master
from
ChristianBoehlke:perf-hooks-details
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
doc
Issues and PRs related to the documentations.
perf_hooks
Issues and PRs related to the implementation of the Performance Timing API.
labels
Sep 6, 2021
jasnell
approved these changes
Sep 6, 2021
targos
approved these changes
Sep 6, 2021
targos
added
the
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
label
Sep 6, 2021
lpinca
approved these changes
Sep 6, 2021
tniessen
approved these changes
Sep 7, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution, @ChristianBoehlke!
targos
added
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Sep 8, 2021
github-actions
bot
removed
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Sep 8, 2021
Landed in 9f7412a...6e9a54c |
nodejs-github-bot
pushed a commit
that referenced
this pull request
Sep 8, 2021
PR-URL: #40019 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
cafca
added a commit
to cafca/DefinitelyTyped
that referenced
this pull request
Sep 12, 2021
This spelling mistake in a property name has been fixed in node.js per nodejs/node#40019
7 tasks
typescript-bot
pushed a commit
to DefinitelyTyped/DefinitelyTyped
that referenced
this pull request
Sep 19, 2021
…cafca * Fix property 'detail' of PerformanceEntry This spelling mistake in a property name has been fixed in node.js per nodejs/node#40019 * Add missing comma * Fix 'detail' property name in perf_hooks test
BethGriggs
pushed a commit
that referenced
this pull request
Sep 21, 2021
PR-URL: #40019 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
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.
doc
Issues and PRs related to the documentations.
perf_hooks
Issues and PRs related to the implementation of the Performance Timing API.
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.
Hello,
I noticed that the
performanceEntry
that is passed to the callback ofPerformanceObserver
does not have a propertydetails
but it does have a propertydetail
(without the "s"). This is also in line with the deprecation warning and what I could find in the source code:node/lib/internal/perf/performance_entry.js
Line 44 in 1c4df35
node/lib/internal/perf/performance_entry.js
Line 63 in 1c4df35
node/lib/internal/perf/observe.js
Line 75 in 1c4df35
In case this is correct: I have changed the documentation accordingly. Please let me know if I can do anything else.
Thank you!