René's URL Explorer Experiment


Title: ffi: keep FFI functions non-constructible by trivikr · Pull Request #65184 · nodejs/node · GitHub

Open Graph Title: ffi: keep FFI functions non-constructible by trivikr · Pull Request #65184 · nodejs/node

X Title: ffi: keep FFI functions non-constructible by trivikr · Pull Request #65184 · nodejs/node

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

Open Graph Description: Fixes: #65183 Use concise method functions for Fast API and shared-buffer wrappers, and create native fallback functions with ConstructorBehavior::kThrow, so FFI functions remain non-constructible ...

X Description: Fixes: #65183 Use concise method functions for Fast API and shared-buffer wrappers, and create native fallback functions with ConstructorBehavior::kThrow, so FFI functions remain non-constructible ...

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

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:181b4953-c7e5-e69f-64c0-6b97e1f31594
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE7C:1AE59E:5A8B57:757AEC:6AED283C
html-safe-nonce1a5dce4b6ab2194d7fbca43f3056d4134df773bf009a5e03d33a6c66e6e84065
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTdDOjFBRTU5RTo1QThCNTc6NzU3QUVDOjZBRUQyODNDIiwidmlzaXRvcl9pZCI6IjQ1Nzc2OTk5OTEyNTI3MDczODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2c5582783eae9e1cfa562fc7783195f443735af0c828c74a93d48ae9536f3ecb
hovercard-subject-tagpull_request:4242068029
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/65184/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/52b2a1f5ef51970a9cf3f5b8dfef001ae29fb40885b53add53f31abdc727f521/nodejs/node/pull/65184
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/52b2a1f5ef51970a9cf3f5b8dfef001ae29fb40885b53add53f31abdc727f521/nodejs/node/pull/65184
og:image:altFixes: #65183 Use concise method functions for Fast API and shared-buffer wrappers, and create native fallback functions with ConstructorBehavior::kThrow, so FFI functions remain non-constructible ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametrivikr
hostnamegithub.com
expected-hostnamegithub.com
None9d95365dda0576efe9b71f45807595e396bd0ca9286fba5367a05048e6ddf8f2
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
release98b41fa4b5635ceb45a4c54320fced73817ff290
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/nodejs/node/pull/65184#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F65184
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%2F65184
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/65184
Reloadhttps://github.com/nodejs/node/pull/65184
Reloadhttps://github.com/nodejs/node/pull/65184
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues657 (657)https://github.com/nodejs/node/issues
Pull requests666 (666)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
https://github.com/nodejs/node
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
trivikr:ffi-constructible-native-functionshttps://github.com/trivikr/node/tree/ffi-constructible-native-functions
Conversationhttps://github.com/nodejs/node/pull/65184
Commits1 (1)https://github.com/nodejs/node/pull/65184/commits
Checkshttps://github.com/nodejs/node/pull/65184/checks
Files changedhttps://github.com/nodejs/node/pull/65184/files
ffi: keep FFI functions non-constructiblehttps://github.com/nodejs/node/pull/65184#top
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
trivikr:ffi-constructible-native-functionshttps://github.com/trivikr/node/tree/ffi-constructible-native-functions
https://github.com/trivikr
trivikrhttps://github.com/trivikr
Aug 10, 2026https://github.com/nodejs/node/pull/65184#issue-5107022153
Please reload this pagehttps://github.com/nodejs/node/pull/65184
#65183https://github.com/nodejs/node/issues/65183
Please reload this pagehttps://github.com/nodejs/node/pull/65184
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Aug 10, 2026https://github.com/nodejs/node/pull/65184#issuecomment-5236348872
Please reload this pagehttps://github.com/nodejs/node/pull/65184
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
ffi https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Affi
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
Aug 10, 2026https://github.com/nodejs/node/pull/65184#event-29204293570
https://github.com/trivikr
trivikrhttps://github.com/trivikr
request-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Arequest-ci
Aug 10, 2026https://github.com/nodejs/node/pull/65184#event-29204308243
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Aug 10, 2026https://github.com/nodejs/node/pull/65184#issuecomment-5237133007
Please reload this pagehttps://github.com/nodejs/node/pull/65184
Codecovhttps://app.codecov.io/gh/nodejs/node/pull/65184?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
a576f1chttps://app.codecov.io/gh/nodejs/node/commit/a576f1cd497c0b0735a4444de0efb9fbe9988090?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
4c9023chttps://app.codecov.io/gh/nodejs/node/commit/4c9023c168b7b2933e2fe56e0cbdc3c4dd8e1286?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
Files with missing lineshttps://app.codecov.io/gh/nodejs/node/pull/65184?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
lib/internal/ffi-shared-buffer.jshttps://app.codecov.io/gh/nodejs/node/pull/65184?src=pr&el=tree&filepath=lib%2Finternal%2Fffi-shared-buffer.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-bGliL2ludGVybmFsL2ZmaS1zaGFyZWQtYnVmZmVyLmpz
24 Missing ⚠️ https://app.codecov.io/gh/nodejs/node/pull/65184?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
src/node_ffi.cchttps://app.codecov.io/gh/nodejs/node/pull/65184?src=pr&el=tree&filepath=src%2Fnode_ffi.cc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-c3JjL25vZGVfZmZpLmNj
0 Missing and 1 partial ⚠️ https://app.codecov.io/gh/nodejs/node/pull/65184?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
Files with missing lineshttps://app.codecov.io/gh/nodejs/node/pull/65184?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
lib/internal/ffi/fast-api.jshttps://app.codecov.io/gh/nodejs/node/pull/65184?src=pr&el=tree&filepath=lib%2Finternal%2Fffi%2Ffast-api.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-bGliL2ludGVybmFsL2ZmaS9mYXN0LWFwaS5qcw==
src/node_ffi.cchttps://app.codecov.io/gh/nodejs/node/pull/65184?src=pr&el=tree&filepath=src%2Fnode_ffi.cc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-c3JjL25vZGVfZmZpLmNj
lib/internal/ffi-shared-buffer.jshttps://app.codecov.io/gh/nodejs/node/pull/65184?src=pr&el=tree&filepath=lib%2Finternal%2Fffi-shared-buffer.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-bGliL2ludGVybmFsL2ZmaS1zaGFyZWQtYnVmZmVyLmpz
29 files with indirect coverage changeshttps://app.codecov.io/gh/nodejs/node/pull/65184/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
Test Analyticshttps://docs.codecov.com/docs/test-analytics
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://github.com/nodejs/node/pull/65184
https://github.com/trivikr
trivikrhttps://github.com/trivikr
request-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Arequest-ci
Aug 10, 2026https://github.com/nodejs/node/pull/65184#event-29246459340
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Aug 10, 2026https://github.com/nodejs/node/pull/65184#issuecomment-5245876150
https://ci.nodejs.org/job/node-test-pull-request/75753/https://ci.nodejs.org/job/node-test-pull-request/75753/
Please reload this pagehttps://github.com/nodejs/node/pull/65184
https://github.com/trivikr
trivikrhttps://github.com/trivikr
August 11, 2026 01:15https://github.com/nodejs/node/pull/65184#event-29254564612
https://github.com/trivikr
trivikrhttps://github.com/trivikr
Aug 11, 2026https://github.com/nodejs/node/pull/65184#issuecomment-5247910146
https://ci.nodejs.org/job/node-test-commit-aix/64326/https://ci.nodejs.org/job/node-test-commit-aix/64326/
Please reload this pagehttps://github.com/nodejs/node/pull/65184
https://github.com/trivikr
trivikrhttps://github.com/trivikr
force-pushedhttps://github.com/nodejs/node/compare/edd2a79661f503dfc6c11351233c2aae4125dad9..317ff65f8ac6799640b12c4e94ad160d0c02792e
edd2a79https://github.com/nodejs/node/commit/edd2a79661f503dfc6c11351233c2aae4125dad9
317ff65https://github.com/nodejs/node/commit/317ff65f8ac6799640b12c4e94ad160d0c02792e
Compare https://github.com/nodejs/node/compare/edd2a79661f503dfc6c11351233c2aae4125dad9..317ff65f8ac6799640b12c4e94ad160d0c02792e
August 11, 2026 02:41https://github.com/nodejs/node/pull/65184#event-29256733785
https://github.com/trivikr
trivikrhttps://github.com/trivikr
August 11, 2026 02:41https://github.com/nodejs/node/pull/65184#event-29256737249
https://github.com/trivikr
trivikrhttps://github.com/trivikr
Aug 11, 2026https://github.com/nodejs/node/pull/65184#issuecomment-5248396670
Please reload this pagehttps://github.com/nodejs/node/pull/65184
https://github.com/trivikr
trivikrhttps://github.com/trivikr
Aug 11, 2026https://github.com/nodejs/node/pull/65184#event-29256764205
https://github.com/trivikr
ffi: keep FFI functions non-constructiblehttps://github.com/nodejs/node/pull/65184/commits/4c9023c168b7b2933e2fe56e0cbdc3c4dd8e1286
4c9023chttps://github.com/nodejs/node/pull/65184/commits/4c9023c168b7b2933e2fe56e0cbdc3c4dd8e1286
https://github.com/trivikr
trivikrhttps://github.com/trivikr
force-pushedhttps://github.com/nodejs/node/compare/317ff65f8ac6799640b12c4e94ad160d0c02792e..4c9023c168b7b2933e2fe56e0cbdc3c4dd8e1286
317ff65https://github.com/nodejs/node/commit/317ff65f8ac6799640b12c4e94ad160d0c02792e
4c9023chttps://github.com/nodejs/node/commit/4c9023c168b7b2933e2fe56e0cbdc3c4dd8e1286
Compare https://github.com/nodejs/node/compare/317ff65f8ac6799640b12c4e94ad160d0c02792e..4c9023c168b7b2933e2fe56e0cbdc3c4dd8e1286
August 11, 2026 02:56https://github.com/nodejs/node/pull/65184#event-29257163945
https://github.com/nodejs-github-bot
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F65184
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Aug 11, 2026https://github.com/nodejs/node/pull/65184#issuecomment-5249651212
https://ci.nodejs.org/job/node-test-pull-request/75766/https://ci.nodejs.org/job/node-test-pull-request/75766/
Please reload this pagehttps://github.com/nodejs/node/pull/65184
https://github.com/trivikr
trivikrhttps://github.com/trivikr
ShogunPandahttps://github.com/ShogunPanda
mcollinahttps://github.com/mcollina
August 13, 2026 22:48https://github.com/nodejs/node/pull/65184#event-29428951867
https://github.com/ShogunPanda
ShogunPandahttps://github.com/ShogunPanda
Aug 17, 2026 https://github.com/nodejs/node/pull/65184#pullrequestreview-4949375263
View reviewed changes https://github.com/nodejs/node/pull/65184/files/4c9023c168b7b2933e2fe56e0cbdc3c4dd8e1286
https://github.com/trivikr
trivikrhttps://github.com/trivikr
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Aug 17, 2026https://github.com/nodejs/node/pull/65184#event-29567522299
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
8f6c69fhttps://github.com/nodejs/node/commit/8f6c69fc4c60029391d3f5828e3c60e3c55ce7e9
Aug 17, 2026https://github.com/nodejs/node/pull/65184#event-29569772993
Please reload this pagehttps://github.com/nodejs/node/pull/65184
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Aug 17, 2026https://github.com/nodejs/node/pull/65184#issuecomment-5317675514
8f6c69fhttps://github.com/nodejs/node/commit/8f6c69fc4c60029391d3f5828e3c60e3c55ce7e9
Please reload this pagehttps://github.com/nodejs/node/pull/65184
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Aug 17, 2026https://github.com/nodejs/node/pull/65184#event-29569775607
aduh95https://github.com/aduh95
Aug 25, 2026 https://github.com/nodejs/node/pull/65184#ref-commit-630a0b3
https://github.com/trivikr
https://github.com/aduh95
ffi: keep FFI functions non-constructiblehttps://github.com/nodejs/node/commit/630a0b3e0c02146fe8e2bdb527b35c94f8b74fc8
630a0b3https://github.com/nodejs/node/commit/630a0b3e0c02146fe8e2bdb527b35c94f8b74fc8
#65184https://github.com/nodejs/node/pull/65184
#65183https://github.com/nodejs/node/issues/65183
aduh95https://github.com/aduh95
Aug 25, 2026 https://github.com/nodejs/node/pull/65184#ref-commit-9024ec2
https://github.com/trivikr
https://github.com/aduh95
ffi: keep FFI functions non-constructiblehttps://github.com/nodejs/node/commit/9024ec27b6333e5cd2bea5ce890fc2ff6fbab84f
9024ec2https://github.com/nodejs/node/commit/9024ec27b6333e5cd2bea5ce890fc2ff6fbab84f
#65184https://github.com/nodejs/node/pull/65184
#65183https://github.com/nodejs/node/issues/65183
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 25, 2026 https://github.com/nodejs/node/pull/65184#ref-pullrequest-5251528519
2026-08-26, Version 26.8.0 (Current) #65551 https://github.com/nodejs/node/pull/65551
https://github.com/trivikr
trivikrhttps://github.com/trivikr
September 7, 2026 01:16https://github.com/nodejs/node/pull/65184#event-30659291514
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F65184
https://github.com/ShogunPanda
ShogunPanda https://github.com/ShogunPanda
https://github.com/nodejs/node/pull/65184/files/4c9023c168b7b2933e2fe56e0cbdc3c4dd8e1286
https://github.com/mcollina
mcollina https://github.com/mcollina
Please reload this pagehttps://github.com/nodejs/node/pull/65184
ffi https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Affi
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
ffi: JavaScript wrappers make non-constructible native functions constructible https://github.com/nodejs/node/issues/65183
Please reload this pagehttps://github.com/nodejs/node/pull/65184
https://github.com/trivikr
https://github.com/nodejs-github-bot
https://github.com/ShogunPanda
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.