René's URL Explorer Experiment


Title: Fix security, type safety, and API surface issues from PR #16 review by Copilot · Pull Request #18 · bQuery/bQuery · GitHub

Open Graph Title: Fix security, type safety, and API surface issues from PR #16 review by Copilot · Pull Request #18 · bQuery/bQuery

X Title: Fix security, type safety, and API surface issues from PR #16 review by Copilot · Pull Request #18 · bQuery/bQuery

Description: Addresses 8 review comments from PR #16 covering security vulnerabilities, runtime errors, and API design issues. Security Component styles injection: Use createElement('style') + textContent instead of concatenating into innerHTML to prevent XSS if styles contain DOM clobbering protection: Normalize all RESERVED_IDS to lowercase (Function → function, parentNode → parentnode) for proper case-insensitive comparison in isSafeIdOrName() Type Safety & Runtime Errors Router link handler: Guard e.target with instanceof Element before calling closest() to prevent errors on Text nodes Motion CSS properties: Convert camelCase to kebab-case (backgroundColor → background-color) in applyFinalKeyframeStyles so reduced-motion fallbacks work correctly // Before: style.setProperty('backgroundColor', value) - fails silently // After: style.setProperty('background-color', value) - works const cssProp = prop.startsWith('--') ? prop : toKebabCase(prop); style.setProperty(cssProp, String(value)); API Surface Core utilities: Replace export * from './utils' with explicit named exports to exclude internal helpers like isPrototypePollutionKey from @bquery/bquery/core Documentation View.update(): Clarify it only mutates context; re-renders happen via reactive signals mapGetters: Fix example to avoid destructuring which breaks reactivity Security module: Update version reference from 1.2.x to 1.3.0 ✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Open Graph Description: Addresses 8 review comments from PR #16 covering security vulnerabilities, runtime errors, and API design issues. Security Component styles injection: Use createElement('style') + textCont...

X Description: Addresses 8 review comments from PR #16 covering security vulnerabilities, runtime errors, and API design issues. Security Component styles injection: Use createElement('style') + ...

Opengraph URL: https://github.com/bQuery/bQuery/pull/18

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:fe12f612-e768-dd63-1e96-4ec29b7aed27
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F70:11B23B:252DC5:36B10F:6A4DFFDD
html-safe-noncec1be306b8998ca440c565c5cba76312d0bf46a697592cf45036b38c06673b784
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjcwOjExQjIzQjoyNTJEQzU6MzZCMTBGOjZBNERGRkREIiwidmlzaXRvcl9pZCI6Ijg5MzI5MzExMzMwMTM2MjI3NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2773719971868094df461d09ee7b8efb3e015d6e01d1f93479f93657d2e5c7f5
hovercard-subject-tagpull_request:3208891345
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/bQuery/bQuery/pull/18/files
twitter:imagehttps://avatars.githubusercontent.com/in/1143301?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/1143301?s=400&v=4
og:image:altAddresses 8 review comments from PR #16 covering security vulnerabilities, runtime errors, and API design issues. Security Component styles injection: Use createElement('style') + textCont...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonedf0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/bQuery/bQuery git https://github.com/bQuery/bQuery.git
octolytics-dimension-user_id256381806
octolytics-dimension-user_loginbQuery
octolytics-dimension-repository_id1139284244
octolytics-dimension-repository_nwobQuery/bQuery
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1139284244
octolytics-dimension-repository_network_root_nwobQuery/bQuery
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
release52bde38e24398476f8eb1e0760c81346c6a00812
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/bQuery/bQuery/pull/18/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FbQuery%2FbQuery%2Fpull%2F18%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
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%2FbQuery%2FbQuery%2Fpull%2F18%2Ffiles
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%2Ffiles&source=header-repo&source_repo=bQuery%2FbQuery
Reloadhttps://github.com/bQuery/bQuery/pull/18/files
Reloadhttps://github.com/bQuery/bQuery/pull/18/files
Reloadhttps://github.com/bQuery/bQuery/pull/18/files
Please reload this pagehttps://github.com/bQuery/bQuery/pull/18/files
bQuery https://github.com/bQuery
bQueryhttps://github.com/bQuery/bQuery
Please reload this pagehttps://github.com/bQuery/bQuery/pull/18/files
Notifications https://github.com/login?return_to=%2FbQuery%2FbQuery
Fork 0 https://github.com/login?return_to=%2FbQuery%2FbQuery
Star 1 https://github.com/login?return_to=%2FbQuery%2FbQuery
Code https://github.com/bQuery/bQuery
Issues 0 https://github.com/bQuery/bQuery/issues
Pull requests 0 https://github.com/bQuery/bQuery/pulls
Actions https://github.com/bQuery/bQuery/actions
Security and quality 0 https://github.com/bQuery/bQuery/security
Insights https://github.com/bQuery/bQuery/pulse
Code https://github.com/bQuery/bQuery
Issues https://github.com/bQuery/bQuery/issues
Pull requests https://github.com/bQuery/bQuery/pulls
Actions https://github.com/bQuery/bQuery/actions
Security and quality https://github.com/bQuery/bQuery/security
Insights https://github.com/bQuery/bQuery/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FbQuery%2FbQuery%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FbQuery%2FbQuery%2Fissues%2Fnew%2Fchoose
JosunLPhttps://github.com/JosunLP
developmenthttps://github.com/bQuery/bQuery/tree/development
copilot/sub-pr-16https://github.com/bQuery/bQuery/tree/copilot/sub-pr-16
Conversation 1 https://github.com/bQuery/bQuery/pull/18
Commits 2 https://github.com/bQuery/bQuery/pull/18/commits
Checks 5 https://github.com/bQuery/bQuery/pull/18/checks
Files changed https://github.com/bQuery/bQuery/pull/18/files
Please reload this pagehttps://github.com/bQuery/bQuery/pull/18/files
Fix security, type safety, and API surface issues from PR #16 review https://github.com/bQuery/bQuery/pull/18/files#top
Show all changes 2 commits https://github.com/bQuery/bQuery/pull/18/files
f43be06 Initial plan Copilot Jan 25, 2026 https://github.com/bQuery/bQuery/pull/18/commits/f43be06e15d51ee7a1e8ee91ccdca0509c66d39a
7777ca6 fix: address PR review comments - router guards, motion kebab-case, c… Copilot Jan 25, 2026 https://github.com/bQuery/bQuery/pull/18/commits/7777ca6980664328ea168aeac4f82224995703b0
Clear filters https://github.com/bQuery/bQuery/pull/18/files
Please reload this pagehttps://github.com/bQuery/bQuery/pull/18/files
Please reload this pagehttps://github.com/bQuery/bQuery/pull/18/files
security.md https://github.com/bQuery/bQuery/pull/18/files#diff-0d70d9be5621891762a49fd605632ea95991640ef0c9a2454380f6c886a955c9
store.md https://github.com/bQuery/bQuery/pull/18/files#diff-eb35d11c1e72c838818c85e020bbfc1263125e461f849693e0d3fdc906b22ff8
component.ts https://github.com/bQuery/bQuery/pull/18/files#diff-82a7b805e9a6218421c3e50547aeb1016175b1da32ca438870fbde04b2ac578e
index.ts https://github.com/bQuery/bQuery/pull/18/files#diff-dc2669ef0e27412381cdc1f36fb65119ab6e912ea36b58225471ecbb8e657b37
animate.ts https://github.com/bQuery/bQuery/pull/18/files#diff-57416e665034d22d2ef3e00766aa72a1493b2412df746add151d9eb6255d200c
links.ts https://github.com/bQuery/bQuery/pull/18/files#diff-125d7e3398caadda51e6b31f74d0520acbb873d1309b6b0b485cbfcd20f38079
constants.ts https://github.com/bQuery/bQuery/pull/18/files#diff-c2a458f1c11ca53a45aed469a31c9356c554e15b30364d12ec29ae9465944c2c
types.ts https://github.com/bQuery/bQuery/pull/18/files#diff-85f4ddff56af08407252e06b6eb0525a5477237a36acc202191584dde8d64d9a
docs/guide/security.mdhttps://github.com/bQuery/bQuery/pull/18/files#diff-0d70d9be5621891762a49fd605632ea95991640ef0c9a2454380f6c886a955c9
View file https://github.com/bQuery/bQuery/blob/7777ca6980664328ea168aeac4f82224995703b0/docs/guide/security.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/bQuery/bQuery/pull/18/{{ revealButtonHref }}
https://github.com/bQuery/bQuery/pull/18/files#diff-0d70d9be5621891762a49fd605632ea95991640ef0c9a2454380f6c886a955c9
https://github.com/bQuery/bQuery/pull/18/files#diff-0d70d9be5621891762a49fd605632ea95991640ef0c9a2454380f6c886a955c9
docs/guide/store.mdhttps://github.com/bQuery/bQuery/pull/18/files#diff-eb35d11c1e72c838818c85e020bbfc1263125e461f849693e0d3fdc906b22ff8
View file https://github.com/bQuery/bQuery/blob/7777ca6980664328ea168aeac4f82224995703b0/docs/guide/store.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/bQuery/bQuery/pull/18/{{ revealButtonHref }}
https://github.com/bQuery/bQuery/pull/18/files#diff-eb35d11c1e72c838818c85e020bbfc1263125e461f849693e0d3fdc906b22ff8
https://github.com/bQuery/bQuery/pull/18/files#diff-eb35d11c1e72c838818c85e020bbfc1263125e461f849693e0d3fdc906b22ff8
src/component/component.tshttps://github.com/bQuery/bQuery/pull/18/files#diff-82a7b805e9a6218421c3e50547aeb1016175b1da32ca438870fbde04b2ac578e
View file https://github.com/bQuery/bQuery/blob/7777ca6980664328ea168aeac4f82224995703b0/src/component/component.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/bQuery/bQuery/pull/18/{{ revealButtonHref }}
https://github.com/bQuery/bQuery/pull/18/files#diff-82a7b805e9a6218421c3e50547aeb1016175b1da32ca438870fbde04b2ac578e
https://github.com/bQuery/bQuery/pull/18/files#diff-82a7b805e9a6218421c3e50547aeb1016175b1da32ca438870fbde04b2ac578e
src/core/index.tshttps://github.com/bQuery/bQuery/pull/18/files#diff-dc2669ef0e27412381cdc1f36fb65119ab6e912ea36b58225471ecbb8e657b37
View file https://github.com/bQuery/bQuery/blob/7777ca6980664328ea168aeac4f82224995703b0/src/core/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/bQuery/bQuery/pull/18/{{ revealButtonHref }}
src/motion/animate.tshttps://github.com/bQuery/bQuery/pull/18/files#diff-57416e665034d22d2ef3e00766aa72a1493b2412df746add151d9eb6255d200c
View file https://github.com/bQuery/bQuery/blob/7777ca6980664328ea168aeac4f82224995703b0/src/motion/animate.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/bQuery/bQuery/pull/18/{{ revealButtonHref }}
https://github.com/bQuery/bQuery/pull/18/files#diff-57416e665034d22d2ef3e00766aa72a1493b2412df746add151d9eb6255d200c
https://github.com/bQuery/bQuery/pull/18/files#diff-57416e665034d22d2ef3e00766aa72a1493b2412df746add151d9eb6255d200c
https://github.com/bQuery/bQuery/pull/18/files#diff-57416e665034d22d2ef3e00766aa72a1493b2412df746add151d9eb6255d200c
https://github.com/bQuery/bQuery/pull/18/files#diff-57416e665034d22d2ef3e00766aa72a1493b2412df746add151d9eb6255d200c
src/router/links.tshttps://github.com/bQuery/bQuery/pull/18/files#diff-125d7e3398caadda51e6b31f74d0520acbb873d1309b6b0b485cbfcd20f38079
View file https://github.com/bQuery/bQuery/blob/7777ca6980664328ea168aeac4f82224995703b0/src/router/links.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/bQuery/bQuery/pull/18/{{ revealButtonHref }}
https://github.com/bQuery/bQuery/pull/18/files#diff-125d7e3398caadda51e6b31f74d0520acbb873d1309b6b0b485cbfcd20f38079
https://github.com/bQuery/bQuery/pull/18/files#diff-125d7e3398caadda51e6b31f74d0520acbb873d1309b6b0b485cbfcd20f38079
src/security/constants.tshttps://github.com/bQuery/bQuery/pull/18/files#diff-c2a458f1c11ca53a45aed469a31c9356c554e15b30364d12ec29ae9465944c2c
View file https://github.com/bQuery/bQuery/blob/7777ca6980664328ea168aeac4f82224995703b0/src/security/constants.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/bQuery/bQuery/pull/18/{{ revealButtonHref }}
https://github.com/bQuery/bQuery/pull/18/files#diff-c2a458f1c11ca53a45aed469a31c9356c554e15b30364d12ec29ae9465944c2c
https://github.com/bQuery/bQuery/pull/18/files#diff-c2a458f1c11ca53a45aed469a31c9356c554e15b30364d12ec29ae9465944c2c
https://github.com/bQuery/bQuery/pull/18/files#diff-c2a458f1c11ca53a45aed469a31c9356c554e15b30364d12ec29ae9465944c2c
src/view/types.tshttps://github.com/bQuery/bQuery/pull/18/files#diff-85f4ddff56af08407252e06b6eb0525a5477237a36acc202191584dde8d64d9a
View file https://github.com/bQuery/bQuery/blob/7777ca6980664328ea168aeac4f82224995703b0/src/view/types.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/bQuery/bQuery/pull/18/{{ revealButtonHref }}
https://github.com/bQuery/bQuery/pull/18/files#diff-85f4ddff56af08407252e06b6eb0525a5477237a36acc202191584dde8d64d9a
https://github.com/bQuery/bQuery/pull/18/files#diff-85f4ddff56af08407252e06b6eb0525a5477237a36acc202191584dde8d64d9a
Please reload this pagehttps://github.com/bQuery/bQuery/pull/18/files
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.