🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

kysely

Package Overview
Dependencies
Maintainers
2
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kysely - npm Package Compare versions

Comparing version
0.29.3
to
0.29.4
+5
-1
dist/dialect/postgres/postgres-driver.js

@@ -180,3 +180,7 @@ /// <reference types="./postgres-driver.d.ts" />

}
const controlClient = new Client({ ...poolOptions });
const controlClient = new Client({
...poolOptions,
// `password` is not enumerable, so we have to explicitly set it after the spread.
password: 'password' in poolOptions ? poolOptions.password : undefined,
});
try {

@@ -183,0 +187,0 @@ await controlClient.connect();

+2
-2

@@ -58,6 +58,6 @@ import type { QueryCompiler } from '../query-compiler/query-compiler.js';

}
export declare const TRANSACTION_ACCESS_MODES: readonly ["read only", "read write"];
export declare const TRANSACTION_ACCESS_MODES: readonly ['read only', 'read write'];
export type AccessMode = ArrayItemType<typeof TRANSACTION_ACCESS_MODES>;
export declare const TRANSACTION_ISOLATION_LEVELS: readonly ["read uncommitted", "read committed", "repeatable read", "serializable", "snapshot"];
export declare const TRANSACTION_ISOLATION_LEVELS: readonly ['read uncommitted', 'read committed', 'repeatable read', 'serializable', 'snapshot'];
export type IsolationLevel = ArrayItemType<typeof TRANSACTION_ISOLATION_LEVELS>;
export declare function validateTransactionSettings(settings: TransactionSettings): void;

@@ -6,5 +6,5 @@ export type StringMapper = (str: string) => string;

export declare function createSnakeCaseMapper({ upperCase, underscoreBeforeDigits, underscoreBetweenUppercaseLetters, }?: {
upperCase?: boolean | undefined;
underscoreBeforeDigits?: boolean | undefined;
underscoreBetweenUppercaseLetters?: boolean | undefined;
upperCase?: boolean | undefined;
}): StringMapper;

@@ -11,0 +11,0 @@ /**

@@ -257,2 +257,6 @@ /// <reference types="./default-query-compiler.d.ts" />

}
if (node.returning) {
this.append(' ');
this.visitNode(node.returning);
}
if (node.orderBy) {

@@ -266,6 +270,2 @@ this.append(' ');

}
if (node.returning) {
this.append(' ');
this.visitNode(node.returning);
}
if (wrapInParens) {

@@ -272,0 +272,0 @@ this.append(')');

import type { CompiledQuery } from '../query-compiler/compiled-query.js';
import type { ArrayItemType } from './type-utils.js';
declare const logLevels: readonly ["query", "error"];
declare const logLevels: readonly ['query', 'error'];
export declare const LOG_LEVELS: Readonly<typeof logLevels>;

@@ -5,0 +5,0 @@ export type LogLevel = ArrayItemType<typeof LOG_LEVELS>;

@@ -122,3 +122,3 @@ import type { DeleteResult } from '../query-builder/delete-result.js';

*/
export type Equals<T, U> = (<G>() => G extends T ? 1 : 2) extends <G>() => G extends U ? 1 : 2 ? true : false;
export type Equals<T, U> = (<G>() => G extends T ? 1 : 2) extends <G>() => (G extends U ? 1 : 2) ? true : false;
export type NarrowPartial<O, T> = T extends object ? DrainOuterGeneric<{

@@ -125,0 +125,0 @@ [K in keyof O & string]: K extends keyof T ? T[K] extends NotNull ? Exclude<O[K], null> : T[K] extends O[K] ? T[K] : T[K] extends object ? SimplifyDeep<O[K] & NarrowPartial<O[K], T[K]>> : KyselyTypeError<`$narrowType() call failed: passed type does not exist in '${K}'s type union`> : O[K];

{
"name": "kysely",
"version": "0.29.3",
"version": "0.29.4",
"description": "Type safe SQL query builder",

@@ -64,5 +64,4 @@ "repository": {

"devDependencies": {
"@arethetypeswrong/cli": "0.18.4",
"@ark/attest": "0.56.2",
"@electric-sql/pglite": "0.5.3",
"@arethetypeswrong/cli": "0.18.5",
"@electric-sql/pglite": "0.5.4",
"@types/better-sqlite3": "7.6.13",

@@ -72,3 +71,3 @@ "@types/chai": "5.2.3",

"@types/mocha": "10.0.10",
"@types/node": "26.1.0",
"@types/node": "26.1.1",
"@types/pg": "8.20.0",

@@ -85,3 +84,3 @@ "@types/pg-cursor": "2.7.2",

"mocha": "11.7.6",
"mysql2": "3.22.5",
"mysql2": "3.23.0",
"pathe": "2.0.3",

@@ -91,3 +90,3 @@ "pg": "8.22.0",

"playwright": "1.61.1",
"prettier": "3.9.4",
"prettier": "3.9.5",
"prototype-pollution-vulnerable-lodash.merge-dont-upgrade": "npm:lodash.merge@4.6.1",

@@ -97,8 +96,9 @@ "remeda": "2.39.0",

"sinon": "22.0.0",
"std-env": "4.1.0",
"tarn": "3.1.0",
"std-env": "4.2.0",
"tarn": "3.1.2",
"tedious": "20.0.0",
"tsd": "0.33.0",
"tsx": "4.22.4",
"typescript": "6.0.3"
"tsx": "4.23.1",
"typescript": "7.0.2",
"typescript-6": "npm:typescript@6.0.3"
},

@@ -105,0 +105,0 @@ "scripts": {

[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://stand-with-ukraine.pp.ua)
[![NPM Version](https://img.shields.io/npm/v/kysely?style=flat&label=latest)](https://github.com/kysely-org/kysely/releases/latest)
[![Socket Badge](https://badge.socket.dev/npm/package/kysely/0.29.3)](https://socket.dev/npm/package/kysely/overview/0.29.3)
[![Socket Badge](https://badge.socket.dev/npm/package/kysely/0.29.4)](https://socket.dev/npm/package/kysely/overview/0.29.4)
[![Tests](https://github.com/kysely-org/kysely/actions/workflows/test.yml/badge.svg)](https://github.com/kysely-org/kysely)

@@ -6,0 +6,0 @@ [![License](https://img.shields.io/github/license/kysely-org/kysely?style=flat)](https://github.com/kysely-org/kysely/blob/master/LICENSE)