Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@ttoss/postgresdb

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ttoss/postgresdb - npm Package Compare versions

Comparing version
0.2.25
to
0.2.27
+5
-5
dist/esm/index.js

@@ -17,7 +17,7 @@ /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */

}) => {
const username = process.env.DB_USERNAME,
password = process.env.DB_PASSWORD,
database = process.env.DB_NAME,
host = process.env.DB_HOST,
port = Number(process.env.DB_PORT) || 5432;
const username = process.env.DATABASE_USER,
password = process.env.DATABASE_PASSWORD,
database = process.env.DATABASE_NAME,
host = process.env.DATABASE_HOST,
port = Number(process.env.DATABASE_PORT) || 5432;
if (!sequelize) {

@@ -24,0 +24,0 @@ sequelize = new Sequelize({

{
"name": "@ttoss/postgresdb",
"version": "0.2.25",
"version": "0.2.27",
"description": "A library to handle PostgreSQL database connections and queries",

@@ -12,3 +12,3 @@ "license": "MIT",

"type": "git",
"url": "https://github.com/ttoss/ttoss.git",
"url": "git+https://github.com/ttoss/ttoss.git",
"directory": "packages/postgresdb"

@@ -15,0 +15,0 @@ },

@@ -101,7 +101,7 @@ # @ttoss/postgresdb

```env
DB_NAME=postgres
DB_USERNAME=postgres
DB_PASSWORD=mysecretpassword
DB_HOST=localhost
DB_PORT=5432
DATABASE_NAME=postgres
DATABASE_USER=postgres
DATABASE_PASSWORD=mysecretpassword
DATABASE_HOST=localhost
DATABASE_PORT=5432
```

@@ -108,0 +108,0 @@