From c92e7bd08a8ebdb5677b25036654bc63c596351b Mon Sep 17 00:00:00 2001 From: Yashar Fakhari Date: Thu, 22 May 2025 14:15:32 -0700 Subject: [PATCH 1/3] fix(hf): Upgrade @huggingface/inference to v3 Changes: - Migrated from HfInference to InferenceClient. - Added a provider parameter as it is required for the new version. The parameter can also be set using HUGGINGFACEHUB_PROVIDER environment variable. - Updated documentation accordingly - Fixed broken integration test, and added a new test for when the new provider parameter is used. Other Improvements: - The model parameter now supports being set via the HUGGINGFACEHUB_MODEL environment variable, in addition to the constructor argument. - If no model is provided, a warning is logged that the default `BAAI/bge-base-en-v1.5` is used. --- .../text_embedding/hugging_face_inference.mdx | 18 +++++++++--- libs/langchain-community/package.json | 4 +-- libs/langchain-community/src/embeddings/hf.ts | 26 +++++++++++++---- .../src/embeddings/tests/hf.int.test.ts | 23 +++++++++++++++ yarn.lock | 29 +++++++++++++++---- 5 files changed, 83 insertions(+), 17 deletions(-) diff --git a/docs/core_docs/docs/integrations/text_embedding/hugging_face_inference.mdx b/docs/core_docs/docs/integrations/text_embedding/hugging_face_inference.mdx index 39a02829124c..975a5e6bf092 100644 --- a/docs/core_docs/docs/integrations/text_embedding/hugging_face_inference.mdx +++ b/docs/core_docs/docs/integrations/text_embedding/hugging_face_inference.mdx @@ -1,17 +1,18 @@ # HuggingFace Inference -This Embeddings integration uses the HuggingFace Inference API to generate embeddings for a given text using by default the `sentence-transformers/distilbert-base-nli-mean-tokens` model. You can pass a different model name to the constructor to use a different model. +This Embeddings integration uses the HuggingFace Inference API to generate embeddings for a given text, using the `BAAI/bge-base-en-v1.5` model by default. You can pass a different model name to the constructor to use a different model. +The current HuggingFace API also expects you to specify a `provider`, but has a fallback auto-select mode. ## Setup -You'll first need to install the [`@langchain/community`](https://www.npmjs.com/package/@langchain/community) package and the required peer dep: +You'll first need to install the [`@langchain/community`](https://www.npmjs.com/package/@langchain/community) package and the required peer dependency: import IntegrationInstallTooltip from "@mdx_components/integration_install_tooltip.mdx"; ```bash npm2yarn -npm install @langchain/community @langchain/core @huggingface/inference@2 +npm install @langchain/community @langchain/core @huggingface/inference@3 ``` ## Usage @@ -20,10 +21,19 @@ npm install @langchain/community @langchain/core @huggingface/inference@2 import { HuggingFaceInferenceEmbeddings } from "@langchain/community/embeddings/hf"; const embeddings = new HuggingFaceInferenceEmbeddings({ - apiKey: "YOUR-API-KEY", // In Node.js defaults to process.env.HUGGINGFACEHUB_API_KEY + apiKey: "YOUR-API-KEY", // Defaults to process.env.HUGGINGFACEHUB_API_KEY + model: "MODEL-NAME", // Defaults to process.env.HUGGINGFACEHUB_MODEL, or `BAAI/bge-base-en-v1.5` if not provided + provider: "MODEL-PROVIDER", // Defaults to process.env.HUGGINGFACEHUB_PROVIDER, or `auto` if not provided }); ``` +> **Note:** +> If you do not provide a `model`, a warning will be logged and the default model `BAAI/bge-base-en-v1.5` will be used. +> If you do not provide a `provider`, Hugging Face will default the provider to `auto`, which will select the first provider available for the model based on your settings at https://hf.co/settings/inference-providers. + +> **Hint:** +> `hf-inference` is the provider name for models that are hosted directly by Hugging Face. + ## Related - Embedding model [conceptual guide](/docs/concepts/embedding_models) diff --git a/libs/langchain-community/package.json b/libs/langchain-community/package.json index 0f3d4757a561..b7a896dff7dc 100644 --- a/libs/langchain-community/package.json +++ b/libs/langchain-community/package.json @@ -79,7 +79,7 @@ "@google-ai/generativelanguage": "^2.5.0", "@google-cloud/storage": "^7.15.2", "@gradientai/nodejs-sdk": "^1.2.0", - "@huggingface/inference": "^2.6.4", + "@huggingface/inference": "^3.13.2", "@huggingface/transformers": "^3.2.3", "@ibm-cloud/watsonx-ai": "^1.6.4", "@jest/globals": "^29.5.0", @@ -254,7 +254,7 @@ "@google-ai/generativelanguage": "*", "@google-cloud/storage": "^6.10.1 || ^7.7.0", "@gradientai/nodejs-sdk": "^1.2.0", - "@huggingface/inference": "^2.6.4", + "@huggingface/inference": "^3.13.2", "@huggingface/transformers": "^3.2.3", "@ibm-cloud/watsonx-ai": "*", "@lancedb/lancedb": "^0.12.0", diff --git a/libs/langchain-community/src/embeddings/hf.ts b/libs/langchain-community/src/embeddings/hf.ts index cbe66a5b3a46..8103b8326b67 100644 --- a/libs/langchain-community/src/embeddings/hf.ts +++ b/libs/langchain-community/src/embeddings/hf.ts @@ -1,4 +1,4 @@ -import { HfInference, HfInferenceEndpoint } from "@huggingface/inference"; +import { InferenceClient } from "@huggingface/inference"; import { Embeddings, type EmbeddingsParams } from "@langchain/core/embeddings"; import { getEnvironmentVariable } from "@langchain/core/utils/env"; @@ -10,6 +10,7 @@ export interface HuggingFaceInferenceEmbeddingsParams extends EmbeddingsParams { apiKey?: string; model?: string; endpointUrl?: string; + provider?: string; } /** @@ -27,18 +28,32 @@ export class HuggingFaceInferenceEmbeddings endpointUrl?: string; - client: HfInference | HfInferenceEndpoint; + provider?: string; + + client: InferenceClient; constructor(fields?: HuggingFaceInferenceEmbeddingsParams) { super(fields ?? {}); - this.model = fields?.model ?? "BAAI/bge-base-en-v1.5"; + const envModel = getEnvironmentVariable("HUGGINGFACEHUB_MODEL"); + if (fields?.model) { + this.model = fields.model; + } else if (envModel) { + this.model = envModel; + } else { + console.warn( + '[HuggingFaceInferenceEmbeddings] No "model" provided. Using default: "BAAI/bge-base-en-v1.5".' + ); + this.model = "BAAI/bge-base-en-v1.5"; + } this.apiKey = fields?.apiKey ?? getEnvironmentVariable("HUGGINGFACEHUB_API_KEY"); this.endpointUrl = fields?.endpointUrl; + this.provider = + fields?.provider ?? getEnvironmentVariable("HUGGINGFACEHUB_PROVIDER"); this.client = this.endpointUrl - ? new HfInference(this.apiKey).endpoint(this.endpointUrl) - : new HfInference(this.apiKey); + ? new InferenceClient(this.apiKey).endpoint(this.endpointUrl) + : new InferenceClient(this.apiKey); } async _embed(texts: string[]): Promise { @@ -48,6 +63,7 @@ export class HuggingFaceInferenceEmbeddings this.client.featureExtraction({ model: this.model, inputs: clean, + provider: this.provider, }) ) as Promise; } diff --git a/libs/langchain-community/src/embeddings/tests/hf.int.test.ts b/libs/langchain-community/src/embeddings/tests/hf.int.test.ts index 540e4bcd6ec2..073a45b0333f 100644 --- a/libs/langchain-community/src/embeddings/tests/hf.int.test.ts +++ b/libs/langchain-community/src/embeddings/tests/hf.int.test.ts @@ -23,13 +23,36 @@ test("HuggingFaceInferenceEmbeddings", async () => { expect(await store.similaritySearch(texts[4], 2)).toMatchInlineSnapshot(` [ Document { + "id": undefined, "metadata": {}, "pageContent": "1 + 1 = 2", }, Document { + "id": undefined, "metadata": {}, "pageContent": "1 + 1 = 3", }, ] `); }); + +test("HuggingFaceInferenceEmbeddings with explicit model and provider", async () => { + const model = "BAAI/bge-small-en-v1.5"; + const provider = "hf-inference"; + const embeddings = new HuggingFaceInferenceEmbeddings({ + model, + provider, + }); + + const texts = ["Integration test input 1", "Integration test input 2"]; + + const queryEmbedding = await embeddings.embedQuery(texts[0]); + expect(Array.isArray(queryEmbedding)).toBe(true); + expect(typeof queryEmbedding[0]).toBe("number"); + + const store = await HNSWLib.fromTexts(texts, {}, embeddings); + const results = await store.similaritySearch(texts[1], 1); + + expect(results.length).toBe(1); + expect(results[0].pageContent).toBe("Integration test input 2"); +}); diff --git a/yarn.lock b/yarn.lock index f614e4b3779e..4db4ee3785e8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5972,10 +5972,13 @@ __metadata: languageName: node linkType: hard -"@huggingface/inference@npm:^2.6.4": - version: 2.6.4 - resolution: "@huggingface/inference@npm:2.6.4" - checksum: 7d48960a62d0621d4c3f1edd183aa5d7829d297110b5720c78291aac17ed58b6a9af8eaf8a3f2cbb9dabfda3cf48931f59cf491cdedefd624f90d93fa3927981 +"@huggingface/inference@npm:^3.13.2": + version: 3.13.2 + resolution: "@huggingface/inference@npm:3.13.2" + dependencies: + "@huggingface/jinja": ^0.5.0 + "@huggingface/tasks": ^0.19.6 + checksum: 347192023adcaa2ec70d4de10b33306592c1b9fbef3cf0eec7de7a11821f2dfd733fbbb53be6e0dbf962a82b499ff816e705758f7c0b7d165367689c6f2ffd87 languageName: node linkType: hard @@ -5986,6 +5989,20 @@ __metadata: languageName: node linkType: hard +"@huggingface/jinja@npm:^0.5.0": + version: 0.5.0 + resolution: "@huggingface/jinja@npm:0.5.0" + checksum: 8bb04021f381158d5e358a166f8eec250785c0dc9f70a04b92d0aabddc8583a9f20026c808be59d4926787087399ca8f5a4cc8fc37749be35bea63473af19c53 + languageName: node + linkType: hard + +"@huggingface/tasks@npm:^0.19.6": + version: 0.19.8 + resolution: "@huggingface/tasks@npm:0.19.8" + checksum: 89377ebda7b5cdecf12e805b52eb8800d3f0fb337855e4d3b4e082aeae9c1ad5492f94ea9492e45d1c7c23779836bf168b7f21103be3fb1c1651be67fa0f89bb + languageName: node + linkType: hard + "@huggingface/transformers@npm:^3.2.3": version: 3.2.4 resolution: "@huggingface/transformers@npm:3.2.4" @@ -7264,7 +7281,7 @@ __metadata: "@google-ai/generativelanguage": ^2.5.0 "@google-cloud/storage": ^7.15.2 "@gradientai/nodejs-sdk": ^1.2.0 - "@huggingface/inference": ^2.6.4 + "@huggingface/inference": ^3.13.2 "@huggingface/transformers": ^3.2.3 "@ibm-cloud/watsonx-ai": ^1.6.4 "@jest/globals": ^29.5.0 @@ -7449,7 +7466,7 @@ __metadata: "@google-ai/generativelanguage": "*" "@google-cloud/storage": ^6.10.1 || ^7.7.0 "@gradientai/nodejs-sdk": ^1.2.0 - "@huggingface/inference": ^2.6.4 + "@huggingface/inference": ^3.13.2 "@huggingface/transformers": ^3.2.3 "@ibm-cloud/watsonx-ai": "*" "@lancedb/lancedb": ^0.12.0 From 80c032a355b1d82183630c89e961c13f8cb53203 Mon Sep 17 00:00:00 2001 From: Yashar Fakhari Date: Tue, 27 May 2025 21:22:46 -0700 Subject: [PATCH 2/3] Upgrade @huggingface/inference from 3.13.12 to 3.15.0 --- libs/langchain-community/package.json | 4 ++-- libs/langchain-community/src/embeddings/hf.ts | 8 +++---- yarn.lock | 22 +++++++++---------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/libs/langchain-community/package.json b/libs/langchain-community/package.json index b7a896dff7dc..d7f1b11243e2 100644 --- a/libs/langchain-community/package.json +++ b/libs/langchain-community/package.json @@ -79,7 +79,7 @@ "@google-ai/generativelanguage": "^2.5.0", "@google-cloud/storage": "^7.15.2", "@gradientai/nodejs-sdk": "^1.2.0", - "@huggingface/inference": "^3.13.2", + "@huggingface/inference": "^3.15.0", "@huggingface/transformers": "^3.2.3", "@ibm-cloud/watsonx-ai": "^1.6.4", "@jest/globals": "^29.5.0", @@ -254,7 +254,7 @@ "@google-ai/generativelanguage": "*", "@google-cloud/storage": "^6.10.1 || ^7.7.0", "@gradientai/nodejs-sdk": "^1.2.0", - "@huggingface/inference": "^3.13.2", + "@huggingface/inference": "^3.15.0", "@huggingface/transformers": "^3.2.3", "@ibm-cloud/watsonx-ai": "*", "@lancedb/lancedb": "^0.12.0", diff --git a/libs/langchain-community/src/embeddings/hf.ts b/libs/langchain-community/src/embeddings/hf.ts index 8103b8326b67..18d7e16abe19 100644 --- a/libs/langchain-community/src/embeddings/hf.ts +++ b/libs/langchain-community/src/embeddings/hf.ts @@ -1,4 +1,4 @@ -import { InferenceClient } from "@huggingface/inference"; +import { InferenceClient, InferenceProviderOrPolicy } from "@huggingface/inference"; import { Embeddings, type EmbeddingsParams } from "@langchain/core/embeddings"; import { getEnvironmentVariable } from "@langchain/core/utils/env"; @@ -10,7 +10,7 @@ export interface HuggingFaceInferenceEmbeddingsParams extends EmbeddingsParams { apiKey?: string; model?: string; endpointUrl?: string; - provider?: string; + provider?: InferenceProviderOrPolicy; } /** @@ -28,7 +28,7 @@ export class HuggingFaceInferenceEmbeddings endpointUrl?: string; - provider?: string; + provider?: InferenceProviderOrPolicy; client: InferenceClient; @@ -50,7 +50,7 @@ export class HuggingFaceInferenceEmbeddings fields?.apiKey ?? getEnvironmentVariable("HUGGINGFACEHUB_API_KEY"); this.endpointUrl = fields?.endpointUrl; this.provider = - fields?.provider ?? getEnvironmentVariable("HUGGINGFACEHUB_PROVIDER"); + fields?.provider ?? getEnvironmentVariable("HUGGINGFACEHUB_PROVIDER") as InferenceProviderOrPolicy | undefined; this.client = this.endpointUrl ? new InferenceClient(this.apiKey).endpoint(this.endpointUrl) : new InferenceClient(this.apiKey); diff --git a/yarn.lock b/yarn.lock index 4db4ee3785e8..070af6cd47a2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5972,13 +5972,13 @@ __metadata: languageName: node linkType: hard -"@huggingface/inference@npm:^3.13.2": - version: 3.13.2 - resolution: "@huggingface/inference@npm:3.13.2" +"@huggingface/inference@npm:^3.15.0": + version: 3.15.0 + resolution: "@huggingface/inference@npm:3.15.0" dependencies: "@huggingface/jinja": ^0.5.0 - "@huggingface/tasks": ^0.19.6 - checksum: 347192023adcaa2ec70d4de10b33306592c1b9fbef3cf0eec7de7a11821f2dfd733fbbb53be6e0dbf962a82b499ff816e705758f7c0b7d165367689c6f2ffd87 + "@huggingface/tasks": ^0.19.9 + checksum: dbb441498e28184fa09cbc757d7f0b9697ab7a3d00fda830b12dafb91e60640cb738dbaa431172fc3ce87c4522ec0645e1fc34fcf6ec9cc6faa17fd40b4c611e languageName: node linkType: hard @@ -5996,10 +5996,10 @@ __metadata: languageName: node linkType: hard -"@huggingface/tasks@npm:^0.19.6": - version: 0.19.8 - resolution: "@huggingface/tasks@npm:0.19.8" - checksum: 89377ebda7b5cdecf12e805b52eb8800d3f0fb337855e4d3b4e082aeae9c1ad5492f94ea9492e45d1c7c23779836bf168b7f21103be3fb1c1651be67fa0f89bb +"@huggingface/tasks@npm:^0.19.9": + version: 0.19.10 + resolution: "@huggingface/tasks@npm:0.19.10" + checksum: e17ed2e858319f16fc242925f13ae4d4d470e96492d3aea0d2c75525c2c265e2cd5a92e12b91e08631b26505901c433d3553622d870442f59c296b9e4d5ad55f languageName: node linkType: hard @@ -7281,7 +7281,7 @@ __metadata: "@google-ai/generativelanguage": ^2.5.0 "@google-cloud/storage": ^7.15.2 "@gradientai/nodejs-sdk": ^1.2.0 - "@huggingface/inference": ^3.13.2 + "@huggingface/inference": ^3.15.0 "@huggingface/transformers": ^3.2.3 "@ibm-cloud/watsonx-ai": ^1.6.4 "@jest/globals": ^29.5.0 @@ -7466,7 +7466,7 @@ __metadata: "@google-ai/generativelanguage": "*" "@google-cloud/storage": ^6.10.1 || ^7.7.0 "@gradientai/nodejs-sdk": ^1.2.0 - "@huggingface/inference": ^3.13.2 + "@huggingface/inference": ^3.15.0 "@huggingface/transformers": ^3.2.3 "@ibm-cloud/watsonx-ai": "*" "@lancedb/lancedb": ^0.12.0 From 2b86edac0d316a10d00d4eb9459621fabfa4e80e Mon Sep 17 00:00:00 2001 From: Yashar Fakhari Date: Thu, 29 May 2025 23:32:48 -0700 Subject: [PATCH 3/3] chore: upgrade @huggingface/transformers --- libs/langchain-community/package.json | 4 +- libs/langchain-community/src/embeddings/hf.ts | 10 +- .../embeddings/huggingface_transformers.ts | 18 +- .../huggingface_transformers.int.test.ts | 2 + yarn.lock | 450 ++++++++++++++++-- 5 files changed, 439 insertions(+), 45 deletions(-) diff --git a/libs/langchain-community/package.json b/libs/langchain-community/package.json index d7f1b11243e2..3be3edba7a59 100644 --- a/libs/langchain-community/package.json +++ b/libs/langchain-community/package.json @@ -80,7 +80,7 @@ "@google-cloud/storage": "^7.15.2", "@gradientai/nodejs-sdk": "^1.2.0", "@huggingface/inference": "^3.15.0", - "@huggingface/transformers": "^3.2.3", + "@huggingface/transformers": "^3.5.1", "@ibm-cloud/watsonx-ai": "^1.6.4", "@jest/globals": "^29.5.0", "@lancedb/lancedb": "^0.13.0", @@ -255,7 +255,7 @@ "@google-cloud/storage": "^6.10.1 || ^7.7.0", "@gradientai/nodejs-sdk": "^1.2.0", "@huggingface/inference": "^3.15.0", - "@huggingface/transformers": "^3.2.3", + "@huggingface/transformers": "^3.5.1", "@ibm-cloud/watsonx-ai": "*", "@lancedb/lancedb": "^0.12.0", "@langchain/core": ">=0.2.21 <0.4.0", diff --git a/libs/langchain-community/src/embeddings/hf.ts b/libs/langchain-community/src/embeddings/hf.ts index 18d7e16abe19..21d39e7b486d 100644 --- a/libs/langchain-community/src/embeddings/hf.ts +++ b/libs/langchain-community/src/embeddings/hf.ts @@ -1,4 +1,7 @@ -import { InferenceClient, InferenceProviderOrPolicy } from "@huggingface/inference"; +import { + InferenceClient, + InferenceProviderOrPolicy, +} from "@huggingface/inference"; import { Embeddings, type EmbeddingsParams } from "@langchain/core/embeddings"; import { getEnvironmentVariable } from "@langchain/core/utils/env"; @@ -50,7 +53,10 @@ export class HuggingFaceInferenceEmbeddings fields?.apiKey ?? getEnvironmentVariable("HUGGINGFACEHUB_API_KEY"); this.endpointUrl = fields?.endpointUrl; this.provider = - fields?.provider ?? getEnvironmentVariable("HUGGINGFACEHUB_PROVIDER") as InferenceProviderOrPolicy | undefined; + fields?.provider ?? + (getEnvironmentVariable("HUGGINGFACEHUB_PROVIDER") as + | InferenceProviderOrPolicy + | undefined); this.client = this.endpointUrl ? new InferenceClient(this.apiKey).endpoint(this.endpointUrl) : new InferenceClient(this.apiKey); diff --git a/libs/langchain-community/src/embeddings/huggingface_transformers.ts b/libs/langchain-community/src/embeddings/huggingface_transformers.ts index 03f458c51f38..621552bc6c22 100644 --- a/libs/langchain-community/src/embeddings/huggingface_transformers.ts +++ b/libs/langchain-community/src/embeddings/huggingface_transformers.ts @@ -72,7 +72,7 @@ export class HuggingFaceTransformersEmbeddings pipelineOptions?: FeatureExtractionPipelineOptions; - private pipelinePromise: Promise; + private pipeline: FeatureExtractionPipeline | null = null; constructor(fields?: Partial) { super(fields ?? {}); @@ -116,12 +116,20 @@ export class HuggingFaceTransformersEmbeddings } private async runEmbedding(texts: string[]) { - const pipe = await (this.pipelinePromise ??= ( - await import("@huggingface/transformers") - ).pipeline("feature-extraction", this.model, this.pretrainedOptions)); + if (!this.pipeline) { + const transformers = await import("@huggingface/transformers"); + this.pipeline = await ( + transformers.pipeline as unknown as ( + task: string, + model: string, + options?: PretrainedOptions + ) => Promise + )("feature-extraction", this.model, this.pretrainedOptions); + } + const pipeline = this.pipeline as FeatureExtractionPipeline; return this.caller.call(async () => { - const output = await pipe(texts, this.pipelineOptions); + const output = await pipeline(texts, this.pipelineOptions); return output.tolist(); }); } diff --git a/libs/langchain-community/src/embeddings/tests/huggingface_transformers.int.test.ts b/libs/langchain-community/src/embeddings/tests/huggingface_transformers.int.test.ts index e10caf1e7032..8353e7e90a88 100644 --- a/libs/langchain-community/src/embeddings/tests/huggingface_transformers.int.test.ts +++ b/libs/langchain-community/src/embeddings/tests/huggingface_transformers.int.test.ts @@ -23,10 +23,12 @@ test("HuggingFaceTransformersEmbeddings", async () => { expect(await store.similaritySearch(texts[4], 2)).toMatchInlineSnapshot(` [ Document { + "id": undefined, "metadata": {}, "pageContent": "1 + 1 = 2", }, Document { + "id": undefined, "metadata": {}, "pageContent": "1 + 1 = 3", }, diff --git a/yarn.lock b/yarn.lock index 070af6cd47a2..b08f281296a5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5006,6 +5006,15 @@ __metadata: languageName: node linkType: hard +"@emnapi/runtime@npm:^1.4.3": + version: 1.4.3 + resolution: "@emnapi/runtime@npm:1.4.3" + dependencies: + tslib: ^2.4.0 + checksum: ff2074809638ed878e476ece370c6eae7e6257bf029a581bb7a290488d8f2a08c420a65988c7f03bfc6bb689218f0cd995d2f935bd182150b357fc2341142f4f + languageName: node + linkType: hard + "@esbuild-kit/cjs-loader@npm:^2.4.2": version: 2.4.2 resolution: "@esbuild-kit/cjs-loader@npm:2.4.2" @@ -5982,13 +5991,20 @@ __metadata: languageName: node linkType: hard -"@huggingface/jinja@npm:^0.3.1, @huggingface/jinja@npm:^0.3.2": +"@huggingface/jinja@npm:^0.3.1": version: 0.3.2 resolution: "@huggingface/jinja@npm:0.3.2" checksum: 4bc7d00b6f8655a0032c2d89e38a095d0a87ef81a1c12fb6fd0404e1319e1ef6eef87734502689c1df39db4e77a7bb5996e7b6c1b4d6a768ecfa5a48f2a939a7 languageName: node linkType: hard +"@huggingface/jinja@npm:^0.4.1": + version: 0.4.1 + resolution: "@huggingface/jinja@npm:0.4.1" + checksum: bcc5a8c239d8af9549f7bddfbd74731e1d18bddfe3fae663637d757590b36d26c7984aec3406b51ce6aaf04e5ec89918627cd99e217dd3c53c71e5e64e59bac7 + languageName: node + linkType: hard + "@huggingface/jinja@npm:^0.5.0": version: 0.5.0 resolution: "@huggingface/jinja@npm:0.5.0" @@ -6003,15 +6019,15 @@ __metadata: languageName: node linkType: hard -"@huggingface/transformers@npm:^3.2.3": - version: 3.2.4 - resolution: "@huggingface/transformers@npm:3.2.4" +"@huggingface/transformers@npm:^3.5.1": + version: 3.5.1 + resolution: "@huggingface/transformers@npm:3.5.1" dependencies: - "@huggingface/jinja": ^0.3.2 - onnxruntime-node: 1.20.1 - onnxruntime-web: 1.21.0-dev.20241205-d27fecd3d3 - sharp: ^0.33.5 - checksum: fdff5cec1336fdb4ad923592d77348730f58263928a8c90d0f79aed7863e74a5521b9e99903c906a6e1c056fe0f81f811e4d403b62d3edb66da9389cff025acf + "@huggingface/jinja": ^0.4.1 + onnxruntime-node: 1.21.0 + onnxruntime-web: 1.22.0-dev.20250409-89f8206ba4 + sharp: ^0.34.1 + checksum: 4040e9717563c76c668c82ef3a72c0281e7f461ccb9641204bd009ac205d17bcfa08d70621ed5cb62dfc78c686ba1cc31bbabb4b532fe29567420143d9b77d25 languageName: node linkType: hard @@ -6071,6 +6087,18 @@ __metadata: languageName: node linkType: hard +"@img/sharp-darwin-arm64@npm:0.34.2": + version: 0.34.2 + resolution: "@img/sharp-darwin-arm64@npm:0.34.2" + dependencies: + "@img/sharp-libvips-darwin-arm64": 1.1.0 + dependenciesMeta: + "@img/sharp-libvips-darwin-arm64": + optional: true + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@img/sharp-darwin-x64@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-darwin-x64@npm:0.33.5" @@ -6083,6 +6111,18 @@ __metadata: languageName: node linkType: hard +"@img/sharp-darwin-x64@npm:0.34.2": + version: 0.34.2 + resolution: "@img/sharp-darwin-x64@npm:0.34.2" + dependencies: + "@img/sharp-libvips-darwin-x64": 1.1.0 + dependenciesMeta: + "@img/sharp-libvips-darwin-x64": + optional: true + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@img/sharp-libvips-darwin-arm64@npm:1.0.4": version: 1.0.4 resolution: "@img/sharp-libvips-darwin-arm64@npm:1.0.4" @@ -6090,6 +6130,13 @@ __metadata: languageName: node linkType: hard +"@img/sharp-libvips-darwin-arm64@npm:1.1.0": + version: 1.1.0 + resolution: "@img/sharp-libvips-darwin-arm64@npm:1.1.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@img/sharp-libvips-darwin-x64@npm:1.0.4": version: 1.0.4 resolution: "@img/sharp-libvips-darwin-x64@npm:1.0.4" @@ -6097,6 +6144,13 @@ __metadata: languageName: node linkType: hard +"@img/sharp-libvips-darwin-x64@npm:1.1.0": + version: 1.1.0 + resolution: "@img/sharp-libvips-darwin-x64@npm:1.1.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@img/sharp-libvips-linux-arm64@npm:1.0.4": version: 1.0.4 resolution: "@img/sharp-libvips-linux-arm64@npm:1.0.4" @@ -6104,6 +6158,13 @@ __metadata: languageName: node linkType: hard +"@img/sharp-libvips-linux-arm64@npm:1.1.0": + version: 1.1.0 + resolution: "@img/sharp-libvips-linux-arm64@npm:1.1.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + "@img/sharp-libvips-linux-arm@npm:1.0.5": version: 1.0.5 resolution: "@img/sharp-libvips-linux-arm@npm:1.0.5" @@ -6111,6 +6172,20 @@ __metadata: languageName: node linkType: hard +"@img/sharp-libvips-linux-arm@npm:1.1.0": + version: 1.1.0 + resolution: "@img/sharp-libvips-linux-arm@npm:1.1.0" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-ppc64@npm:1.1.0": + version: 1.1.0 + resolution: "@img/sharp-libvips-linux-ppc64@npm:1.1.0" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + "@img/sharp-libvips-linux-s390x@npm:1.0.4": version: 1.0.4 resolution: "@img/sharp-libvips-linux-s390x@npm:1.0.4" @@ -6118,6 +6193,13 @@ __metadata: languageName: node linkType: hard +"@img/sharp-libvips-linux-s390x@npm:1.1.0": + version: 1.1.0 + resolution: "@img/sharp-libvips-linux-s390x@npm:1.1.0" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + "@img/sharp-libvips-linux-x64@npm:1.0.4": version: 1.0.4 resolution: "@img/sharp-libvips-linux-x64@npm:1.0.4" @@ -6125,6 +6207,13 @@ __metadata: languageName: node linkType: hard +"@img/sharp-libvips-linux-x64@npm:1.1.0": + version: 1.1.0 + resolution: "@img/sharp-libvips-linux-x64@npm:1.1.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + "@img/sharp-libvips-linuxmusl-arm64@npm:1.0.4": version: 1.0.4 resolution: "@img/sharp-libvips-linuxmusl-arm64@npm:1.0.4" @@ -6132,6 +6221,13 @@ __metadata: languageName: node linkType: hard +"@img/sharp-libvips-linuxmusl-arm64@npm:1.1.0": + version: 1.1.0 + resolution: "@img/sharp-libvips-linuxmusl-arm64@npm:1.1.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + "@img/sharp-libvips-linuxmusl-x64@npm:1.0.4": version: 1.0.4 resolution: "@img/sharp-libvips-linuxmusl-x64@npm:1.0.4" @@ -6139,6 +6235,13 @@ __metadata: languageName: node linkType: hard +"@img/sharp-libvips-linuxmusl-x64@npm:1.1.0": + version: 1.1.0 + resolution: "@img/sharp-libvips-linuxmusl-x64@npm:1.1.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + "@img/sharp-linux-arm64@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-linux-arm64@npm:0.33.5" @@ -6151,6 +6254,18 @@ __metadata: languageName: node linkType: hard +"@img/sharp-linux-arm64@npm:0.34.2": + version: 0.34.2 + resolution: "@img/sharp-linux-arm64@npm:0.34.2" + dependencies: + "@img/sharp-libvips-linux-arm64": 1.1.0 + dependenciesMeta: + "@img/sharp-libvips-linux-arm64": + optional: true + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + "@img/sharp-linux-arm@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-linux-arm@npm:0.33.5" @@ -6163,6 +6278,18 @@ __metadata: languageName: node linkType: hard +"@img/sharp-linux-arm@npm:0.34.2": + version: 0.34.2 + resolution: "@img/sharp-linux-arm@npm:0.34.2" + dependencies: + "@img/sharp-libvips-linux-arm": 1.1.0 + dependenciesMeta: + "@img/sharp-libvips-linux-arm": + optional: true + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + "@img/sharp-linux-s390x@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-linux-s390x@npm:0.33.5" @@ -6175,6 +6302,18 @@ __metadata: languageName: node linkType: hard +"@img/sharp-linux-s390x@npm:0.34.2": + version: 0.34.2 + resolution: "@img/sharp-linux-s390x@npm:0.34.2" + dependencies: + "@img/sharp-libvips-linux-s390x": 1.1.0 + dependenciesMeta: + "@img/sharp-libvips-linux-s390x": + optional: true + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + "@img/sharp-linux-x64@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-linux-x64@npm:0.33.5" @@ -6187,6 +6326,18 @@ __metadata: languageName: node linkType: hard +"@img/sharp-linux-x64@npm:0.34.2": + version: 0.34.2 + resolution: "@img/sharp-linux-x64@npm:0.34.2" + dependencies: + "@img/sharp-libvips-linux-x64": 1.1.0 + dependenciesMeta: + "@img/sharp-libvips-linux-x64": + optional: true + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + "@img/sharp-linuxmusl-arm64@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-linuxmusl-arm64@npm:0.33.5" @@ -6199,6 +6350,18 @@ __metadata: languageName: node linkType: hard +"@img/sharp-linuxmusl-arm64@npm:0.34.2": + version: 0.34.2 + resolution: "@img/sharp-linuxmusl-arm64@npm:0.34.2" + dependencies: + "@img/sharp-libvips-linuxmusl-arm64": 1.1.0 + dependenciesMeta: + "@img/sharp-libvips-linuxmusl-arm64": + optional: true + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + "@img/sharp-linuxmusl-x64@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-linuxmusl-x64@npm:0.33.5" @@ -6211,6 +6374,18 @@ __metadata: languageName: node linkType: hard +"@img/sharp-linuxmusl-x64@npm:0.34.2": + version: 0.34.2 + resolution: "@img/sharp-linuxmusl-x64@npm:0.34.2" + dependencies: + "@img/sharp-libvips-linuxmusl-x64": 1.1.0 + dependenciesMeta: + "@img/sharp-libvips-linuxmusl-x64": + optional: true + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + "@img/sharp-wasm32@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-wasm32@npm:0.33.5" @@ -6220,6 +6395,22 @@ __metadata: languageName: node linkType: hard +"@img/sharp-wasm32@npm:0.34.2": + version: 0.34.2 + resolution: "@img/sharp-wasm32@npm:0.34.2" + dependencies: + "@emnapi/runtime": ^1.4.3 + conditions: cpu=wasm32 + languageName: node + linkType: hard + +"@img/sharp-win32-arm64@npm:0.34.2": + version: 0.34.2 + resolution: "@img/sharp-win32-arm64@npm:0.34.2" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@img/sharp-win32-ia32@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-win32-ia32@npm:0.33.5" @@ -6227,6 +6418,13 @@ __metadata: languageName: node linkType: hard +"@img/sharp-win32-ia32@npm:0.34.2": + version: 0.34.2 + resolution: "@img/sharp-win32-ia32@npm:0.34.2" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@img/sharp-win32-x64@npm:0.33.5": version: 0.33.5 resolution: "@img/sharp-win32-x64@npm:0.33.5" @@ -6234,6 +6432,13 @@ __metadata: languageName: node linkType: hard +"@img/sharp-win32-x64@npm:0.34.2": + version: 0.34.2 + resolution: "@img/sharp-win32-x64@npm:0.34.2" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@inquirer/checkbox@npm:^4.1.5": version: 4.1.5 resolution: "@inquirer/checkbox@npm:4.1.5" @@ -7282,7 +7487,7 @@ __metadata: "@google-cloud/storage": ^7.15.2 "@gradientai/nodejs-sdk": ^1.2.0 "@huggingface/inference": ^3.15.0 - "@huggingface/transformers": ^3.2.3 + "@huggingface/transformers": ^3.5.1 "@ibm-cloud/watsonx-ai": ^1.6.4 "@jest/globals": ^29.5.0 "@lancedb/lancedb": ^0.13.0 @@ -7467,7 +7672,7 @@ __metadata: "@google-cloud/storage": ^6.10.1 || ^7.7.0 "@gradientai/nodejs-sdk": ^1.2.0 "@huggingface/inference": ^3.15.0 - "@huggingface/transformers": ^3.2.3 + "@huggingface/transformers": ^3.5.1 "@ibm-cloud/watsonx-ai": "*" "@lancedb/lancedb": ^0.12.0 "@langchain/core": ">=0.2.21 <0.4.0" @@ -16064,6 +16269,13 @@ __metadata: languageName: node linkType: hard +"boolean@npm:^3.0.1": + version: 3.2.0 + resolution: "boolean@npm:3.2.0" + checksum: fb29535b8bf710ef45279677a86d14f5185d604557204abd2ca5fa3fb2a5c80e04d695c8dbf13ab269991977a79bb6c04b048220a6b2a3849853faa94f4a7d77 + languageName: node + linkType: hard + "bottleneck@npm:^2.15.3, bottleneck@npm:^2.19.5": version: 2.19.5 resolution: "bottleneck@npm:2.19.5" @@ -19478,6 +19690,13 @@ __metadata: languageName: node linkType: hard +"detect-libc@npm:^2.0.4": + version: 2.0.4 + resolution: "detect-libc@npm:2.0.4" + checksum: 3d186b7d4e16965e10e21db596c78a4e131f9eee69c0081d13b85e6a61d7448d3ba23fe7997648022bdfa3b0eb4cc3c289a44c8188df949445a20852689abef6 + languageName: node + linkType: hard + "detect-newline@npm:^3.0.0": version: 3.1.0 resolution: "detect-newline@npm:3.1.0" @@ -20348,6 +20567,13 @@ __metadata: languageName: node linkType: hard +"es6-error@npm:^4.1.1": + version: 4.1.1 + resolution: "es6-error@npm:4.1.1" + checksum: ae41332a51ec1323da6bbc5d75b7803ccdeddfae17c41b6166ebbafc8e8beb7a7b80b884b7fab1cc80df485860ac3c59d78605e860bb4f8cd816b3d6ade0d010 + languageName: node + linkType: hard + "es6-iterator@npm:^2.0.3": version: 2.0.3 resolution: "es6-iterator@npm:2.0.3" @@ -22224,10 +22450,10 @@ __metadata: languageName: node linkType: hard -"flatbuffers@npm:^1.12.0": - version: 1.12.0 - resolution: "flatbuffers@npm:1.12.0" - checksum: 8a6461ec80a8f850c623439fbc3d031bac52dfd7dee27fbadf1d850e96fd92cbd782c28bf2a08f2d852a3ac329cc31e2ad21e133ab68993cf0df69d3dd32fd12 +"flatbuffers@npm:^25.1.24": + version: 25.2.10 + resolution: "flatbuffers@npm:25.2.10" + checksum: 2db4322315b7edcd76452a9a95a6cd23225b3510f66caac4035470b461f0dfef6b75a31a0511be1d214d53a0d55e8d5bf5fb056f8d6a92b7d4ca7c54c3bc0dc9 languageName: node linkType: hard @@ -22969,6 +23195,20 @@ __metadata: languageName: node linkType: hard +"global-agent@npm:^3.0.0": + version: 3.0.0 + resolution: "global-agent@npm:3.0.0" + dependencies: + boolean: ^3.0.1 + es6-error: ^4.1.1 + matcher: ^3.0.0 + roarr: ^2.15.3 + semver: ^7.3.2 + serialize-error: ^7.0.1 + checksum: 75074d80733b4bd5386c47f5df028e798018025beac0ab310e9908c72bf5639e408203e7bca0130d5ee01b5f4abc6d34385d96a9f950ea5fe1979bb431c808f7 + languageName: node + linkType: hard + "global-directory@npm:^4.0.1": version: 4.0.1 resolution: "global-directory@npm:4.0.1" @@ -23023,7 +23263,7 @@ __metadata: languageName: node linkType: hard -"globalthis@npm:^1.0.3, globalthis@npm:^1.0.4": +"globalthis@npm:^1.0.1, globalthis@npm:^1.0.3, globalthis@npm:^1.0.4": version: 1.0.4 resolution: "globalthis@npm:1.0.4" dependencies: @@ -26166,6 +26406,13 @@ __metadata: languageName: node linkType: hard +"json-stringify-safe@npm:^5.0.1": + version: 5.0.1 + resolution: "json-stringify-safe@npm:5.0.1" + checksum: 48ec0adad5280b8a96bb93f4563aa1667fd7a36334f79149abd42446d0989f2ddc58274b479f4819f1f00617957e6344c886c55d05a4e15ebb4ab931e4a6a8ee + languageName: node + linkType: hard + "json5@npm:^1.0.2": version: 1.0.2 resolution: "json5@npm:1.0.2" @@ -27578,6 +27825,15 @@ __metadata: languageName: node linkType: hard +"matcher@npm:^3.0.0": + version: 3.0.0 + resolution: "matcher@npm:3.0.0" + dependencies: + escape-string-regexp: ^4.0.0 + checksum: 8bee1a7ab7609c2c21d9c9254b6785fa708eadf289032b556d57a34e98fcd4c537659a004dafee6ce80ab157099e645c199dc52678dff1e7fb0a6684e0da4dbe + languageName: node + linkType: hard + "math-intrinsics@npm:^1.1.0": version: 1.1.0 resolution: "math-intrinsics@npm:1.1.0" @@ -29375,42 +29631,43 @@ __metadata: languageName: node linkType: hard -"onnxruntime-common@npm:1.20.1": - version: 1.20.1 - resolution: "onnxruntime-common@npm:1.20.1" - checksum: 5cde8fae546c9a4a2d8f13e18cc4c346d77e733d08d1f6b95f4958fb09618592113d232db64049fafadbd18913ec8564e6c06c47dadc4c2aac8df4ed18b2956c +"onnxruntime-common@npm:1.21.0": + version: 1.21.0 + resolution: "onnxruntime-common@npm:1.21.0" + checksum: 82937d07c6e80d51dc3966db5cffd4fa14157a21ceb5df5ede35f437213af4fe9ed530ba2f3742fce6e50080dc1869f891b3b8e143ae51386db424461f7c4107 languageName: node linkType: hard -"onnxruntime-common@npm:1.21.0-dev.20241205-6ed77cc374": - version: 1.21.0-dev.20241205-6ed77cc374 - resolution: "onnxruntime-common@npm:1.21.0-dev.20241205-6ed77cc374" - checksum: f490d6b1a8c059ce5665a468ac1c38de4c3729ead0bae173a0c9334c32a67fb2899972b6e185cc6c42f05e61f2c3da2738a814dbc89b5577206a7b17e29f4190 +"onnxruntime-common@npm:1.22.0-dev.20250409-89f8206ba4": + version: 1.22.0-dev.20250409-89f8206ba4 + resolution: "onnxruntime-common@npm:1.22.0-dev.20250409-89f8206ba4" + checksum: 30a1b18181dcfa8e15fc9b5a35fa06f3d4af4ab614e1726d1678adc0d85dc82dba49ada1fe3f991801a2aa47e355f9e19051c0215ae23ad7c51b173e3303a97f languageName: node linkType: hard -"onnxruntime-node@npm:1.20.1": - version: 1.20.1 - resolution: "onnxruntime-node@npm:1.20.1" +"onnxruntime-node@npm:1.21.0": + version: 1.21.0 + resolution: "onnxruntime-node@npm:1.21.0" dependencies: - onnxruntime-common: 1.20.1 + global-agent: ^3.0.0 + onnxruntime-common: 1.21.0 tar: ^7.0.1 - checksum: 6b5467eb1d08e1f5931ed1bff77e180f8600be917b690bad5edcfad61fcb797d29f74c5cff5eeb1f8bc95a36d261647d68ca88e149b0aa88412d8dea90901042 + checksum: 75f0f8c370cbe92714a26ee40f490d552242b86a157a3fa583e41b5196ac0d3c79782bc950afc3bac67e89ab21f5b1802c90631ee74038891a9c5d32697c8a9a conditions: (os=win32 | os=darwin | os=linux) languageName: node linkType: hard -"onnxruntime-web@npm:1.21.0-dev.20241205-d27fecd3d3": - version: 1.21.0-dev.20241205-d27fecd3d3 - resolution: "onnxruntime-web@npm:1.21.0-dev.20241205-d27fecd3d3" +"onnxruntime-web@npm:1.22.0-dev.20250409-89f8206ba4": + version: 1.22.0-dev.20250409-89f8206ba4 + resolution: "onnxruntime-web@npm:1.22.0-dev.20250409-89f8206ba4" dependencies: - flatbuffers: ^1.12.0 + flatbuffers: ^25.1.24 guid-typescript: ^1.0.9 long: ^5.2.3 - onnxruntime-common: 1.21.0-dev.20241205-6ed77cc374 + onnxruntime-common: 1.22.0-dev.20250409-89f8206ba4 platform: ^1.3.6 protobufjs: ^7.2.4 - checksum: f668b638440dc8122209ce04c9e06b449bd2d7d0ce05be0d0618468d98746310e4a4d1a15afea30c86e98cea0053496d1c0fef5e6785153f16be8530f24018b8 + checksum: b6f17d7a232671108599497b37a43a5838c44f66d4bea938b86957f101072c513699d12460e88cc0fc7784335453e3f7b61e68d7a6448a60c27da4546fe15c1e languageName: node linkType: hard @@ -32980,6 +33237,20 @@ __metadata: languageName: node linkType: hard +"roarr@npm:^2.15.3": + version: 2.15.4 + resolution: "roarr@npm:2.15.4" + dependencies: + boolean: ^3.0.1 + detect-node: ^2.0.4 + globalthis: ^1.0.1 + json-stringify-safe: ^5.0.1 + semver-compare: ^1.0.0 + sprintf-js: ^1.1.2 + checksum: 682e28d5491e3ae99728a35ba188f4f0ccb6347dbd492f95dc9f4bfdfe8ee63d8203ad234766ee2db88c8d7a300714304976eb095ce5c9366fe586c03a21586c + languageName: node + linkType: hard + "robust-predicates@npm:^3.0.2": version: 3.0.2 resolution: "robust-predicates@npm:3.0.2" @@ -33393,6 +33664,13 @@ __metadata: languageName: node linkType: hard +"semver-compare@npm:^1.0.0": + version: 1.0.0 + resolution: "semver-compare@npm:1.0.0" + checksum: dd1d7e2909744cf2cf71864ac718efc990297f9de2913b68e41a214319e70174b1d1793ac16e31183b128c2b9812541300cb324db8168e6cf6b570703b171c68 + languageName: node + linkType: hard + "semver-diff@npm:^3.1.1": version: 3.1.1 resolution: "semver-diff@npm:3.1.1" @@ -33449,6 +33727,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.7.2": + version: 7.7.2 + resolution: "semver@npm:7.7.2" + bin: + semver: bin/semver.js + checksum: dd94ba8f1cbc903d8eeb4dd8bf19f46b3deb14262b6717d0de3c804b594058ae785ef2e4b46c5c3b58733c99c83339068203002f9e37cfe44f7e2cc5e3d2f621 + languageName: node + linkType: hard + "send@npm:0.18.0": version: 0.18.0 resolution: "send@npm:0.18.0" @@ -33496,6 +33783,15 @@ __metadata: languageName: node linkType: hard +"serialize-error@npm:^7.0.1": + version: 7.0.1 + resolution: "serialize-error@npm:7.0.1" + dependencies: + type-fest: ^0.13.1 + checksum: e0aba4dca2fc9fe74ae1baf38dbd99190e1945445a241ba646290f2176cdb2032281a76443b02ccf0caf30da5657d510746506368889a593b9835a497fc0732e + languageName: node + linkType: hard + "serialize-javascript@npm:^6.0.0, serialize-javascript@npm:^6.0.2": version: 6.0.2 resolution: "serialize-javascript@npm:6.0.2" @@ -33722,6 +34018,81 @@ __metadata: languageName: node linkType: hard +"sharp@npm:^0.34.1": + version: 0.34.2 + resolution: "sharp@npm:0.34.2" + dependencies: + "@img/sharp-darwin-arm64": 0.34.2 + "@img/sharp-darwin-x64": 0.34.2 + "@img/sharp-libvips-darwin-arm64": 1.1.0 + "@img/sharp-libvips-darwin-x64": 1.1.0 + "@img/sharp-libvips-linux-arm": 1.1.0 + "@img/sharp-libvips-linux-arm64": 1.1.0 + "@img/sharp-libvips-linux-ppc64": 1.1.0 + "@img/sharp-libvips-linux-s390x": 1.1.0 + "@img/sharp-libvips-linux-x64": 1.1.0 + "@img/sharp-libvips-linuxmusl-arm64": 1.1.0 + "@img/sharp-libvips-linuxmusl-x64": 1.1.0 + "@img/sharp-linux-arm": 0.34.2 + "@img/sharp-linux-arm64": 0.34.2 + "@img/sharp-linux-s390x": 0.34.2 + "@img/sharp-linux-x64": 0.34.2 + "@img/sharp-linuxmusl-arm64": 0.34.2 + "@img/sharp-linuxmusl-x64": 0.34.2 + "@img/sharp-wasm32": 0.34.2 + "@img/sharp-win32-arm64": 0.34.2 + "@img/sharp-win32-ia32": 0.34.2 + "@img/sharp-win32-x64": 0.34.2 + color: ^4.2.3 + detect-libc: ^2.0.4 + semver: ^7.7.2 + dependenciesMeta: + "@img/sharp-darwin-arm64": + optional: true + "@img/sharp-darwin-x64": + optional: true + "@img/sharp-libvips-darwin-arm64": + optional: true + "@img/sharp-libvips-darwin-x64": + optional: true + "@img/sharp-libvips-linux-arm": + optional: true + "@img/sharp-libvips-linux-arm64": + optional: true + "@img/sharp-libvips-linux-ppc64": + optional: true + "@img/sharp-libvips-linux-s390x": + optional: true + "@img/sharp-libvips-linux-x64": + optional: true + "@img/sharp-libvips-linuxmusl-arm64": + optional: true + "@img/sharp-libvips-linuxmusl-x64": + optional: true + "@img/sharp-linux-arm": + optional: true + "@img/sharp-linux-arm64": + optional: true + "@img/sharp-linux-s390x": + optional: true + "@img/sharp-linux-x64": + optional: true + "@img/sharp-linuxmusl-arm64": + optional: true + "@img/sharp-linuxmusl-x64": + optional: true + "@img/sharp-wasm32": + optional: true + "@img/sharp-win32-arm64": + optional: true + "@img/sharp-win32-ia32": + optional: true + "@img/sharp-win32-x64": + optional: true + checksum: beb34afe75cc6492fc7e6331efebfa11a0f92bf0f54ac850bf4c93ab48ab4152103cf096a892802bacca7c8102b721312b098bfdda16a4bf6c95716dabb28a16 + languageName: node + linkType: hard + "shebang-command@npm:^1.2.0": version: 1.2.0 resolution: "shebang-command@npm:1.2.0" @@ -34228,7 +34599,7 @@ __metadata: languageName: node linkType: hard -"sprintf-js@npm:^1.1.3": +"sprintf-js@npm:^1.1.2, sprintf-js@npm:^1.1.3": version: 1.1.3 resolution: "sprintf-js@npm:1.1.3" checksum: a3fdac7b49643875b70864a9d9b469d87a40dfeaf5d34d9d0c5b1cda5fd7d065531fcb43c76357d62254c57184a7b151954156563a4d6a747015cfb41021cad0 @@ -35873,6 +36244,13 @@ __metadata: languageName: node linkType: hard +"type-fest@npm:^0.13.1": + version: 0.13.1 + resolution: "type-fest@npm:0.13.1" + checksum: e6bf2e3c449f27d4ef5d56faf8b86feafbc3aec3025fc9a5fbe2db0a2587c44714521f9c30d8516a833c8c506d6263f5cc11267522b10c6ccdb6cc55b0a9d1c4 + languageName: node + linkType: hard + "type-fest@npm:^0.20.2": version: 0.20.2 resolution: "type-fest@npm:0.20.2"