@testcontainers/weaviate 10.27.0 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2018 - 2023 Cristian Greco
3
+ Copyright (c) 2018 - 2025 Cristian Greco
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=116414510&machine=standardLinux32gb&devcontainer_path=.devcontainer%2Fdevcontainer.json&location=EastUs)
4
4
 
5
- [![Test](https://github.com/testcontainers/testcontainers-node/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/testcontainers/testcontainers-node/actions/workflows/test.yml)
5
+ [![Test](https://github.com/testcontainers/testcontainers-node/actions/workflows/checks.yml/badge.svg?branch=main)](https://github.com/testcontainers/testcontainers-node/actions/workflows/checks.yml)
6
6
  [![npm version](https://badge.fury.io/js/testcontainers.svg)](https://www.npmjs.com/package/testcontainers)
7
7
  [![npm version](https://img.shields.io/npm/dm/testcontainers.svg)](https://www.npmjs.com/package/testcontainers)
8
8
 
@@ -16,7 +16,7 @@ See [LICENSE](https://github.com/testcontainers/testcontainers-node/blob/main/LI
16
16
 
17
17
  ## Copyright
18
18
 
19
- Copyright (c) 2018 - 2023 Cristian Greco and other authors.
19
+ Copyright (c) 2018 - 2025 Cristian Greco and other authors.
20
20
 
21
21
  ## Contributing
22
22
 
@@ -24,7 +24,6 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for how to contribute to this repo.
24
24
 
25
25
  See [contributors](https://github.com/testcontainers/testcontainers-node/graphs/contributors/) for all contributors.
26
26
 
27
-
28
- ----
27
+ ---
29
28
 
30
29
  Join our [Slack workspace](https://slack.testcontainers.org/) | [Testcontainers OSS](https://java.testcontainers.org/) | [Testcontainers Cloud](https://www.testcontainers.cloud/)
@@ -1,6 +1,6 @@
1
1
  import { AbstractStartedContainer, GenericContainer, StartedTestContainer } from "testcontainers";
2
2
  export declare class WeaviateContainer extends GenericContainer {
3
- constructor(image?: string);
3
+ constructor(image: string);
4
4
  start(): Promise<StartedWeaviateContainer>;
5
5
  }
6
6
  export declare class StartedWeaviateContainer extends AbstractStartedContainer {
@@ -5,7 +5,7 @@ const testcontainers_1 = require("testcontainers");
5
5
  const WEAVIATE_HTTP_PORT = 8080;
6
6
  const WEAVIATE_GRPC_PORT = 50051;
7
7
  class WeaviateContainer extends testcontainers_1.GenericContainer {
8
- constructor(image = "semitechnologies/weaviate:1.24.5") {
8
+ constructor(image) {
9
9
  super(image);
10
10
  this.withCommand(["--host", "0.0.0.0", "--scheme", "http", "--port", `${WEAVIATE_HTTP_PORT}`]);
11
11
  this.withExposedPorts(WEAVIATE_HTTP_PORT, WEAVIATE_GRPC_PORT);
@@ -16,7 +16,7 @@ class WeaviateContainer extends testcontainers_1.GenericContainer {
16
16
  this.withWaitStrategy(testcontainers_1.Wait.forAll([
17
17
  testcontainers_1.Wait.forListeningPorts(),
18
18
  testcontainers_1.Wait.forHttp("/v1/.well-known/ready", WEAVIATE_HTTP_PORT),
19
- ]).withStartupTimeout(5000));
19
+ ]).withStartupTimeout(5_000));
20
20
  }
21
21
  async start() {
22
22
  return new StartedWeaviateContainer(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EAAE,CAAC;IACvE,CAAC;IAEM,kBAAkB;QACvB,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE,IAAI,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,EAAE,CAAC;IACvE,CAAC;CACF;AAZD,4DAYC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testcontainers/weaviate",
3
- "version": "10.27.0",
3
+ "version": "11.0.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "weaviate",
@@ -32,6 +32,6 @@
32
32
  "weaviate-ts-client": "^2.2.0"
33
33
  },
34
34
  "dependencies": {
35
- "testcontainers": "^10.27.0"
35
+ "testcontainers": "^11.0.0"
36
36
  }
37
37
  }