testcontainers 6.4.0 → 6.4.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.
package/dist/container.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveDockerComposeContainerName = void 0;
|
|
4
|
-
|
|
4
|
+
const resolveDockerComposeContainerName = (projectName, containerName) => {
|
|
5
5
|
if (containerName.includes(projectName)) {
|
|
6
6
|
return containerName.substring(`/${projectName}_`.length);
|
|
7
7
|
}
|
|
@@ -12,3 +12,4 @@ exports.resolveDockerComposeContainerName = (projectName, containerName) => {
|
|
|
12
12
|
throw new Error(`Unable to resolve container name for container name: "${containerName}", project name: "${projectName}"`);
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
|
+
exports.resolveDockerComposeContainerName = resolveDockerComposeContainerName;
|
package/dist/docker-ignore.js
CHANGED
|
@@ -17,7 +17,7 @@ const fs_1 = require("fs");
|
|
|
17
17
|
const os_1 = __importDefault(require("os"));
|
|
18
18
|
const glob_1 = __importDefault(require("glob"));
|
|
19
19
|
const path_1 = __importDefault(require("path"));
|
|
20
|
-
|
|
20
|
+
const findDockerIgnoreFiles = (context) => __awaiter(void 0, void 0, void 0, function* () {
|
|
21
21
|
const dockerIgnoreFiles = new Set();
|
|
22
22
|
const dockerIgnoreFilePath = path_1.default.join(context, ".dockerignore");
|
|
23
23
|
if (!fs_1.existsSync(dockerIgnoreFilePath)) {
|
|
@@ -42,3 +42,4 @@ exports.findDockerIgnoreFiles = (context) => __awaiter(void 0, void 0, void 0, f
|
|
|
42
42
|
});
|
|
43
43
|
return dockerIgnoreFiles;
|
|
44
44
|
});
|
|
45
|
+
exports.findDockerIgnoreFiles = findDockerIgnoreFiles;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testcontainers",
|
|
3
3
|
"author": "Cristian Greco",
|
|
4
|
-
"version": "6.4.
|
|
4
|
+
"version": "6.4.1",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"types": "dist/index",
|
|
7
7
|
"keywords": [
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"updateDeps": "npx npm-check-updates -u"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@types/dockerode": "^2.
|
|
34
|
+
"@types/dockerode": "^3.2.1",
|
|
35
35
|
"byline": "^5.0.0",
|
|
36
|
-
"debug": "^4.
|
|
36
|
+
"debug": "^4.3.1",
|
|
37
37
|
"docker-compose": "^0.23.5",
|
|
38
38
|
"dockerode": "^3.2.1",
|
|
39
39
|
"get-port": "^5.1.1",
|
|
@@ -41,35 +41,35 @@
|
|
|
41
41
|
"slash": "^3.0.0",
|
|
42
42
|
"ssh-remote-port-forward": "^1.0.3",
|
|
43
43
|
"stream-to-array": "^2.3.0",
|
|
44
|
-
"tar-fs": "^2.1.
|
|
44
|
+
"tar-fs": "^2.1.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@elastic/elasticsearch": "^7.
|
|
47
|
+
"@elastic/elasticsearch": "^7.10.0",
|
|
48
48
|
"@types/byline": "^4.2.32",
|
|
49
49
|
"@types/debug": "4.1.5",
|
|
50
50
|
"@types/glob": "^7.1.3",
|
|
51
|
-
"@types/jest": "^26.0.
|
|
52
|
-
"@types/node": "^14.
|
|
51
|
+
"@types/jest": "^26.0.19",
|
|
52
|
+
"@types/node": "^14.14.14",
|
|
53
53
|
"@types/node-fetch": "^2.5.7",
|
|
54
54
|
"@types/stream-to-array": "^2.3.0",
|
|
55
55
|
"@types/tar-fs": "^2.0.0",
|
|
56
|
-
"@typescript-eslint/eslint-plugin": "^4.
|
|
57
|
-
"@typescript-eslint/parser": "^4.
|
|
58
|
-
"arangojs": "^
|
|
59
|
-
"cross-env": "^7.0.
|
|
60
|
-
"eslint": "^7.
|
|
61
|
-
"eslint-config-prettier": "^
|
|
62
|
-
"husky": "^4.3.
|
|
63
|
-
"jest": "^26.
|
|
64
|
-
"kafkajs": "^1.
|
|
65
|
-
"lint-staged": "^10.3
|
|
66
|
-
"neo4j-driver": "^4.1
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^4.11.0",
|
|
57
|
+
"@typescript-eslint/parser": "^4.11.0",
|
|
58
|
+
"arangojs": "^7.2.0",
|
|
59
|
+
"cross-env": "^7.0.3",
|
|
60
|
+
"eslint": "^7.16.0",
|
|
61
|
+
"eslint-config-prettier": "^7.1.0",
|
|
62
|
+
"husky": "^4.3.6",
|
|
63
|
+
"jest": "^26.6.3",
|
|
64
|
+
"kafkajs": "^1.15.0",
|
|
65
|
+
"lint-staged": "^10.5.3",
|
|
66
|
+
"neo4j-driver": "^4.2.1",
|
|
67
67
|
"node-fetch": "^2.6.1",
|
|
68
|
-
"prettier": "^2.
|
|
68
|
+
"prettier": "^2.2.1",
|
|
69
69
|
"rimraf": "^3.0.2",
|
|
70
|
-
"ts-jest": "^26.
|
|
71
|
-
"ts-node": "^9.
|
|
72
|
-
"typescript": "^4.
|
|
70
|
+
"ts-jest": "^26.4.4",
|
|
71
|
+
"ts-node": "^9.1.1",
|
|
72
|
+
"typescript": "^4.1.3"
|
|
73
73
|
},
|
|
74
74
|
"husky": {
|
|
75
75
|
"hooks": {
|