Skip to content

Commit a10b078

Browse files
authored
build(deps): Update deps to the latest version (#347)
- Drop standard-version as it is now deprecated - Update mocha binary name in test scripts - fix eslint errors after upgrading
1 parent c4f5e29 commit a10b078

18 files changed

+1468
-3615
lines changed

lib/Connection.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ class Connection {
129129
return this.verbose;
130130
}
131131

132-
133132
/**
134133
* @returns {object} The ``transportOptions`` property from the ``Connection`` object.
135134
*/

lib/Deprecated.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1616
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1717

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

2524
/* eslint-disable max-classes-per-file */
25+
/* eslint-disable default-param-last */
2626

2727
const deprecate = require('depd');
2828
const { parseString } = require('xml2js');
@@ -45,7 +45,6 @@ const { ProgramCall } = require('./ProgramCall');
4545
const { CommandCall } = require('./CommandCall');
4646
const { Connection } = require('./Connection');
4747

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

592-
593591
/**
594592
* @deprecated Replaced by ``Connection.getTransportOptions()`` and will be removed in the
595593
* next major version.

lib/transports/idbTransport.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
let idb = null;
1919

2020
try {
21+
/* eslint-disable import/no-unresolved */
2122
// eslint-disable-next-line global-require
2223
idb = require('idb-connector');
2324
} catch (e) {

lib/transports/odbcTransport.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
let odbc = null;
1919

2020
try {
21+
/* eslint-disable import/no-unresolved */
2122
// eslint-disable-next-line global-require
2223
odbc = require('odbc');
2324
} catch (e) {

0 commit comments

Comments
 (0)