testcontainers 8.5.0 → 8.5.1

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.
Files changed (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -77,7 +77,12 @@ describe("GenericContainer", () => {
77
77
  Using TypeScript:
78
78
 
79
79
  ```typescript
80
- import { TestContainer, StartedTestContainer, StoppedTestContainer, GenericContainer } from "testcontainers";
80
+ import {
81
+ TestContainer,
82
+ StartedTestContainer,
83
+ StoppedTestContainer,
84
+ GenericContainer
85
+ } from "testcontainers";
81
86
 
82
87
  const container: TestContainer = new GenericContainer("alpine");
83
88
  const startedContainer: StartedTestContainer = await container.start();
@@ -129,7 +134,7 @@ const container = await new GenericContainer("alpine")
129
134
  .start();
130
135
  ```
131
136
 
132
- Enabling container reuse, note that two containers are considered equal if their options (exposed ports, commands, mounts, etc) match:
137
+ Enabling container reuse, note that two containers are considered equal if their options (exposed ports, commands, mounts, etc) match. This also works across multiple processes:
133
138
 
134
139
  ```javascript
135
140
  const { GenericContainer } = require("testcontainers");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "testcontainers",
3
3
  "author": "Cristian Greco",
4
- "version": "8.5.0",
4
+ "version": "8.5.1",
5
5
  "main": "dist/index",
6
6
  "types": "dist/index",
7
7
  "keywords": [
@@ -36,7 +36,7 @@
36
36
  "@types/dockerode": "^3.2.7",
37
37
  "archiver": "^5.3.0",
38
38
  "byline": "^5.0.0",
39
- "debug": "^4.3.3",
39
+ "debug": "^4.3.4",
40
40
  "docker-compose": "^0.23.17",
41
41
  "dockerode": "^3.3.1",
42
42
  "get-port": "^5.1.1",
@@ -54,7 +54,7 @@
54
54
  "@types/jest": "^27.0.3",
55
55
  "@types/node": "^16.9.6",
56
56
  "@types/node-fetch": "^2.5.12",
57
- "@types/pg": "^8.6.4",
57
+ "@types/pg": "^8.6.5",
58
58
  "@types/properties-reader": "^2.1.1",
59
59
  "@types/tar-fs": "^2.0.1",
60
60
  "@typescript-eslint/eslint-plugin": "^4.31.2",