Install
Works with Drupal: ^10.3 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Fixed
- Registry package documents are fetched in npm's abbreviated install-v1 format (the same one npm and pnpm use) and stripped to the fields the resolver reads - version keys, dist-tags, per-version dist - before caching. The full document was cached verbatim, and for version-heavy packages it is enormous: @types/node serializes to well over 15 MB, so on MySQL hosts with a conservative max_allowed_packet the cache INSERT exceeded the packet limit and the server killed the connection (error 2006 "server has gone away" mid-resolve, with the oversized document dumped into the error output). The slim document for @types/node is ~550 KB, fits any max_allowed_packet, downloads in a fraction of a second, and cuts the resolver's memory footprint enough that a raised PHP memory_limit is no longer needed for sdx:resolve.