René's URL Explorer Experiment


Title: fs: check argument type on createStream method by yosuke-furukawa · Pull Request #1845 · nodejs/node · GitHub

Open Graph Title: fs: check argument type on createStream method by yosuke-furukawa · Pull Request #1845 · nodejs/node

X Title: fs: check argument type on createStream method by yosuke-furukawa · Pull Request #1845 · nodejs/node

Description: separeted #1412 On Node.js v0.12 // illegal option but does not throw an Error, just ignore. fs.createReadStream('foo.txt', 'utf8'); // illegal option but does not throw an Error, just ignore. fs.createWriteStream('hoge', 'utf8'); On io.js v1.6.4 // illegal option and throw an Error fs.createReadStream('foo.txt', 'utf8'); fs.js:1619 options = Object.create(options || {}); ^ TypeError: Object prototype may only be an Object or null: utf8 at Function.create (native) at new ReadStream (fs.js:1619:20) at Object.fs.createReadStream (fs.js:1608:10) at Object. (/Users/yosuke/go/src/github.com/yosuke-furukawa/fork/io.js/test/parallel/test-fs-write-stream-encoding.js:12:30) at Module._compile (module.js:410:26) at Object.Module._extensions..js (module.js:428:10) at Module.load (module.js:335:32) at Function.Module._load (module.js:290:12) at Function.Module.runMain (module.js:451:10) at startup (node.js:124:18) // illegal option but does not throw an Error, just ignore. fs.createWriteStream('hoge', 'utf8'); I added document and fixed test to avoid linter errors.

Open Graph Description: separeted #1412 On Node.js v0.12 // illegal option but does not throw an Error, just ignore. fs.createReadStream('foo.txt', 'utf8'); // illegal option but does not throw an Error, ...

X Description: separeted #1412 On Node.js v0.12 // illegal option but does not throw an Error, just ignore. fs.createReadStream('foo.txt', 'utf8'); // illegal option but does not ...

