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

@mrnafisia/type-query

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mrnafisia/type-query - npm Package Compare versions

Comparing version 1.0.51 to 1.0.52

3

dist/pool.d.ts

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

import { PoolConfig } from 'pg';
import type { AddHook, Pool, RemoveHook } from './types/pool';
declare const addHook: AddHook;
declare const removeHook: RemoveHook;
declare const createPool: (connectionString: string) => Pool;
declare const createPool: (config: PoolConfig) => Pool;
export { createPool, addHook, removeHook };
//# sourceMappingURL=pool.d.ts.map

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

exports.removeHook = exports.addHook = exports.createPool = void 0;
var dictionary_1 = require("./dictionary");
var pg_1 = require("pg");
var dictionary_1 = require("./dictionary");
var submit = pg_1.Query.prototype.submit;

@@ -68,4 +68,4 @@ pg_1.Query.prototype.submit = function () {

exports.removeHook = removeHook;
var createPool = function (connectionString) {
var pool = new pg_1.Pool({ connectionString: connectionString });
var createPool = function (config) {
var pool = new pg_1.Pool(config);
return {

@@ -72,0 +72,0 @@ $: pool,

{
"name": "@mrnafisia/type-query",
"version": "1.0.51",
"version": "1.0.52",
"description": "mini-orm with full type support for postgres.",

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

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