René's URL Explorer Experiment


Title: Uncaught ReferenceError: Buffer is not defined · Issue #72 · mysqljs/sqlstring · GitHub

Open Graph Title: Uncaught ReferenceError: Buffer is not defined · Issue #72 · mysqljs/sqlstring

X Title: Uncaught ReferenceError: Buffer is not defined · Issue #72 · mysqljs/sqlstring

Description: When using SqlString.raw the error "Uncaught ReferenceError: Buffer is not defined" is throwing when using SqlString in a react site. This was discovered with react 17, vite 7. Interestingly the vitest tests did not have this issue indic...

Open Graph Description: When using SqlString.raw the error "Uncaught ReferenceError: Buffer is not defined" is throwing when using SqlString in a react site. This was discovered with react 17, vite 7. Interestingly the vi...

X Description: When using SqlString.raw the error "Uncaught ReferenceError: Buffer is not defined" is throwing when using SqlString in a react site. This was discovered with react 17, vite 7. Interestin...

Opengraph URL: https://github.com/mysqljs/sqlstring/issues/72

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Uncaught ReferenceError: Buffer is not defined","articleBody":"When using SqlString.raw the error \"Uncaught ReferenceError: Buffer is not defined\" is throwing when using SqlString in a react site.\n\nThis was discovered with react 17, vite 7. Interestingly the vitest tests did not have this issue indicating that the polyfill was not supplying the buffer when running the site directly but was when running the tests.\n\n\u003cimg width=\"1920\" height=\"1032\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/19eb1692-de68-41f5-bd3a-f90ffb57ce31\" />\n\nIf I manually add buffer to the window prior to running the raw method I don't have a problem, but I shouldn't need to implement a workaround in order to use the library's functionality.\n\n\u003cimg width=\"755\" height=\"158\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/49f0a644-88cc-485d-a52d-67062fb66e90\" />","author":{"url":"https://github.com/KennethJamesCurrie","@type":"Person","name":"KennethJamesCurrie"},"datePublished":"2026-03-16T12:34:57Z","url":"https://github.com/mysqljs/sqlstring/issues/72"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:76c199d3-8639-bd83-8d47-c9d63bc45db8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8E0C:3C1C49:31F7103:419C7A0:6B03A604
html-safe-nonce7046462c719b63fb5ff5b20dd557920a0ef3e886dc4f4b6d6553d45e6c5ad2c5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTBDOjNDMUM0OTozMUY3MTAzOjQxOUM3QTA6NkIwM0E2MDQiLCJ2aXNpdG9yX2lkIjoiNDAyMTc5OTg3NDQ2MTkzNTEwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca60297b2cfbabc30f2879cf2d6d0c7d83442d69e4f185e09fdd0ec9f4d321938
hovercard-subject-tagissue:4082220968
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/mysqljs/sqlstring/72/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a3e4cf62f407b359e0e3f4fb53a2737229997f6afa7849aa9e0e2d55a3694c05/mysqljs/sqlstring/issues/72
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a3e4cf62f407b359e0e3f4fb53a2737229997f6afa7849aa9e0e2d55a3694c05/mysqljs/sqlstring/issues/72
og:image:altWhen using SqlString.raw the error "Uncaught ReferenceError: Buffer is not defined" is throwing when using SqlString in a react site. This was discovered with react 17, vite 7. Interestingly the vi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKennethJamesCurrie
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/mysqljs/sqlstring git https://github.com/mysqljs/sqlstring.git
octolytics-dimension-user_id18713232
octolytics-dimension-user_loginmysqljs
octolytics-dimension-repository_id17160353
octolytics-dimension-repository_nwomysqljs/sqlstring
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17160353
octolytics-dimension-repository_network_root_nwomysqljs/sqlstring
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/mysqljs/sqlstring/issues/72#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmysqljs%2Fsqlstring%2Fissues%2F72
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%2Fmysqljs%2Fsqlstring%2Fissues%2F72
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=mysqljs%2Fsqlstring
Reloadhttps://github.com/mysqljs/sqlstring/issues/72
Reloadhttps://github.com/mysqljs/sqlstring/issues/72
Reloadhttps://github.com/mysqljs/sqlstring/issues/72
mysqljshttps://github.com/mysqljs
sqlstringhttps://github.com/mysqljs/sqlstring
Codehttps://github.com/mysqljs/sqlstring
Issues3 (3)https://github.com/mysqljs/sqlstring/issues
Pull requests4 (4)https://github.com/mysqljs/sqlstring/pulls
Actionshttps://github.com/mysqljs/sqlstring/actions
Security and qualityhttps://github.com/mysqljs/sqlstring/security
Insightshttps://github.com/mysqljs/sqlstring/insights
https://github.com/mysqljs/sqlstring
New issuehttps://github.com/login?return_to=https://github.com/mysqljs/sqlstring/issues/72
New issuehttps://github.com/login?return_to=https://github.com/mysqljs/sqlstring/issues/72
Uncaught ReferenceError: Buffer is not definedhttps://github.com/mysqljs/sqlstring/issues/72#top
https://github.com/KennethJamesCurrie
KennethJamesCurriehttps://github.com/KennethJamesCurrie
on Mar 16, 2026https://github.com/mysqljs/sqlstring/issues/72#issue-4082220968
https://private-user-images.githubusercontent.com/268609546/564127968-19eb1692-de68-41f5-bd3a-f90ffb57ce31.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0MDE1MjEsIm5iZiI6MTc5NTQwMTIyMSwicGF0aCI6Ii8yNjg2MDk1NDYvNTY0MTI3OTY4LTE5ZWIxNjkyLWRlNjgtNDFmNS1iZDNhLWY5MGZmYjU3Y2UzMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTEyM1QwMjMzNDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yYzFkN2E0ZGNmN2EzZjJmN2Y3ODgxMzg2ZDkxZWFmOGEzNzg0NGJlMTgyNjgwNzBiMjg1YWJkM2IzNmE1NTdlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.xd-ddiO265TAQj00eUMsiGUdJPTXfQBDY0alPOpxMyk
https://private-user-images.githubusercontent.com/268609546/564128540-49f0a644-88cc-485d-a52d-67062fb66e90.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0MDE1MjEsIm5iZiI6MTc5NTQwMTIyMSwicGF0aCI6Ii8yNjg2MDk1NDYvNTY0MTI4NTQwLTQ5ZjBhNjQ0LTg4Y2MtNDg1ZC1hNTJkLTY3MDYyZmI2NmU5MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTEyM1QwMjMzNDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jYzUzMjJkZGFmMGJiZWM0YTIxYTk3NmM5YmE1ZDQwM2YxMGY2ZmUwNDc4YjM4YjJmNGVhZWY3ZjRkM2M1Y2VjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.kIvcVNgFiQ1H2lEyrHs_iUtKim7-C18LVAIXId4gi0Y
https://github.com/sidorares
sidorareshttps://github.com/sidorares
on Mar 16, 2026https://github.com/mysqljs/sqlstring/issues/72#issuecomment-4070757964
https://github.com/KennethJamesCurrie
KennethJamesCurriehttps://github.com/KennethJamesCurrie
on Mar 16, 2026https://github.com/mysqljs/sqlstring/issues/72#issuecomment-4071339049
https://github.com/sidorares
sidorareshttps://github.com/sidorares
on Mar 17, 2026https://github.com/mysqljs/sqlstring/issues/72#issuecomment-4071609286
https://github.com/KennethJamesCurrie
KennethJamesCurriehttps://github.com/KennethJamesCurrie
on Mar 17, 2026https://github.com/mysqljs/sqlstring/issues/72#issuecomment-4071827086
Sign up for freehttps://github.com/signup?return_to=https://github.com/mysqljs/sqlstring/issues/72
Sign in to commenthttps://github.com/login?return_to=https://github.com/mysqljs/sqlstring/issues/72
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.