Opengraph URL: https://github.com/nodejs/node/pull/1845

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:be8c8524-dbb4-d9b1-1152-267802373ce4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB26C:1E2715:F92D34:1445A60:6AED5ABF
html-safe-nonce9d9375a123fa6ed7d16e010bf47c058975701c0d43374d67f32b21094187ca21
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjZDOjFFMjcxNTpGOTJEMzQ6MTQ0NUE2MDo2QUVENUFCRiIsInZpc2l0b3JfaWQiOiI0NDk3MTI4MjMwMTQwODYxMTE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7ce9334573ebd621440e2ee865226f83fc9a525fc963e79fbb8f3ec02491b6e8
hovercard-subject-tagpull_request:36570444
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/nodejs/node/pull/1845/files
twitter:imagehttps://avatars.githubusercontent.com/u/555645?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/555645?s=400&v=4
og:image:altsepareted #1412 On Node.js v0.12 // illegal option but does not throw an Error, just ignore. fs.createReadStream('foo.txt', 'utf8'); // illegal option but does not throw an Error, ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/1845/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F1845%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F1845%2Ffiles
Sign uphttps://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%2Ffiles&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/1845/files
Reloadhttps://github.com/nodejs/node/pull/1845/files
Reloadhttps://github.com/nodejs/node/pull/1845/files
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues654 (654)https://github.com/nodejs/node/issues
Pull requests662 (662)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
yosuke-furukawahttps://github.com/yosuke-furukawa
nodejs:masterhttps://github.com/nodejs/node/tree/master
Conversation 27 https://github.com/nodejs/node/pull/1845
Commits 1 https://github.com/nodejs/node/pull/1845/commits
Checks 0 https://github.com/nodejs/node/pull/1845/checks
Files changed https://github.com/nodejs/node/pull/1845/files
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
fs: check argument type on createStream method https://github.com/nodejs/node/pull/1845/files#top
Show all changes 1 commit https://github.com/nodejs/node/pull/1845/files
cef9da0 fs: check argument type on createStream method yosuke-furukawa Apr 13, 2015 https://github.com/nodejs/node/pull/1845/commits/cef9da0412b8fbfa7d3aa73665ed29c546125df6
Clear filters https://github.com/nodejs/node/pull/1845/files
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
fs.markdown https://github.com/nodejs/node/pull/1845/files#diff-70c68208ec33c642612c1668d1abcb25b9e2d45b48e107bf32c4ba6f946f273a
fs.js https://github.com/nodejs/node/pull/1845/files#diff-9b2c5bf36570be7a09ba2597abdf6d9bc2cc1e19866b6674b0cf275c1188dcad
test-fs-read-stream-encoding.js https://github.com/nodejs/node/pull/1845/files#diff-3a4a1fb663fd525495776ca63800b0bee43de8f98da147bfb7a59932576c1524
test-fs-read-stream-throw-type-error.js https://github.com/nodejs/node/pull/1845/files#diff-1827e76fb3265a7ef0b30a7033f0acefc8a33be7cbfdaf957aa27d04e3aa9ddb
test-fs-write-stream-throw-type-error.js https://github.com/nodejs/node/pull/1845/files#diff-54d523f882bbb4581d4cf25c90a1f32e0d24ec6c775927466a217195e2b80349
doc/api/fs.markdownhttps://github.com/nodejs/node/pull/1845/files#diff-70c68208ec33c642612c1668d1abcb25b9e2d45b48e107bf32c4ba6f946f273a
View file https://github.com/nodejs/node/blob/cef9da0412b8fbfa7d3aa73665ed29c546125df6/doc/api/fs.markdown
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/1845/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/1845/files#diff-70c68208ec33c642612c1668d1abcb25b9e2d45b48e107bf32c4ba6f946f273a
https://github.com/nodejs/node/pull/1845/files#diff-70c68208ec33c642612c1668d1abcb25b9e2d45b48e107bf32c4ba6f946f273a
https://github.com/nodejs/node/pull/1845/files#diff-70c68208ec33c642612c1668d1abcb25b9e2d45b48e107bf32c4ba6f946f273a
https://github.com/nodejs/node/pull/1845/files#diff-70c68208ec33c642612c1668d1abcb25b9e2d45b48e107bf32c4ba6f946f273a
https://github.com/nodejs/node/pull/1845/files#diff-70c68208ec33c642612c1668d1abcb25b9e2d45b48e107bf32c4ba6f946f273a
lib/fs.jshttps://github.com/nodejs/node/pull/1845/files#diff-9b2c5bf36570be7a09ba2597abdf6d9bc2cc1e19866b6674b0cf275c1188dcad
View file https://github.com/nodejs/node/blob/cef9da0412b8fbfa7d3aa73665ed29c546125df6/lib/fs.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/1845/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/1845/files#diff-9b2c5bf36570be7a09ba2597abdf6d9bc2cc1e19866b6674b0cf275c1188dcad
brendanashworthhttps://github.com/brendanashworth
May 30, 2015https://github.com/nodejs/node/pull/1845/files#r31383769
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
cjihrighttps://github.com/cjihrig
May 30, 2015https://github.com/nodejs/node/pull/1845/files#r31383800
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
yosuke-furukawahttps://github.com/yosuke-furukawa
May 31, 2015https://github.com/nodejs/node/pull/1845/files#r31393037
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
cjihrighttps://github.com/cjihrig
Jun 1, 2015https://github.com/nodejs/node/pull/1845/files#r31434543
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
brendanashworthhttps://github.com/brendanashworth
Jun 1, 2015https://github.com/nodejs/node/pull/1845/files#r31446660
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
cjihrighttps://github.com/cjihrig
Jun 1, 2015https://github.com/nodejs/node/pull/1845/files#r31447069
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
thefourtheyehttps://github.com/thefourtheye
Jun 1, 2015https://github.com/nodejs/node/pull/1845/files#r31447261
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
yosuke-furukawahttps://github.com/yosuke-furukawa
Jun 1, 2015https://github.com/nodejs/node/pull/1845/files#r31453308
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@cjihrighttps://github.com/cjihrig
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
yosuke-furukawahttps://github.com/yosuke-furukawa
Jun 1, 2015https://github.com/nodejs/node/pull/1845/files#r31455838
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
thefourtheyehttps://github.com/thefourtheye
Jun 1, 2015https://github.com/nodejs/node/pull/1845/files#r31462005
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
yosuke-furukawahttps://github.com/yosuke-furukawa
Jun 2, 2015https://github.com/nodejs/node/pull/1845/files#r31490633
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#1845 (comment)https://github.com/nodejs/node/pull/1845#discussion_r31453308
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
thefourtheyehttps://github.com/thefourtheye
Jun 2, 2015https://github.com/nodejs/node/pull/1845/files#r31491194
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
yosuke-furukawahttps://github.com/yosuke-furukawa
Jun 2, 2015https://github.com/nodejs/node/pull/1845/files#r31491970
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#635https://github.com/nodejs/node/pull/635
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
https://github.com/nodejs/node/pull/1845/files#diff-9b2c5bf36570be7a09ba2597abdf6d9bc2cc1e19866b6674b0cf275c1188dcad
https://github.com/nodejs/node/pull/1845/files#diff-9b2c5bf36570be7a09ba2597abdf6d9bc2cc1e19866b6674b0cf275c1188dcad
https://github.com/nodejs/node/pull/1845/files#diff-9b2c5bf36570be7a09ba2597abdf6d9bc2cc1e19866b6674b0cf275c1188dcad
test/parallel/test-fs-read-stream-encoding.jshttps://github.com/nodejs/node/pull/1845/files#diff-3a4a1fb663fd525495776ca63800b0bee43de8f98da147bfb7a59932576c1524
View file https://github.com/nodejs/node/blob/cef9da0412b8fbfa7d3aa73665ed29c546125df6/test/parallel/test-fs-read-stream-encoding.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/1845/{{ revealButtonHref }}
cjihrighttps://github.com/cjihrig
Jun 2, 2015https://github.com/nodejs/node/pull/1845/files#r31485199
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
yosuke-furukawahttps://github.com/yosuke-furukawa
Jun 2, 2015https://github.com/nodejs/node/pull/1845/files#r31491771
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
test/parallel/test-fs-read-stream-throw-type-error.jshttps://github.com/nodejs/node/pull/1845/files#diff-1827e76fb3265a7ef0b30a7033f0acefc8a33be7cbfdaf957aa27d04e3aa9ddb
View file https://github.com/nodejs/node/blob/cef9da0412b8fbfa7d3aa73665ed29c546125df6/test/parallel/test-fs-read-stream-throw-type-error.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/1845/{{ revealButtonHref }}
cjihrighttps://github.com/cjihrig
May 31, 2015https://github.com/nodejs/node/pull/1845/files#r31391494
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
yosuke-furukawahttps://github.com/yosuke-furukawa
May 31, 2015https://github.com/nodejs/node/pull/1845/files#r31393124
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/1845/files
test/parallel/test-fs-write-stream-throw-type-error.jshttps://github.com/nodejs/node/pull/1845/files#diff-54d523f882bbb4581d4cf25c90a1f32e0d24ec6c775927466a217195e2b80349
View file https://github.com/nodejs/node/blob/cef9da0412b8fbfa7d3aa73665ed29c546125df6/test/parallel/test-fs-write-stream-throw-type-error.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/1845/{{ revealButtonHref }}
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.