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

drizzle-orm-pg

Package Overview
Dependencies
Maintainers
3
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drizzle-orm-pg - npm Package Compare versions

Comparing version 0.12.0-beta.6 to 0.12.0-beta.7

7

columns/bigint.d.ts

@@ -17,6 +17,7 @@ import { ColumnData, ColumnDriverParam, ColumnHasDefault, ColumnNotNull, TableName } from 'drizzle-orm/branded-types';

}
interface PgBigIntConfig {
mode: 'number' | 'bigint';
interface PgBigIntConfig<T extends 'number' | 'bigint'> {
mode: T;
}
export declare function bigint(name: string, config: PgBigIntConfig): PgBigInt53Builder<ColumnNotNull<false>, ColumnHasDefault<false>> | PgBigInt64Builder<ColumnNotNull<false>, ColumnHasDefault<false>>;
export declare function bigint(name: string, mode: PgBigIntConfig<'number'>): PgBigInt53Builder;
export declare function bigint(name: string, mode: PgBigIntConfig<'bigint'>): PgBigInt64Builder;
export {};

@@ -46,4 +46,4 @@ "use strict";

exports.PgBigInt64 = PgBigInt64;
function bigint(name, config) {
if (config.mode === 'number') {
function bigint(name, mode) {
if (mode === 'number') {
return new PgBigInt53Builder(name);

@@ -50,0 +50,0 @@ }

{
"name": "drizzle-orm-pg",
"version": "0.12.0-beta.6",
"version": "0.12.0-beta.7",
"description": "Drizzle ORM package for PostgreSQL database",

@@ -5,0 +5,0 @@ "main": "index.js",

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