oracledb 6.10.0 → 7.0.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/LICENSE.txt +1 -1
- package/NOTICE.txt +1 -1
- package/README.md +9 -9
- package/build/Release/oracledb-7.0.0-darwin-arm64.node +0 -0
- package/build/Release/oracledb-7.0.0-darwin-arm64.node-buildinfo.txt +1 -0
- package/build/Release/oracledb-7.0.0-js-buildinfo.txt +1 -0
- package/build/Release/oracledb-7.0.0-linux-arm64.node +0 -0
- package/build/Release/oracledb-7.0.0-linux-arm64.node-buildinfo.txt +1 -0
- package/build/Release/oracledb-7.0.0-linux-x64.node +0 -0
- package/build/Release/oracledb-7.0.0-linux-x64.node-buildinfo.txt +1 -0
- package/build/Release/oracledb-7.0.0-win32-x64.node +0 -0
- package/build/Release/oracledb-7.0.0-win32-x64.node-buildinfo.txt +1 -0
- package/eslint.config.js +39 -0
- package/lib/connection.js +412 -37
- package/lib/endUserSecurityContext.js +176 -0
- package/lib/errors.js +86 -5
- package/lib/impl/connection.js +76 -2
- package/lib/impl/datahandlers/buffer.js +19 -5
- package/lib/impl/datahandlers/vector.js +25 -5
- package/lib/impl/lob.js +9 -0
- package/lib/impl/parserHelpers.js +443 -0
- package/lib/impl/resultset.js +1 -1
- package/lib/lob.js +27 -14
- package/lib/obfuscation.js +97 -0
- package/lib/oracledb.js +148 -43
- package/lib/parser.js +204 -0
- package/lib/pipeline.js +113 -0
- package/lib/pool.js +16 -1
- package/lib/resultset.js +42 -21
- package/lib/settings.js +1 -0
- package/lib/thin/connection.js +467 -53
- package/lib/thin/dbObject.js +7 -1
- package/lib/thin/lob.js +20 -1
- package/lib/thin/pool.js +42 -62
- package/lib/thin/protocol/capabilities.js +18 -3
- package/lib/thin/protocol/constants.js +82 -2
- package/lib/thin/protocol/encryptDecrypt.js +43 -8
- package/lib/thin/protocol/messages/auth.js +6 -1
- package/lib/thin/protocol/messages/base.js +245 -4
- package/lib/thin/protocol/messages/dataType.js +8 -3
- package/lib/thin/protocol/messages/directPathLoadStream.js +377 -0
- package/lib/thin/protocol/messages/directPathOp.js +65 -0
- package/lib/thin/protocol/messages/directPathPrepare.js +158 -0
- package/lib/thin/protocol/messages/endPipeline.js +56 -0
- package/lib/thin/protocol/messages/execute.js +9 -7
- package/lib/thin/protocol/messages/index.js +9 -1
- package/lib/thin/protocol/messages/protocol.js +2 -2
- package/lib/thin/protocol/messages/withData.js +8 -140
- package/lib/thin/protocol/packet.js +115 -24
- package/lib/thin/protocol/protocol.js +110 -25
- package/lib/thin/protocol/utils.js +1 -26
- package/lib/thin/resultSet.js +13 -19
- package/lib/thin/sqlnet/ezConnectResolver.js +2 -2
- package/lib/thin/sqlnet/networkSession.js +62 -40
- package/lib/thin/sqlnet/ntTcp.js +24 -0
- package/lib/thin/sqlnet/nvStrToNvPair.js +50 -25
- package/lib/thin/sqlnet/packet.js +25 -4
- package/lib/thin/sqlnet/paramParser.js +10 -7
- package/lib/thin/statementCache.js +2 -4
- package/lib/traceHandler.js +59 -2
- package/lib/transformer.js +8 -3
- package/lib/types.js +35 -21
- package/lib/util.js +6 -6
- package/lib/version.js +3 -3
- package/package/install.js +5 -5
- package/package/prunebinaries.js +1 -1
- package/package.json +1 -1
- package/plugins/configProviders/awsCommon.js +125 -0
- package/plugins/configProviders/awss3/index.js +138 -0
- package/plugins/configProviders/awssecretsmanager/index.js +147 -0
- package/plugins/configProviders/azure/index.js +4 -5
- package/plugins/token/extensionAzure/index.js +0 -1
- package/plugins/token/extensionOci/index.js +0 -1
- package/build/Release/oracledb-6.10.0-darwin-arm64.node +0 -0
- package/build/Release/oracledb-6.10.0-darwin-arm64.node-buildinfo.txt +0 -1
- package/build/Release/oracledb-6.10.0-darwin-x64.node +0 -0
- package/build/Release/oracledb-6.10.0-darwin-x64.node-buildinfo.txt +0 -1
- package/build/Release/oracledb-6.10.0-js-buildinfo.txt +0 -1
- package/build/Release/oracledb-6.10.0-linux-arm64.node +0 -0
- package/build/Release/oracledb-6.10.0-linux-arm64.node-buildinfo.txt +0 -1
- package/build/Release/oracledb-6.10.0-linux-x64.node +0 -0
- package/build/Release/oracledb-6.10.0-linux-x64.node-buildinfo.txt +0 -1
- package/build/Release/oracledb-6.10.0-win32-x64.node +0 -0
- package/build/Release/oracledb-6.10.0-win32-x64.node-buildinfo.txt +0 -1
package/LICENSE.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright (c) 2015,
|
|
1
|
+
Copyright (c) 2015, 2026, Oracle and/or its affiliates.
|
|
2
2
|
|
|
3
3
|
This software is dual-licensed to you under the Universal Permissive License
|
|
4
4
|
(UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl and Apache License
|
package/NOTICE.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2015,
|
|
1
|
+
Copyright (c) 2015, 2026, Oracle and/or its affiliates.
|
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# node-oracledb version
|
|
1
|
+
# node-oracledb version 7.0.0 <img src="https://img.shields.io/npm/v/oracledb.svg" alt="oracledb"/> <img src="https://img.shields.io/npm/dm/oracledb.svg" alt="oracledb"/>
|
|
2
2
|
|
|
3
3
|
The node-oracledb add-on for Node.js powers high performance Oracle Database
|
|
4
4
|
applications. Applications can be written in TypeScript, or directly in
|
|
5
5
|
JavaScript.
|
|
6
6
|
|
|
7
|
-
Use node-oracledb
|
|
7
|
+
Use node-oracledb 7.0.0 to connect Node.js 14.17, or later, to Oracle
|
|
8
8
|
Database. Older versions of node-oracledb may work with older versions of
|
|
9
9
|
Node.js.
|
|
10
10
|
|
|
@@ -39,17 +39,17 @@ See [Getting Started with Node-oracledb][1] and [Quick Start Node-oracledb Insta
|
|
|
39
39
|
**Thick mode**: Some advanced Oracle Database functionality is currently only
|
|
40
40
|
available when optional Oracle Client libraries are loaded by
|
|
41
41
|
node-oracledb. Libraries are available in the free [Oracle Instant
|
|
42
|
-
Client][15] packages. Node-oracledb can use Oracle Client
|
|
43
|
-
|
|
42
|
+
Client][15] packages. Node-oracledb can use Oracle Client libraries version
|
|
43
|
+
19 and later.
|
|
44
44
|
|
|
45
45
|
- Oracle Database
|
|
46
46
|
|
|
47
47
|
**Thin mode**: Oracle Database 12.1 (or later) is required.
|
|
48
48
|
|
|
49
|
-
**Thick mode**: Oracle Database
|
|
49
|
+
**Thick mode**: Oracle Database 11.2 (or later) is required, depending on the
|
|
50
50
|
Oracle Client library version. Oracle Database's standard client-server
|
|
51
51
|
version interoperability allows connection to both older and newer
|
|
52
|
-
databases. For example when node-oracledb uses Oracle Client 19c libraries,
|
|
52
|
+
databases. For example, when node-oracledb uses Oracle Client 19c libraries,
|
|
53
53
|
then it can connect to Oracle Database 11.2 or later.
|
|
54
54
|
|
|
55
55
|
## Documentation
|
|
@@ -63,8 +63,8 @@ See the [examples][7] directory. Start with [examples/example.js][8].
|
|
|
63
63
|
|
|
64
64
|
## Help
|
|
65
65
|
|
|
66
|
-
Questions
|
|
67
|
-
to join Slack][6]).
|
|
66
|
+
Questions and issues with node-oracledb can be posted on [GitHub][3] or
|
|
67
|
+
[Slack][5] ([link to join Slack][6]).
|
|
68
68
|
|
|
69
69
|
## <a name="testing"></a> Tests
|
|
70
70
|
|
|
@@ -82,7 +82,7 @@ vulnerability disclosure process.
|
|
|
82
82
|
|
|
83
83
|
## License
|
|
84
84
|
|
|
85
|
-
Copyright (c) 2015,
|
|
85
|
+
Copyright (c) 2015, 2026, Oracle and/or its affiliates.
|
|
86
86
|
|
|
87
87
|
This software is dual-licensed to you under the Universal Permissive License
|
|
88
88
|
(UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl and Apache License
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
oracledb-7.0.0-darwin-arm64.node v22.21.1 a0e6dd3908c245d3028bf517073d8a3cdd951289 e840c29ef17fa01d5eef018822af925154a5dd92 Fri, 15 May 2026 13:04:26 GMT
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
a0e6dd3908c245d3028bf517073d8a3cdd951289
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
oracledb-7.0.0-linux-arm64.node v22.22.2 a0e6dd3908c245d3028bf517073d8a3cdd951289 e840c29ef17fa01d5eef018822af925154a5dd92 Fri, 15 May 2026 13:48:55 GMT
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
oracledb-7.0.0-linux-x64.node v22.19.0 a0e6dd3908c245d3028bf517073d8a3cdd951289 e840c29ef17fa01d5eef018822af925154a5dd92 Fri, 15 May 2026 13:45:53 GMT
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
oracledb-7.0.0-win32-x64.node v22.17.1 a0e6dd3908c245d3028bf517073d8a3cdd951289 e840c29ef17fa01d5eef018822af925154a5dd92 Fri, 15 May 2026 13:49:56 GMT
|
package/eslint.config.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/** @type {import('eslint').Linter.Config} */
|
|
2
|
+
const js = require('@eslint/js');
|
|
3
|
+
module.exports = [
|
|
4
|
+
js.configs.recommended,
|
|
5
|
+
{
|
|
6
|
+
languageOptions: {
|
|
7
|
+
ecmaVersion: 'latest',
|
|
8
|
+
sourceType: 'commonjs',
|
|
9
|
+
globals: {
|
|
10
|
+
...require('globals').node,
|
|
11
|
+
...require('globals').es2020,
|
|
12
|
+
...require('globals').es2024,
|
|
13
|
+
...require('globals').mocha
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
rules: {
|
|
17
|
+
'require-await': 'error',
|
|
18
|
+
'brace-style': 'error',
|
|
19
|
+
'computed-property-spacing': ['error', 'never'],
|
|
20
|
+
'comma-spacing': ['error', { before: false, after: true }],
|
|
21
|
+
'no-trailing-spaces': 'error',
|
|
22
|
+
'prefer-const': 'error',
|
|
23
|
+
'space-before-function-paren': ['error', { anonymous: 'never', named: 'never', asyncArrow: 'always' }],
|
|
24
|
+
'key-spacing': ['error', { mode: 'strict' }],
|
|
25
|
+
'space-in-parens': 'error',
|
|
26
|
+
'space-infix-ops': 'error',
|
|
27
|
+
'space-unary-ops': [2, { words: true, nonwords: false }],
|
|
28
|
+
'space-before-blocks': 'error',
|
|
29
|
+
'no-tabs': 'error',
|
|
30
|
+
'keyword-spacing': 'error',
|
|
31
|
+
'eol-last': 'error',
|
|
32
|
+
'indent': [2, 2, { SwitchCase: 1 }],
|
|
33
|
+
'quotes': [0, 'double'],
|
|
34
|
+
'linebreak-style': [2, 'unix'],
|
|
35
|
+
'semi': [2, 'always'],
|
|
36
|
+
'no-console': [0]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
];
|