postgrejs 2.18.0 → 2.19.0
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 +15 -0
- package/cjs/package.json +3 -0
- package/package.json +18 -10
- package/types/index.d.cts +25 -0
- package/types/interfaces/query-options.d.ts +2 -2
- package/types/interfaces/query-result.d.ts +1 -1
- package/types/interfaces/script-execute-options.d.ts +1 -1
- package/types/interfaces/statement-prepare-options.d.ts +1 -1
- package/types/types.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# v2.19.0
|
|
2
|
+
[2024-08-20]
|
|
3
|
+
|
|
4
|
+
### Changes
|
|
5
|
+
|
|
6
|
+
* Fixed compatibility for "Node16" and "NodeNext" moduleResolution options ([`47b8fe6`](https://github.com/panates/postgrejs/commit/47b8fe6538c94494355956636733bfb12b6d8b3f))
|
|
7
|
+
* Fixed compatibility for "Node16" and "NodeNext" moduleResolution options ([`b507abd`](https://github.com/panates/postgrejs/commit/b507abd282b5dac3125b82c095c1f18f8136ee7a))
|
|
8
|
+
|
|
9
|
+
# v2.18.1
|
|
10
|
+
[2024-08-12]
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
* Applied publint to check package.json ([`8ce6bf1`](https://github.com/panates/postgrejs/commit/8ce6bf1e67a02bed513f1238e20a62895862bb5c))
|
|
15
|
+
|
|
1
16
|
# v2.18.0
|
|
2
17
|
[2024-08-12]
|
|
3
18
|
|
package/cjs/package.json
ADDED
package/package.json
CHANGED
|
@@ -1,29 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postgrejs",
|
|
3
3
|
"description": "Professional PostgreSQL client NodeJS",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.19.0",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"doublylinked": "^2.5.4",
|
|
9
|
-
"lightning-pool": "^4.
|
|
9
|
+
"lightning-pool": "^4.8.0",
|
|
10
10
|
"postgres-bytea": "^3.0.0",
|
|
11
|
-
"power-tasks": "^1.
|
|
11
|
+
"power-tasks": "^1.11.0",
|
|
12
12
|
"putil-merge": "^3.13.0",
|
|
13
13
|
"putil-promisify": "^1.10.1",
|
|
14
14
|
"putil-varhelpers": "^1.6.5",
|
|
15
15
|
"tslib": "^2.6.3"
|
|
16
16
|
},
|
|
17
|
-
"
|
|
18
|
-
"module": "./esm/index.js",
|
|
19
|
-
"types": "./types/index.d.ts",
|
|
17
|
+
"type": "module",
|
|
20
18
|
"exports": {
|
|
21
19
|
".": {
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
"import": {
|
|
21
|
+
"types": "./types/index.d.ts",
|
|
22
|
+
"default": "./esm/index.js"
|
|
23
|
+
},
|
|
24
|
+
"require": {
|
|
25
|
+
"types": "./types/index.d.cts",
|
|
26
|
+
"default": "./cjs/index.js"
|
|
27
|
+
},
|
|
28
|
+
"default": "./esm/index.js"
|
|
29
|
+
},
|
|
30
|
+
"./package.json": "./package.json"
|
|
26
31
|
},
|
|
32
|
+
"main": "./cjs/index.js",
|
|
33
|
+
"module": "./esm/index.js",
|
|
34
|
+
"types": "./types/index.d.ts",
|
|
27
35
|
"homepage": "https://postgrejs.panates.com/",
|
|
28
36
|
"contributors": [
|
|
29
37
|
"Eray Hanoglu <e.hanoglu@panates.com>"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export * from './connection/bind-param.js';
|
|
2
|
+
export * from './connection/connection.js';
|
|
3
|
+
export * from './connection/cursor.js';
|
|
4
|
+
export * from './connection/pool.js';
|
|
5
|
+
export * from './connection/prepared-statement.js';
|
|
6
|
+
export * from './constants.js';
|
|
7
|
+
export * from './data-type-map.js';
|
|
8
|
+
export * from './interfaces/command-result.js';
|
|
9
|
+
export * from './interfaces/data-mapping-options.js';
|
|
10
|
+
export * from './interfaces/data-type.js';
|
|
11
|
+
export * from './interfaces/database-connection-params.js';
|
|
12
|
+
export * from './interfaces/field-info.js';
|
|
13
|
+
export * from './interfaces/query-options.js';
|
|
14
|
+
export * from './interfaces/query-result.js';
|
|
15
|
+
export * from './interfaces/script-execute-options.js';
|
|
16
|
+
export * from './interfaces/script-result.js';
|
|
17
|
+
export * from './interfaces/statement-prepare-options.js';
|
|
18
|
+
export * from './protocol/database-error.js';
|
|
19
|
+
export * from './protocol/smart-buffer.js';
|
|
20
|
+
export * from './types.js';
|
|
21
|
+
export * from './util/connection-config.js';
|
|
22
|
+
export * from './util/escape-literal.js';
|
|
23
|
+
export * from './util/parse-datetime.js';
|
|
24
|
+
export * from './util/stringify-arrayliteral.js';
|
|
25
|
+
export * from './util/stringify-for-sql.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BindParam } from '../connection/bind-param';
|
|
1
|
+
import type { BindParam } from '../connection/bind-param.js';
|
|
2
2
|
import type { DataFormat } from '../constants.js';
|
|
3
|
-
import type { DataTypeMap } from '../data-type-map';
|
|
3
|
+
import type { DataTypeMap } from '../data-type-map.js';
|
|
4
4
|
import type { DataMappingOptions } from './data-mapping-options.js';
|
|
5
5
|
export interface QueryOptions extends DataMappingOptions {
|
|
6
6
|
/**
|
package/types/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DataMappingOptions } from './interfaces/data-mapping-options.js';
|
|
2
|
-
import type { SmartBuffer } from './protocol/smart-buffer';
|
|
2
|
+
import type { SmartBuffer } from './protocol/smart-buffer.js';
|
|
3
3
|
export type OID = number;
|
|
4
4
|
export type Maybe<T> = T | undefined;
|
|
5
5
|
export type Nullable<T> = T | null;
|