🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@testcontainers/postgresql

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testcontainers/postgresql - npm Package Compare versions

Comparing version

to
11.0.0

2

build/postgresql-container.d.ts

@@ -6,3 +6,3 @@ import { AbstractStartedContainer, GenericContainer, StartedTestContainer } from "testcontainers";

private password;
constructor(image?: string);
constructor(image: string);
withDatabase(database: string): this;

@@ -9,0 +9,0 @@ withUsername(username: string): this;

@@ -10,7 +10,7 @@ "use strict";

password = "test";
constructor(image = "postgres:13.3-alpine") {
constructor(image) {
super(image);
this.withExposedPorts(POSTGRES_PORT);
this.withWaitStrategy(testcontainers_1.Wait.forAll([testcontainers_1.Wait.forHealthCheck(), testcontainers_1.Wait.forListeningPorts()]));
this.withStartupTimeout(120000);
this.withStartupTimeout(120_000);
}

@@ -17,0 +17,0 @@ withDatabase(database) {

{
"name": "@testcontainers/postgresql",
"version": "10.28.0",
"version": "11.0.0",
"license": "MIT",

@@ -33,8 +33,8 @@ "keywords": [

"devDependencies": {
"@types/pg": "^8.11.6",
"pg": "^8.12.0"
"@types/pg": "^8.15.2",
"pg": "^8.16.0"
},
"dependencies": {
"testcontainers": "^10.28.0"
"testcontainers": "^11.0.0"
}
}

@@ -5,3 +5,3 @@ # Testcontainers

[![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)
[![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)
[![npm version](https://badge.fury.io/js/testcontainers.svg)](https://www.npmjs.com/package/testcontainers)

@@ -20,3 +20,3 @@ [![npm version](https://img.shields.io/npm/dm/testcontainers.svg)](https://www.npmjs.com/package/testcontainers)

Copyright (c) 2018 - 2023 Cristian Greco and other authors.
Copyright (c) 2018 - 2025 Cristian Greco and other authors.

@@ -29,5 +29,4 @@ ## Contributing

---
----
Join our [Slack workspace](https://slack.testcontainers.org/) | [Testcontainers OSS](https://java.testcontainers.org/) | [Testcontainers Cloud](https://www.testcontainers.cloud/)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet