Packages

@ai-sdk/google

4.0.122 · 17 Nov 2026Apache-2.014.6M / weekRepositoryHomepagenpmAtom feed

Your version

4.0.7

2 Jul 2026Where it was published

4.0.122 is the newest release of 4.x.

In short

1 security1 fixed1 internal

  • Security

    Prevent prototype pollution when synchronously parsing provider JSON inputs and expose secureJsonParse from provider-utils.

Release note

Patch Changes

  • Security

    Prevent prototype pollution when synchronously parsing provider JSON inputs and expose secureJsonParse from provider-utils.

  • Fix Google embedding batch size to respect the Gemini API limit of 100 requests per batch.

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.