Skip to content

chore(deps): bump jsondiffpatch and ai in /examples#2

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/examples/multi-e6b7dd488a
Closed

chore(deps): bump jsondiffpatch and ai in /examples#2
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/examples/multi-e6b7dd488a

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Mar 16, 2026

Removes jsondiffpatch. It's no longer used after updating ancestor dependency ai. These dependencies need to be updated together.

Removes jsondiffpatch

Updates ai from 4.3.19 to 6.0.116

Release notes

Sourced from ai's releases.

ai@5.0.154

Patch Changes

  • Updated dependencies [f29cec3]
  • Updated dependencies [51c7d28]
  • Updated dependencies [dacdf4b]
    • @​ai-sdk/gateway@​2.0.58

ai@5.0.153

Patch Changes

  • c59a31c: Remove custom User-Agent header from HttpChatTransport to fix CORS preflight failures in Safari and Firefox

ai@5.0.152

Patch Changes

  • Updated dependencies [a608d48]
  • Updated dependencies [c5790b1]
    • @​ai-sdk/gateway@​2.0.57
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Removes [jsondiffpatch](https://github.com/benjamine/jsondiffpatch). It's no longer used after updating ancestor dependency [ai](https://github.com/vercel/ai). These dependencies need to be updated together.


Removes `jsondiffpatch`

Updates `ai` from 4.3.19 to 6.0.116
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/compare/ai@4.3.19...ai@6.0.116)

---
updated-dependencies:
- dependency-name: jsondiffpatch
  dependency-version: 
  dependency-type: indirect
- dependency-name: ai
  dependency-version: 6.0.116
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 16, 2026
yonas pushed a commit that referenced this pull request Mar 18, 2026
…verruns#723)

## Summary

- Bumps `ai` SDK from `^4` to `^5.0.52` to fix Dependabot alert #2 (file
upload bypass vulnerability)
- Adds `jsondiffpatch >= 0.7.2` override to fix Dependabot alert #1 (XSS
vulnerability)
- Regenerated `package-lock.json`; `jsondiffpatch` is removed from the
tree entirely since `ai` v5 no longer depends on it

## Test plan

- [ ] CI passes (examples workflow installs and runs successfully)
- [ ] `npm audit` in `examples/` shows no new vulnerabilities from these
packages
- [ ] Dependabot alerts #1 and #2 are resolved after merge
@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Mar 18, 2026

Looks like these dependencies are no longer a dependency, so this is no longer needed.

@dependabot dependabot bot closed this Mar 18, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/examples/multi-e6b7dd488a branch March 18, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants