Socket
Socket
Sign inDemoInstall

@vercel/postgres-kysely

Package Overview
Dependencies
Maintainers
9
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vercel/postgres-kysely - npm Package Compare versions

Comparing version 0.5.1 to 0.6.0

4

dist/index.d.ts

@@ -1,6 +0,6 @@

import { Kysely } from 'kysely';
import { KyselyConfig, Kysely } from 'kysely';
import { VercelPostgresPoolConfig } from '@vercel/postgres';
declare function createKysely<T>(config?: VercelPostgresPoolConfig): Kysely<T>;
declare function createKysely<T>(poolConfig?: VercelPostgresPoolConfig, kyselyConfig?: Partial<KyselyConfig>): Kysely<T>;
export { createKysely };

@@ -64,7 +64,8 @@ // src/index.ts

};
function createKysely(config) {
function createKysely(poolConfig, kyselyConfig) {
return new Kysely({
...kyselyConfig,
dialect: new VercelPostgresDialect({
...config,
pool: createPool(config)
...poolConfig,
pool: createPool(poolConfig)
})

@@ -71,0 +72,0 @@ });

{
"name": "@vercel/postgres-kysely",
"version": "0.5.1",
"version": "0.6.0",
"description": "An @vercel/postgres wrapper for the kysely ORM",

@@ -5,0 +5,0 @@ "homepage": "https://vercel.com",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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