-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(NODE-7315): Use BSON ByteUtils instead of Nodejs Buffer #4840
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
Open
PavelSafronov
wants to merge
32
commits into
mongodb:main
Choose a base branch
from
PavelSafronov:NODE-7315
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
24daacd
using bson for buffer calls
PavelSafronov 51efd36
removing unnecessary code
PavelSafronov 3d28ae5
lots of changes related to removing Buffer from internal uses:
PavelSafronov 74fc9e3
test fixes
PavelSafronov 732b12e
remove onDemand accessors
PavelSafronov 0ee1a17
update based on isUint8Array signature change
PavelSafronov 5ddfae4
remove unnecessary toLocalBufferType calls
PavelSafronov 45ebf1e
point to bson PR https://github.com/mongodb/js-bson/pull/860/
PavelSafronov 79d0d19
use bson 7.1.0
PavelSafronov 82a34bb
pick up BSON 7.1.1
PavelSafronov fbb742e
Merge branch 'main' into NODE-7315
PavelSafronov cbc488c
resolve conflicts
PavelSafronov e649b6f
Merge branch 'main' into NODE-7315
PavelSafronov 12ff51f
add an easy-to-use copyBuffer method
PavelSafronov 983571b
minor fix: create copy of data
PavelSafronov e637852
remove unnecessary ByteUtils.toLocalBufferType calls
PavelSafronov 6c9d928
Merge branch 'main' into NODE-7315
PavelSafronov 736ba62
pr feedback
PavelSafronov 722379a
lint fix
PavelSafronov 45c9875
Apply suggestion from @addaleax
PavelSafronov ecc19f2
pr feedback: undo test changes and remove ByteUtils
PavelSafronov a04ec7b
Merge branch 'main' into NODE-7315
PavelSafronov cafd0e4
pr feedback
PavelSafronov ca016d9
fix bugs
PavelSafronov 615f37f
pick up BSON 7.2.0
PavelSafronov ea641e6
Merge branch 'main' into NODE-7315
PavelSafronov 4258a42
removed writeInt32LE, use NumberUtils directly
PavelSafronov 5dbbf80
pr feedback:
PavelSafronov 6a5087a
lint fix
PavelSafronov 58739b6
fix bug
PavelSafronov ad9e2aa
pr feedback
PavelSafronov ffcdfe0
pr feedback
PavelSafronov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.