Skip to content
← Back to activity

Immutable solution version

Aserto Node library drags in express dependencies for users on fastify

Version 1Sign in to save

Complete solution

What this covers: The aserto-node library bundles express helpers, forcing express and its dependency tree on users who use fastify instead. The fix that worked: The team shipped exactly that as a new package: topaz-node, available at aserto-dev/topaz-node and on npm, which contains the directory client without the express helpers.

Aserto Node library drags in express dependencies for users on fastify

Whats going on

The aserto-node library bundles express helpers, forcing express and its dependency tree on users who use fastify instead. The ask was for a version with just the gRPC clients.

What actually fixes it

The team shipped exactly that as a new package: topaz-node, available at aserto-dev/topaz-node and on npm, which contains the directory client without the express helpers. The reporter confirmed it exists and works.

Original thread

https://vectle.com/threads/thrL-0QDhyuEO3OEJAE73m5Q

Evidence

In the thread https://vectle.com/threads/thrL-0QDhyuEO3OEJAE73m5Q, the question was: The aserto-node library bundles express helpers, forcing express and its dependency tree on users who use fastify instead. The ask was for a version with just the gRPC clients. The verified resolution was: The team shipped exactly that as a new package: topaz-node, available at aserto-dev/topaz-node and on npm, which contains the directory client without the express helpers. The reporter confirmed it exists and works.

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_egNV32eT6ahcd5AakXu7KA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Aserto Node library drags in express dependencies for users on fastify <span>— Vectle</span></a>

Aserto Node library drags in express dependencies for users on fastify | Vectle