René's URL Explorer Experiment


Title: Fix off-by-one error in `modify()` when removing last array element by Copilot · Pull Request #120 · microsoft/node-jsonc-parser · GitHub

Open Graph Title: Fix off-by-one error in `modify()` when removing last array element by Copilot · Pull Request #120 · microsoft/node-jsonc-parser

X Title: Fix off-by-one error in `modify()` when removing last array element by Copilot · Pull Request #120 · microsoft/node-jsonc-parser

Description: Scanner and parser for JSON with comments. Contribute to microsoft/node-jsonc-parser development by creating an account on GitHub.

Open Graph Description: Fixes #108 modify() produced invalid JSON when removing the last element of an array — the removal length was one character short, leaving a trailing " for strings or concatenating adjacent nu...

X Description: Fixes #108 modify() produced invalid JSON when removing the last element of an array — the removal length was one character short, leaving a trailing " for strings or concatenating adjacen...

Opengraph URL: https://github.com/microsoft/node-jsonc-parser/pull/120

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:266e067f-f37e-7ae6-608c-8ae52c4799f7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBB92:EA06E:1082013:152CF11:6B01007F
html-safe-nonce114c55937a4d95ccc729d23c91e7c6b07217f149c44e827926dfe672a15afeb6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjkyOkVBMDZFOjEwODIwMTM6MTUyQ0YxMTo2QjAxMDA3RiIsInZpc2l0b3JfaWQiOiI4MjQwNDkxODE1NDU5OTQ2NjIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9486a18c1a129a18d0ea308cb2037d6688f78392ecc03ed312f664dede39ed61
hovercard-subject-tagpull_request:3623030228
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/microsoft/node-jsonc-parser/120/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8c33fec5fa0902cd29b7b9cbb9760e5b8c0813ae847a0122553e85206ff666bc/microsoft/node-jsonc-parser/pull/120
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8c33fec5fa0902cd29b7b9cbb9760e5b8c0813ae847a0122553e85206ff666bc/microsoft/node-jsonc-parser/pull/120
og:image:altFixes #108 modify() produced invalid JSON when removing the last element of an array — the removal length was one character short, leaving a trailing " for strings or concatenating adjacent nu...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCopilot
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
turbo-cache-controlno-cache
go-importgithub.com/microsoft/node-jsonc-parser git https://github.com/microsoft/node-jsonc-parser.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id56496360
octolytics-dimension-repository_nwomicrosoft/node-jsonc-parser
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id56496360
octolytics-dimension-repository_network_root_nwomicrosoft/node-jsonc-parser
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/node-jsonc-parser/pull/120#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fnode-jsonc-parser%2Fpull%2F120
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%2Fmicrosoft%2Fnode-jsonc-parser%2Fpull%2F120
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=microsoft%2Fnode-jsonc-parser
Reloadhttps://github.com/microsoft/node-jsonc-parser/pull/120
Reloadhttps://github.com/microsoft/node-jsonc-parser/pull/120
Reloadhttps://github.com/microsoft/node-jsonc-parser/pull/120
microsofthttps://github.com/microsoft
node-jsonc-parserhttps://github.com/microsoft/node-jsonc-parser
Codehttps://github.com/microsoft/node-jsonc-parser
Issues21 (21)https://github.com/microsoft/node-jsonc-parser/issues
Pull requests13 (13)https://github.com/microsoft/node-jsonc-parser/pulls
Actionshttps://github.com/microsoft/node-jsonc-parser/actions
Projectshttps://github.com/microsoft/node-jsonc-parser/projects
Security and qualityhttps://github.com/microsoft/node-jsonc-parser/security
Insightshttps://github.com/microsoft/node-jsonc-parser/insights
https://github.com/microsoft/node-jsonc-parser
Martin Aeschlimann (aeschli)https://github.com/aeschli
mainhttps://github.com/microsoft/node-jsonc-parser/tree/main
copilot/continue-working-on-projecthttps://github.com/microsoft/node-jsonc-parser/tree/copilot/continue-working-on-project
Conversationhttps://github.com/microsoft/node-jsonc-parser/pull/120
Commits2 (2)https://github.com/microsoft/node-jsonc-parser/pull/120/commits
Checkshttps://github.com/microsoft/node-jsonc-parser/pull/120/checks
Files changedhttps://github.com/microsoft/node-jsonc-parser/pull/120/files
Fix off-by-one error in modify() when removing last array elementhttps://github.com/microsoft/node-jsonc-parser/pull/120#top
Martin Aeschlimann (aeschli)https://github.com/aeschli
mainhttps://github.com/microsoft/node-jsonc-parser/tree/main
copilot/continue-working-on-projecthttps://github.com/microsoft/node-jsonc-parser/tree/copilot/continue-working-on-project
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
May 4, 2026https://github.com/microsoft/node-jsonc-parser/pull/120#issue-4375451747
Please reload this pagehttps://github.com/microsoft/node-jsonc-parser/pull/120
#108https://github.com/microsoft/node-jsonc-parser/issues/108
VS Codehttps://code.visualstudio.com/docs/copilot/copilot-coding-agent
Please reload this pagehttps://github.com/microsoft/node-jsonc-parser/pull/120
https://github.com/apps/copilot-swe-agent
Initial planhttps://github.com/microsoft/node-jsonc-parser/pull/120/commits/6ff6ccbdc9b2a029dfdfb4039a256a765b72242f
6ff6ccbhttps://github.com/microsoft/node-jsonc-parser/pull/120/commits/6ff6ccbdc9b2a029dfdfb4039a256a765b72242f
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Martin Aeschlimann (aeschli)https://github.com/aeschli
May 4, 2026https://github.com/microsoft/node-jsonc-parser/pull/120#event-25125968156
started workhttps://github.com/microsoft/node-jsonc-parser/sessions/8c22962d-a4c5-4849-afa3-2eafdc3d47d0
Martin Aeschlimann (aeschli)https://github.com/aeschli
May 4, 2026 09:34https://github.com/microsoft/node-jsonc-parser/pull/120#event-25125970429
View session https://github.com/microsoft/node-jsonc-parser/sessions/8c22962d-a4c5-4849-afa3-2eafdc3d47d0
https://github.com/apps/copilot-swe-agent
https://github.com/aeschli
Fix off-by-one bug in modify() when removing last array element (issuehttps://github.com/microsoft/node-jsonc-parser/pull/120/commits/87827eb0c379af0fa2ff01fd8043501c95fbb0af
…https://github.com/microsoft/node-jsonc-parser/issues/108
87827ebhttps://github.com/microsoft/node-jsonc-parser/pull/120/commits/87827eb0c379af0fa2ff01fd8043501c95fbb0af
…#108https://github.com/microsoft/node-jsonc-parser/issues/108
https://github.com/microsoft/node-jsonc-parser/sessions/8c22962d-a4c5-4849-afa3-2eafdc3d47d0https://github.com/microsoft/node-jsonc-parser/sessions/8c22962d-a4c5-4849-afa3-2eafdc3d47d0
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
May 4, 2026https://github.com/microsoft/node-jsonc-parser/pull/120#event-25126145855
finished workhttps://github.com/microsoft/node-jsonc-parser/sessions/8c22962d-a4c5-4849-afa3-2eafdc3d47d0
Martin Aeschlimann (aeschli)https://github.com/aeschli
May 4, 2026 09:40https://github.com/microsoft/node-jsonc-parser/pull/120#event-25126151784
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Martin Aeschlimann (aeschli)https://github.com/aeschli
May 4, 2026 09:40https://github.com/microsoft/node-jsonc-parser/pull/120#event-25126151845
https://github.com/aeschli
Martin Aeschlimann (aeschli)https://github.com/aeschli
May 4, 2026 https://github.com/microsoft/node-jsonc-parser/pull/120#pullrequestreview-4221054925
View reviewed changes https://github.com/microsoft/node-jsonc-parser/pull/120/files/87827eb0c379af0fa2ff01fd8043501c95fbb0af
https://github.com/aeschli
Martin Aeschlimann (aeschli)https://github.com/aeschli
May 4, 2026 14:49https://github.com/microsoft/node-jsonc-parser/pull/120#event-25137861509
https://github.com/aeschli
Martin Aeschlimann (aeschli)https://github.com/aeschli
May 4, 2026 14:49https://github.com/microsoft/node-jsonc-parser/pull/120#event-25137865811
https://github.com/amunger
Aaron Munger (amunger)https://github.com/amunger
May 4, 2026 https://github.com/microsoft/node-jsonc-parser/pull/120#pullrequestreview-4221359509
View reviewed changes https://github.com/microsoft/node-jsonc-parser/pull/120/files/87827eb0c379af0fa2ff01fd8043501c95fbb0af
https://github.com/aeschli
Martin Aeschlimann (aeschli)https://github.com/aeschli
babb17ahttps://github.com/microsoft/node-jsonc-parser/commit/babb17a9129c899a3bbcd14fcb313101f3a1fa8b
May 4, 2026https://github.com/microsoft/node-jsonc-parser/pull/120#event-25139471226
Please reload this pagehttps://github.com/microsoft/node-jsonc-parser/pull/120
https://github.com/aeschli
Martin Aeschlimann (aeschli)https://github.com/aeschli
May 4, 2026 15:31https://github.com/microsoft/node-jsonc-parser/pull/120#event-25139472294
https://github.com/cindykrafft
Cindy (cindykrafft)https://github.com/cindykrafft
Oct 15, 2026 https://github.com/microsoft/node-jsonc-parser/pull/120#ref-pullrequest-5860476828
Fix jsonEdit leaving a character behind when removing the last array element microsoft/vscode#341687 https://github.com/microsoft/vscode/pull/341687
https://github.com/brennanb2025
Brennan Benson (brennanb2025)https://github.com/brennanb2025
Nov 2, 2026 https://github.com/microsoft/node-jsonc-parser/pull/120#ref-pullrequest-6163748330
fix(agents): removing the last entry from a compact JSON config no longer corrupts it stablyai/orca#37476 https://github.com/stablyai/orca/pull/37476
https://github.co/hiddenchars
https://github.com/microsoft/node-jsonc-parser/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%2Fmicrosoft%2Fnode-jsonc-parser%2Fpull%2F120
https://github.com/amunger
Aaron Munger (amunger) https://github.com/amunger
https://github.com/microsoft/node-jsonc-parser/pull/120/files/87827eb0c379af0fa2ff01fd8043501c95fbb0af
https://github.com/aeschli
Martin Aeschlimann (aeschli) https://github.com/aeschli
https://github.com/microsoft/node-jsonc-parser/pull/120/files/87827eb0c379af0fa2ff01fd8043501c95fbb0af
Please reload this pagehttps://github.com/microsoft/node-jsonc-parser/pull/120
https://github.com/aeschli
Martin Aeschlimann (aeschli) https://github.com/aeschli
Copilot code review https://github.com/apps/copilot-swe-agent
Copilot https://github.com/apps/copilot-swe-agent
modify() produces invalid JSON when removing array elements https://github.com/microsoft/node-jsonc-parser/issues/108
Please reload this pagehttps://github.com/microsoft/node-jsonc-parser/pull/120
https://github.com/apps/copilot-swe-agent
https://github.com/amunger
https://github.com/aeschli
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.