diff --git a/jest.config.js b/jest.config.js index 3ee14d038b1..c8f88b260cb 100644 --- a/jest.config.js +++ b/jest.config.js @@ -38,6 +38,13 @@ const esmDependencies = [ 'is-network-error', 'uuid', 'change-case', + // file-type@21 and its ESM-only dependency chain + 'file-type', + 'strtok3', + 'token-types', + 'uint8array-extras', + '@tokenizer/inflate', + '@borewit/text-codec', // Add other ESM dependencies that need to be transformed here ]; @@ -94,6 +101,12 @@ const config = { }) : {}), }, + // file-type@21's `exports` map exposes no `require`/string `default` entry, + // only `import`/`module-sync`. Add `module-sync` so jest-resolve can pick its + // entry point (additive to the node env defaults). + testEnvironmentOptions: { + customExportConditions: ['node', 'node-addons', 'module-sync'], + }, setupFilesAfterEnv: ['jest-expect-message'], restoreMocks: true, collectCoverage: isCoverageEnabled, diff --git a/package.json b/package.json index 5c60f0f38e8..c502e77fa19 100644 --- a/package.json +++ b/package.json @@ -195,6 +195,7 @@ "@turbo/darwin-64@<=2.9.18": "2.9.18", "@turbo/linux-64@<=2.9.18": "2.9.18", "@turbo/windows-64@<=2.9.18": "2.9.18", + "ibm-cloud-sdk-core": "^5.5.0", "undici@5": "catalog:undici-v6", "undici@6": "catalog:undici-v6", "undici@7": "catalog:undici-v7", diff --git a/packages/cli/jest.config.js b/packages/cli/jest.config.js index 34ee691779f..809995d9963 100644 --- a/packages/cli/jest.config.js +++ b/packages/cli/jest.config.js @@ -6,6 +6,7 @@ const baseConfig = require('../../jest.config'); module.exports = { ...baseConfig, testEnvironmentOptions: { + ...baseConfig.testEnvironmentOptions, url: 'http://localhost/', }, globalSetup: '/test/setup.ts', diff --git a/packages/cli/package.json b/packages/cli/package.json index 441d5da4a60..c659ff5e6bf 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -102,7 +102,7 @@ "axios": "catalog:", "concurrently": "^8.2.0", "esbuild": "catalog:", - "file-type": "16.5.4", + "file-type": "catalog:", "form-data": "catalog:", "ioredis-mock": "^8.8.1", "jest-mock": "^29.6.2", diff --git a/packages/cli/src/modules/instance-ai/eval/__tests__/mock-handler.test.ts b/packages/cli/src/modules/instance-ai/eval/__tests__/mock-handler.test.ts index 29fee62ee61..b07d145723e 100644 --- a/packages/cli/src/modules/instance-ai/eval/__tests__/mock-handler.test.ts +++ b/packages/cli/src/modules/instance-ai/eval/__tests__/mock-handler.test.ts @@ -82,7 +82,7 @@ jest.mock('@n8n/di', () => ({ import { Container } from '@n8n/di'; import { createEvalAgent, Tool } from '@n8n/instance-ai'; -import FileType from 'file-type'; +import { fileTypeFromBuffer } from 'file-type'; import FormData from 'form-data'; import type { IHttpRequestOptions, INode } from 'n8n-workflow'; @@ -230,7 +230,7 @@ describe('createLlmMockHandler', () => { expect(result.statusCode).toBe(200); expect(result.headers['content-type']).toBe('application/pdf'); expect(Buffer.isBuffer(result.body)).toBe(true); - const sniffed = await FileType.fromBuffer(result.body as Buffer); + const sniffed = await fileTypeFromBuffer(result.body as Buffer); expect(sniffed?.mime).toBe('application/pdf'); expect(sniffed?.ext).toBe('pdf'); }); diff --git a/packages/core/package.json b/packages/core/package.json index c4bc8f4c496..d8bb52e3f4f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -76,7 +76,7 @@ "chardet": "2.0.0", "cron": "catalog:", "fast-glob": "catalog:", - "file-type": "16.5.4", + "file-type": "catalog:", "form-data": "catalog:", "htmlparser2": "^10.0.0", "jsonwebtoken": "catalog:", diff --git a/packages/core/src/execution-engine/__tests__/eval-mock-fixtures.test.ts b/packages/core/src/execution-engine/__tests__/eval-mock-fixtures.test.ts index 4c66d22c07a..458208b0505 100644 --- a/packages/core/src/execution-engine/__tests__/eval-mock-fixtures.test.ts +++ b/packages/core/src/execution-engine/__tests__/eval-mock-fixtures.test.ts @@ -1,4 +1,4 @@ -import FileType from 'file-type'; +import { fileTypeFromBuffer } from 'file-type'; import { synthesizeBinaryFixture } from '../eval-mock-fixtures'; @@ -22,7 +22,7 @@ describe('eval-mock-fixtures', () => { }); describe('per-MIME magic bytes (file-type sniffing)', () => { - // Each row: contentType → expected { mime, ext } that FileType.fromBuffer must return. + // Each row: contentType → expected { mime, ext } that fileTypeFromBuffer must return. // Validates that the fixture lib actually round-trips through prepareBinaryData's // detector (binary-helper-functions.ts:303) so downstream nodes derive the right // fileType / fileExtension. @@ -35,8 +35,8 @@ describe('eval-mock-fixtures', () => { { contentType: 'application/zip', expect: { mime: 'application/zip', ext: 'zip' } }, { contentType: 'application/gzip', expect: { mime: 'application/gzip', ext: 'gz' } }, { contentType: 'audio/mpeg', expect: { mime: 'audio/mpeg', ext: 'mp3' } }, - { contentType: 'audio/wav', expect: { mime: 'audio/vnd.wave', ext: 'wav' } }, - { contentType: 'audio/ogg', expect: { mime: 'audio/opus', ext: 'opus' } }, + { contentType: 'audio/wav', expect: { mime: 'audio/wav', ext: 'wav' } }, + { contentType: 'audio/ogg', expect: { mime: 'audio/ogg; codecs=opus', ext: 'opus' } }, { contentType: 'video/mp4', expect: { mime: 'video/mp4', ext: 'mp4' } }, ]; @@ -44,7 +44,7 @@ describe('eval-mock-fixtures', () => { 'should produce a $contentType fixture that file-type sniffs as $expect.mime', async ({ contentType, expect: expected }) => { const buf = synthesizeBinaryFixture(contentType, `sample.${expected.ext}`); - const sniffed = await FileType.fromBuffer(buf); + const sniffed = await fileTypeFromBuffer(buf); expect(sniffed).toBeDefined(); expect(sniffed?.mime).toBe(expected.mime); expect(sniffed?.ext).toBe(expected.ext); @@ -126,14 +126,14 @@ describe('eval-mock-fixtures', () => { it('should pad PDF tails for sizeHint=medium without breaking mime-sniff', async () => { const buf = synthesizeBinaryFixture('application/pdf', 'big.pdf', { sizeHint: 'medium' }); expect(buf.length).toBeGreaterThanOrEqual(64 * 1024); - const sniffed = await FileType.fromBuffer(buf); + const sniffed = await fileTypeFromBuffer(buf); expect(sniffed?.mime).toBe('application/pdf'); }); it('should pad image/png tails for sizeHint=large without breaking mime-sniff', async () => { const buf = synthesizeBinaryFixture('image/png', 'big.png', { sizeHint: 'large' }); expect(buf.length).toBeGreaterThanOrEqual(1024 * 1024); - const sniffed = await FileType.fromBuffer(buf); + const sniffed = await fileTypeFromBuffer(buf); expect(sniffed?.mime).toBe('image/png'); }); @@ -203,7 +203,7 @@ describe('eval-mock-fixtures', () => { 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'doc.docx', ); - const sniffed = await FileType.fromBuffer(buf); + const sniffed = await fileTypeFromBuffer(buf); expect(sniffed?.mime).toBe('application/zip'); }); }); diff --git a/packages/core/src/execution-engine/eval-mock-fixtures.ts b/packages/core/src/execution-engine/eval-mock-fixtures.ts index 64c6b328d00..fb96cd9bb65 100644 --- a/packages/core/src/execution-engine/eval-mock-fixtures.ts +++ b/packages/core/src/execution-engine/eval-mock-fixtures.ts @@ -1,7 +1,7 @@ /** * Minimal-valid binary fixtures for the eval mock layer. * - * Each fixture is the smallest byte sequence that `FileType.fromBuffer` + * Each fixture is the smallest byte sequence that `fileTypeFromBuffer` * recognizes as its declared MIME, so downstream node logic that derives * `fileExtension` / `fileType` from mime-sniffing behaves identically to a * real HTTP download. @@ -23,7 +23,7 @@ export interface SynthesizeBinaryFixtureOptions { } // --------------------------------------------------------------------------- -// Base fixtures — minimum byte sequences that `FileType.fromBuffer` recognizes. +// Base fixtures — minimum byte sequences that `fileTypeFromBuffer` recognizes. // --------------------------------------------------------------------------- /** 1×1 transparent PNG — 67 bytes. Magic: 89 50 4E 47 0D 0A 1A 0A */ @@ -64,7 +64,7 @@ const GZIP_EMPTY = Buffer.from([ /** * MPEG-1 Layer III frame — 128 kbps, 44.1 kHz, mono. 417 bytes (one full frame). - * file-type v16 sniffs the FF FB sync word as audio/mpeg. + * file-type sniffs the FF FB sync word as audio/mpeg. */ const MP3_FRAME = Buffer.concat([ // Frame header: 0xFFFB9064 diff --git a/packages/core/src/execution-engine/node-execution-context/utils/binary-helper-functions.ts b/packages/core/src/execution-engine/node-execution-context/utils/binary-helper-functions.ts index 328976681cc..db42d5b431a 100644 --- a/packages/core/src/execution-engine/node-execution-context/utils/binary-helper-functions.ts +++ b/packages/core/src/execution-engine/node-execution-context/utils/binary-helper-functions.ts @@ -1,7 +1,6 @@ import { binaryToBuffer, binaryToString } from '@n8n/backend-network'; import { Container } from '@n8n/di'; import chardet from 'chardet'; -import FileType from 'file-type'; import { IncomingMessage } from 'http'; import get from 'lodash/get'; import { extension, lookup } from 'mime-types'; @@ -199,7 +198,8 @@ export async function copyBinaryFile( if (!mimeType) { // read the first bytes of the file to guess mime type - const fileTypeData = await FileType.fromFile(filePath); + const { fileTypeFromFile } = await import('file-type'); + const fileTypeData = await fileTypeFromFile(filePath); if (fileTypeData) { mimeType = fileTypeData.mime; fileExtension = fileTypeData.ext; @@ -288,7 +288,8 @@ export async function prepareBinaryData( if (!mimeType) { if (Buffer.isBuffer(binaryData)) { // Use buffer to guess mime type - const fileTypeData = await FileType.fromBuffer(binaryData); + const { fileTypeFromBuffer } = await import('file-type'); + const fileTypeData = await fileTypeFromBuffer(binaryData); if (fileTypeData) { mimeType = fileTypeData.mime; fileExtension = fileTypeData.ext; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 076b03168a5..bd4fffb34bb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -351,6 +351,9 @@ catalogs: fastest-levenshtein: specifier: 1.0.16 version: 1.0.16 + file-type: + specifier: 21.3.2 + version: 21.3.2 get-tsconfig: specifier: ^4.13.0 version: 4.13.0 @@ -740,6 +743,7 @@ overrides: '@turbo/darwin-64@<=2.9.18': 2.9.18 '@turbo/linux-64@<=2.9.18': 2.9.18 '@turbo/windows-64@<=2.9.18': 2.9.18 + ibm-cloud-sdk-core: ^5.5.0 undici@5: ^6.24.0 undici@6: ^6.24.0 undici@7: ^7.28.0 @@ -1037,7 +1041,7 @@ importers: version: 1.0.27(@langchain/core@1.1.41(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(cheerio@1.1.0)(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) '@langchain/community': specifier: 'catalog:' - version: 1.1.27(3f523e2bcc201c8262a8c15a9a626dc9) + version: 1.1.27(78e46171fcb76843ec2278f345a05df4) '@langchain/core': specifier: 'catalog:' version: 1.1.41(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) @@ -2808,7 +2812,7 @@ importers: version: 1.0.1(@langchain/core@1.1.41(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(encoding@0.1.13) '@langchain/community': specifier: 'catalog:' - version: 1.1.27(8ee8441b912d2a4b54c578f74eeee9ed) + version: 1.1.27(04ccb83e6ae6275f55751ae26281b17d) '@langchain/core': specifier: 'catalog:' version: 1.1.41(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) @@ -3992,8 +3996,8 @@ importers: specifier: ^0.28.1 version: 0.28.1 file-type: - specifier: 16.5.4 - version: 16.5.4 + specifier: 'catalog:' + version: 21.3.2 form-data: specifier: 4.0.6 version: 4.0.6 @@ -4100,14 +4104,14 @@ importers: specifier: 'catalog:' version: 3.2.12 file-type: - specifier: 16.5.4 - version: 16.5.4 + specifier: 'catalog:' + version: 21.3.2 form-data: specifier: 4.0.6 version: 4.0.6 htmlparser2: specifier: ^10.0.0 - version: 10.0.0 + version: 10.1.0 jsonwebtoken: specifier: 'catalog:' version: 9.0.3 @@ -6707,18 +6711,10 @@ packages: resolution: {integrity: sha512-1D2LpsU7y9xrqKjdIbsB7PlrRePw0xsVV8p+AKTlzITrWmscajryfJCdDJB/oGwvDI5HmRo04eMMADB67uwAwQ==} engines: {node: '>=20.0.0'} - '@azure/core-client@1.9.2': - resolution: {integrity: sha512-kRdry/rav3fUKHl/aDLd/pDLcB+4pOFwPPTVEExuMyaI5r+JBbMWqRbCY1pn5BniDaU3lRxO9eaQ1AmSMehl/w==} - engines: {node: '>=18.0.0'} - '@azure/core-http-compat@1.3.0': resolution: {integrity: sha512-ZN9avruqbQ5TxopzG3ih3KRy52n8OAbitX3fnZT5go4hzu0J+KVPSzkL+Wt3hpJpdG8WIfg1sBD1tWkgUdEpBA==} engines: {node: '>=12.0.0'} - '@azure/core-http-compat@2.1.2': - resolution: {integrity: sha512-5MnV1yqzZwgNLLjlizsU3QqOeQChkIXw781Fwh1xdAqJR5AA32IUaq6xv1BICJvfbHoa+JYcaij2HFkhLbNTJQ==} - engines: {node: '>=18.0.0'} - '@azure/core-http-compat@2.4.0': resolution: {integrity: sha512-f1P96IB399YiN2ARYHP7EpZi3Bf3wH4SN2lGzrw7JVwm7bbsVYtf2iKSBwTywD2P62NOPZGHFSZi+6jjb75JuA==} engines: {node: '>=20.0.0'} @@ -6730,26 +6726,14 @@ packages: resolution: {integrity: sha512-F65+rYkll1dpw3RGm8/SSiSj+/QkMeYDanzS/QKlM1dmuneVyXbO46C88V1MRHluLGdMP6qfD3vDRYALn0z0tQ==} engines: {node: '>=12.0.0'} - '@azure/core-paging@1.3.0': - resolution: {integrity: sha512-H6Tg9eBm0brHqLy0OSAGzxIh1t4UL8eZVrSUMJ60Ra9cwq2pOskFqVpz2pYoHDsBY1jZ4V/P8LRGb5D5pmC6rg==} - engines: {node: '>=12.0.0'} - '@azure/core-paging@1.6.2': resolution: {integrity: sha512-YKWi9YuCU04B55h25cnOYZHxXYtEvQEbKST5vqRga7hWY9ydd3FZHdeQF8pyh+acWZvppw13M/LMGx0LABUVMA==} engines: {node: '>=18.0.0'} - '@azure/core-rest-pipeline@1.20.0': - resolution: {integrity: sha512-ASoP8uqZBS3H/8N8at/XwFr6vYrRP3syTK0EUjDXQy0Y1/AUS+QeIRThKmTNJO2RggvBBxaXDPM7YoIwDGeA0g==} - engines: {node: '>=18.0.0'} - '@azure/core-rest-pipeline@1.24.0': resolution: {integrity: sha512-PpLsoDQ3AMmKZ0VU+0GrmqMxgp/sExjlVm4R+nLWngeoEGAzOIPVifaxKGU5gMv+nWELUoHfvrolWD+ZS/nFJg==} engines: {node: '>=20.0.0'} - '@azure/core-tracing@1.2.0': - resolution: {integrity: sha512-UKTiEJPkWcESPYJz3X5uKRYyOcJD+4nYph+KpfdPRnQJVrZfk0KJgdnaAWKfhsBBtAf/D58Az4AvCJEmWgIBAg==} - engines: {node: '>=18.0.0'} - '@azure/core-tracing@1.3.1': resolution: {integrity: sha512-9MWKevR7Hz8kNzzPLfX4EAtGM2b8mr50HPDBvio96bURP/9C+HjdH3sBlLSNNrvRAr5/k/svoH457gB5IKpmwQ==} engines: {node: '>=20.0.0'} @@ -6774,10 +6758,6 @@ packages: resolution: {integrity: sha512-RGfpFk6XUXHfWuTAiokOe8t6ej5C4ijf4HVyJUmTfN6VjDBVPvTtoiOi/C5072/ENHScYZFhiYOgIjLgYjfJ/A==} engines: {node: '>=18.0.0'} - '@azure/logger@1.0.3': - resolution: {integrity: sha512-aK4s3Xxjrx3daZr3VylxejK3vG5ExXck5WOHDJ8in/k9AqlfIyFMMT1uG7u8mNjX+QRILTIn0/Xgschfh/dQ9g==} - engines: {node: '>=12.0.0'} - '@azure/logger@1.3.0': resolution: {integrity: sha512-fCqPIfOcLE+CGqGPd66c8bZpwAji98tZ4JI9i/mlTNTlsIWslCfpg48s/ypyLxZTump5sypjrKn2/kY7q8oAbA==} engines: {node: '>=20.0.0'} @@ -7488,6 +7468,9 @@ packages: cpu: [x64] os: [win32] + '@borewit/text-codec@0.2.2': + resolution: {integrity: sha512-DDaRehssg1aNrH4+2hnj1B7vnUGEjU6OIlyRdkMd0aUdIUvKXrJfXsy8LVtXAy7DRvYVluWbMspsRhz2lcW0mQ==} + '@browserbasehq/sdk@2.12.0': resolution: {integrity: sha512-bwgVjjYc4O54Cvkc5POfZUv0Gl92n1nNfAPueRLQVFsDoPRTw0FS8wKo9/bQCQuyzAg9+RQUDqvUC241ogLRTQ==} @@ -8466,6 +8449,7 @@ packages: '@langchain/community@1.1.27': resolution: {integrity: sha512-s2U3w7QV7QpkFtY1eZMni4poz+nKLFclpDi3a7hUbZ67ttsGaU9WkZ2BiLuzLIs+IFaUvON/KcGkE8EqAl9aPA==} engines: {node: '>=20'} + deprecated: This package has been deprecated. See https://github.com/langchain-ai/langchainjs-community/issues/61 for more info peerDependencies: '@arcjet/redact': ^v1.2.0 '@aws-crypto/sha256-js': ^5.0.0 @@ -8551,7 +8535,7 @@ packages: googleapis: '*' hnswlib-node: ^3.0.0 html-to-text: ^9.0.5 - ibm-cloud-sdk-core: '*' + ibm-cloud-sdk-core: ^5.5.0 ignore: ^7.0.5 interface-datastore: ^9.0.2 ioredis: ^5.3.2 @@ -11574,6 +11558,10 @@ packages: '@tiptap/pm': 3.22.5 vue: ^3.0.0 + '@tokenizer/inflate@0.4.1': + resolution: {integrity: sha512-2mAv+8pkG6GIZiF1kNg1jAjh27IDxEPKwdGul3snfztFerfPGI1LjDezZp3i7BElXompqEtPmoPx6c2wgtWsOA==} + engines: {node: '>=18'} + '@tokenizer/token@0.3.0': resolution: {integrity: sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==} @@ -11742,6 +11730,9 @@ packages: '@types/dateformat@3.0.1': resolution: {integrity: sha512-KlPPdikagvL6ELjWsljbyDIPzNCeliYkqRpI+zea99vBBbCIA5JNshZAwQKTON139c87y9qvTFVgkFd14rtS4g==} + '@types/debug@4.1.12': + resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} + '@types/debug@4.1.13': resolution: {integrity: sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==} @@ -12078,6 +12069,9 @@ packages: '@types/through@0.0.30': resolution: {integrity: sha512-FvnCJljyxhPM3gkRgWmxmDZyAQSiBQQWLI0A0VFL0K7W1oRUrPJSqNO0NvTnLkBcotdlp3lKvaT0JrnyRDkzOg==} + '@types/tough-cookie@4.0.0': + resolution: {integrity: sha512-I99sngh224D0M7XgW1s120zxCt3VYQ3IQsuw3P3jbq5GG4yc79+ZjyKznyOGIQrflfylLgcfekeZW/vk0yng6A==} + '@types/tough-cookie@4.0.5': resolution: {integrity: sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==} @@ -12209,10 +12203,6 @@ packages: peerDependencies: typescript: 6.0.2 - '@typespec/ts-http-runtime@0.2.2': - resolution: {integrity: sha512-Gz/Sm64+Sq/vklJu1tt9t+4R2lvnud8NbTD/ZfpZtMiUX7YeVpCA8j6NSW8ptwcoLL+NmYANwqP8DV0q/bwl2w==} - engines: {node: '>=18.0.0'} - '@typespec/ts-http-runtime@0.3.6': resolution: {integrity: sha512-jIXhD0eWQ1JA6ln/5Dltyx22UxWNrw0hZmhy2rlv6m6KgF7kplHx3g0fzi09lNmTJQRR91OlemYp3xFnvDK9og==} engines: {node: '>=20.0.0'} @@ -14502,6 +14492,10 @@ packages: resolution: {integrity: sha512-zIHwmZPRshsCdpMDyVsqGmgyP0yT8GAgXUnkdAoJisxvf33k7yO6OuoKmcTGuXPWSsm8Oh88nZicRLA9Y0rUeA==} engines: {node: '>=12'} + dotenv@16.4.5: + resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} + engines: {node: '>=12'} + dotenv@16.6.1: resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==} engines: {node: '>=12'} @@ -15251,9 +15245,9 @@ packages: file-saver@2.0.5: resolution: {integrity: sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA==} - file-type@16.5.4: - resolution: {integrity: sha512-/yFHK0aGjFEgDJjEKP0pWCplsPFPhwyfwevf/pVxiN0tmE4L9LmwWxWukdJSHdoCli4VgQLehjJtwQBnqmsKcw==} - engines: {node: '>=10'} + file-type@21.3.2: + resolution: {integrity: sha512-DLkUvGwep3poOV2wpzbHCOnSKGk1LzyXTv+aHFgN2VFl96wnp8YA9YjO2qPzg5PuL8q/SW9Pdi6WTkYOIh995w==} + engines: {node: '>=20'} file-uri-to-path@1.0.0: resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} @@ -15735,10 +15729,6 @@ packages: hash.js@1.1.7: resolution: {integrity: sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==} - hasown@2.0.2: - resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} - engines: {node: '>= 0.4'} - hasown@2.0.4: resolution: {integrity: sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==} engines: {node: '>= 0.4'} @@ -15823,9 +15813,6 @@ packages: resolution: {integrity: sha512-qY60FjREgVZL03vJU6IfMV4GDjGBIoOyvuFdpBDIX9yTlDw0TjxVBQp+P8NvpdIXNJvfWBTNul7fsAQJq2FNpg==} engines: {node: '>=14'} - htmlparser2@10.0.0: - resolution: {integrity: sha512-TwAZM+zE5Tq3lrEHvOlvwgj1XLWQCtaaibSN11Q+gGBAS7Y1uZSWwXXRe4iF6OXnaq1riyQAPFOBtYc77Mxq0g==} - htmlparser2@10.1.0: resolution: {integrity: sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==} @@ -15911,9 +15898,9 @@ packages: hyperid@3.3.0: resolution: {integrity: sha512-7qhCVT4MJIoEsNcbhglhdmBKb09QtcmJNiIQGq7js/Khf5FtQQ9bzcAuloeqBeee7XD7JqDeve9KNlQya5tSGQ==} - ibm-cloud-sdk-core@5.3.2: - resolution: {integrity: sha512-YhtS+7hGNO61h/4jNShHxbbuJ1TnDqiFKQzfEaqePnonOvv8NnxWxOk92FlKKCCzZNOT34Gnd7WCLVJTntwEFQ==} - engines: {node: '>=18'} + ibm-cloud-sdk-core@5.5.0: + resolution: {integrity: sha512-ot6sGHAvSnd/ZSU4ZFn+m7i+xcFo3pmA3qm2JmEndDkMsuNR8HLdUeJ5iBbmkUfCGbf2ccTu/GvoJgFetyO6XA==} + engines: {node: '>=20'} iconv-corefoundation@1.1.7: resolution: {integrity: sha512-T10qvkw0zz4wnm560lOEg0PovVqUXuOFhhHAkixw8/sycy7TJt7v/RrkEKEQnAw2viPSJu6iAkErxnzR0g8PpQ==} @@ -17035,6 +17022,10 @@ packages: linkifyjs@4.3.2: resolution: {integrity: sha512-NT1CJtq3hHIreOianA8aSXn6Cw0JzYOuDQbOrSPe7gqFnCpKP++MQe3ODgO3oh2GJFORkAAdqredOa60z63GbA==} + load-esm@1.0.3: + resolution: {integrity: sha512-v5xlu8eHD1+6r8EHTg6hfmO97LN8ugKtiXcy5e6oN72iD2r6u0RPfLl6fxM+7Wnh2ZRq15o0russMst44WauPA==} + engines: {node: '>=13.2.0'} + local-pkg@0.5.0: resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} engines: {node: '>=14'} @@ -18635,9 +18626,6 @@ packages: parse5-parser-stream@7.1.2: resolution: {integrity: sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==} - parse5@7.1.2: - resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} - parse5@7.3.0: resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==} @@ -18734,10 +18722,6 @@ packages: peberminta@0.9.0: resolution: {integrity: sha512-XIxfHpEuSJbITd1H3EeQwpcZbTLHc+VVr8ANI9t5sit565tsI4/xK3KWTUFE2e6QiangUkh3B0jihzmGnNrRsQ==} - peek-readable@4.1.0: - resolution: {integrity: sha512-ZI3LnwUv5nOGbQzD9c2iDG6toheuXSZP5esSHBjopsXH4dg19soufvpUGA3uohi5anFtGb2lhAVdHzH6R/Evvg==} - engines: {node: '>=8'} - pend@1.2.0: resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==} @@ -19274,6 +19258,7 @@ packages: resolution: {integrity: sha512-gv6vLGcmAOg96/fgo3d9tvA4dJNZL3fMyBqVRrGxQ+Q/o4k9QzbJ3NQF9cOO/71wRodoXhaPgphvMFU68qVAJQ==} deprecated: |- You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other. + (For a CapTP with native promises, see @endo/eventual-send and @endo/captp) qrcode.vue@3.3.4: @@ -19389,10 +19374,6 @@ packages: resolution: {integrity: sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - readable-web-to-node-stream@3.0.2: - resolution: {integrity: sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==} - engines: {node: '>=8'} - readdir-glob@1.1.3: resolution: {integrity: sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==} @@ -20429,9 +20410,9 @@ packages: strnum@2.2.3: resolution: {integrity: sha512-oKx6RUCuHfT3oyVjtnrmn19H1SiCqgJSg+54XqURKp5aCMbrXrhLjRN9TjuwMjiYstZ0MzDrHqkGZ5dFTKd+zg==} - strtok3@6.3.0: - resolution: {integrity: sha512-fZtbhtvI9I48xDSywd/somNqgUHl2L2cstmXCCif0itOf96jeW18MBSyrLuNicYQVkvpOxkZtkzujiTJ9LW5Jw==} - engines: {node: '>=10'} + strtok3@10.3.5: + resolution: {integrity: sha512-ki4hZQfh5rX0QDLLkOCj+h+CVNkqmp/CMf8v8kZpkNVK6jGQooMytqzLZYUVYIZcFZ6yDB70EfD8POcFXiF5oA==} + engines: {node: '>=18'} stubs@3.0.0: resolution: {integrity: sha512-PdHt7hHUJKxvTCgbKX9C1V/ftOcjJQgz8BZwNfV5c4B6dcGqlpelTbJ999jBGZ2jYiPAwcX5dP6oBwVlBlUbxw==} @@ -20724,9 +20705,9 @@ packages: token-stream@1.0.0: resolution: {integrity: sha512-VSsyNPPW74RpHwR8Fc21uubwHY7wMDeJLys2IX5zJNih+OnAnaifKHo+1LHT7DAdloQ7apeaaWg8l7qnf/TnEg==} - token-types@4.2.1: - resolution: {integrity: sha512-6udB24Q737UD/SDsKAHI9FCRP7Bqc9D/MQUV02ORQg5iskjtLJlZJNdN4kKtcdtwCeWIwIHDGaUsTsCCAa8sFQ==} - engines: {node: '>=10'} + token-types@6.1.2: + resolution: {integrity: sha512-dRXchy+C0IgK8WPC6xvCHFRIWYUbqqdEIKPaKo/AcTUNzwLTK6AH7RjdLWsEZcAN/TBdtfUw3PYEgPr5VPr6ww==} + engines: {node: '>=14.16'} toml@3.0.0: resolution: {integrity: sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==} @@ -20742,6 +20723,10 @@ packages: resolution: {integrity: sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==} hasBin: true + tough-cookie@4.1.3: + resolution: {integrity: sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==} + engines: {node: '>=6'} + tough-cookie@4.1.4: resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==} engines: {node: '>=6'} @@ -21075,6 +21060,10 @@ packages: resolution: {integrity: sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==} engines: {node: '>= 0.8'} + uint8array-extras@1.5.0: + resolution: {integrity: sha512-rvKSBiC5zqCCiDZ9kAOszZcDvdAHwwIKJG33Ykj43OKcWsnmcBRL09YTU4nOeHZ8Y2a7l1MgTd08SBe9A8Qj6A==} + engines: {node: '>=18'} + unbox-primitive@1.1.0: resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==} engines: {node: '>= 0.4'} @@ -21836,7 +21825,7 @@ packages: engines: {node: '>=18'} xlsx@https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz: - resolution: {integrity: sha512-+nKZ39+nvK7Qq6i0PvWWRA4j/EkfWOtkP/YhMtupm+lJIiHxUrgTr1CcKv1nBk1rHtkRRQ3O2+Ih/q/sA+FXZA==, tarball: https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz} + resolution: {tarball: https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz} version: 0.20.2 engines: {node: '>=0.8'} hasBin: true @@ -23443,18 +23432,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@azure/core-client@1.9.2': - dependencies: - '@azure/abort-controller': 2.1.2 - '@azure/core-auth': 1.10.1 - '@azure/core-rest-pipeline': 1.20.0 - '@azure/core-tracing': 1.2.0 - '@azure/core-util': 1.13.1 - '@azure/logger': 1.0.3 - tslib: 2.8.1 - transitivePeerDependencies: - - supports-color - '@azure/core-http-compat@1.3.0': dependencies: '@azure/abort-controller': 1.1.0 @@ -23463,14 +23440,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@azure/core-http-compat@2.1.2': - dependencies: - '@azure/abort-controller': 2.1.2 - '@azure/core-client': 1.9.2 - '@azure/core-rest-pipeline': 1.20.0 - transitivePeerDependencies: - - supports-color - '@azure/core-http-compat@2.4.0(@azure/core-client@1.10.2)(@azure/core-rest-pipeline@1.24.0)': dependencies: '@azure/abort-controller': 2.1.2 @@ -23485,26 +23454,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@azure/core-paging@1.3.0': - dependencies: - tslib: 2.8.1 - '@azure/core-paging@1.6.2': dependencies: tslib: 2.8.1 - '@azure/core-rest-pipeline@1.20.0': - dependencies: - '@azure/abort-controller': 2.1.2 - '@azure/core-auth': 1.10.1 - '@azure/core-tracing': 1.2.0 - '@azure/core-util': 1.13.1 - '@azure/logger': 1.0.3 - '@typespec/ts-http-runtime': 0.2.2 - tslib: 2.8.1 - transitivePeerDependencies: - - supports-color - '@azure/core-rest-pipeline@1.24.0': dependencies: '@azure/abort-controller': 2.1.2 @@ -23517,10 +23470,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@azure/core-tracing@1.2.0': - dependencies: - tslib: 2.8.1 - '@azure/core-tracing@1.3.1': dependencies: tslib: 2.8.1 @@ -23574,22 +23523,18 @@ snapshots: dependencies: '@azure/abort-controller': 1.1.0 '@azure/core-auth': 1.10.1 - '@azure/core-client': 1.9.2 - '@azure/core-http-compat': 2.1.2 + '@azure/core-client': 1.10.2 + '@azure/core-http-compat': 2.4.0(@azure/core-client@1.10.2)(@azure/core-rest-pipeline@1.24.0) '@azure/core-lro': 2.4.0 - '@azure/core-paging': 1.3.0 - '@azure/core-rest-pipeline': 1.20.0 - '@azure/core-tracing': 1.2.0 + '@azure/core-paging': 1.6.2 + '@azure/core-rest-pipeline': 1.24.0 + '@azure/core-tracing': 1.3.1 '@azure/core-util': 1.13.1 - '@azure/logger': 1.0.3 + '@azure/logger': 1.3.0 tslib: 2.8.1 transitivePeerDependencies: - supports-color - '@azure/logger@1.0.3': - dependencies: - tslib: 2.8.1 - '@azure/logger@1.3.0': dependencies: '@typespec/ts-http-runtime': 0.3.6 @@ -23600,8 +23545,8 @@ snapshots: '@azure/monitor-opentelemetry-exporter@1.0.0-beta.32': dependencies: '@azure/core-auth': 1.10.1 - '@azure/core-client': 1.9.2 - '@azure/core-rest-pipeline': 1.20.0 + '@azure/core-client': 1.10.2 + '@azure/core-rest-pipeline': 1.24.0 '@opentelemetry/api': 1.9.0 '@opentelemetry/api-logs': 0.200.0 '@opentelemetry/core': 2.8.0(@opentelemetry/api@1.9.0) @@ -23629,13 +23574,13 @@ snapshots: '@azure/search-documents@12.1.0': dependencies: '@azure/core-auth': 1.10.1 - '@azure/core-client': 1.9.2 - '@azure/core-http-compat': 2.1.2 - '@azure/core-paging': 1.3.0 - '@azure/core-rest-pipeline': 1.20.0 - '@azure/core-tracing': 1.2.0 + '@azure/core-client': 1.10.2 + '@azure/core-http-compat': 2.4.0(@azure/core-client@1.10.2)(@azure/core-rest-pipeline@1.24.0) + '@azure/core-paging': 1.6.2 + '@azure/core-rest-pipeline': 1.24.0 + '@azure/core-tracing': 1.3.1 '@azure/core-util': 1.13.1 - '@azure/logger': 1.0.3 + '@azure/logger': 1.3.0 events: 3.3.0 tslib: 2.8.1 transitivePeerDependencies: @@ -24506,6 +24451,8 @@ snapshots: '@biomejs/cli-win32-x64@1.9.0': optional: true + '@borewit/text-codec@0.2.2': {} + '@browserbasehq/sdk@2.12.0(encoding@0.1.13)': dependencies: '@types/node': 20.19.41 @@ -25319,7 +25266,7 @@ snapshots: dependencies: '@types/node': 20.19.41 extend: 3.0.2 - ibm-cloud-sdk-core: 5.3.2 + ibm-cloud-sdk-core: 5.5.0 transitivePeerDependencies: - supports-color @@ -25818,7 +25765,7 @@ snapshots: - aws-crt - encoding - '@langchain/community@1.1.27(3f523e2bcc201c8262a8c15a9a626dc9)': + '@langchain/community@1.1.27(04ccb83e6ae6275f55751ae26281b17d)': dependencies: '@browserbasehq/stagehand': 1.14.0(@playwright/test@1.60.0)(bufferutil@4.0.9)(deepmerge@4.3.1)(dotenv@17.4.2)(encoding@0.1.13)(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(utf-8-validate@5.0.10)(zod@3.25.67) '@ibm-cloud/watsonx-ai': 1.1.2 @@ -25827,59 +25774,7 @@ snapshots: '@langchain/openai': 1.4.1(@langchain/core@1.1.41(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) binary-extensions: 2.2.0 flat: 5.0.2 - ibm-cloud-sdk-core: 5.3.2 - js-yaml: 4.2.0 - langsmith: 0.6.0(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - math-expression-evaluator: 2.0.7 - openai: 6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67) - uuid: 13.0.1 - zod: 3.25.67 - optionalDependencies: - '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/credential-provider-node': 3.936.0 - '@azure/storage-blob': 12.32.0 - '@browserbasehq/sdk': 2.12.0(encoding@0.1.13) - '@getzep/zep-cloud': 1.0.6(3678d81c9d030c2de36449a260273f9b) - '@google-cloud/storage': 7.12.1(encoding@0.1.13) - '@libsql/client': 0.17.2(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) - '@mozilla/readability': 0.6.0 - '@smithy/protocol-http': 5.3.12 - '@smithy/util-utf8': 4.2.2 - '@supabase/supabase-js': 2.50.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) - '@zilliz/milvus2-sdk-node': 2.5.7 - chromadb: 3.2.0 - crypto-js: 4.2.0 - epub2: 3.0.2(ts-toolbelt@9.6.0) - fast-xml-parser: 5.7.2 - google-auth-library: 10.1.0 - html-to-text: 9.0.5 - ignore: 7.0.5 - ioredis: 5.3.2 - jsdom: 23.0.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) - jsonwebtoken: 9.0.3 - lodash: 4.18.1 - mammoth: 1.12.0 - pdf-parse: 2.4.5 - pg: 8.17.0 - playwright: 1.60.0 - puppeteer: 24.41.0(bufferutil@4.0.9)(typescript@6.0.2)(utf-8-validate@5.0.10) - ws: 8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) - transitivePeerDependencies: - - '@opentelemetry/api' - - '@opentelemetry/exporter-trace-otlp-proto' - - '@opentelemetry/sdk-trace-base' - - peggy - - '@langchain/community@1.1.27(8ee8441b912d2a4b54c578f74eeee9ed)': - dependencies: - '@browserbasehq/stagehand': 1.14.0(@playwright/test@1.60.0)(bufferutil@4.0.9)(deepmerge@4.3.1)(dotenv@17.4.2)(encoding@0.1.13)(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(utf-8-validate@5.0.10)(zod@3.25.67) - '@ibm-cloud/watsonx-ai': 1.1.2 - '@langchain/classic': 1.0.27(@langchain/core@1.1.41(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(cheerio@1.1.0)(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@langchain/core': 1.1.41(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@langchain/openai': 1.4.1(@langchain/core@1.1.41(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - binary-extensions: 2.2.0 - flat: 5.0.2 - ibm-cloud-sdk-core: 5.3.2 + ibm-cloud-sdk-core: 5.5.0 js-yaml: 4.2.0 langsmith: 0.6.0(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) math-expression-evaluator: 2.0.7 @@ -25935,6 +25830,58 @@ snapshots: - '@opentelemetry/sdk-trace-base' - peggy + '@langchain/community@1.1.27(78e46171fcb76843ec2278f345a05df4)': + dependencies: + '@browserbasehq/stagehand': 1.14.0(@playwright/test@1.60.0)(bufferutil@4.0.9)(deepmerge@4.3.1)(dotenv@17.4.2)(encoding@0.1.13)(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(utf-8-validate@5.0.10)(zod@3.25.67) + '@ibm-cloud/watsonx-ai': 1.1.2 + '@langchain/classic': 1.0.27(@langchain/core@1.1.41(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(cheerio@1.1.0)(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@langchain/core': 1.1.41(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@langchain/openai': 1.4.1(@langchain/core@1.1.41(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + binary-extensions: 2.2.0 + flat: 5.0.2 + ibm-cloud-sdk-core: 5.5.0 + js-yaml: 4.2.0 + langsmith: 0.6.0(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + math-expression-evaluator: 2.0.7 + openai: 6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67) + uuid: 13.0.1 + zod: 3.25.67 + optionalDependencies: + '@aws-crypto/sha256-js': 5.2.0 + '@aws-sdk/credential-provider-node': 3.936.0 + '@azure/storage-blob': 12.32.0 + '@browserbasehq/sdk': 2.12.0(encoding@0.1.13) + '@getzep/zep-cloud': 1.0.6(3678d81c9d030c2de36449a260273f9b) + '@google-cloud/storage': 7.12.1(encoding@0.1.13) + '@libsql/client': 0.17.2(bufferutil@4.0.9)(encoding@0.1.13)(utf-8-validate@5.0.10) + '@mozilla/readability': 0.6.0 + '@smithy/protocol-http': 5.3.12 + '@smithy/util-utf8': 4.2.2 + '@supabase/supabase-js': 2.50.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) + '@zilliz/milvus2-sdk-node': 2.5.7 + chromadb: 3.2.0 + crypto-js: 4.2.0 + epub2: 3.0.2(ts-toolbelt@9.6.0) + fast-xml-parser: 5.7.2 + google-auth-library: 10.1.0 + html-to-text: 9.0.5 + ignore: 7.0.5 + ioredis: 5.3.2 + jsdom: 23.0.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) + jsonwebtoken: 9.0.3 + lodash: 4.18.1 + mammoth: 1.12.0 + pdf-parse: 2.4.5 + pg: 8.17.0 + playwright: 1.60.0 + puppeteer: 24.41.0(bufferutil@4.0.9)(typescript@6.0.2)(utf-8-validate@5.0.10) + ws: 8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - '@opentelemetry/api' + - '@opentelemetry/exporter-trace-otlp-proto' + - '@opentelemetry/sdk-trace-base' + - peggy + '@langchain/core@1.1.41(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.19.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))': dependencies: '@cfworker/json-schema': 4.1.0 @@ -27285,7 +27232,7 @@ snapshots: dependencies: '@langchain/core': 1.1.41(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10)) '@langchain/textsplitters': 1.0.1(@langchain/core@1.1.41(@opentelemetry/api@1.9.0)(@opentelemetry/exporter-trace-otlp-proto@0.217.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.0))(openai@6.34.0(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@3.25.67))(ws@8.21.0(bufferutil@4.0.9)(utf-8-validate@5.0.10))) - htmlparser2: 10.0.0 + htmlparser2: 10.1.0 oracledb: 6.10.0 uuid: 13.0.1 @@ -29092,6 +29039,13 @@ snapshots: '@tiptap/extension-bubble-menu': 3.22.5(@tiptap/core@3.22.5(@tiptap/pm@3.22.5))(@tiptap/pm@3.22.5) '@tiptap/extension-floating-menu': 3.22.5(@floating-ui/dom@1.7.0)(@tiptap/core@3.22.5(@tiptap/pm@3.22.5))(@tiptap/pm@3.22.5) + '@tokenizer/inflate@0.4.1': + dependencies: + debug: 4.4.3(supports-color@8.1.1) + token-types: 6.1.2 + transitivePeerDependencies: + - supports-color + '@tokenizer/token@0.3.0': {} '@tootallnate/once@1.1.2': @@ -29264,6 +29218,10 @@ snapshots: '@types/dateformat@3.0.1': {} + '@types/debug@4.1.12': + dependencies: + '@types/ms': 2.1.0 + '@types/debug@4.1.13': dependencies: '@types/ms': 2.1.0 @@ -29664,6 +29622,8 @@ snapshots: dependencies: '@types/node': 20.19.41 + '@types/tough-cookie@4.0.0': {} + '@types/tough-cookie@4.0.5': {} '@types/triple-beam@1.3.5': {} @@ -29831,14 +29791,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typespec/ts-http-runtime@0.2.2': - dependencies: - http-proxy-agent: 7.0.2 - https-proxy-agent: 7.0.6 - tslib: 2.8.1 - transitivePeerDependencies: - - supports-color - '@typespec/ts-http-runtime@0.3.6': dependencies: http-proxy-agent: 7.0.2 @@ -30833,6 +30785,16 @@ snapshots: axios: 1.18.0(debug@4.4.3) is-retry-allowed: 2.2.0 + axios@1.18.0(debug@4.3.4): + dependencies: + follow-redirects: 1.16.0(debug@4.3.4) + form-data: 4.0.6 + https-proxy-agent: 5.0.1 + proxy-from-env: 2.1.0 + transitivePeerDependencies: + - debug + - supports-color + axios@1.18.0(debug@4.4.3): dependencies: follow-redirects: 1.16.0(debug@4.4.3) @@ -32459,6 +32421,8 @@ snapshots: dependencies: dotenv: 16.6.1 + dotenv@16.4.5: {} + dotenv@16.6.1: {} dotenv@17.2.3: {} @@ -32987,7 +32951,7 @@ snapshots: eslint: 9.29.0(jiti@2.6.1) eslint-import-resolver-node: 0.3.9 eslint-module-utils: 2.12.1(@typescript-eslint/parser@8.35.0(eslint@9.29.0(jiti@2.6.1))(typescript@6.0.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@4.4.3)(eslint@9.29.0(jiti@2.6.1)) - hasown: 2.0.2 + hasown: 2.0.4 is-core-module: 2.16.1 is-glob: 4.0.3 minimatch: 5.1.8 @@ -33529,11 +33493,14 @@ snapshots: file-saver@2.0.5: {} - file-type@16.5.4: + file-type@21.3.2: dependencies: - readable-web-to-node-stream: 3.0.2 - strtok3: 6.3.0 - token-types: 4.2.1 + '@tokenizer/inflate': 0.4.1 + strtok3: 10.3.5 + token-types: 6.1.2 + uint8array-extras: 1.5.0 + transitivePeerDependencies: + - supports-color file-uri-to-path@1.0.0: {} @@ -33612,6 +33579,10 @@ snapshots: fn.name@1.1.0: {} + follow-redirects@1.16.0(debug@4.3.4): + optionalDependencies: + debug: 4.3.4 + follow-redirects@1.16.0(debug@4.4.3): optionalDependencies: debug: 4.4.3(supports-color@8.1.1) @@ -34131,10 +34102,6 @@ snapshots: inherits: 2.0.4 minimalistic-assert: 1.0.1 - hasown@2.0.2: - dependencies: - function-bind: 1.1.2 - hasown@2.0.4: dependencies: function-bind: 1.1.2 @@ -34213,13 +34180,6 @@ snapshots: htmlparser2: 8.0.2 selderee: 0.11.0 - htmlparser2@10.0.0: - dependencies: - domelementtype: 2.3.0 - domhandler: 5.0.3 - domutils: 3.2.2 - entities: 6.0.1 - htmlparser2@10.1.0: dependencies: domelementtype: 2.3.0 @@ -34357,23 +34317,24 @@ snapshots: uuid: 13.0.1 uuid-parse: 1.1.0 - ibm-cloud-sdk-core@5.3.2: + ibm-cloud-sdk-core@5.5.0: dependencies: - '@types/debug': 4.1.13 + '@types/debug': 4.1.12 '@types/node': 20.19.41 - '@types/tough-cookie': 4.0.5 - axios: 1.18.0(debug@4.4.3) + '@types/tough-cookie': 4.0.0 + axios: 1.18.0(debug@4.3.4) camelcase: 6.3.0 - debug: 4.4.3(supports-color@8.1.1) - dotenv: 16.6.1 + debug: 4.3.4 + dotenv: 16.4.5 extend: 3.0.2 - file-type: 16.5.4 + file-type: 21.3.2 form-data: 4.0.6 isstream: 0.1.2 jsonwebtoken: 9.0.3 + load-esm: 1.0.3 mime-types: 2.1.35 retry-axios: 2.6.0(axios@1.18.0) - tough-cookie: 4.1.4 + tough-cookie: 4.1.3 transitivePeerDependencies: - supports-color @@ -35265,7 +35226,7 @@ snapshots: https-proxy-agent: 7.0.6 is-potential-custom-element-name: 1.0.1 nwsapi: 2.2.7 - parse5: 7.1.2 + parse5: 7.3.0 rrweb-cssom: 0.6.0 saxes: 6.0.0 symbol-tree: 3.2.4 @@ -35668,7 +35629,7 @@ snapshots: css-select: 5.1.0 cssom: 0.5.0 html-escaper: 3.0.3 - htmlparser2: 10.0.0 + htmlparser2: 10.1.0 uhyphen: 0.2.0 linkify-it@4.0.1: @@ -35681,6 +35642,8 @@ snapshots: linkifyjs@4.3.2: {} + load-esm@1.0.3: {} + local-pkg@0.5.0: dependencies: mlly: 1.8.0 @@ -37711,10 +37674,6 @@ snapshots: dependencies: parse5: 7.3.0 - parse5@7.1.2: - dependencies: - entities: 4.5.0 - parse5@7.3.0: dependencies: entities: 6.0.1 @@ -37795,8 +37754,6 @@ snapshots: peberminta@0.9.0: {} - peek-readable@4.1.0: {} - pend@1.2.0: {} perfect-scrollbar@1.5.5: {} @@ -38554,10 +38511,6 @@ snapshots: process: 0.11.10 string_decoder: 1.3.0 - readable-web-to-node-stream@3.0.2: - dependencies: - readable-stream: 3.6.0 - readdir-glob@1.1.3: dependencies: minimatch: 5.1.8 @@ -39862,10 +39815,9 @@ snapshots: strnum@2.2.3: {} - strtok3@6.3.0: + strtok3@10.3.5: dependencies: '@tokenizer/token': 0.3.0 - peek-readable: 4.1.0 stubs@3.0.0: {} @@ -40291,8 +40243,9 @@ snapshots: token-stream@1.0.0: {} - token-types@4.2.1: + token-types@6.1.2: dependencies: + '@borewit/text-codec': 0.2.2 '@tokenizer/token': 0.3.0 ieee754: 1.2.1 @@ -40306,6 +40259,13 @@ snapshots: dependencies: nopt: 1.0.10 + tough-cookie@4.1.3: + dependencies: + psl: 1.9.0 + punycode: 2.3.1 + universalify: 0.2.0 + url-parse: 1.5.10 + tough-cookie@4.1.4: dependencies: psl: 1.9.0 @@ -40639,6 +40599,8 @@ snapshots: dependencies: random-bytes: 1.0.0 + uint8array-extras@1.5.0: {} + unbox-primitive@1.1.0: dependencies: call-bound: 1.0.4 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index a9528479487..ef1fc8bd57a 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -132,6 +132,7 @@ catalog: fast-glob: 3.2.12 fast-json-patch: ^3.1.1 fastest-levenshtein: 1.0.16 + file-type: 21.3.2 flatted: 3.4.2 form-data: 4.0.6 get-tsconfig: ^4.13.0