René's URL Explorer Experiment


Title: Fix a bug that encode() and decode() are not re-entrant by gfx · Pull Request #257 · msgpack/msgpack-javascript · GitHub

Open Graph Title: Fix a bug that encode() and decode() are not re-entrant by gfx · Pull Request #257 · msgpack/msgpack-javascript

X Title: Fix a bug that encode() and decode() are not re-entrant by gfx · Pull Request #257 · msgpack/msgpack-javascript

Description: close #195 $ npx mocha test/reuse-instances-with-extensions.test.ts reuse instances with extensions 1) should encode and decode a bigint 0 passing (5ms) 1 failing 1) reuse instances with extensions should encode and decode a bigint: RangeError: Extra 6 of 9 byte(s) found at buffer[3] at Decoder.createExtraByteError (src/Decoder.ts:274:12) at Decoder.decode (src/Decoder.ts:287:18) at Context. (test/reuse-instances-with-extensions.test.ts:38:26) at processImmediate (node:internal/timers:491:21)

Open Graph Description: close #195 $ npx mocha test/reuse-instances-with-extensions.test.ts reuse instances with extensions 1) should encode and decode a bigint 0 passing (5ms) 1 failing 1) reuse instance...

X Description: close #195 $ npx mocha test/reuse-instances-with-extensions.test.ts reuse instances with extensions 1) should encode and decode a bigint 0 passing (5ms) 1 failing 1) reuse instance...

Opengraph URL: https://github.com/msgpack/msgpack-javascript/pull/257

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1b456f00-224f-b0c3-e7c1-7157aac334a6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC926:32419A:F5352A:1652F08:6A54B171
html-safe-noncecdd9857702fda25a0a65be797668d4affdd982848f4cf0250a5f73f5e7d6e42b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTI2OjMyNDE5QTpGNTM1MkE6MTY1MkYwODo2QTU0QjE3MSIsInZpc2l0b3JfaWQiOiI1MDc4MDAwMzk0ODgzNjA4OTQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac390119d07b2e00748dbb83f9b9f6780d9f9ee38fa4389229d37119e2b28f4f7c
hovercard-subject-tagpull_request:2317523567
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/msgpack/msgpack-javascript/pull/257/files
twitter:imagehttps://avatars.githubusercontent.com/u/101800?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/101800?s=400&v=4
og:image:altclose #195 $ npx mocha test/reuse-instances-with-extensions.test.ts reuse instances with extensions 1) should encode and decode a bigint 0 passing (5ms) 1 failing 1) reuse instance...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/msgpack/msgpack-javascript git https://github.com/msgpack/msgpack-javascript.git
octolytics-dimension-user_id198264
octolytics-dimension-user_loginmsgpack
octolytics-dimension-repository_id2761854
octolytics-dimension-repository_nwomsgpack/msgpack-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id2761854
octolytics-dimension-repository_network_root_nwomsgpack/msgpack-javascript
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
release5d343e1152573ef294b28f54e4a14fb5fdb3a5a1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/msgpack/msgpack-javascript/pull/257/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgpack%2Fmsgpack-javascript%2Fpull%2F257%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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2Fmsgpack%2Fmsgpack-javascript%2Fpull%2F257%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=msgpack%2Fmsgpack-javascript
Reloadhttps://github.com/msgpack/msgpack-javascript/pull/257/files
Reloadhttps://github.com/msgpack/msgpack-javascript/pull/257/files
Reloadhttps://github.com/msgpack/msgpack-javascript/pull/257/files
Please reload this pagehttps://github.com/msgpack/msgpack-javascript/pull/257/files
msgpack https://github.com/msgpack
msgpack-javascripthttps://github.com/msgpack/msgpack-javascript
Notifications https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-javascript
Fork 177 https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-javascript
Star 1.6k https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-javascript
Code https://github.com/msgpack/msgpack-javascript
Issues 17 https://github.com/msgpack/msgpack-javascript/issues
Pull requests 5 https://github.com/msgpack/msgpack-javascript/pulls
Discussions https://github.com/msgpack/msgpack-javascript/discussions
Actions https://github.com/msgpack/msgpack-javascript/actions
Security and quality 0 https://github.com/msgpack/msgpack-javascript/security
Insights https://github.com/msgpack/msgpack-javascript/pulse
Code https://github.com/msgpack/msgpack-javascript
Issues https://github.com/msgpack/msgpack-javascript/issues
Pull requests https://github.com/msgpack/msgpack-javascript/pulls
Discussions https://github.com/msgpack/msgpack-javascript/discussions
Actions https://github.com/msgpack/msgpack-javascript/actions
Security and quality https://github.com/msgpack/msgpack-javascript/security
Insights https://github.com/msgpack/msgpack-javascript/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmsgpack%2Fmsgpack-javascript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-javascript%2Fissues%2Fnew%2Fchoose
gfxhttps://github.com/gfx
mainhttps://github.com/msgpack/msgpack-javascript/tree/main
regression_195https://github.com/msgpack/msgpack-javascript/tree/regression_195
Conversation 0 https://github.com/msgpack/msgpack-javascript/pull/257
Commits 3 https://github.com/msgpack/msgpack-javascript/pull/257/commits
Checks 0 https://github.com/msgpack/msgpack-javascript/pull/257/checks
Files changed 4 https://github.com/msgpack/msgpack-javascript/pull/257/files
Fix a bug that encode() and decode() are not re-entrant https://github.com/msgpack/msgpack-javascript/pull/257/files#top
Show all changes 3 commits https://github.com/msgpack/msgpack-javascript/pull/257/files
b41ccd7 add a regression test based on #195 gfx Feb 5, 2025 https://github.com/msgpack/msgpack-javascript/pull/257/commits/b41ccd7ad67a3741ac292d9109eebeb9d5574d42
70c21a9 make encode() and decode() re-entrant gfx Feb 6, 2025 https://github.com/msgpack/msgpack-javascript/pull/257/commits/70c21a95bd8267ff83ebf4a9610a4baf0d1b13cf
4fc612b need downlevelIteration for ES5 gfx Feb 6, 2025 https://github.com/msgpack/msgpack-javascript/pull/257/commits/4fc612b5b68888fe0e0878aab6dc93ed44ecdd74
Clear filters https://github.com/msgpack/msgpack-javascript/pull/257/files
Please reload this pagehttps://github.com/msgpack/msgpack-javascript/pull/257/files
Please reload this pagehttps://github.com/msgpack/msgpack-javascript/pull/257/files
Decoder.ts https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
Encoder.ts https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
reuse-instances-with-extensions.test.ts https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-99abc62bafa928f456a335e556404a02e617d2b417e7e3ba8447bebd6dd43831
tsconfig.dist.es5+esm.json https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-983756a0bf07f0bb68c3f514daa5d023777a1b17646d3b4f700ca03391de675f
src/Decoder.tshttps://github.com/msgpack/msgpack-javascript/pull/257/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
View file https://github.com/msgpack/msgpack-javascript/blob/4fc612b5b68888fe0e0878aab6dc93ed44ecdd74/src/Decoder.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-javascript/pull/257/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
src/Encoder.tshttps://github.com/msgpack/msgpack-javascript/pull/257/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
View file https://github.com/msgpack/msgpack-javascript/blob/4fc612b5b68888fe0e0878aab6dc93ed44ecdd74/src/Encoder.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-javascript/pull/257/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
test/reuse-instances-with-extensions.test.tshttps://github.com/msgpack/msgpack-javascript/pull/257/files#diff-99abc62bafa928f456a335e556404a02e617d2b417e7e3ba8447bebd6dd43831
View file https://github.com/msgpack/msgpack-javascript/blob/4fc612b5b68888fe0e0878aab6dc93ed44ecdd74/test/reuse-instances-with-extensions.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-javascript/pull/257/{{ revealButtonHref }}
tsconfig.dist.es5+esm.jsonhttps://github.com/msgpack/msgpack-javascript/pull/257/files#diff-983756a0bf07f0bb68c3f514daa5d023777a1b17646d3b4f700ca03391de675f
View file https://github.com/msgpack/msgpack-javascript/blob/4fc612b5b68888fe0e0878aab6dc93ed44ecdd74/tsconfig.dist.es5%2Besm.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-javascript/pull/257/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-983756a0bf07f0bb68c3f514daa5d023777a1b17646d3b4f700ca03391de675f
https://github.com/msgpack/msgpack-javascript/pull/257/files#diff-983756a0bf07f0bb68c3f514daa5d023777a1b17646d3b4f700ca03391de675f
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.