Comparing version 37.4.0 to 37.4.1
import { type PrimitiveValueExpression, type Query, type QueryResultRow } from './types'; | ||
import ExtendableError from 'es6-error'; | ||
import { type ZodIssue } from 'zod'; | ||
export declare class SlonikError extends ExtendableError { | ||
export declare class SlonikError extends Error { | ||
readonly message: string; | ||
@@ -6,0 +5,0 @@ readonly cause?: Error; |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CheckIntegrityConstraintViolationError = exports.UniqueIntegrityConstraintViolationError = exports.ForeignKeyIntegrityConstraintViolationError = exports.NotNullIntegrityConstraintViolationError = exports.IntegrityConstraintViolationError = exports.SchemaValidationError = exports.DataIntegrityError = exports.NotFoundError = exports.TupleMovedToAnotherPartitionError = exports.BackendTerminatedError = exports.BackendTerminatedUnexpectedlyError = exports.StatementTimeoutError = exports.StatementCancelledError = exports.ConnectionError = exports.UnexpectedStateError = exports.InputSyntaxError = exports.InvalidInputError = exports.InvalidConfigurationError = exports.SlonikError = void 0; | ||
const es6_error_1 = __importDefault(require("es6-error")); | ||
class SlonikError extends es6_error_1.default { | ||
class SlonikError extends Error { | ||
constructor(message, options) { | ||
@@ -10,0 +6,0 @@ super(message); |
@@ -9,3 +9,2 @@ { | ||
"@types/pg": "^8.10.7", | ||
"es6-error": "^4.1.1", | ||
"get-stack-trace": "^3.1.1", | ||
@@ -18,3 +17,3 @@ "iso8601-duration": "^1.3.0", | ||
"postgres-array": "^3.0.2", | ||
"postgres-interval": "^4.0.1", | ||
"postgres-interval": "^4.0.2", | ||
"roarr": "^7.21.1", | ||
@@ -39,6 +38,6 @@ "safe-stable-stringify": "^2.4.3", | ||
"husky": "^9.0.11", | ||
"knip": "^5.2.2", | ||
"knip": "^5.5.0", | ||
"nyc": "^15.1.0", | ||
"pg-native": "^3.0.1", | ||
"postgres": "^3.4.0", | ||
"postgres": "^3.4.4", | ||
"postgres-bridge": "^1.14.0", | ||
@@ -98,3 +97,3 @@ "semantic-release": "^23.0.5", | ||
"lint:cspell": "cspell . --no-progress --gitignore", | ||
"lint:eslint": "eslint --cache ./src ./test", | ||
"lint:eslint": "eslint --cache ./src", | ||
"lint:knip": "knip", | ||
@@ -105,3 +104,3 @@ "lint:tsc": "tsc --noEmit", | ||
"types": "./dist/index.d.ts", | ||
"version": "37.4.0" | ||
"version": "37.4.1" | ||
} |
@@ -6,6 +6,5 @@ import { | ||
} from './types'; | ||
import ExtendableError from 'es6-error'; | ||
import { type ZodIssue } from 'zod'; | ||
export class SlonikError extends ExtendableError { | ||
export class SlonikError extends Error { | ||
public readonly message: string; | ||
@@ -12,0 +11,0 @@ |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
961625
13
594
16873
1
- Removedes6-error@^4.1.1
- Removedes6-error@4.1.1(transitive)
Updatedpostgres-interval@^4.0.2