Repository navigation
[Snyk] Upgrade bson from 7.3.2 to 7.3.3 - #5123
Open
admin-token-bot wants to merge 2 commits into
Open
admin-token-bot wants to merge 2 commits into
admin-token-bot wants to merge 2 commits into
Conversation
Snyk has created this PR to upgrade bson from 7.3.2 to 7.3.3. See this package in npm: bson See this project in Snyk: https://app.snyk.io/org/drivers/project/df1d52af-6627-42df-873f-38dffdadf55a?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade bson from 7.3.2 to 7.3.3. See this package in npm: bson See this project in Snyk: https://app.snyk.io/org/drivers/project/df1d52af-6627-42df-873f-38dffdadf55a?utm_source=github&utm_medium=referral&page=upgrade-pr
Contributor
Author
|
This is a patch version upgrade for Behavioral Change:
Risk Assessment: Source: Release Notes
|
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Snyk has created this PR to upgrade bson from 7.3.2 to 7.3.3.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 1 version ahead of your current version.
The recommended version was released 2 months ago.
Breaking Change Risk
Release notes
Package name: bson
-
7.3.3 - 2026-09-15
- NODE-7696: calculateObjectSize hangs indefinitely on an object containing a circular reference (#926) (f35af5c)
- API
- Changelog
-
7.3.2 - 2026-08-11
- NODE-7631: count Int32 and BSONSymbol in calculateObjectSize (#901) (7f948a6)
- NODE-7645: use the first instant of year 10000 as the relaxed EJSON date bound (#917) (9272c9a)
- NODE-7646: count ES Map entries in calculateObjectSize (#910) (8d28b12)
- NODE-7667: remove early initialization from ObjectId (#916) (665286f)
- NODE-6246: store ObjectId bytes as four packed integers (#893) (a84229c)
- API
- Changelog
from bson GitHub release notes7.3.3 (2026-09-11)
The MongoDB Node.js team is pleased to announce version 7.3.3 of the
bsonpackage!Release Notes
Fixed
BSON.calculateObjectSizeinfinite hangFixed a bug where
BSON.calculateObjectSizewould hang indefinitely on an object containing a circular reference. The method now throws an exception when a circular reference is detected.Also a big thank you to @ mcmorisi for his contribution on #912 security warning in EJSON.parse documentation!
Bug Fixes
Documentation
We invite you to try the
bsonlibrary immediately, and report any issues to the NODE project.7.3.2 (2026-07-31)
The MongoDB Node.js team is pleased to announce version 7.3.2 of the
bsonpackage!Release Notes
calculateObjectSize()now returns accurate byte counts forInt32andBSONSymbolPreviously, each
Int32orBSONSymbolvalue caused a 12-byte overcount.calculateObjectSize()now yields proper size calculations on ES Map'sThis release of js-bson fixes an issue where we were incorrectly considering ES Map objects inside
calculateObjectSize. This issue did not impact serialization, just size calculation.Fixed incorrect date boundary in relaxed EJSON
This release of js-bson fixes an issue where the date boundary for relaxed EJSON was incorrectly set to a date 5 hours after the maximum limit of 10,000 AD.
Fixed an issue with ObjectId initialization in Cloudflare Workers
This release of js-bson fixes an issue where we were making crypto calls during module initialization, which is forbidden by Cloudflare Workers and other environments.
Memory optimization via smaller ObjectIds
ObjectIdnow stores its 12 bytes as four inline integers instead of aUint8Array, cutting per-ObjectIdmemory by about 63% (and roughly 45 to 47% across large result sets) with no serialization slowdown. Deep equality and cloning are preserved (assert.deepStrictEqual, and lodashisEqual/cloneDeep).Thanks to @ spokodev for contributing their fixes! (NODE-7631 (#901), NODE-7645 (#917), NODE-7646 (#910))
Bug Fixes
Performance Improvements
Documentation
We invite you to try the
bsonlibrary immediately, and report any issues to the NODE project.Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: