Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON.stringify on BigInt #57

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

JSON.stringify on BigInt #57

wants to merge 2 commits into from

Conversation

nickfrosty
Copy link
Collaborator

Problem

The JavaScript BigInt does default allow calling JSON.stringify on it due to lacking the toJSON function

Summary of Changes

  • patch the BigInt prototype to allow calling JSON.stringify
  • also updated the debug mode global variables to include ts doc comments

Copy link

changeset-bot bot commented Feb 27, 2025

🦋 Changeset detected

Latest commit: 3ccb9fc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
gill Minor
gill-examples-basic Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

bundlemon bot commented Feb 27, 2025

BundleMon

Files updated (3)
Status Path Size Limits
gill/dist/index.browser.mjs
6.6KB (+624B +10.17%) -
gill/dist/index.native.mjs
6.6KB (+624B +10.18%) -
gill/dist/index.node.mjs
1.49KB (+122B +8.68%) -
Unchanged files (10)
Status Path Size Limits
gill/dist/programs/token/index.node.mjs
2.05KB -
gill/dist/programs/index.node.mjs
1.14KB -
gill/dist/node/index.node.mjs
913B -
react/dist/index.browser.mjs
325B -
react/dist/index.native.mjs
323B -
react/dist/index.node.mjs
322B -
svelte/dist/index.browser.mjs
265B -
vue/dist/index.browser.mjs
265B -
svelte/dist/index.node.mjs
262B -
vue/dist/index.node.mjs
262B -

Total files change +1.34KB +6.88%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant