Skip to content

Commit

Permalink
build(deps): Update deps to the latest version (#347)
Browse files Browse the repository at this point in the history
- Drop standard-version as it is now deprecated
- Update mocha binary name in test scripts
- fix eslint errors after upgrading
  • Loading branch information
abmusse committed Oct 25, 2022
1 parent c4f5e29 commit a10b078
Show file tree
Hide file tree
Showing 18 changed files with 1,468 additions and 3,615 deletions.
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

0 comments on commit a10b078

Please sign in to comment.