Packages

ai

7.0.176 · 17 Nov 2026Apache-2.048.5M / weekRepositoryHomepagenpmAtom feed

Your version

6.0.234

22 Jul 2026Where it was published

6.0.336 is the newest release of 6.x.

In short

2 fixed1 internal

Release note

Patch Changes

  • ai: Bound media-type sniffing decode for ID3-prefixed input

    Media-type detection stripped ID3 tags before the ~18-byte prefix cap, decoding the entire base64 attachment (plus a full-size copy) whenever the data began with ID3/SUQz. This turned the intended O(1) sniff into an O(N) decode of the whole attachment. Detection now decodes at most a bounded prefix and skips the ID3 tag within that bound, keeping cost O(1) in input size on all paths (image, audio, and combined).

  • Return response piping promises so callers can catch stream read and write errors.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.