Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@neondatabase/serverless

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neondatabase/serverless - npm Package Compare versions

Comparing version 0.4.18 to 0.4.19

15

index.d.ts

@@ -26,4 +26,2 @@

Connection,
ClientBase,
Pool,
Query,

@@ -131,6 +129,12 @@ Events,

import {
ClientBase as PgClientBase,
Client as PgClient,
PoolClient as PgPoolClient,
Pool as PgPool,
} from "pg";
export class ClientBase extends PgClientBase {
neonConfig: NeonConfig;
}
export class Client extends PgClient {

@@ -144,2 +148,9 @@ neonConfig: NeonConfig;

export class Pool extends PgPool {
connect(): Promise<PoolClient>;
connect(callback: (err: Error, client: PoolClient, done: (release?: any) => void) => void): void;
on(event: 'error', listener: (err: Error, client: PoolClient) => void): this;
on(event: 'connect' | 'acquire' | 'remove', listener: (client: PoolClient) => void): this;
}
export const neonConfig: NeonConfig;

@@ -146,0 +157,0 @@

2

package.json
{
"name": "@neondatabase/serverless",
"version": "0.4.18",
"version": "0.4.19",
"author": "Neon",

@@ -5,0 +5,0 @@ "description": "node-postgres for serverless environments from neon.tech",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc