@slonik/types
Advanced tools
Comparing version 40.2.2 to 40.2.4
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5532
1
8
17
69
- Removedroarr@^7.21.1
- Removedsafe-stable-stringify@^2.4.3
- Removedserialize-error@^8.0.0
- Removedboolean@3.2.0(transitive)
- Removedfast-printf@1.6.9(transitive)
- Removedroarr@7.21.1(transitive)
- Removedsafe-stable-stringify@2.5.0(transitive)
- Removedsemver-compare@1.0.0(transitive)
- Removedserialize-error@8.1.0(transitive)
- Removedtype-fest@0.20.2(transitive)