Socket
Socket
Sign inDemoInstall

@slonik/types

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slonik/types - npm Package Compare versions

Comparing version 43.0.5 to 43.0.6

2

dist/index.d.ts

@@ -1,2 +0,2 @@

export * from './types';
export { type ConnectionOptions, type Field, type PrimitiveValueExpression, type Query, type QueryResultRow, type SerializableValue, } from './types';
//# sourceMappingURL=index.d.ts.map
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./types"), exports);
//# sourceMappingURL=index.js.map

@@ -11,2 +11,19 @@ /// <reference types="node" />

} | null | undefined;
/**
* @see https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS
*/
export type ConnectionOptions = {
applicationName?: string;
databaseName?: string;
host?: string;
options?: string;
password?: string;
port?: number;
sslMode?: 'disable' | 'no-verify' | 'require';
username?: string;
};
export type Field = {
readonly dataTypeId: number;
readonly name: string;
};
//# sourceMappingURL=types.d.ts.map

@@ -43,2 +43,8 @@ {

"main": "./dist/index.js",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"name": "@slonik/types",

@@ -79,3 +85,3 @@ "nyc": {

"types": "./dist/index.d.ts",
"version": "43.0.5"
"version": "43.0.6"
}
# Slonik Types
Slonik type primitives.

@@ -1,1 +0,8 @@

export * from './types';
export {
type ConnectionOptions,
type Field,
type PrimitiveValueExpression,
type Query,
type QueryResultRow,
type SerializableValue,
} from './types';

@@ -28,1 +28,20 @@ export type PrimitiveValueExpression =

| undefined;
/**
* @see https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS
*/
export type ConnectionOptions = {
applicationName?: string;
databaseName?: string;
host?: string;
options?: string;
password?: string;
port?: number;
sslMode?: 'disable' | 'no-verify' | 'require';
username?: string;
};
export type Field = {
readonly dataTypeId: number;
readonly name: string;
};

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