js-bson
js-bson copied to clipboard
BSON Parser for node and browser
### Description Refactor `Long.fromBigInt` to only use bit math. #### What is changing? Improve performance of `Long.fromBigInt` ##### Is there new documentation needed for these changes? No. #### What is...
Please run the release_notes action before releasing to generate release highlights --- ## [5.5.2](https://github.com/mongodb/js-bson/compare/v5.5.1...v5.5.2) (2024-06-12) ### Bug Fixes * **NODE-6043:** Binary.toString and Binary.toJSON output with respect to position ([#666](https://github.com/mongodb/js-bson/issues/666)) ([d6b15f8](https://github.com/mongodb/js-bson/commit/d6b15f8d47dd571c2322b865fe5a4bd4cb848a77))...
### Description This MR refactors ObjectId class to persist strings instead of a raw Buffer, which **greatly** reduces memory usage and improves performance of ObjectIds. ### Why? - Buffer (or...
Please run the release_notes action before releasing to generate release highlights --- ## [6.9.0](https://github.com/mongodb/js-bson/compare/v6.8.0...v6.9.0) (2024-09-17) ### Features * **NODE-6031:** add `t` and `i` to Timestamp ([#704](https://github.com/mongodb/js-bson/issues/704)) ([b766d0f](https://github.com/mongodb/js-bson/commit/b766d0f40ad2e8a58499615f0b2bd669661db518)) ### Performance Improvements...
Bumps [rollup](https://github.com/rollup/rollup) from 4.20.0 to 4.22.4. Release notes Sourced from rollup's releases. v4.22.4 4.22.4 2024-09-21 Bug Fixes Fix a vulnerability in generated code that affects IIFE, UMD and CJS bundles...
### Description #### What is changing? - Migrate to shared drivers script for node download, mainly to get retry on curl failure ##### Is there new documentation needed for these...
### Description This PR significantly improves memory usage for ObjectId by introducing a buffer/Uint8Array pool. This is similar to how NodeJS `Buffer` uses an internal pool when using `allocUnsafe`, but...
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...
Bumps the development-dependencies group with 6 updates: | Package | From | To | | --- | --- | --- | | [@microsoft/api-extractor](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-extractor) | `7.47.5` | `7.47.7` | | [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai)...