File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 24
24
- Prevent intermingling of ` queryStream() ` streaming and ` getRow() ` /` getRows() `
25
25
calls.
26
26
27
+ - Made an internal change for TypeScript 4.4's imported function behavior with
28
+ 'this' ([ Issue 1408] ( https://github.com/oracle/node-oracledb/issues/1408 ) ).
29
+
27
30
## node-oracledb v5.2.0 (7 Jun 2021)
28
31
29
32
- Connection pool changes:
Original file line number Diff line number Diff line change @@ -100,11 +100,11 @@ class OracleDb {
100
100
}
101
101
102
102
// extend class with promisified functions
103
- _extend ( ) {
104
- this . getConnection = nodbUtil . callbackify ( getConnection ) ;
105
- this . createPool = nodbUtil . callbackify ( createPool ) ;
106
- this . shutdown = nodbUtil . callbackify ( shutdown ) ;
107
- this . startup = nodbUtil . callbackify ( startup ) ;
103
+ _extend ( _oracledb ) {
104
+ this . getConnection = nodbUtil . callbackify ( getConnection ) . bind ( _oracledb ) ;
105
+ this . createPool = nodbUtil . callbackify ( createPool ) . bind ( _oracledb ) ;
106
+ this . shutdown = nodbUtil . callbackify ( shutdown ) . bind ( _oracledb ) ;
107
+ this . startup = nodbUtil . callbackify ( startup ) . bind ( _oracledb ) ;
108
108
}
109
109
110
110
// temporary method for determining if an object is a date until
You can’t perform that action at this time.
0 commit comments