@ai-sdk/google-vertex
5.0.144 · 20 Nov 2026Apache-2.06.4M / weekRepositoryHomepagenpmAtom feed
In short
2 fixed1 internal
Release note
Patch Changes
Limit the size of Google Vertex tool result file downloads with
toolResultDownloads.maxBytes, which defaults to 7 MiB. This is lower than the previous 2 GiB default for these downloads; raisetoolResultDownloads.maxBytesfor larger files.Keep Google Vertex tool result downloads on the built-in validated transport and stop using the provider
fetchoption for them. SettoolResultDownloads.fetchto choose another transport for those downloads.The built-in transport resolves every hostname through a validating lookup hook and pins the connection to the resolved address on Node.js. Reusing the provider
fetchoption for downloads would adopt a logging, tracing, or proxy wrapper that does not validate DNS results, so tool result URLs whose hostnames resolve to private addresses could reach internal hosts. A transport set withtoolResultDownloads.fetchmust perform equivalent connect-time DNS validation, for example a guarded fetch on Bun or Deno.
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.