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

@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 40.2.2 to 40.2.4

dist/types.d.ts

8

dist/index.d.ts

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

/// <reference types="node" />
export type PrimitiveValueExpression = Buffer | bigint | boolean | number | string | readonly PrimitiveValueExpression[] | null;
export type Query = {
readonly sql: string;
readonly values: readonly PrimitiveValueExpression[];
};
export type QueryResultRow = Record<string, PrimitiveValueExpression>;
export * 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
{
"access": "public",
"author": {

@@ -19,7 +18,2 @@ "email": "gajus@gajus.com",

},
"dependencies": {
"roarr": "^7.21.1",
"safe-stable-stringify": "^2.4.3",
"serialize-error": "^8.0.0"
},
"description": "A Node.js PostgreSQL client with strict types, detailed logging and assertions.",

@@ -34,4 +28,3 @@ "devDependencies": {

"ts-node": "^10.9.1",
"typescript": "^5.4.3",
"zod": "^3.22.4"
"typescript": "^5.4.3"
},

@@ -56,4 +49,2 @@ "engines": {

"exclude": [
"src/bin",
"src/queries/*.ts",
"**/*.d.ts"

@@ -90,3 +81,3 @@ ],

"types": "./dist/index.d.ts",
"version": "40.2.2"
"version": "40.2.4"
}

@@ -1,15 +0,1 @@

export type PrimitiveValueExpression =
| Buffer
| bigint
| boolean
| number
| string
| readonly PrimitiveValueExpression[]
| null;
export type Query = {
readonly sql: string;
readonly values: readonly PrimitiveValueExpression[];
};
export type QueryResultRow = Record<string, PrimitiveValueExpression>;
export * from './types';

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