Skip to content

Commit ed2c83d

Browse files
Bump the dependencies group across 1 directory with 28 updates (#1102)
* Bump the dependencies group across 1 directory with 28 updates Bumps the dependencies group with 28 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.31.0` | `9.32.0` | | [@eslint/json](https://github.com/eslint/json) | `0.13.0` | `0.13.1` | | [eslint](https://github.com/eslint/eslint) | `9.31.0` | `9.32.0` | | [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | `5.5.3` | `5.5.4` | | [lint-staged](https://github.com/lint-staged/lint-staged) | `16.1.2` | `16.1.4` | | [npm-check-updates](https://github.com/raineorshine/npm-check-updates) | `18.0.1` | `18.0.2` | | [prettier-plugin-organize-imports](https://github.com/simonhaenisch/prettier-plugin-organize-imports) | `4.1.0` | `4.2.0` | | [typescript](https://github.com/microsoft/TypeScript) | `5.8.3` | `5.9.2` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.37.0` | `8.39.0` | | [tmp](https://github.com/raszi/node-tmp) | `0.2.3` | `0.2.4` | | [undici](https://github.com/nodejs/undici) | `7.12.0` | `7.13.0` | | [@azure/cosmos](https://github.com/Azure/azure-sdk-for-js) | `4.4.1` | `4.5.0` | | [@azure/storage-blob](https://github.com/Azure/azure-sdk-for-js) | `12.27.0` | `12.28.0` | | [@azure/storage-queue](https://github.com/Azure/azure-sdk-for-js) | `12.26.0` | `12.27.0` | | chromadb | `2.4.6` | `3.0.10` | | [@clickhouse/client](https://github.com/ClickHouse/clickhouse-js) | `1.11.2` | `1.12.0` | | [@types/pg](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/pg) | `8.15.4` | `8.15.5` | | [@elastic/elasticsearch](https://github.com/elastic/elasticsearch-js) | `9.0.3` | `9.1.0` | | [@google-cloud/bigquery](https://github.com/googleapis/nodejs-bigquery) | `8.1.0` | `8.1.1` | | [@google-cloud/datastore](https://github.com/googleapis/nodejs-datastore) | `9.2.1` | `10.0.1` | | [@google-cloud/spanner](https://github.com/googleapis/nodejs-spanner) | `8.0.0` | `8.1.0` | | [mqtt](https://github.com/mqttjs/MQTT.js) | `5.13.3` | `5.14.0` | | [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3) | `3.848.0` | `3.859.0` | | [mariadb](https://github.com/mariadb-corporation/mariadb-connector-nodejs) | `3.4.4` | `3.4.5` | | [superagent](https://github.com/ladjs/superagent) | `10.2.2` | `10.2.3` | | [mongoose](https://github.com/Automattic/mongoose) | `8.16.4` | `8.17.0` | | [mysql2](https://github.com/sidorares/node-mysql2) | `3.14.2` | `3.14.3` | | [redis](https://github.com/redis/node-redis) | `5.6.0` | `5.8.0` | Updates `@eslint/js` from 9.31.0 to 9.32.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.32.0/packages/js) Updates `@eslint/json` from 0.13.0 to 0.13.1 - [Release notes](https://github.com/eslint/json/releases) - [Changelog](https://github.com/eslint/json/blob/main/CHANGELOG.md) - [Commits](eslint/json@json-v0.13.0...json-v0.13.1) Updates `eslint` from 9.31.0 to 9.32.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v9.31.0...v9.32.0) Updates `eslint-plugin-prettier` from 5.5.3 to 5.5.4 - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md) - [Commits](prettier/eslint-plugin-prettier@v5.5.3...v5.5.4) Updates `lint-staged` from 16.1.2 to 16.1.4 - [Release notes](https://github.com/lint-staged/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md) - [Commits](lint-staged/lint-staged@v16.1.2...v16.1.4) Updates `npm-check-updates` from 18.0.1 to 18.0.2 - [Release notes](https://github.com/raineorshine/npm-check-updates/releases) - [Changelog](https://github.com/raineorshine/npm-check-updates/blob/main/CHANGELOG.md) - [Commits](raineorshine/npm-check-updates@v18.0.1...v18.0.2) Updates `prettier-plugin-organize-imports` from 4.1.0 to 4.2.0 - [Release notes](https://github.com/simonhaenisch/prettier-plugin-organize-imports/releases) - [Changelog](https://github.com/simonhaenisch/prettier-plugin-organize-imports/blob/master/changelog.md) - [Commits](simonhaenisch/prettier-plugin-organize-imports@v4.1.0...v4.2.0) Updates `typescript` from 5.8.3 to 5.9.2 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](microsoft/TypeScript@v5.8.3...v5.9.2) Updates `typescript-eslint` from 8.37.0 to 8.39.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.39.0/packages/typescript-eslint) Updates `tmp` from 0.2.3 to 0.2.4 - [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md) - [Commits](raszi/node-tmp@v0.2.3...v0.2.4) Updates `undici` from 7.12.0 to 7.13.0 - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](nodejs/undici@v7.12.0...v7.13.0) Updates `@azure/cosmos` from 4.4.1 to 4.5.0 - [Release notes](https://github.com/Azure/azure-sdk-for-js/releases) - [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md) - [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/cosmos_4.4.1...@azure/cosmos_4.5.0) Updates `@azure/storage-blob` from 12.27.0 to 12.28.0 - [Release notes](https://github.com/Azure/azure-sdk-for-js/releases) - [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md) - [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/storage-blob_12.27.0...@azure/storage-blob_12.28.0) Updates `@azure/storage-queue` from 12.26.0 to 12.27.0 - [Release notes](https://github.com/Azure/azure-sdk-for-js/releases) - [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md) - [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/storage-queue_12.26.0...@azure/storage-queue_12.27.0) Updates `chromadb` from 2.4.6 to 3.0.10 Updates `@clickhouse/client` from 1.11.2 to 1.12.0 - [Release notes](https://github.com/ClickHouse/clickhouse-js/releases) - [Changelog](https://github.com/ClickHouse/clickhouse-js/blob/main/CHANGELOG.md) - [Commits](ClickHouse/clickhouse-js@1.11.2...1.12.0) Updates `@types/pg` from 8.15.4 to 8.15.5 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/pg) Updates `@elastic/elasticsearch` from 9.0.3 to 9.1.0 - [Release notes](https://github.com/elastic/elasticsearch-js/releases) - [Changelog](https://github.com/elastic/elasticsearch-js/blob/main/CHANGELOG.md) - [Commits](elastic/elasticsearch-js@v9.0.3...v9.1.0) Updates `@google-cloud/bigquery` from 8.1.0 to 8.1.1 - [Release notes](https://github.com/googleapis/nodejs-bigquery/releases) - [Changelog](https://github.com/googleapis/nodejs-bigquery/blob/main/CHANGELOG.md) - [Commits](googleapis/nodejs-bigquery@v8.1.0...v8.1.1) Updates `@google-cloud/datastore` from 9.2.1 to 10.0.1 - [Release notes](https://github.com/googleapis/nodejs-datastore/releases) - [Changelog](https://github.com/googleapis/nodejs-datastore/blob/main/CHANGELOG.md) - [Commits](googleapis/nodejs-datastore@v9.2.1...v10.0.1) Updates `@google-cloud/spanner` from 8.0.0 to 8.1.0 - [Release notes](https://github.com/googleapis/nodejs-spanner/releases) - [Changelog](https://github.com/googleapis/nodejs-spanner/blob/main/CHANGELOG.md) - [Commits](googleapis/nodejs-spanner@v8.0.0...v8.1.0) Updates `mqtt` from 5.13.3 to 5.14.0 - [Release notes](https://github.com/mqttjs/MQTT.js/releases) - [Changelog](https://github.com/mqttjs/MQTT.js/blob/main/CHANGELOG.md) - [Commits](mqttjs/MQTT.js@v5.13.3...v5.14.0) Updates `@aws-sdk/client-s3` from 3.848.0 to 3.859.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.859.0/clients/client-s3) Updates `mariadb` from 3.4.4 to 3.4.5 - [Release notes](https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases) - [Changelog](https://github.com/mariadb-corporation/mariadb-connector-nodejs/blob/main/CHANGELOG.md) - [Commits](mariadb-corporation/mariadb-connector-nodejs@3.4.4...3.4.5) Updates `superagent` from 10.2.2 to 10.2.3 - [Release notes](https://github.com/ladjs/superagent/releases) - [Changelog](https://github.com/forwardemail/superagent/blob/master/HISTORY.md) - [Commits](forwardemail/superagent@v10.2.2...v10.2.3) Updates `mongoose` from 8.16.4 to 8.17.0 - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md) - [Commits](Automattic/mongoose@8.16.4...8.17.0) Updates `mysql2` from 3.14.2 to 3.14.3 - [Release notes](https://github.com/sidorares/node-mysql2/releases) - [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md) - [Commits](sidorares/node-mysql2@v3.14.2...v3.14.3) Updates `redis` from 5.6.0 to 5.8.0 - [Release notes](https://github.com/redis/node-redis/releases) - [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md) - [Commits](https://github.com/redis/node-redis/compare/[email protected]@5.8.0) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-version: 9.32.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: "@eslint/json" dependency-version: 0.13.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: eslint dependency-version: 9.32.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: eslint-plugin-prettier dependency-version: 5.5.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: lint-staged dependency-version: 16.1.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: npm-check-updates dependency-version: 18.0.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: prettier-plugin-organize-imports dependency-version: 4.2.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: typescript dependency-version: 5.9.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: typescript-eslint dependency-version: 8.39.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: tmp dependency-version: 0.2.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: undici dependency-version: 7.13.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: "@azure/cosmos" dependency-version: 4.5.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: "@azure/storage-blob" dependency-version: 12.28.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: "@azure/storage-queue" dependency-version: 12.27.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: chromadb dependency-version: 3.0.10 dependency-type: direct:development update-type: version-update:semver-major dependency-group: dependencies - dependency-name: "@clickhouse/client" dependency-version: 1.12.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: "@types/pg" dependency-version: 8.15.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: "@elastic/elasticsearch" dependency-version: 9.1.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: "@google-cloud/bigquery" dependency-version: 8.1.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: "@google-cloud/datastore" dependency-version: 10.0.1 dependency-type: direct:development update-type: version-update:semver-major dependency-group: dependencies - dependency-name: "@google-cloud/spanner" dependency-version: 8.1.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: mqtt dependency-version: 5.14.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: "@aws-sdk/client-s3" dependency-version: 3.859.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: mariadb dependency-version: 3.4.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: superagent dependency-version: 10.2.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: mongoose dependency-version: 8.17.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: mysql2 dependency-version: 3.14.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: redis dependency-version: 5.8.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * Updates for ChromaDB * Fix spanner emulator helper * Fix azurite --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Cristian Greco <[email protected]>
1 parent 819fd80 commit ed2c83d

File tree

23 files changed

+3103
-2818
lines changed

23 files changed

+3103
-2818
lines changed

docs/modules/chromadb.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ These examples use the following libraries:
1414

1515
npm install chromadb
1616

17-
- [ollama](https://www.npmjs.com/package/ollama)
17+
- [@chroma-core/default-embed](https://www.npmjs.com/package/@chroma-core/default-embed)
1818

19-
npm install ollama
19+
npm install @chroma-core/default-embed
20+
21+
- [@chroma-core/ollama](https://www.npmjs.com/package/@chroma-core/ollama)
22+
23+
npm install @chroma-core/ollama
2024

2125
Choose an image from the [container registry](https://hub.docker.com/r/chromadb/chroma) and substitute `IMAGE`.
2226

package-lock.json

Lines changed: 3042 additions & 2767 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,22 @@
1919
"check-compiles": "npm run build --ignore-scripts --ws -- --project tsconfig.json --noEmit"
2020
},
2121
"devDependencies": {
22-
"@eslint/js": "^9.31.0",
23-
"@eslint/json": "^0.13.0",
22+
"@eslint/js": "^9.32.0",
23+
"@eslint/json": "^0.13.1",
2424
"@vitest/coverage-v8": "^3.2.4",
25-
"eslint": "^9.31.0",
25+
"eslint": "^9.32.0",
2626
"eslint-config-prettier": "^10.1.8",
27-
"eslint-plugin-prettier": "^5.5.3",
27+
"eslint-plugin-prettier": "^5.5.4",
2828
"husky": "^9.1.7",
29-
"lint-staged": "^16.1.2",
29+
"lint-staged": "^16.1.4",
3030
"ls-engines": "^0.9.3",
31-
"npm-check-updates": "^18.0.1",
31+
"npm-check-updates": "^18.0.2",
3232
"prettier": "^3.6.2",
33-
"prettier-plugin-organize-imports": "^4.1.0",
33+
"prettier-plugin-organize-imports": "^4.2.0",
3434
"shx": "^0.4.0",
3535
"ts-node": "^10.9.2",
36-
"typescript": "^5.8.3",
37-
"typescript-eslint": "^8.37.0",
36+
"typescript": "^5.9.2",
37+
"typescript-eslint": "^8.39.0",
3838
"vitest": "^3.1.3"
3939
},
4040
"overrides": {

packages/modules/azurecosmosdb/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"build": "tsc --project tsconfig.build.json"
3232
},
3333
"devDependencies": {
34-
"@azure/cosmos": "^4.4.1"
34+
"@azure/cosmos": "^4.5.0"
3535
},
3636
"dependencies": {
3737
"testcontainers": "^11.5.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM mcr.microsoft.com/azure-storage/azurite:3.34.0
1+
FROM mcr.microsoft.com/azure-storage/azurite:3.35.0

packages/modules/azurite/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"devDependencies": {
3535
"@azure/data-tables": "^13.3.1",
36-
"@azure/storage-blob": "^12.27.0",
37-
"@azure/storage-queue": "^12.26.0"
36+
"@azure/storage-blob": "^12.28.0",
37+
"@azure/storage-queue": "^12.27.0"
3838
}
3939
}

packages/modules/chromadb/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@
2929
"build": "tsc --project tsconfig.build.json"
3030
},
3131
"devDependencies": {
32-
"chromadb": "^2.4.6",
33-
"ollama": "^0.5.16"
32+
"@chroma-core/default-embed": "^0.1.8",
33+
"@chroma-core/ollama": "^0.1.7",
34+
"chromadb": "^3.0.10"
3435
},
3536
"dependencies": {
3637
"testcontainers": "^11.5.0"

packages/modules/chromadb/src/chromadb-container.test.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { AdminClient, ChromaClient, OllamaEmbeddingFunction } from "chromadb";
1+
import { OllamaEmbeddingFunction } from "@chroma-core/ollama";
2+
import { AdminClient, ChromaClient } from "chromadb";
23
import fs from "node:fs";
34
import os from "node:os";
45
import path from "node:path";
@@ -12,15 +13,15 @@ const OLLAMA_IMAGE = getImage(__dirname, 1);
1213
describe("ChromaDBContainer", { timeout: 360_000 }, () => {
1314
it("should connect", async () => {
1415
await using container = await new ChromaDBContainer(IMAGE).start();
15-
const client = new ChromaClient({ path: container.getHttpUrl() });
16+
const client = new ChromaClient({ ssl: false, host: container.getHost(), port: container.getMappedPort(8000) });
1617
expect(await client.heartbeat()).toBeDefined();
1718
});
1819

1920
it("should create collection and get data", async () => {
2021
// chromaCreateCollection {
2122
await using container = await new ChromaDBContainer(IMAGE).start();
2223

23-
const client = new ChromaClient({ path: container.getHttpUrl() });
24+
const client = new ChromaClient({ ssl: false, host: container.getHost(), port: container.getMappedPort(8000) });
2425
const collection = await client.createCollection({ name: "test", metadata: { "hnsw:space": "cosine" } });
2526
expect(collection.name).toBe("test");
2627

@@ -39,9 +40,9 @@ describe("ChromaDBContainer", { timeout: 360_000 }, () => {
3940

4041
await using ollama = await new GenericContainer(OLLAMA_IMAGE).withExposedPorts(11434).start();
4142
await ollama.exec(["ollama", "pull", "nomic-embed-text"]);
42-
const client = new ChromaClient({ path: container.getHttpUrl() });
43+
const client = new ChromaClient({ ssl: false, host: container.getHost(), port: container.getMappedPort(8000) });
4344
const embedder = new OllamaEmbeddingFunction({
44-
url: `http://${ollama.getHost()}:${ollama.getMappedPort(11434)}/api/embeddings`,
45+
url: `http://${ollama.getHost()}:${ollama.getMappedPort(11434)}`,
4546
model: "nomic-embed-text",
4647
});
4748

@@ -74,7 +75,7 @@ describe("ChromaDBContainer", { timeout: 360_000 }, () => {
7475
.withBindMounts([{ source: sourcePath, target: "/data" }])
7576
.start();
7677

77-
const client = new ChromaClient({ path: container.getHttpUrl() });
78+
const client = new ChromaClient({ ssl: false, host: container.getHost(), port: container.getMappedPort(8000) });
7879
const collection = await client.createCollection({ name: "test", metadata: { "hnsw:space": "cosine" } });
7980
expect(collection.name).toBe("test");
8081

@@ -104,26 +105,25 @@ describe("ChromaDBContainer", { timeout: 360_000 }, () => {
104105
.start();
105106

106107
const adminClient = new AdminClient({
107-
tenant: tenant,
108-
auth: {
109-
provider: "token",
110-
credentials: key,
111-
tokenHeaderType: "X_CHROMA_TOKEN",
108+
ssl: false,
109+
host: container.getHost(),
110+
port: container.getMappedPort(8000),
111+
headers: {
112+
"X-Chroma-Token": key,
112113
},
113-
path: container.getHttpUrl(),
114114
});
115115

116116
await adminClient.createTenant({ name: tenant });
117-
await adminClient.createDatabase({ name: database, tenantName: tenant });
117+
await adminClient.createDatabase({ name: database, tenant: tenant });
118118

119119
const dbClient = new ChromaClient({
120120
tenant,
121-
auth: {
122-
provider: "token",
123-
credentials: key,
124-
tokenHeaderType: "X_CHROMA_TOKEN",
121+
ssl: false,
122+
host: container.getHost(),
123+
port: container.getMappedPort(8000),
124+
headers: {
125+
"X-Chroma-Token": key,
125126
},
126-
path: container.getHttpUrl(),
127127
database,
128128
});
129129

packages/modules/clickhouse/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"build": "tsc --project tsconfig.build.json"
3030
},
3131
"devDependencies": {
32-
"@clickhouse/client": "^1.11.2"
32+
"@clickhouse/client": "^1.12.0"
3333
},
3434
"dependencies": {
3535
"testcontainers": "^11.5.0"

packages/modules/cockroachdb/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"build": "tsc --project tsconfig.build.json"
3131
},
3232
"devDependencies": {
33-
"@types/pg": "^8.15.4",
33+
"@types/pg": "^8.15.5",
3434
"pg": "^8.16.3"
3535
},
3636
"dependencies": {

0 commit comments

Comments
 (0)