[Snyk] Upgrade @mistralai/mistralai from 0.5.0 to 1.10.0#5
Conversation
Snyk has created this PR to upgrade @mistralai/mistralai from 0.5.0 to 1.10.0. See this package in npm: @mistralai/mistralai See this project in Snyk: https://app.snyk.io/org/dustin4444/project/3bff318d-34d6-4deb-81b4-65fc2e2fc44a?utm_source=github&utm_medium=referral&page=upgrade-pr
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedIgnore keyword(s) in the title. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary of ChangesHello @Dustin4444, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request, automatically generated by Snyk, updates the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request upgrades the @mistralai/mistralai dependency from 0.5.0 to 1.10.0 to resolve a security vulnerability. This is a major version upgrade. I've analyzed the impact of this upgrade on the existing JavaScript samples.
The new version introduces a breaking change in the naming of optional parameters for chat() and chatStream() methods, from camelCase (e.g., maxTokens) to snake_case (e.g., max_tokens). The sample samples/js/mistralai/basic.js was already using the new snake_case convention, which was incorrect for version 0.5.0. This upgrade will therefore fix the sample, making it functional. Other samples are unaffected. The upgrade is beneficial.
I have added a comment regarding the need to update the package-lock.json file, which is a crucial step to complete this upgrade.
| "@azure/core-auth": "^1.7.2", | ||
| "@azure/core-sse": "^2.1.2", | ||
| "@mistralai/mistralai": "^0.5.0", | ||
| "@mistralai/mistralai": "^1.10.0", |
There was a problem hiding this comment.
Snyk has created this PR to upgrade @mistralai/mistralai from 0.5.0 to 1.10.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 31 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-FORMDATA-10841150
Release notes
Package name: @mistralai/mistralai
-
1.10.0 - 2025-09-02
- OpenAPI Doc
- Speakeasy CLI 1.606.10 (2.687.13) https://github.com/speakeasy-api/speakeasy
- [typescript v1.10.0] .
- [NPM v1.10.0] https://www.npmjs.com/package/@ mistralai/mistralai/v/1.10.0 - .
-
1.9.19 - 2025-09-02
- OpenAPI Doc
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
- [typescript v1.9.19] .
- [NPM v1.9.19] https://www.npmjs.com/package/@ mistralai/mistralai/v/1.9.19 - .
-
1.9.18 - 2025-08-20
- OpenAPI Doc
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
- [typescript v1.9.18] .
- [NPM v1.9.18] https://www.npmjs.com/package/@ mistralai/mistralai/v/1.9.18 - .
-
1.9.17 - 2025-08-17
- OpenAPI Doc
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
- [typescript v1.9.17] .
- [NPM v1.9.17] https://www.npmjs.com/package/@ mistralai/mistralai/v/1.9.17 - .
-
1.7.5 - 2025-07-23
- OpenAPI Doc
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
- [typescript v1.7.5] .
- [NPM v1.7.5] https://www.npmjs.com/package/@ mistralai/mistralai/v/1.7.5 - .
-
1.7.4 - 2025-07-10
- OpenAPI Doc
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
- [typescript v1.7.4] .
- [NPM v1.7.4] https://www.npmjs.com/package/@ mistralai/mistralai/v/1.7.4 - .
-
1.7.3 - 2025-07-02
- OpenAPI Doc
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
- [typescript v1.7.3] .
- [NPM v1.7.3] https://www.npmjs.com/package/@ mistralai/mistralai/v/1.7.3 - .
-
1.7.2 - 2025-06-10
- OpenAPI Doc
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
- [typescript v1.7.2] .
- [NPM v1.7.2] https://www.npmjs.com/package/@ mistralai/mistralai/v/1.7.2 - .
-
1.7.1 - 2025-05-28
- OpenAPI Doc
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
- [typescript v1.7.1] .
- [NPM v1.7.1] https://www.npmjs.com/package/@ mistralai/mistralai/v/1.7.1 - .
-
1.7.0 - 2025-05-27
-
1.6.1 - 2025-05-22
-
1.6.0 - 2025-04-16
- OpenAPI Doc
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
- [typescript v1.6.0] packages/mistralai-azure
- [NPM v1.6.0] https://www.npmjs.com/package/@ mistralai/mistralai-azure/v/1.6.0 - packages/mistralai-azure
-
1.5.2 - 2025-03-18
-
1.5.1 - 2025-03-06
-
1.5.0 - 2025-01-28
-
1.4.0 - 2025-01-21
-
1.3.6 - 2025-01-06
-
1.3.5 - 2024-12-04
-
1.3.4 - 2024-11-18
-
1.3.1 - 2024-11-12
-
1.3.0 - 2024-11-07
-
1.2.0 - 2024-11-07
-
1.1.0 - 2024-09-19
-
1.0.4 - 2024-08-23
-
1.0.3 - 2024-08-22
-
1.0.2 - 2024-08-08
-
1.0.1 - 2024-08-07
-
1.0.0 - 2023-12-07
-
1.0.0-rc.3 - 2024-08-07
-
1.0.0-rc.2 - 2024-08-01
-
1.0.0-rc.1 - 2024-07-30
-
0.5.0 - 2024-06-05
from @mistralai/mistralai GitHub release notesGenerated by Speakeasy CLI
2025-09-02 13:40:15
Changes
Based on:
Generated
Releases
Publishing Completed
Generated by Speakeasy CLI
2025-09-02 06:47:29
Changes
Based on:
Generated
Releases
Publishing Completed
Generated by Speakeasy CLI
2025-08-20 08:28:36
Changes
Based on:
Generated
Releases
Publishing Completed
Generated by Speakeasy CLI
2025-08-13 07:23:24
Changes
Based on:
Generated
Releases
Publishing Completed
Generated by Speakeasy CLI
2025-07-23 19:12:02
Changes
Based on:
Generated
Releases
Publishing Completed
Generated by Speakeasy CLI
2025-07-10 12:22:03
Changes
Based on:
Generated
Releases
Publishing Completed
Generated by Speakeasy CLI
2025-07-01 07:55:31
Changes
Based on:
Generated
Releases
Publishing Completed
Generated by Speakeasy CLI
2025-06-10 16:42:35
Changes
Based on:
Generated
Releases
Publishing Completed
Generated by Speakeasy CLI
2025-05-28 14:41:45
Changes
Based on:
Generated
Releases
Publishing Completed
Generated by Speakeasy CLI
2025-08-25 14:52:23
Changes
Based on:
Generated
Releases
Publishing Completed
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: