postgrejs 2.23.0 → 2.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -1
- package/data-type-map.d.ts +2 -2
- package/data-types/int2-vector-type.js +1 -0
- package/data-types/timestamptz-type.d.ts +1 -1
- package/data-types/timestamptz-type.js +1 -0
- package/package.json +2 -2
- package/protocol/database-error.js +1 -0
- package/protocol/frontend.js +1 -0
- package/protocol/pg-socket.d.ts +1 -1
- package/util/bigint-methods.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
## Changelog
|
|
2
2
|
|
|
3
|
-
### [v2.23.
|
|
3
|
+
### [v2.23.1](https://github.com/panates/postgrejs/compare/v2.23.0...v2.23.1) -
|
|
4
|
+
|
|
5
|
+
#### 💬 General Changes
|
|
6
|
+
|
|
7
|
+
- dev: Updated dependencies and switched to `import type` for cleaner type imports @Eray Hanoğlu
|
|
8
|
+
- dev: Minor lint issue @Eray Hanoğlu
|
|
9
|
+
- dev: Updated action/chechout version @Eray Hanoğlu
|
|
10
|
+
- dev: Minor lint issue @Eray Hanoğlu
|
|
11
|
+
- dev: Set min node test version to 20 @Eray Hanoğlu
|
|
12
|
+
|
|
13
|
+
### [v2.23.0](https://github.com/panates/postgrejs/compare/v2.22.9...v2.23.0) - 3 April 2026
|
|
4
14
|
|
|
5
15
|
#### 🛠 Refactoring and Updates
|
|
6
16
|
|
package/data-type-map.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DataType } from './interfaces/data-type.js';
|
|
2
|
-
import { OID } from './types.js';
|
|
1
|
+
import type { DataType } from './interfaces/data-type.js';
|
|
2
|
+
import type { OID } from './types.js';
|
|
3
3
|
export declare class DataTypeMap {
|
|
4
4
|
private _itemsByOID;
|
|
5
5
|
private _items;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DataTypeOIDs } from '../constants.js';
|
|
2
|
+
import { SmartBuffer } from '../protocol/smart-buffer.js';
|
|
2
3
|
import { decodeBinaryArray } from '../util/decode-binaryarray.js';
|
|
3
4
|
import { encodeBinaryArray } from '../util/encode-binaryarray.js';
|
|
4
5
|
import { fastParseInt } from '../util/fast-parseint.js';
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postgrejs",
|
|
3
3
|
"description": "Professional PostgreSQL client NodeJS",
|
|
4
|
-
"version": "2.23.
|
|
4
|
+
"version": "2.23.1",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jsopen/objects": "^2.2.
|
|
8
|
+
"@jsopen/objects": "^2.2.3",
|
|
9
9
|
"doublylinked": "^2.5.6",
|
|
10
10
|
"lightning-pool": "^4.12.0",
|
|
11
11
|
"postgres-bytea": "^3.0.0",
|
package/protocol/frontend.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DEFAULT_COLUMN_FORMAT } from '../constants.js';
|
|
2
|
+
import { DataTypeMap } from '../data-type-map.js';
|
|
2
3
|
import { encodeBinaryArray } from '../util/encode-binaryarray.js';
|
|
3
4
|
import { stringifyArrayLiteral } from '../util/stringify-arrayliteral.js';
|
|
4
5
|
import { Protocol } from './protocol.js';
|
package/protocol/pg-socket.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConnectionState } from '../constants.js';
|
|
2
2
|
import type { ConnectionConfiguration } from '../interfaces/database-connection-params.js';
|
|
3
3
|
import { SafeEventEmitter } from '../safe-event-emitter.js';
|
|
4
|
-
import { Callback, Maybe } from '../types.js';
|
|
4
|
+
import type { Callback, Maybe } from '../types.js';
|
|
5
5
|
import { Frontend } from './frontend.js';
|
|
6
6
|
import { Protocol } from './protocol.js';
|
|
7
7
|
export type CaptureCallback = (code: Protocol.BackendMessageCode, msg: any, done: (err: Maybe<Error>, result?: any) => void) => void | Promise<void>;
|
package/util/bigint-methods.js
CHANGED