Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,682 changes: 2,926 additions & 1,756 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@eslint/json": "^2.0.1",
"@vitest/coverage-v8": "^4.1.10",
"eslint": "^10.8.0",
"@eslint/json": "^2.1.0",
"@vitest/coverage-v8": "^5.0.0",
"eslint": "^10.10.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.6",
"npm-check-updates": "^23.0.0",
"npm-check-updates": "^23.1.0",
"prettier": "^3.9.6",
"prettier-plugin-organize-imports": "^4.3.0",
"shx": "^0.4.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.65.0",
"vitest": "^4.0.18"
"typescript-eslint": "^8.69.0",
"vitest": "^5.0.0"
},
"engines": {
"node": ">= 22.22"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/arangodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"build": "tsc --project tsconfig.build.json"
},
"devDependencies": {
"arangojs": "^10.3.1"
"arangojs": "^10.4.0"
},
"dependencies": {
"testcontainers": "^12.1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/cassandra/src/cassandra-container.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { CassandraContainer } from "./cassandra-container";

const IMAGE = getImage(__dirname);

describe.sequential("CassandraContainer", { timeout: 240_000 }, () => {
describe("CassandraContainer", { concurrent: false, timeout: 240_000 }, () => {
it("should connect and execute a query with default credentials", async () => {
// connectWithDefaultCredentials {
await using container = await new CassandraContainer(IMAGE).start();
Expand Down
4 changes: 2 additions & 2 deletions packages/modules/cockroachdb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"build": "tsc --project tsconfig.build.json"
},
"devDependencies": {
"@types/pg": "^8.20.0",
"pg": "^8.22.0"
"@types/pg": "^8.23.1",
"pg": "^8.23.0"
},
"dependencies": {
"testcontainers": "^12.1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/couchdb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"testcontainers": "^12.1.0"
},
"devDependencies": {
"nano": "^11.0.6"
"nano": "^11.0.7"
}
}
2 changes: 1 addition & 1 deletion packages/modules/elasticsearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"build": "tsc --project tsconfig.build.json"
},
"devDependencies": {
"@elastic/elasticsearch": "^9.4.2"
"@elastic/elasticsearch": "^9.5.1"
},
"dependencies": {
"testcontainers": "^12.1.0"
Expand Down
14 changes: 7 additions & 7 deletions packages/modules/gcloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@
"testcontainers": "^12.1.0"
},
"devDependencies": {
"@google-cloud/bigquery": "^8.3.1",
"@google-cloud/datastore": "^10.1.1",
"@google-cloud/firestore": "8.7.0",
"@google-cloud/pubsub": "^5.3.1",
"@google-cloud/spanner": "^8.10.0",
"@google-cloud/storage": "^7.21.0",
"firebase-admin": "14.2.0",
"@google-cloud/bigquery": "^9.0.3",
"@google-cloud/datastore": "^11.0.1",
"@google-cloud/firestore": "9.0.1",
"@google-cloud/pubsub": "^6.0.1",
"@google-cloud/spanner": "^8.11.0",
"@google-cloud/storage": "^8.0.1",
"firebase-admin": "14.3.0",
"msw": "^2.15.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function getRequestBodyFromReadableStream(stream: ReadableStream<Uint8Arra
return fullString;
}

describe.sequential("CloudStorageEmulatorContainer", { timeout: 240_000 }, () => {
describe("CloudStorageEmulatorContainer", { concurrent: false, timeout: 240_000 }, () => {
const server = setupServer();

beforeAll(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe("SpannerEmulatorContainer", { timeout: 240_000 }, () => {
// }
});

describe.sequential("Shared state", () => {
describe("Shared state", { concurrent: false }, () => {
afterEach(() => {
process.env.SPANNER_EMULATOR_HOST = "";
});
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/k3s/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"testcontainers": "^12.1.0"
},
"devDependencies": {
"@kubernetes/client-node": "^1.4.0"
"@kubernetes/client-node": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/modules/kurrentdb/src/kurrentdb-container.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { KurrentDbContainer } from "./kurrentdb-container";

const IMAGE = getImage(__dirname);

describe.sequential("KurrentDbContainer", { timeout: 240_000 }, () => {
describe("KurrentDbContainer", { concurrent: false, timeout: 240_000 }, () => {
it("should execute write and read", async () => {
// startContainer {
await using container = await new KurrentDbContainer(IMAGE).start();
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/localstack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"testcontainers": "^12.1.0"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.1095.0"
"@aws-sdk/client-s3": "^3.1127.0"
}
}
2 changes: 1 addition & 1 deletion packages/modules/mariadb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"testcontainers": "^12.1.0"
},
"devDependencies": {
"mariadb": "3.5.3"
"mariadb": "3.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/modules/mockserver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"devDependencies": {
"@types/superagent": "^8.1.11",
"mockserver-client": "^7.4.0",
"mockserver-client": "^7.6.0",
"superagent": "^10.3.0"
}
}
2 changes: 1 addition & 1 deletion packages/modules/mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"build": "tsc --project tsconfig.build.json"
},
"devDependencies": {
"mongoose": "^9.8.0"
"mongoose": "^9.9.5"
},
"dependencies": {
"compare-versions": "^6.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"build": "tsc --project tsconfig.build.json"
},
"devDependencies": {
"mysql2": "^3.23.1"
"mysql2": "^3.24.3"
},
"dependencies": {
"testcontainers": "^12.1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/oraclefree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"testcontainers": "^12.1.0"
},
"devDependencies": {
"@types/oracledb": "^7.0.1",
"@types/oracledb": "^7.0.3",
"oracledb": "^7.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { OracleDbContainer, StartedOracleDbContainer } from "./oraclefree-contai

const IMAGE = getImage(__dirname);

describe.sequential("OracleFreeContainer", { timeout: 240_000 }, () => {
describe("OracleFreeContainer", { concurrent: false, timeout: 240_000 }, () => {
describe("default configuration", () => {
let container: StartedOracleDbContainer;

Expand Down
4 changes: 2 additions & 2 deletions packages/modules/postgresql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"build": "tsc --project tsconfig.build.json"
},
"devDependencies": {
"@types/pg": "^8.20.0",
"pg": "^8.22.0"
"@types/pg": "^8.23.1",
"pg": "^8.23.0"
},
"dependencies": {
"testcontainers": "^12.1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/qdrant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"build": "tsc --project tsconfig.build.json"
},
"devDependencies": {
"@qdrant/js-client-rest": "^1.18.0"
"@qdrant/js-client-rest": "^1.19.0"
},
"dependencies": {
"testcontainers": "^12.1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"postbuild": "shx cp src/import.sh build"
},
"devDependencies": {
"redis": "^6.1.0"
"redis": "^6.2.1"
},
"dependencies": {
"testcontainers": "^12.1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/s3mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"testcontainers": "^12.1.0"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.1095.0"
"@aws-sdk/client-s3": "^3.1127.0"
}
}
2 changes: 1 addition & 1 deletion packages/modules/selenium/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"devDependencies": {
"@types/selenium-webdriver": "^4.35.6",
"selenium-webdriver": "^4.46.0"
"selenium-webdriver": "^4.48.0"
},
"dependencies": {
"testcontainers": "^12.1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/valkey/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"postbuild": "shx cp src/import.sh build"
},
"devDependencies": {
"redis": "^6.1.0"
"redis": "^6.2.1"
},
"dependencies": {
"testcontainers": "^12.1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/testcontainers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"ssh-remote-port-forward": "^1.0.4",
"tar-fs": "^3.1.3",
"tmp": "^0.2.7",
"undici": "^8.9.0"
"undici": "^8.10.2"
},
"devDependencies": {
"@types/archiver": "^7.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ vi.mock("child_process", () => ({
spawn: (...args: unknown[]) => mockSpawn(...args),
}));

describe.sequential("CredentialProvider", () => {
describe("CredentialProvider", { concurrent: false }, () => {
let credentialProvider: CredentialProvider;
let containerRuntimeConfig: ContainerRuntimeConfig;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import type { Mock } from "vitest";

describe.sequential("get auth config", () => {
vi.mock("fs");
vi.mock("fs/promises");

describe("get auth config", { concurrent: false }, () => {
let mockExistsSync: Mock;
let mockReadFile: Mock;

beforeEach(async () => {
vi.mock("fs");
const { existsSync } = await import("fs");
mockExistsSync = existsSync as Mock;
vi.mock("fs/promises");
const { readFile } = await import("fs/promises");
mockReadFile = readFile as Mock;
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ImageName } from "./image-name";

describe.sequential("ContainerImage", () => {
describe("ContainerImage", { concurrent: false }, () => {
it("should return whether two image names are equal", () => {
const imageName = new ImageName("registry", "image", "tag");

Expand All @@ -10,7 +10,7 @@ describe.sequential("ContainerImage", () => {
expect(imageName.equals(new ImageName("anotherRegistry", "image", "tag"))).toBe(false);
});

describe.sequential("string", () => {
describe("string", { concurrent: false }, () => {
it("should work with registry", () => {
const imageName = new ImageName("registry", "image", "tag");
expect(imageName.string).toBe("registry/image:tag");
Expand Down Expand Up @@ -67,7 +67,7 @@ describe.sequential("ContainerImage", () => {
);
});

describe.sequential("fromString", () => {
describe("fromString", { concurrent: false }, () => {
it("should work", () => {
const imageName = ImageName.fromString("image:latest");

Expand Down Expand Up @@ -154,7 +154,7 @@ describe.sequential("ContainerImage", () => {
});
});

describe.sequential.each([
describe.each([
{ customRegistry: "custom.com/registry", expectedRegistry: "custom.com", expectedImagePrefix: "registry/" },
{ customRegistry: "custom.com/registry/", expectedRegistry: "custom.com", expectedImagePrefix: "registry/" },
{ customRegistry: "custom.com", expectedRegistry: "custom.com", expectedImagePrefix: "" },
Expand All @@ -166,6 +166,7 @@ describe.sequential("ContainerImage", () => {
},
])(
"fromString with TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX set to $customRegistry",
{ concurrent: false },
({ customRegistry, expectedRegistry, expectedImagePrefix }) => {
beforeEach(() => {
vi.stubEnv("TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX", customRegistry);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ vi.mock("fs/promises");
const mockGetContainerRuntimeConfig = vi.mocked(getContainerRuntimeConfig);
const mockReadFile = vi.mocked(readFile);

describe.sequential("ConfigurationStrategy", () => {
describe("ConfigurationStrategy", { concurrent: false }, () => {
it("should return undefined if no docker host is set", async () => {
mockGetContainerRuntimeConfig.mockResolvedValueOnce({ dockerHost: undefined });

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { RootlessUnixSocketStrategy } from "./rootless-unix-socket-strategy";

vi.mock("fs", () => ({ existsSync: vi.fn() }));

describe.sequential("RootlessUnixSocketStrategy", () => {
describe("RootlessUnixSocketStrategy", { concurrent: false }, () => {
const mockExistsSync = vi.mocked(existsSync);

it("should return undefined for non-linux and non-darwin platforms", async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ vi.mock("./utils/config", () => ({
getContainerRuntimeConfig: () => mockGetContainerRuntimeConfig(),
}));

describe.sequential("TestcontainersHostStrategy", () => {
describe("TestcontainersHostStrategy", { concurrent: false }, () => {
it("should return undefined when tc.host property is not set", async () => {
mockGetContainerRuntimeConfig.mockResolvedValue({});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { UnixSocketStrategy } from "./unix-socket-strategy";
vi.mock("fs");
const mockExistsSync = vi.mocked(existsSync);

describe.sequential("UnixSocketStrategy", () => {
describe("UnixSocketStrategy", { concurrent: false }, () => {
beforeEach(() => {
mockExistsSync.mockReturnValue(true);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ vi.mock("fs", () => ({ existsSync: mockExistsSync }));
const mockReadFile = vi.fn();
vi.mock("fs/promises", () => ({ readFile: mockReadFile }));

describe.sequential("Config", () => {
describe("Config", { concurrent: false }, () => {
let getContainerRuntimeConfig: GetContainerRuntimeConfig;

beforeEach(async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ vi.mock("dockerode", () => {
};
});

describe.sequential("imageExists", () => {
describe("imageExists", { concurrent: false }, () => {
afterEach(() => {
vi.resetModules();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ vi.mock("dns/promises", () => {
};
});

describe.sequential("lookupHostIps", () => {
describe("lookupHostIps", { concurrent: false }, () => {
it("should return a list of resolved host IPs when host is not an IP", async () => {
const hostIps: HostIp[] = [{ address: "127.0.0.1", family: 4 }];
mockDnsLookup.mockResolvedValueOnce(hostIps);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ vi.mock("./run-in-container", () => ({
runInContainer: () => runInContainerMock(),
}));

describe.sequential("resolveHost", () => {
describe("resolveHost", { concurrent: false }, () => {
it("should return TESTCONTAINERS_HOST_OVERRIDE from environment", async () => {
const strategyResult = {
uri: "tcp://another:2375",
Expand Down
Loading
Loading