node-firebird 2.3.2 → 2.3.4
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/README.md +163 -31
- package/lib/index.d.ts +12 -0
- package/lib/pool.js +10 -1
- package/lib/srp.js +12 -1
- package/lib/wire/connection.js +39 -7
- package/lib/wire/socket.js +13 -1
- package/lib/wire/xsqlvar.js +69 -6
- package/package.json +1 -1
- package/poc/node_modules/.package-lock.json +14 -0
- package/poc/node_modules/node-firebird/.eslintrc.json +12 -0
- package/poc/node_modules/node-firebird/.github/workflows/codeql.yml +76 -0
- package/poc/node_modules/node-firebird/.github/workflows/node.js.yml +95 -0
- package/poc/node_modules/node-firebird/BIGINT_MIGRATION.md +374 -0
- package/poc/node_modules/node-firebird/CI_DEBUGGING_GUIDE.md +148 -0
- package/poc/node_modules/node-firebird/ENCRYPTION_CALLBACK.md +152 -0
- package/poc/node_modules/node-firebird/FIREBIRD_LOG_FEATURE.md +145 -0
- package/poc/node_modules/node-firebird/LICENSE +373 -0
- package/poc/node_modules/node-firebird/MINIMAL_CHANGES_SUMMARY.md +136 -0
- package/poc/node_modules/node-firebird/PR_SUMMARY.md +96 -0
- package/poc/node_modules/node-firebird/README.md +794 -0
- package/poc/node_modules/node-firebird/ROADMAP.md +223 -0
- package/poc/node_modules/node-firebird/SRP_PROTOCOL.md +482 -0
- package/poc/node_modules/node-firebird/lib/callback.js +38 -0
- package/poc/node_modules/node-firebird/lib/firebird.msg +0 -0
- package/poc/node_modules/node-firebird/lib/firebird.msg.json +1371 -0
- package/poc/node_modules/node-firebird/lib/gdscodes.d.ts +1524 -0
- package/poc/node_modules/node-firebird/lib/gdscodes.js +1531 -0
- package/poc/node_modules/node-firebird/lib/ieee754-decimal.js +500 -0
- package/poc/node_modules/node-firebird/lib/index.d.ts +316 -0
- package/poc/node_modules/node-firebird/lib/index.js +128 -0
- package/poc/node_modules/node-firebird/lib/messages.js +162 -0
- package/poc/node_modules/node-firebird/lib/pool.js +108 -0
- package/poc/node_modules/node-firebird/lib/srp.js +299 -0
- package/poc/node_modules/node-firebird/lib/unix-crypt.js +343 -0
- package/poc/node_modules/node-firebird/lib/utils.js +164 -0
- package/poc/node_modules/node-firebird/lib/wire/connection.js +2510 -0
- package/poc/node_modules/node-firebird/lib/wire/const.js +807 -0
- package/poc/node_modules/node-firebird/lib/wire/database.js +378 -0
- package/poc/node_modules/node-firebird/lib/wire/eventConnection.js +118 -0
- package/poc/node_modules/node-firebird/lib/wire/fbEventManager.js +326 -0
- package/poc/node_modules/node-firebird/lib/wire/serialize.js +588 -0
- package/poc/node_modules/node-firebird/lib/wire/service.js +1058 -0
- package/poc/node_modules/node-firebird/lib/wire/socket.js +175 -0
- package/poc/node_modules/node-firebird/lib/wire/statement.js +48 -0
- package/poc/node_modules/node-firebird/lib/wire/transaction.js +206 -0
- package/poc/node_modules/node-firebird/lib/wire/xsqlvar.js +703 -0
- package/poc/node_modules/node-firebird/package.json +38 -0
- package/poc/node_modules/node-firebird/vitest.config.js +24 -0
- package/vitest.config.js +3 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "node-firebird",
|
|
3
|
+
"version": "2.3.1",
|
|
4
|
+
"description": "Pure JavaScript and Asynchronous Firebird client for Node.js.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"firebird",
|
|
7
|
+
"database",
|
|
8
|
+
"rdbms",
|
|
9
|
+
"sql"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://github.com/hgourvest/node-firebird",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/hgourvest/node-firebird.git"
|
|
15
|
+
},
|
|
16
|
+
"author": {
|
|
17
|
+
"name": "Henri Gourvest",
|
|
18
|
+
"email": "hgourvest@gmail.com"
|
|
19
|
+
},
|
|
20
|
+
"contributors": [
|
|
21
|
+
"Popa Marius Adrian <mapopa@gmail.com>",
|
|
22
|
+
"Peter Širka <petersirka@gmail.com>"
|
|
23
|
+
],
|
|
24
|
+
"main": "./lib",
|
|
25
|
+
"types": "./lib/index.d.ts",
|
|
26
|
+
"license": "MPL-2.0",
|
|
27
|
+
"scripts": {
|
|
28
|
+
"test": "vitest run",
|
|
29
|
+
"lint": "oxlint"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"coveralls-next": "^6.0.1",
|
|
35
|
+
"oxlint": "^0.15.11",
|
|
36
|
+
"vitest": "^4.0.18"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const { defineConfig } = require('vitest/config');
|
|
2
|
+
|
|
3
|
+
module.exports = defineConfig({
|
|
4
|
+
test: {
|
|
5
|
+
globals: true,
|
|
6
|
+
testTimeout: 10000,
|
|
7
|
+
hookTimeout: 30000,
|
|
8
|
+
fileParallelism: false,
|
|
9
|
+
maxWorkers: 1,
|
|
10
|
+
isolate: false,
|
|
11
|
+
include: [
|
|
12
|
+
'test/arc4.js',
|
|
13
|
+
'test/protocol.js',
|
|
14
|
+
'test/srp.js',
|
|
15
|
+
'test/service.js',
|
|
16
|
+
'test/utf8-user-identification.js',
|
|
17
|
+
'test/index.js',
|
|
18
|
+
'test/db-crypt-config.js',
|
|
19
|
+
'test/timezone.js',
|
|
20
|
+
'test/decfloat.js',
|
|
21
|
+
'test/mock-server.js'
|
|
22
|
+
],
|
|
23
|
+
},
|
|
24
|
+
});
|
package/vitest.config.js
CHANGED
|
@@ -16,10 +16,12 @@ module.exports = defineConfig({
|
|
|
16
16
|
'test/utf8-user-identification.js',
|
|
17
17
|
'test/index.js',
|
|
18
18
|
'test/db-crypt-config.js',
|
|
19
|
+
'test/encoding.js',
|
|
19
20
|
'test/timezone.js',
|
|
20
21
|
'test/decfloat.js',
|
|
21
22
|
'test/mock-server.js',
|
|
22
|
-
'test/pool-fixes.js'
|
|
23
|
+
'test/pool-fixes.js',
|
|
24
|
+
'test/blob-chunks.js'
|
|
23
25
|
],
|
|
24
26
|
},
|
|
25
27
|
});
|