testcontainers 11.12.0 → 11.13.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/build/common/clock.js +0 -1
- package/build/common/file-lock.js +0 -1
- package/build/common/hash.js +0 -1
- package/build/common/index.js +0 -1
- package/build/common/logger.js +0 -1
- package/build/common/retry.js +0 -1
- package/build/common/streams.js +0 -1
- package/build/common/time.js +0 -1
- package/build/common/type-guards.js +0 -1
- package/build/common/uuid.js +0 -1
- package/build/container-runtime/auth/auths.js +0 -1
- package/build/container-runtime/auth/cred-helpers.js +0 -1
- package/build/container-runtime/auth/credential-provider.js +0 -1
- package/build/container-runtime/auth/creds-store.js +0 -1
- package/build/container-runtime/auth/get-auth-config.js +0 -1
- package/build/container-runtime/auth/registry-auth-locator.js +0 -1
- package/build/container-runtime/auth/registry-matches.js +0 -1
- package/build/container-runtime/auth/types.js +0 -1
- package/build/container-runtime/clients/client.js +0 -1
- package/build/container-runtime/clients/compose/compose-client.js +0 -1
- package/build/container-runtime/clients/compose/default-compose-options.js +0 -1
- package/build/container-runtime/clients/compose/parse-compose-container-name.js +0 -1
- package/build/container-runtime/clients/compose/types.js +0 -1
- package/build/container-runtime/clients/container/container-client.js +0 -1
- package/build/container-runtime/clients/container/docker-container-client.js +0 -1
- package/build/container-runtime/clients/container/types.js +0 -1
- package/build/container-runtime/clients/image/docker-image-client.js +0 -1
- package/build/container-runtime/clients/image/image-client.js +0 -1
- package/build/container-runtime/clients/network/docker-network-client.js +0 -1
- package/build/container-runtime/clients/network/network-client.js +0 -1
- package/build/container-runtime/clients/types.js +0 -1
- package/build/container-runtime/image-name.js +0 -1
- package/build/container-runtime/index.js +0 -1
- package/build/container-runtime/strategies/configuration-strategy.js +0 -1
- package/build/container-runtime/strategies/npipe-socket-strategy.js +0 -1
- package/build/container-runtime/strategies/rootless-unix-socket-strategy.js +0 -1
- package/build/container-runtime/strategies/strategy.js +0 -1
- package/build/container-runtime/strategies/testcontainers-host-strategy.js +0 -1
- package/build/container-runtime/strategies/types.js +0 -1
- package/build/container-runtime/strategies/unix-socket-strategy.js +0 -1
- package/build/container-runtime/strategies/utils/config.js +0 -1
- package/build/container-runtime/utils/attach-container.js +0 -1
- package/build/container-runtime/utils/demux-stream.js +0 -1
- package/build/container-runtime/utils/image-exists.js +0 -1
- package/build/container-runtime/utils/lookup-host-ips.js +0 -1
- package/build/container-runtime/utils/pull-image.js +0 -1
- package/build/container-runtime/utils/remote-container-runtime-socket-path.js +0 -1
- package/build/container-runtime/utils/resolve-host.js +0 -1
- package/build/container-runtime/utils/run-in-container.js +0 -1
- package/build/container-runtime/utils/start-container.js +0 -1
- package/build/docker-compose-environment/docker-compose-environment.js +0 -1
- package/build/docker-compose-environment/downed-docker-compose-environment.js +0 -1
- package/build/docker-compose-environment/started-docker-compose-environment.js +0 -1
- package/build/docker-compose-environment/stopped-docker-compose-environment.js +0 -1
- package/build/generic-container/abstract-started-container.js +0 -1
- package/build/generic-container/abstract-stopped-container.js +0 -1
- package/build/generic-container/generic-container-builder.js +0 -1
- package/build/generic-container/generic-container.js +0 -1
- package/build/generic-container/inspect-container-util-ports-exposed.js +0 -1
- package/build/generic-container/started-generic-container.js +0 -1
- package/build/generic-container/stopped-generic-container.js +0 -1
- package/build/index.js +0 -1
- package/build/network/network.js +0 -1
- package/build/port-forwarder/port-forwarder.js +0 -1
- package/build/reaper/reaper.js +0 -1
- package/build/socat/socat-container.js +0 -1
- package/build/test-container.js +0 -1
- package/build/test-containers.js +0 -1
- package/build/types.js +0 -1
- package/build/utils/bound-ports.js +0 -1
- package/build/utils/dockerfile-parser.js +0 -1
- package/build/utils/labels.js +0 -1
- package/build/utils/map-inspect-result.js +0 -1
- package/build/utils/port-generator.js +0 -1
- package/build/utils/port.js +0 -1
- package/build/utils/pull-policy.js +0 -1
- package/build/version.d.ts +1 -1
- package/build/version.js +1 -2
- package/build/wait-strategies/composite-wait-strategy.js +0 -1
- package/build/wait-strategies/health-check-wait-strategy.js +0 -1
- package/build/wait-strategies/host-port-wait-strategy.js +0 -1
- package/build/wait-strategies/http-wait-strategy.js +0 -1
- package/build/wait-strategies/log-wait-strategy.js +0 -1
- package/build/wait-strategies/one-shot-startup-startegy.js +0 -1
- package/build/wait-strategies/shell-wait-strategy.js +0 -1
- package/build/wait-strategies/startup-check-strategy.js +0 -1
- package/build/wait-strategies/utils/port-check.js +0 -1
- package/build/wait-strategies/utils/undici-response-parser.js +0 -1
- package/build/wait-strategies/wait-for-container.js +0 -1
- package/build/wait-strategies/wait-strategy.js +0 -1
- package/build/wait-strategies/wait.js +0 -1
- package/package.json +4 -4
- package/build/common/clock.js.map +0 -1
- package/build/common/file-lock.js.map +0 -1
- package/build/common/hash.js.map +0 -1
- package/build/common/index.js.map +0 -1
- package/build/common/logger.js.map +0 -1
- package/build/common/retry.js.map +0 -1
- package/build/common/streams.js.map +0 -1
- package/build/common/time.js.map +0 -1
- package/build/common/type-guards.js.map +0 -1
- package/build/common/uuid.js.map +0 -1
- package/build/container-runtime/auth/auths.js.map +0 -1
- package/build/container-runtime/auth/cred-helpers.js.map +0 -1
- package/build/container-runtime/auth/credential-provider.js.map +0 -1
- package/build/container-runtime/auth/creds-store.js.map +0 -1
- package/build/container-runtime/auth/get-auth-config.js.map +0 -1
- package/build/container-runtime/auth/registry-auth-locator.js.map +0 -1
- package/build/container-runtime/auth/registry-matches.js.map +0 -1
- package/build/container-runtime/auth/types.js.map +0 -1
- package/build/container-runtime/clients/client.js.map +0 -1
- package/build/container-runtime/clients/compose/compose-client.js.map +0 -1
- package/build/container-runtime/clients/compose/default-compose-options.js.map +0 -1
- package/build/container-runtime/clients/compose/parse-compose-container-name.js.map +0 -1
- package/build/container-runtime/clients/compose/types.js.map +0 -1
- package/build/container-runtime/clients/container/container-client.js.map +0 -1
- package/build/container-runtime/clients/container/docker-container-client.js.map +0 -1
- package/build/container-runtime/clients/container/types.js.map +0 -1
- package/build/container-runtime/clients/image/docker-image-client.js.map +0 -1
- package/build/container-runtime/clients/image/image-client.js.map +0 -1
- package/build/container-runtime/clients/network/docker-network-client.js.map +0 -1
- package/build/container-runtime/clients/network/network-client.js.map +0 -1
- package/build/container-runtime/clients/types.js.map +0 -1
- package/build/container-runtime/image-name.js.map +0 -1
- package/build/container-runtime/index.js.map +0 -1
- package/build/container-runtime/strategies/configuration-strategy.js.map +0 -1
- package/build/container-runtime/strategies/npipe-socket-strategy.js.map +0 -1
- package/build/container-runtime/strategies/rootless-unix-socket-strategy.js.map +0 -1
- package/build/container-runtime/strategies/strategy.js.map +0 -1
- package/build/container-runtime/strategies/testcontainers-host-strategy.js.map +0 -1
- package/build/container-runtime/strategies/types.js.map +0 -1
- package/build/container-runtime/strategies/unix-socket-strategy.js.map +0 -1
- package/build/container-runtime/strategies/utils/config.js.map +0 -1
- package/build/container-runtime/utils/attach-container.js.map +0 -1
- package/build/container-runtime/utils/demux-stream.js.map +0 -1
- package/build/container-runtime/utils/image-exists.js.map +0 -1
- package/build/container-runtime/utils/lookup-host-ips.js.map +0 -1
- package/build/container-runtime/utils/pull-image.js.map +0 -1
- package/build/container-runtime/utils/remote-container-runtime-socket-path.js.map +0 -1
- package/build/container-runtime/utils/resolve-host.js.map +0 -1
- package/build/container-runtime/utils/run-in-container.js.map +0 -1
- package/build/container-runtime/utils/start-container.js.map +0 -1
- package/build/docker-compose-environment/docker-compose-environment.js.map +0 -1
- package/build/docker-compose-environment/downed-docker-compose-environment.js.map +0 -1
- package/build/docker-compose-environment/started-docker-compose-environment.js.map +0 -1
- package/build/docker-compose-environment/stopped-docker-compose-environment.js.map +0 -1
- package/build/generic-container/abstract-started-container.js.map +0 -1
- package/build/generic-container/abstract-stopped-container.js.map +0 -1
- package/build/generic-container/generic-container-builder.js.map +0 -1
- package/build/generic-container/generic-container.js.map +0 -1
- package/build/generic-container/inspect-container-util-ports-exposed.js.map +0 -1
- package/build/generic-container/started-generic-container.js.map +0 -1
- package/build/generic-container/stopped-generic-container.js.map +0 -1
- package/build/index.js.map +0 -1
- package/build/network/network.js.map +0 -1
- package/build/port-forwarder/port-forwarder.js.map +0 -1
- package/build/reaper/reaper.js.map +0 -1
- package/build/socat/socat-container.js.map +0 -1
- package/build/test-container.js.map +0 -1
- package/build/test-containers.js.map +0 -1
- package/build/types.js.map +0 -1
- package/build/utils/bound-ports.js.map +0 -1
- package/build/utils/dockerfile-parser.js.map +0 -1
- package/build/utils/labels.js.map +0 -1
- package/build/utils/map-inspect-result.js.map +0 -1
- package/build/utils/port-generator.js.map +0 -1
- package/build/utils/port.js.map +0 -1
- package/build/utils/pull-policy.js.map +0 -1
- package/build/version.js.map +0 -1
- package/build/wait-strategies/composite-wait-strategy.js.map +0 -1
- package/build/wait-strategies/health-check-wait-strategy.js.map +0 -1
- package/build/wait-strategies/host-port-wait-strategy.js.map +0 -1
- package/build/wait-strategies/http-wait-strategy.js.map +0 -1
- package/build/wait-strategies/log-wait-strategy.js.map +0 -1
- package/build/wait-strategies/one-shot-startup-startegy.js.map +0 -1
- package/build/wait-strategies/shell-wait-strategy.js.map +0 -1
- package/build/wait-strategies/startup-check-strategy.js.map +0 -1
- package/build/wait-strategies/utils/port-check.js.map +0 -1
- package/build/wait-strategies/utils/undici-response-parser.js.map +0 -1
- package/build/wait-strategies/wait-for-container.js.map +0 -1
- package/build/wait-strategies/wait-strategy.js.map +0 -1
- package/build/wait-strategies/wait.js.map +0 -1
package/build/common/clock.js
CHANGED
package/build/common/hash.js
CHANGED
package/build/common/index.js
CHANGED
|
@@ -36,4 +36,3 @@ __exportStar(require("./type-guards"), exports);
|
|
|
36
36
|
var uuid_1 = require("./uuid");
|
|
37
37
|
Object.defineProperty(exports, "RandomUuid", { enumerable: true, get: function () { return uuid_1.RandomUuid; } });
|
|
38
38
|
Object.defineProperty(exports, "randomUuid", { enumerable: true, get: function () { return uuid_1.randomUuid; } });
|
|
39
|
-
//# sourceMappingURL=index.js.map
|
package/build/common/logger.js
CHANGED
|
@@ -54,4 +54,3 @@ exports.composeLog = new Logger("testcontainers:compose", false);
|
|
|
54
54
|
exports.buildLog = new Logger("testcontainers:build", false);
|
|
55
55
|
exports.pullLog = new Logger("testcontainers:pull", false);
|
|
56
56
|
exports.execLog = new Logger("testcontainers:exec", false);
|
|
57
|
-
//# sourceMappingURL=logger.js.map
|
package/build/common/retry.js
CHANGED
package/build/common/streams.js
CHANGED
package/build/common/time.js
CHANGED
package/build/common/uuid.js
CHANGED
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.registryMatches = void 0;
|
|
4
4
|
const registryMatches = (authConfigRegistry, requestedRegistry) => authConfigRegistry == requestedRegistry || authConfigRegistry.endsWith("://" + requestedRegistry);
|
|
5
5
|
exports.registryMatches = registryMatches;
|
|
6
|
-
//# sourceMappingURL=registry-matches.js.map
|
|
@@ -117,4 +117,3 @@ async function initStrategy(strategy) {
|
|
|
117
117
|
common_1.log.trace(`Container runtime info:\n${JSON.stringify(info, null, 2)}`);
|
|
118
118
|
return new ContainerRuntimeClient(info, composeClient, containerClient, imageClient, networkClient);
|
|
119
119
|
}
|
|
120
|
-
//# sourceMappingURL=client.js.map
|
|
@@ -10,4 +10,3 @@ var parse_compose_container_name_1 = require("./clients/compose/parse-compose-co
|
|
|
10
10
|
Object.defineProperty(exports, "parseComposeContainerName", { enumerable: true, get: function () { return parse_compose_container_name_1.parseComposeContainerName; } });
|
|
11
11
|
var image_name_1 = require("./image-name");
|
|
12
12
|
Object.defineProperty(exports, "ImageName", { enumerable: true, get: function () { return image_name_1.ImageName; } });
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -20,4 +20,3 @@ const getRemoteContainerRuntimeSocketPath = (containerRuntimeStrategyResult, con
|
|
|
20
20
|
return platform === "win32" ? `/${socketPath}` : socketPath;
|
|
21
21
|
};
|
|
22
22
|
exports.getRemoteContainerRuntimeSocketPath = getRemoteContainerRuntimeSocketPath;
|
|
23
|
-
//# sourceMappingURL=remote-container-runtime-socket-path.js.map
|
package/build/index.js
CHANGED
|
@@ -54,4 +54,3 @@ var wait_1 = require("./wait-strategies/wait");
|
|
|
54
54
|
Object.defineProperty(exports, "Wait", { enumerable: true, get: function () { return wait_1.Wait; } });
|
|
55
55
|
var wait_for_container_1 = require("./wait-strategies/wait-for-container");
|
|
56
56
|
Object.defineProperty(exports, "waitForContainer", { enumerable: true, get: function () { return wait_for_container_1.waitForContainer; } });
|
|
57
|
-
//# sourceMappingURL=index.js.map
|
package/build/network/network.js
CHANGED
package/build/reaper/reaper.js
CHANGED
package/build/test-container.js
CHANGED
package/build/test-containers.js
CHANGED
package/build/types.js
CHANGED
|
@@ -89,4 +89,3 @@ const resolveHostPortBinding = (hostIps, hostPortBindings) => {
|
|
|
89
89
|
};
|
|
90
90
|
exports.resolveHostPortBinding = resolveHostPortBinding;
|
|
91
91
|
const isDualStackIp = (hostPortBindings) => hostPortBindings.length === 1 && hostPortBindings[0].hostIp === "";
|
|
92
|
-
//# sourceMappingURL=bound-ports.js.map
|
package/build/utils/labels.js
CHANGED
package/build/utils/port.js
CHANGED
package/build/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "11.
|
|
1
|
+
export declare const LIB_VERSION = "11.13.0";
|
package/build/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testcontainers",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.13.0",
|
|
4
4
|
"author": "Cristian Greco",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"async-lock": "^1.4.1",
|
|
37
37
|
"byline": "^5.0.0",
|
|
38
38
|
"debug": "^4.4.3",
|
|
39
|
-
"docker-compose": "^1.3.
|
|
39
|
+
"docker-compose": "^1.3.2",
|
|
40
40
|
"dockerode": "^4.0.9",
|
|
41
41
|
"get-port": "^7.1.0",
|
|
42
42
|
"proper-lockfile": "^4.1.2",
|
|
43
43
|
"properties-reader": "^3.0.1",
|
|
44
44
|
"ssh-remote-port-forward": "^1.0.4",
|
|
45
|
-
"tar-fs": "^3.1.
|
|
45
|
+
"tar-fs": "^3.1.2",
|
|
46
46
|
"tmp": "^0.2.5",
|
|
47
|
-
"undici": "^7.
|
|
47
|
+
"undici": "^7.24.3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/archiver": "^7.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clock.js","sourceRoot":"","sources":["../../src/common/clock.ts"],"names":[],"mappings":";;;AAMA,MAAa,WAAW;IACf,OAAO;QACZ,OAAO,IAAI,CAAC,GAAG,EAAE,CAAC;IACpB,CAAC;CACF;AAJD,kCAIC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"file-lock.js","sourceRoot":"","sources":["../../src/common/file-lock.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,oCAkBC;AAvBD,0CAAwC;AACxC,gDAAwB;AACxB,sEAAuC;AACvC,qCAA+B;AAExB,KAAK,UAAU,YAAY,CAAI,QAAgB,EAAE,EAAW;IACjE,MAAM,IAAI,GAAG,MAAM,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IAEhD,IAAI,aAAa,CAAC;IAClB,IAAI,CAAC;QACH,YAAG,CAAC,KAAK,CAAC,wBAAwB,IAAI,MAAM,CAAC,CAAC;QAC9C,aAAa,GAAG,MAAM,yBAAQ,CAAC,IAAI,CAAC,IAAI,EAAE;YACxC,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE;SAC1F,CAAC,CAAC;QACH,YAAG,CAAC,KAAK,CAAC,uBAAuB,IAAI,GAAG,CAAC,CAAC;QAC1C,OAAO,MAAM,EAAE,EAAE,CAAC;IACpB,CAAC;YAAS,CAAC;QACT,IAAI,aAAa,EAAE,CAAC;YAClB,YAAG,CAAC,KAAK,CAAC,wBAAwB,IAAI,MAAM,CAAC,CAAC;YAC9C,MAAM,aAAa,EAAE,CAAC;YACtB,YAAG,CAAC,KAAK,CAAC,uBAAuB,IAAI,GAAG,CAAC,CAAC;QAC5C,CAAC;IACH,CAAC;AACH,CAAC;AAED,KAAK,UAAU,kBAAkB,CAAC,QAAgB;IAChD,MAAM,GAAG,GAAG,wDAAa,KAAK,GAAC,CAAC;IAChC,MAAM,IAAI,GAAG,cAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAChD,MAAM,IAAA,oBAAS,EAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAC1B,OAAO,IAAI,CAAC;AACd,CAAC"}
|
package/build/common/hash.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hash.js","sourceRoot":"","sources":["../../src/common/hash.ts"],"names":[],"mappings":";;;;;AAEA,oBAEC;AAJD,oDAA4B;AAE5B,SAAgB,IAAI,CAAC,GAAW;IAC9B,OAAO,gBAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC/D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yCAA2C;AAAlC,yGAAA,YAAY,OAAA;AACrB,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,mCAA6F;AAApF,gGAAA,MAAM,OAAA;AAAE,kGAAA,QAAQ,OAAA;AAAE,oGAAA,UAAU,OAAA;AAAE,sGAAA,YAAY,OAAA;AAAE,iGAAA,OAAO,OAAA;AAAE,6FAAA,GAAG,OAAA;AAAE,iGAAA,OAAO,OAAA;AAC1E,iCAA+C;AAAtC,sGAAA,aAAa,OAAA;AACtB,qCAA2C;AAAlC,yGAAA,cAAc,OAAA;AACvB,yCAAuB;AACvB,gDAA8B;AAC9B,+BAAsD;AAA7C,kGAAA,UAAU,OAAA;AAAQ,kGAAA,UAAU,OAAA"}
|