embedded-postgres
Advanced tools
Comparing version 12.18.0-beta.11 to 12.18.0-beta.12
@@ -1,2 +0,2 @@ | ||
import { Client } from 'pg'; | ||
import pg from 'pg'; | ||
import { PostgresOptions } from './types.js'; | ||
@@ -40,3 +40,3 @@ /** | ||
*/ | ||
getPgClient(database?: string, host?: string): Client; | ||
getPgClient(database?: string, host?: string): pg.Client; | ||
/** | ||
@@ -43,0 +43,0 @@ * Create a database with a given name on the cluster |
@@ -15,6 +15,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
import { spawn, exec } from 'child_process'; | ||
import { Client } from 'pg'; | ||
import pg from 'pg'; | ||
import AsyncExitHook from 'async-exit-hook'; | ||
import getBinaries from './binary.js'; | ||
const bin = getBinaries(); | ||
const { Client } = pg; | ||
// The default configuration options for the class | ||
@@ -21,0 +22,0 @@ const defaults = { |
{ | ||
"name": "embedded-postgres", | ||
"version": "12.18.0-beta.11", | ||
"version": "12.18.0-beta.12", | ||
"description": "A package to run an embedded Postgresql database right from NodeJS", | ||
"exports": "./dist/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/leinelissen/embedded-postgres" | ||
}, | ||
"type": "module", | ||
@@ -23,3 +27,3 @@ "scripts": { | ||
"devDependencies": { | ||
"@embedded-postgres/symlink-reader": "^12.18.0-beta.11", | ||
"@embedded-postgres/symlink-reader": "^12.18.0-beta.12", | ||
"@types/async-exit-hook": "^2.0.0", | ||
@@ -32,10 +36,10 @@ "@types/pg": "^8.6.5", | ||
"optionalDependencies": { | ||
"@embedded-postgres/darwin-arm64": "^12.18.0-beta.11", | ||
"@embedded-postgres/darwin-x64": "^12.18.0-beta.11", | ||
"@embedded-postgres/linux-arm": "^12.18.0-beta.11", | ||
"@embedded-postgres/linux-arm64": "^12.18.0-beta.11", | ||
"@embedded-postgres/linux-ia32": "^12.18.0-beta.11", | ||
"@embedded-postgres/linux-ppc64": "^12.18.0-beta.11", | ||
"@embedded-postgres/linux-x64": "^12.18.0-beta.11", | ||
"@embedded-postgres/windows-x64": "^12.18.0-beta.11" | ||
"@embedded-postgres/darwin-arm64": "^12.18.0-beta.12", | ||
"@embedded-postgres/darwin-x64": "^12.18.0-beta.12", | ||
"@embedded-postgres/linux-arm": "^12.18.0-beta.12", | ||
"@embedded-postgres/linux-arm64": "^12.18.0-beta.12", | ||
"@embedded-postgres/linux-ia32": "^12.18.0-beta.12", | ||
"@embedded-postgres/linux-ppc64": "^12.18.0-beta.12", | ||
"@embedded-postgres/linux-x64": "^12.18.0-beta.12", | ||
"@embedded-postgres/windows-x64": "^12.18.0-beta.12" | ||
}, | ||
@@ -56,3 +60,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "623cb7e70acad2a87313c7ec9e10b7e3068e6631" | ||
"gitHead": "94e7be37c25d7816abeb621f7078bf460861cf06" | ||
} |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
25031
500
1