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

@contember/database

Package Overview
Dependencies
Maintainers
5
Versions
266
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/database - npm Package Compare versions

Comparing version 1.4.0-alpha.2 to 1.4.0-alpha.3

6

dist/src/client/errorCodes.d.ts

@@ -34,7 +34,5 @@ export declare enum ClientErrorCodes {

DATA_EXCEPTION = "22000",
ARRAY_ELEMENT_ERROR = "2202E",
ARRAY_SUBSCRIPT_ERROR = "2202E",
CHARACTER_NOT_IN_REPERTOIRE = "22021",
DATETIME_FIELD_OVERFLOW = "22008",
DATETIME_VALUE_OUT_OF_RANGE = "22008",
DIVISION_BY_ZERO = "22012",

@@ -174,7 +172,3 @@ ERROR_IN_ASSIGNMENT = "22005",

UNDEFINED_COLUMN = "42703",
UNDEFINED_CURSOR = "34000",
UNDEFINED_DATABASE = "3D000",
UNDEFINED_FUNCTION = "42883",
UNDEFINED_PSTATEMENT = "26000",
UNDEFINED_SCHEMA = "3F000",
UNDEFINED_TABLE = "42P01",

@@ -181,0 +175,0 @@ UNDEFINED_PARAMETER = "42P02",

@@ -38,7 +38,5 @@ "use strict";

ClientErrorCodes["DATA_EXCEPTION"] = "22000";
ClientErrorCodes["ARRAY_ELEMENT_ERROR"] = "2202E";
ClientErrorCodes["ARRAY_SUBSCRIPT_ERROR"] = "2202E";
ClientErrorCodes["CHARACTER_NOT_IN_REPERTOIRE"] = "22021";
ClientErrorCodes["DATETIME_FIELD_OVERFLOW"] = "22008";
ClientErrorCodes["DATETIME_VALUE_OUT_OF_RANGE"] = "22008";
ClientErrorCodes["DIVISION_BY_ZERO"] = "22012";

@@ -178,7 +176,3 @@ ClientErrorCodes["ERROR_IN_ASSIGNMENT"] = "22005";

ClientErrorCodes["UNDEFINED_COLUMN"] = "42703";
ClientErrorCodes["UNDEFINED_CURSOR"] = "34000";
ClientErrorCodes["UNDEFINED_DATABASE"] = "3D000";
ClientErrorCodes["UNDEFINED_FUNCTION"] = "42883";
ClientErrorCodes["UNDEFINED_PSTATEMENT"] = "26000";
ClientErrorCodes["UNDEFINED_SCHEMA"] = "3F000";
ClientErrorCodes["UNDEFINED_TABLE"] = "42P01";

@@ -185,0 +179,0 @@ ClientErrorCodes["UNDEFINED_PARAMETER"] = "42P02";

10

dist/src/client/Transaction.d.ts

@@ -9,2 +9,7 @@ import { Connection } from './Connection';

get isClosed(): boolean;
on: {
(event: "notification", listener: (message: Notification) => void): () => void;
(event: "end", listener: () => void): () => void;
(event: "error", listener: (error: any) => void): () => void;
};
constructor(connection: Connection.AcquiredConnectionLike, savepointManager?: SavepointState, state?: TransactionLikeState);

@@ -22,7 +27,2 @@ get eventManager(): EventManager;

private close;
on: {
(event: "notification", listener: (message: Notification) => void): () => void;
(event: "end", listener: () => void): () => void;
(event: "error", listener: (error: any) => void): () => void;
};
}

@@ -29,0 +29,0 @@ declare class TransactionLikeState {

{
"name": "@contember/database",
"version": "1.4.0-alpha.2",
"version": "1.4.0-alpha.3",
"license": "Apache-2.0",

@@ -15,8 +15,8 @@ "main": "dist/src/index.js",

"dependencies": {
"@contember/queryable": "1.4.0-alpha.2"
"@contember/queryable": "1.4.0-alpha.3"
},
"devDependencies": {
"@contember/database-tester": "1.4.0-alpha.2",
"@types/node": "^18",
"pg": "^8.9.0"
"@contember/database-tester": "1.4.0-alpha.3",
"@types/node": "^20.9.0",
"pg": "^8.11.3"
},

@@ -23,0 +23,0 @@ "peerDependencies": {

@@ -34,7 +34,5 @@ export enum ClientErrorCodes {

DATA_EXCEPTION = '22000',
ARRAY_ELEMENT_ERROR = '2202E',
ARRAY_SUBSCRIPT_ERROR = '2202E',
CHARACTER_NOT_IN_REPERTOIRE = '22021',
DATETIME_FIELD_OVERFLOW = '22008',
DATETIME_VALUE_OUT_OF_RANGE = '22008',
DIVISION_BY_ZERO = '22012',

@@ -174,7 +172,3 @@ ERROR_IN_ASSIGNMENT = '22005',

UNDEFINED_COLUMN = '42703',
UNDEFINED_CURSOR = '34000',
UNDEFINED_DATABASE = '3D000',
UNDEFINED_FUNCTION = '42883',
UNDEFINED_PSTATEMENT = '26000',
UNDEFINED_SCHEMA = '3F000',
UNDEFINED_TABLE = '42P01',

@@ -181,0 +175,0 @@ UNDEFINED_PARAMETER = '42P02',

@@ -11,2 +11,4 @@ import { Connection } from './Connection'

public on
constructor(

@@ -17,2 +19,3 @@ private readonly connection: Connection.AcquiredConnectionLike,

) {
this.on = this.connection.on.bind(this.connection)
}

@@ -67,5 +70,2 @@

}
on = this.connection.on.bind(this.connection)
}

@@ -75,2 +75,4 @@

public on
constructor(

@@ -82,2 +84,3 @@ public readonly savepointName: string,

) {
this.on = this.connection.on.bind(this.connection)
}

@@ -137,4 +140,2 @@

}
on = this.connection.on.bind(this.connection)
}

@@ -141,0 +142,0 @@

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

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