oracledb 6.2.0 → 6.3.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.
Files changed (54) hide show
  1. package/README.md +2 -2
  2. package/build/Release/oracledb-6.3.0-darwin-x64.node +0 -0
  3. package/build/Release/oracledb-6.3.0-darwin-x64.node-buildinfo.txt +1 -0
  4. package/build/Release/oracledb-6.3.0-js-buildinfo.txt +1 -0
  5. package/build/Release/oracledb-6.3.0-linux-arm64.node +0 -0
  6. package/build/Release/oracledb-6.3.0-linux-arm64.node-buildinfo.txt +1 -0
  7. package/build/Release/oracledb-6.3.0-linux-x64.node +0 -0
  8. package/build/Release/oracledb-6.3.0-linux-x64.node-buildinfo.txt +1 -0
  9. package/build/Release/oracledb-6.3.0-win32-x64.node +0 -0
  10. package/build/Release/oracledb-6.3.0-win32-x64.node-buildinfo.txt +1 -0
  11. package/examples/README.md +26 -8
  12. package/examples/dbconfig.js +50 -26
  13. package/examples/example.js +6 -4
  14. package/lib/connection.js +66 -0
  15. package/lib/errors.js +18 -0
  16. package/lib/future.js +53 -0
  17. package/lib/impl/connection.js +56 -0
  18. package/lib/impl/pool.js +5 -3
  19. package/lib/impl/resultset.js +48 -11
  20. package/lib/oracledb.js +23 -8
  21. package/lib/pool.js +10 -0
  22. package/lib/thin/connection.js +46 -2
  23. package/lib/thin/dbObject.js +45 -1
  24. package/lib/thin/index.js +1 -1
  25. package/lib/thin/pool.js +3 -2
  26. package/lib/thin/protocol/buffer.js +15 -7
  27. package/lib/thin/protocol/capabilities.js +3 -1
  28. package/lib/thin/protocol/constants.js +31 -14
  29. package/lib/thin/protocol/messages/auth.js +6 -2
  30. package/lib/thin/protocol/messages/base.js +29 -14
  31. package/lib/thin/protocol/messages/dataType.js +8 -5
  32. package/lib/thin/protocol/messages/lobOp.js +7 -8
  33. package/lib/thin/protocol/messages/withData.js +53 -18
  34. package/lib/thin/protocol/utils.js +1 -1
  35. package/lib/thin/sqlnet/connStrategy.js +8 -4
  36. package/lib/thin/sqlnet/constants.js +138 -138
  37. package/lib/thin/sqlnet/navNodes.js +5 -5
  38. package/lib/thin/sqlnet/networkSession.js +9 -2
  39. package/lib/thin/sqlnet/ntTcp.js +7 -7
  40. package/lib/thin/statement.js +1 -1
  41. package/lib/thin/util.js +15 -4
  42. package/lib/types.js +6 -1
  43. package/lib/util.js +8 -0
  44. package/lib/version.js +1 -1
  45. package/package.json +1 -1
  46. package/build/Release/oracledb-6.2.0-darwin-x64.node +0 -0
  47. package/build/Release/oracledb-6.2.0-darwin-x64.node-buildinfo.txt +0 -1
  48. package/build/Release/oracledb-6.2.0-js-buildinfo.txt +0 -1
  49. package/build/Release/oracledb-6.2.0-linux-arm64.node +0 -0
  50. package/build/Release/oracledb-6.2.0-linux-arm64.node-buildinfo.txt +0 -1
  51. package/build/Release/oracledb-6.2.0-linux-x64.node +0 -0
  52. package/build/Release/oracledb-6.2.0-linux-x64.node-buildinfo.txt +0 -1
  53. package/build/Release/oracledb-6.2.0-win32-x64.node +0 -0
  54. package/build/Release/oracledb-6.2.0-win32-x64.node-buildinfo.txt +0 -1
package/lib/util.js CHANGED
@@ -297,6 +297,13 @@ function isTokenValid(accessToken) {
297
297
  }
298
298
  }
299
299
 
300
+ function denormalizePrivateKey(privateKey) {
301
+ privateKey = privateKey.replace(/\n/g, '');
302
+ privateKey = privateKey.replace('-----BEGIN PRIVATE KEY-----', '');
303
+ privateKey = privateKey.replace('-----END PRIVATE KEY-----', '');
304
+ return privateKey;
305
+ }
306
+
300
307
  //-----------------------------------------------------------------------------
301
308
  // addTypeProperties()
302
309
  //
@@ -329,6 +336,7 @@ module.exports = {
329
336
  STAGING_DIR,
330
337
  addTypeProperties,
331
338
  callbackify,
339
+ denormalizePrivateKey,
332
340
  getInstallURL,
333
341
  getInstallHelp,
334
342
  isArrayOfStrings,
package/lib/version.js CHANGED
@@ -30,7 +30,7 @@
30
30
 
31
31
  module.exports = {
32
32
  VERSION_MAJOR: 6,
33
- VERSION_MINOR: 2,
33
+ VERSION_MINOR: 3,
34
34
  VERSION_PATCH: 0,
35
35
  VERSION_SUFFIX: ''
36
36
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oracledb",
3
- "version": "6.2.0",
3
+ "version": "6.3.0",
4
4
  "description": "A Node.js module for Oracle Database access from JavaScript and TypeScript",
5
5
  "license": "(Apache-2.0 OR UPL-1.0)",
6
6
  "homepage": "http://oracle.github.io/node-oracledb/",
@@ -1 +0,0 @@
1
- oracledb-6.2.0-darwin-x64.node v16.20.2 fe16239d5a7ceb588ae0e0766e74da2d20fb7af9 20785f251426f274f4216369b9259908a103384d Wed, 27 Sep 2023 05:56:04 GMT
@@ -1 +0,0 @@
1
- fe16239d5a7ceb588ae0e0766e74da2d20fb7af9
@@ -1 +0,0 @@
1
- oracledb-6.2.0-linux-arm64.node v18.15.0 fe16239d5a7ceb588ae0e0766e74da2d20fb7af9 20785f251426f274f4216369b9259908a103384d Wed, 27 Sep 2023 06:02:23 GMT
@@ -1 +0,0 @@
1
- oracledb-6.2.0-linux-x64.node v16.19.1 fe16239d5a7ceb588ae0e0766e74da2d20fb7af9 20785f251426f274f4216369b9259908a103384d Thu, 28 Sep 2023 16:23:40 GMT
@@ -1 +0,0 @@
1
- oracledb-6.2.0-win32-x64.node v16.19.0 fe16239d5a7ceb588ae0e0766e74da2d20fb7af9 20785f251426f274f4216369b9259908a103384d Wed, 27 Sep 2023 10:36:18 GMT