New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ai-sdk/mistral

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ai-sdk/mistral - npm Package Compare versions

Comparing version 0.0.46 to 1.0.0-canary.0

9

./dist/index.js

@@ -172,2 +172,3 @@ "use strict";

// src/mistral-prepare-tools.ts
var import_provider2 = require("@ai-sdk/provider");
function prepareTools(mode) {

@@ -216,3 +217,5 @@ var _a;

const _exhaustiveCheck = type;
throw new Error(`Unsupported tool choice type: ${_exhaustiveCheck}`);
throw new import_provider2.UnsupportedFunctionalityError({
functionality: `Unsupported tool choice type: ${_exhaustiveCheck}`
});
}

@@ -557,3 +560,3 @@ }

// src/mistral-embedding-model.ts
var import_provider2 = require("@ai-sdk/provider");
var import_provider3 = require("@ai-sdk/provider");
var import_provider_utils5 = require("@ai-sdk/provider-utils");

@@ -585,3 +588,3 @@ var import_zod3 = require("zod");

if (values.length > this.maxEmbeddingsPerCall) {
throw new import_provider2.TooManyEmbeddingValuesForCallError({
throw new import_provider3.TooManyEmbeddingValuesForCallError({
provider: this.provider,

@@ -588,0 +591,0 @@ modelId: this.modelId,

# @ai-sdk/mistral
## 1.0.0-canary.0
### Major Changes
- 66060f7: chore (release): bump major version to 4.0
### Patch Changes
- Updated dependencies [b469a7e]
- Updated dependencies [c0ddc24]
- Updated dependencies [db46ce5]
- @ai-sdk/provider-utils@2.0.0-canary.0
- @ai-sdk/provider@1.0.0-canary.0
## 0.0.46

@@ -4,0 +18,0 @@

@@ -172,2 +172,3 @@ "use strict";

// src/mistral-prepare-tools.ts
var import_provider2 = require("@ai-sdk/provider");
function prepareTools(mode) {

@@ -216,3 +217,5 @@ var _a;

const _exhaustiveCheck = type;
throw new Error(`Unsupported tool choice type: ${_exhaustiveCheck}`);
throw new import_provider2.UnsupportedFunctionalityError({
functionality: `Unsupported tool choice type: ${_exhaustiveCheck}`
});
}

@@ -557,3 +560,3 @@ }

// src/mistral-embedding-model.ts
var import_provider2 = require("@ai-sdk/provider");
var import_provider3 = require("@ai-sdk/provider");
var import_provider_utils5 = require("@ai-sdk/provider-utils");

@@ -585,3 +588,3 @@ var import_zod3 = require("zod");

if (values.length > this.maxEmbeddingsPerCall) {
throw new import_provider2.TooManyEmbeddingValuesForCallError({
throw new import_provider3.TooManyEmbeddingValuesForCallError({
provider: this.provider,

@@ -588,0 +591,0 @@ modelId: this.modelId,

{
"name": "@ai-sdk/mistral",
"version": "0.0.46",
"version": "1.0.0-canary.0",
"license": "Apache-2.0",

@@ -22,4 +22,4 @@ "sideEffects": false,

"dependencies": {
"@ai-sdk/provider": "0.0.26",
"@ai-sdk/provider-utils": "1.0.22"
"@ai-sdk/provider": "1.0.0-canary.0",
"@ai-sdk/provider-utils": "2.0.0-canary.0"
},

@@ -26,0 +26,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc