NODE-7097ClosedFixed

Adopt built-in zstd support in Node.js

h3. Use Case As a Node.js driver user, I want zstd compression to use the built-in zstd support in Node.js, so that I don't have to install additional npm packages for zstd compression to work. h3. User Experience * On Node.js 22.15.0+ the driver uses the built-in {{zlib.zstdCompress}} / {{{}zlib.zstdDecompress{}}}. No {{@mongodb-js/zstd}} install is needed. * On older Node.js versions the driver falls back to {{{}@mongodb-js/zstd{}}}, so existing setups keep working without changes.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
7.8.0
Components
Server components related to this issue
Compressorszstd
Labels
Tags and classification
internal-userusability