Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/Connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ class Connection {
return this.verbose;
}


/**
* @returns {object} The ``transportOptions`` property from the ``Connection`` object.
*/
Expand Down
4 changes: 1 addition & 3 deletions lib/Deprecated.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


// This file contains the classes that are deprecated in v1.0. The implementations for all of the
// functions in these classes prior to v1.0 are moved into the other classes. The classes contained
// in this file are now wrappers for those calls to enable backward compatability with
// previous versions, but will throw a warning message. When we no longer want to support calling
// these methods through these deprecated class names, we can simple disable this file.

/* eslint-disable max-classes-per-file */
/* eslint-disable default-param-last */

const deprecate = require('depd');
const { parseString } = require('xml2js');
Expand All @@ -45,7 +45,6 @@ const { ProgramCall } = require('./ProgramCall');
const { CommandCall } = require('./CommandCall');
const { Connection } = require('./Connection');


// DEPRECATED: For now, routes call to ProgramCall, but will be removed at a later time.
class iPgm {
/**
Expand Down Expand Up @@ -589,7 +588,6 @@ class iConn {
return this.connection.debug(flag);
}


/**
* @deprecated Replaced by ``Connection.getTransportOptions()`` and will be removed in the
* next major version.
Expand Down
1 change: 1 addition & 0 deletions lib/transports/idbTransport.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
let idb = null;

try {
/* eslint-disable import/no-unresolved */
// eslint-disable-next-line global-require
idb = require('idb-connector');
} catch (e) {
Expand Down
1 change: 1 addition & 0 deletions lib/transports/odbcTransport.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
let odbc = null;

try {
/* eslint-disable import/no-unresolved */
// eslint-disable-next-line global-require
odbc = require('odbc');
} catch (e) {
Expand Down
Loading