René's URL Explorer Experiment


Title: fs: throw on invalid callbacks for async functions · nodejs/node@4cb5f3d · GitHub

Open Graph Title: fs: throw on invalid callbacks for async functions · nodejs/node@4cb5f3d

X Title: fs: throw on invalid callbacks for async functions · nodejs/node@4cb5f3d

Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.

Open Graph Description: If an asynchronous function is passed no callback function, there is no way to return the result. This patch throws an error if the callback passed is not valid or none passed at all. PR-URL: http...

X Description: If an asynchronous function is passed no callback function, there is no way to return the result. This patch throws an error if the callback passed is not valid or none passed at all. PR-URL: http...

Opengraph URL: /nodejs/node/commit/4cb5f3daa350421e4eb4622dc818633d3a0659b3

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/commit/:name(/*path)
route-controllercommit
route-actionshow
fetch-noncev2:4065eae9-f47d-2faf-f3cc-3fc3f5a414a4
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idC946:3C747C:228D82:3045E1:696A06E1
html-safe-nonce54627f3450b5cc53eee6b50e95de5bee9fc42e2e589d2eaff6aa37d1c930e3cb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTQ2OjNDNzQ3QzoyMjhEODI6MzA0NUUxOjY5NkEwNkUxIiwidmlzaXRvcl9pZCI6IjEzOTUwODYzMTI2MTAyMTkyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac30cfcef47450935481b5ca17815c7ceefce4f1c203f0f123b4855b5e54d24ad8
hovercard-subject-tagrepository:27193779
github-keyboard-shortcutsrepository,commits,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///commit/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/nodejs/node/commit/4cb5f3daa3
twitter:imagehttps://opengraph.githubassets.com/223f09326ba164e14d044f61144a33c93b70e432424f2807d84465d886e83b3c/nodejs/node/commit/4cb5f3daa350421e4eb4622dc818633d3a0659b3
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/223f09326ba164e14d044f61144a33c93b70e432424f2807d84465d886e83b3c/nodejs/node/commit/4cb5f3daa350421e4eb4622dc818633d3a0659b3
og:image:altIf an asynchronous function is passed no callback function, there is no way to return the result. This patch throws an error if the callback passed is not valid or none passed at all. PR-URL: http...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:updated_time1494354841
hostnamegithub.com
expected-hostnamegithub.com
None578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc
turbo-cache-controlno-cache
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release671c2f67171dbced24284331f3133a613d08c366
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/commit/4cb5f3daa3#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fcommit%2F4cb5f3daa3
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2Fcommit%2F4cb5f3daa3
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%2Fcommit%2Fshow&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/commit/4cb5f3daa3
Reloadhttps://github.com/nodejs/node/commit/4cb5f3daa3
Reloadhttps://github.com/nodejs/node/commit/4cb5f3daa3
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/commit/4cb5f3daa3
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 697 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 pagehttps://github.com/nodejs/node/commit/4cb5f3daa3
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
Browse fileshttps://github.com/nodejs/node/tree/4cb5f3daa350421e4eb4622dc818633d3a0659b3
https://github.com/nodejs/node/tree/4cb5f3daa350421e4eb4622dc818633d3a0659b3
https://github.com/thefourtheye
thefourtheyehttps://github.com/nodejs/node/commits?author=thefourtheye
#12562https://github.com/nodejs/node/pull/12562
e429f9ahttps://github.com/nodejs/node/commit/e429f9a42af94f039621a1bf9f21ad424aa00558
deprecations.mdhttps://github.com/nodejs/node/commit/4cb5f3daa3#diff-b7c42d4dc97df183538f07f68a1f6ee54068ee8860cfa053ab141e64f290af87
fs.mdhttps://github.com/nodejs/node/commit/4cb5f3daa3#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2
fs.jshttps://github.com/nodejs/node/commit/4cb5f3daa3#diff-9b2c5bf36570be7a09ba2597abdf6d9bc2cc1e19866b6674b0cf275c1188dcad
test-fs-readfile-error.jshttps://github.com/nodejs/node/commit/4cb5f3daa3#diff-6b97183cf3398b651ae94ddd60cefe9a69eecae19c95f2e36260537d04dcbf5d
test-fs-access.jshttps://github.com/nodejs/node/commit/4cb5f3daa3#diff-9f28bba0b9948a16a3905ddc942f5c0a49cfd2e34214dc7ce331c7e33fb1c13f
test-fs-link.jshttps://github.com/nodejs/node/commit/4cb5f3daa3#diff-0b70cd2e373dbed5778abe7916378597c858ef3f5f5f4149829dab29645d96f8
test-fs-make-callback.jshttps://github.com/nodejs/node/commit/4cb5f3daa3#diff-f515089f0451697070bb48a052c35a43067b0778d3f757aef733dd3aba61feb3
test-fs-makeStatsCallback.jshttps://github.com/nodejs/node/commit/4cb5f3daa3#diff-68c0894effd1b8085d9b21731ac05f6a2acbd416b1c1cd9669da1eb0dbce5702
test-fs-mkdtemp.jshttps://github.com/nodejs/node/commit/4cb5f3daa3#diff-1394a748365d296140c9b39bdb7f7b2a03e8d0dc36f1f6e335d24a935b9ff9bc
test-fs-readfile-error.jshttps://github.com/nodejs/node/commit/4cb5f3daa3#diff-69207945ddb93294ab5662bbd81a60421a6fd520843ab7333aef075944ceb50d
test-fs-write-no-fd.jshttps://github.com/nodejs/node/commit/4cb5f3daa3#diff-c0ee76fae2d54b7cb8026857ce55250f836574ec36581e0c4c0f6a7b7cbad136
‎doc/api/deprecations.md‎https://github.com/nodejs/node/commit/4cb5f3daa3#diff-b7c42d4dc97df183538f07f68a1f6ee54068ee8860cfa053ab141e64f290af87
‎doc/api/fs.md‎https://github.com/nodejs/node/commit/4cb5f3daa3#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2
‎lib/fs.js‎https://github.com/nodejs/node/commit/4cb5f3daa3#diff-9b2c5bf36570be7a09ba2597abdf6d9bc2cc1e19866b6674b0cf275c1188dcad
‎test/fixtures/test-fs-readfile-error.js‎https://github.com/nodejs/node/commit/4cb5f3daa3#diff-6b97183cf3398b651ae94ddd60cefe9a69eecae19c95f2e36260537d04dcbf5d
‎test/parallel/test-fs-access.js‎https://github.com/nodejs/node/commit/4cb5f3daa3#diff-9f28bba0b9948a16a3905ddc942f5c0a49cfd2e34214dc7ce331c7e33fb1c13f
‎test/parallel/test-fs-link.js‎https://github.com/nodejs/node/commit/4cb5f3daa3#diff-0b70cd2e373dbed5778abe7916378597c858ef3f5f5f4149829dab29645d96f8
‎test/parallel/test-fs-make-callback.js‎https://github.com/nodejs/node/commit/4cb5f3daa3#diff-f515089f0451697070bb48a052c35a43067b0778d3f757aef733dd3aba61feb3
‎test/parallel/test-fs-makeStatsCallback.js‎https://github.com/nodejs/node/commit/4cb5f3daa3#diff-68c0894effd1b8085d9b21731ac05f6a2acbd416b1c1cd9669da1eb0dbce5702
‎test/parallel/test-fs-mkdtemp.js‎https://github.com/nodejs/node/commit/4cb5f3daa3#diff-1394a748365d296140c9b39bdb7f7b2a03e8d0dc36f1f6e335d24a935b9ff9bc
‎test/parallel/test-fs-readfile-error.js‎https://github.com/nodejs/node/commit/4cb5f3daa3#diff-69207945ddb93294ab5662bbd81a60421a6fd520843ab7333aef075944ceb50d
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.