| route-pattern | /:user_id/:repository/pull/*id(.:format) |
| route-controller | pull_requests |
| route-action | show |
| fetch-nonce | v2:f72557bb-9188-9373-18c3-eeda979e47d3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8B34:2BFBB8:70103:9B934:696A6C71 |
| html-safe-nonce | fd010b562c1276035f260433df996224eb1b3ad1d03f4610d0c7f0c7c85b0f7e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjM0OjJCRkJCODo3MDEwMzo5QjkzNDo2OTZBNkM3MSIsInZpc2l0b3JfaWQiOiI3NTk2NjYwMzY5MzMzNTc4ODY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 225c6ffb204b23035b8d0a654931e7693296c004e7b823c1b489232152696c0c |
| hovercard-subject-tag | pull_request:645280768 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/nodejs/node/pull/38697 |
| twitter:image | https://opengraph.githubassets.com/3bc8b50e8e7bd3d9e366a8eb52aa25bd0e636f8296d4c34062f1428a4b66daf2/nodejs/node/pull/38697 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3bc8b50e8e7bd3d9e366a8eb52aa25bd0e636f8296d4c34062f1428a4b66daf2/nodejs/node/pull/38697 |
| og:image:alt | This PR migrates expressions such as a ? a.b : c to a?.b ?? c
Codemod script:
https://github.com/pd4d10/nodejs-codemod/blob/main/src/optional-chaining.ts
Also see:
#38609 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pd4d10 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6fea32d5b7276b841b7a803796d9715bc6cfb31ed549fdf9de2948ac25d12ba6 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f2d9f6432a5a115ec709295ae70623f33bb80aee |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/nodejs/node/pull/38697#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F38697 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F38697 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow&source=header-repo&source_repo=nodejs%2Fnode |
| Reload | https://github.com/nodejs/node/pull/38697 |
| Reload | https://github.com/nodejs/node/pull/38697 |
| Reload | https://github.com/nodejs/node/pull/38697 |
|
nodejs
| https://github.com/nodejs |
| node | https://github.com/nodejs/node |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
|
Notifications
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Fork
34.4k
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Star
115k
| https://github.com/login?return_to=%2Fnodejs%2Fnode |
|
Code
| https://github.com/nodejs/node |
|
Issues
1.7k
| https://github.com/nodejs/node/issues |
|
Pull requests
695
| https://github.com/nodejs/node/pulls |
|
Actions
| https://github.com/nodejs/node/actions |
|
Projects
3
| https://github.com/nodejs/node/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/nodejs/node/security |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
|
Insights
| https://github.com/nodejs/node/pulse |
|
Code
| https://github.com/nodejs/node |
|
Issues
| https://github.com/nodejs/node/issues |
|
Pull requests
| https://github.com/nodejs/node/pulls |
|
Actions
| https://github.com/nodejs/node/actions |
|
Projects
| https://github.com/nodejs/node/projects |
|
Security
| https://github.com/nodejs/node/security |
|
Insights
| https://github.com/nodejs/node/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/nodejs/node/pull/38697#issue-comment-box |
| pd4d10 | https://github.com/pd4d10 |
| nodejs:main | https://github.com/nodejs/node/tree/main |
| pd4d10:patch-lib-optional | https://github.com/pd4d10/node/tree/patch-lib-optional |
|
lib: refactor to use optional chaining
| https://github.com/nodejs/node/pull/38697#top |
| pd4d10 | https://github.com/pd4d10 |
| nodejs:main | https://github.com/nodejs/node/tree/main |
| pd4d10:patch-lib-optional | https://github.com/pd4d10/node/tree/patch-lib-optional |
|
Conversation
9
| https://github.com/nodejs/node/pull/38697 |
|
Commits
1
| https://github.com/nodejs/node/pull/38697/commits |
|
Checks
0
| https://github.com/nodejs/node/pull/38697/checks |
|
Files changed
| https://github.com/nodejs/node/pull/38697/files |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
| https://github.co/hiddenchars |
| https://github.com/nodejs/node/pull/{{ revealButtonHref }} |
|
| https://github.com/pd4d10 |
| pd4d10 | https://github.com/pd4d10 |
| May 16, 2021 | https://github.com/nodejs/node/pull/38697#issue-892621223 |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
| https://github.com/pd4d10/nodejs-codemod/blob/main/src/optional-chaining.ts | https://github.com/pd4d10/nodejs-codemod/blob/main/src/optional-chaining.ts |
| #38609 | https://github.com/nodejs/node/issues/38609 |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
|
| https://github.com/pd4d10 |
| lib: refactor to use optional chaining | https://github.com/nodejs/node/pull/38697/commits/d96368979478c1b8ed1c13c25748e69aa2d59ada |
| d963689 | https://github.com/nodejs/node/pull/38697/commits/d96368979478c1b8ed1c13c25748e69aa2d59ada |
| https://github.com/pd4d10/nodejs-codemod/blob/main/src/optional-chaining.ts | https://github.com/pd4d10/nodejs-codemod/blob/main/src/optional-chaining.ts |
| https://github.com/aduh95 |
| aduh95 | https://github.com/aduh95 |
| May 16, 2021 | https://github.com/nodejs/node/pull/38697#issuecomment-841789783 |
| #38245 | https://github.com/nodejs/node/pull/38245 |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
| https://github.com/aduh95 |
| aduh95 | https://github.com/aduh95 |
|
May 16, 2021
| https://github.com/nodejs/node/pull/38697#pullrequestreview-660420075 |
|
View reviewed changes
| https://github.com/nodejs/node/pull/38697/files/d96368979478c1b8ed1c13c25748e69aa2d59ada |
| lib/internal/child_process.js | https://github.com/nodejs/node/pull/38697/files/d96368979478c1b8ed1c13c25748e69aa2d59ada#diff-cccecc2fcae39b45f34342807c0403825080037e43bbf0bd659e6409645335b1 |
| aduh95 | https://github.com/aduh95 |
| May 16, 2021 | https://github.com/nodejs/node/pull/38697#discussion_r633065605 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
| lib/internal/http2/compat.js | https://github.com/nodejs/node/pull/38697/files/d96368979478c1b8ed1c13c25748e69aa2d59ada#diff-e241fc9fee7eaeaf021850ee74d273cc350099b52c548d7fdb85c8440eef1c8f |
| aduh95 | https://github.com/aduh95 |
| May 16, 2021 | https://github.com/nodejs/node/pull/38697#discussion_r633065729 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
| lib/internal/http2/core.js | https://github.com/nodejs/node/pull/38697/files/d96368979478c1b8ed1c13c25748e69aa2d59ada#diff-ac5af2e03d6e50747ae181d62ebb939ee884b05c70c42aa7297fb7323b3e6639 |
| aduh95 | https://github.com/aduh95 |
| May 16, 2021 | https://github.com/nodejs/node/pull/38697#discussion_r633065739 |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
| lib/_http_outgoing.js | https://github.com/nodejs/node/pull/38697/files/d96368979478c1b8ed1c13c25748e69aa2d59ada#diff-48d21edbddb6e855d1ee5716c49bcdc0d913c11ee8a24a98ea7dbc60cd253556 |
| aduh95 | https://github.com/aduh95 |
| May 16, 2021 | https://github.com/nodejs/node/pull/38697#discussion_r633065920 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
| https://github.com/pd4d10 |
| pd4d10 | https://github.com/pd4d10 |
| May 16, 2021 | https://github.com/nodejs/node/pull/38697#issuecomment-841802071 |
| #38245 | https://github.com/nodejs/node/pull/38245 |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
| https://github.com/jasnell |
| jasnell | https://github.com/jasnell |
|
May 17, 2021
| https://github.com/nodejs/node/pull/38697#pullrequestreview-661100205 |
|
View reviewed changes
| https://github.com/nodejs/node/pull/38697/files/d96368979478c1b8ed1c13c25748e69aa2d59ada |
| https://github.com/Trott |
| Trott | https://github.com/Trott |
| force-pushed | https://github.com/nodejs/node/compare/2d76238f9184c9009bfa395848a120ac3e5b98e5..ca3ed363ffefa4819c1414aff7ffca34b53a7b95 |
| 2d76238 | https://github.com/nodejs/node/commit/2d76238f9184c9009bfa395848a120ac3e5b98e5 |
| ca3ed36 | https://github.com/nodejs/node/commit/ca3ed363ffefa4819c1414aff7ffca34b53a7b95 |
|
Compare
| https://github.com/nodejs/node/compare/2d76238f9184c9009bfa395848a120ac3e5b98e5..ca3ed363ffefa4819c1414aff7ffca34b53a7b95 |
| November 12, 2022 01:49 | https://github.com/nodejs/node/pull/38697#event-7795751574 |
| https://github.com/Mifrill |
| Mifrill | https://github.com/Mifrill |
|
Oct 26, 2023
| https://github.com/nodejs/node/pull/38697#pullrequestreview-1700697735 |
|
View reviewed changes
| https://github.com/nodejs/node/pull/38697/files/d96368979478c1b8ed1c13c25748e69aa2d59ada |
| Mifrill | https://github.com/Mifrill |
| https://github.com/nodejs/node/pull/38697#pullrequestreview-1700697735 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @ronag | https://github.com/ronag |
| #50337 (comment) | https://github.com/nodejs/node/pull/50337#discussion_r1368866618 |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
| https://github.com/aduh95 |
| aduh95 | https://github.com/aduh95 |
|
stalled
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Astalled |
| May 5, 2024 | https://github.com/nodejs/node/pull/38697#event-12708416653 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| May 5, 2024 | https://github.com/nodejs/node/pull/38697#issuecomment-2094954626 |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Jun 12, 2024 | https://github.com/nodejs/node/pull/38697#issuecomment-2161818054 |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Jun 12, 2024 | https://github.com/nodejs/node/pull/38697#event-13123956185 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F38697 |
|
| https://github.com/aduh95 |
|
aduh95
| https://github.com/aduh95 |
|
| https://github.com/nodejs/node/pull/38697/files/d96368979478c1b8ed1c13c25748e69aa2d59ada |
|
| https://github.com/jasnell |
|
jasnell
| https://github.com/jasnell |
|
| https://github.com/nodejs/node/pull/38697/files/d96368979478c1b8ed1c13c25748e69aa2d59ada |
|
| https://github.com/Mifrill |
|
Mifrill
| https://github.com/Mifrill |
|
| https://github.com/nodejs/node/pull/38697/files/d96368979478c1b8ed1c13c25748e69aa2d59ada |
|
stalled
| https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Astalled |
| Please reload this page | https://github.com/nodejs/node/pull/38697 |
|
| https://github.com/pd4d10 |
|
| https://github.com/aduh95 |
|
| https://github.com/jasnell |
|
| https://github.com/Mifrill |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |