René's URL Explorer Experiment


Title: optional BigInt support: map BigInt to int64/uint64 when `useBigInt64` is set to true by gfx · Pull Request #223 · msgpack/msgpack-javascript · GitHub

Open Graph Title: optional BigInt support: map BigInt to int64/uint64 when `useBigInt64` is set to true by gfx · Pull Request #223 · msgpack/msgpack-javascript

X Title: optional BigInt support: map BigInt to int64/uint64 when `useBigInt64` is set to true by gfx · Pull Request #223 · msgpack/msgpack-javascript

Description: This PR introduces a new option useBigInt64: boolean, which enables "bigint mode" in this library. Unfortunately, the bigint-mode handles JavaScript numbers completely differently than non-bigint-mode. The following table describes the type mappings. useBigInt64: trueuseBigInt64: false a JavaScript safe integer but larger than UINT32_MAXmsgpack float64msgpack uint64 a JavaScript safe integer but smaller than INT32_MINmsgpack float64msgpack int64 a JavaScript bigintmsgpack int64/uint64N/A or extension Because JavaScript's bigint is not calculable with number, they should not be mixed. A field that is a bigint must always be a bigint even if it's encoded and decoded by this library. The default value of the option will be changed to true in a future major upgrade. Not sure when I'll do it so far. ref. #115

Open Graph Description: This PR introduces a new option useBigInt64: boolean, which enables "bigint mode" in this library. Unfortunately, the bigint-mode handles JavaScript numbers completely differently than no...

X Description: This PR introduces a new option useBigInt64: boolean, which enables "bigint mode" in this library. Unfortunately, the bigint-mode handles JavaScript numbers completely differently...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:13342aad-632b-c776-5375-c9ed443f5d5d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD8CC:17402E:1396638:1A95D88:6A5458EF
html-safe-nonce2232132ec373a0dac69221af4454c80c26acd7226f0b6429de9f59fbde97c1eb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOENDOjE3NDAyRToxMzk2NjM4OjFBOTVEODg6NkE1NDU4RUYiLCJ2aXNpdG9yX2lkIjoiNDA2NTY4NzU2ODI2Nzg5Mjk3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac50dac467cbc81508c5556b14ca59e0bd2b50ac549e9fc54b6f2e02115f6a52b3
hovercard-subject-tagpull_request:1263098159
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/223/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:altThis PR introduces a new option useBigInt64: boolean, which enables "bigint mode" in this library. Unfortunately, the bigint-mode handles JavaScript numbers completely differently than no...
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
release6d28624802c2f7d9500239dd6870ed7031b7353b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/msgpack/msgpack-javascript/pull/223/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgpack%2Fmsgpack-javascript%2Fpull%2F223%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%2F223%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/223/files
Reloadhttps://github.com/msgpack/msgpack-javascript/pull/223/files
Reloadhttps://github.com/msgpack/msgpack-javascript/pull/223/files
Please reload this pagehttps://github.com/msgpack/msgpack-javascript/pull/223/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
gfx/biginthttps://github.com/msgpack/msgpack-javascript/tree/gfx/bigint
Conversation 2 https://github.com/msgpack/msgpack-javascript/pull/223
Commits 1 https://github.com/msgpack/msgpack-javascript/pull/223/commits
Checks 0 https://github.com/msgpack/msgpack-javascript/pull/223/checks
Files changed https://github.com/msgpack/msgpack-javascript/pull/223/files
Please reload this pagehttps://github.com/msgpack/msgpack-javascript/pull/223/files
optional BigInt support: map BigInt to int64/uint64 when useBigInt64 is set to true https://github.com/msgpack/msgpack-javascript/pull/223/files#top
Show all changes 1 commit https://github.com/msgpack/msgpack-javascript/pull/223/files
df46c60 map BigInt to int64/uint64 when useBigInt64 is set to true gfx Mar 4, 2023 https://github.com/msgpack/msgpack-javascript/pull/223/commits/df46c60fea817af6c021a9928cc7335f2d6b7d64
Clear filters https://github.com/msgpack/msgpack-javascript/pull/223/files
Please reload this pagehttps://github.com/msgpack/msgpack-javascript/pull/223/files
Please reload this pagehttps://github.com/msgpack/msgpack-javascript/pull/223/files
Decoder.ts https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
Encoder.ts https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
decode.ts https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-0af22e0758f48f54947ac5607868a4f0dbbf18a498f98865615984e25e4181cb
decodeAsync.ts https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-3375867621802bff5546453145f919cdc0dd0d4c425b3db015f77fc160d33b93
encode.ts https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-8f0c9a310144147a1c6f7ecf61472745885001df88e42bf915e74b36b2464f29
bigint64.test.ts https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-389c8f5ced249bb4f6a1f690cb364d5b5ce04acb6d8019db1cb451a581fe5fd4
codec-bigint.test.ts https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-cfe367174ecd311728ae848eec46e819da078e30880708af8bbf921f6978e811
src/Decoder.tshttps://github.com/msgpack/msgpack-javascript/pull/223/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
View file https://github.com/msgpack/msgpack-javascript/blob/df46c60fea817af6c021a9928cc7335f2d6b7d64/src/Decoder.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-javascript/pull/223/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-16dbc5e69787775b89623a833818bd88951fe3fdf77c49e2161c14459e5e3717
src/Encoder.tshttps://github.com/msgpack/msgpack-javascript/pull/223/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
View file https://github.com/msgpack/msgpack-javascript/blob/df46c60fea817af6c021a9928cc7335f2d6b7d64/src/Encoder.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-javascript/pull/223/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-2b07fa9965c82a4be8829b5cdcaff0dbd4e71fe8e601e353efcd72eee2e0c243
src/decode.tshttps://github.com/msgpack/msgpack-javascript/pull/223/files#diff-0af22e0758f48f54947ac5607868a4f0dbbf18a498f98865615984e25e4181cb
View file https://github.com/msgpack/msgpack-javascript/blob/df46c60fea817af6c021a9928cc7335f2d6b7d64/src/decode.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-javascript/pull/223/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-0af22e0758f48f54947ac5607868a4f0dbbf18a498f98865615984e25e4181cb
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-0af22e0758f48f54947ac5607868a4f0dbbf18a498f98865615984e25e4181cb
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-0af22e0758f48f54947ac5607868a4f0dbbf18a498f98865615984e25e4181cb
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-0af22e0758f48f54947ac5607868a4f0dbbf18a498f98865615984e25e4181cb
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-0af22e0758f48f54947ac5607868a4f0dbbf18a498f98865615984e25e4181cb
src/decodeAsync.tshttps://github.com/msgpack/msgpack-javascript/pull/223/files#diff-3375867621802bff5546453145f919cdc0dd0d4c425b3db015f77fc160d33b93
View file https://github.com/msgpack/msgpack-javascript/blob/df46c60fea817af6c021a9928cc7335f2d6b7d64/src/decodeAsync.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-javascript/pull/223/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-3375867621802bff5546453145f919cdc0dd0d4c425b3db015f77fc160d33b93
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-3375867621802bff5546453145f919cdc0dd0d4c425b3db015f77fc160d33b93
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-3375867621802bff5546453145f919cdc0dd0d4c425b3db015f77fc160d33b93
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-3375867621802bff5546453145f919cdc0dd0d4c425b3db015f77fc160d33b93
src/encode.tshttps://github.com/msgpack/msgpack-javascript/pull/223/files#diff-8f0c9a310144147a1c6f7ecf61472745885001df88e42bf915e74b36b2464f29
View file https://github.com/msgpack/msgpack-javascript/blob/df46c60fea817af6c021a9928cc7335f2d6b7d64/src/encode.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-javascript/pull/223/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-8f0c9a310144147a1c6f7ecf61472745885001df88e42bf915e74b36b2464f29
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-8f0c9a310144147a1c6f7ecf61472745885001df88e42bf915e74b36b2464f29
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-8f0c9a310144147a1c6f7ecf61472745885001df88e42bf915e74b36b2464f29
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-8f0c9a310144147a1c6f7ecf61472745885001df88e42bf915e74b36b2464f29
test/bigint64.test.tshttps://github.com/msgpack/msgpack-javascript/pull/223/files#diff-389c8f5ced249bb4f6a1f690cb364d5b5ce04acb6d8019db1cb451a581fe5fd4
View file https://github.com/msgpack/msgpack-javascript/blob/df46c60fea817af6c021a9928cc7335f2d6b7d64/test/bigint64.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-javascript/pull/223/{{ revealButtonHref }}
test/codec-bigint.test.tshttps://github.com/msgpack/msgpack-javascript/pull/223/files#diff-cfe367174ecd311728ae848eec46e819da078e30880708af8bbf921f6978e811
View file https://github.com/msgpack/msgpack-javascript/blob/df46c60fea817af6c021a9928cc7335f2d6b7d64/test/codec-bigint.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-javascript/pull/223/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-javascript/pull/223/files#diff-cfe367174ecd311728ae848eec46e819da078e30880708af8bbf921f6978e811
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.