Comparing version 3.5.0 to 3.5.1
@@ -14,3 +14,3 @@ /* SQB | ||
*/ | ||
const ArgumentError = require('errorex').ArgumentError; | ||
const {ArgumentError} = require('errorex'); | ||
const debug = require('debug')('sqb:Pool'); | ||
@@ -17,0 +17,0 @@ const LPool = require('lightning-pool').Pool; |
@@ -13,15 +13,5 @@ /* SQB | ||
*/ | ||
const {ErrorEx} = require('errorex'); | ||
const ErrorEx = require('errorex'); | ||
class SqbError extends ErrorEx { | ||
/** | ||
* | ||
* @param{Error|String} err | ||
* @param {*} args | ||
*/ | ||
constructor(err, ...args) { | ||
super(err, ...args); | ||
if (err instanceof Error) | ||
this.innerError = err; | ||
} | ||
} | ||
@@ -33,5 +23,5 @@ | ||
/** | ||
* Expose AdapterError | ||
* Expose | ||
*/ | ||
module.exports = {SqbError, AdapterError}; |
@@ -13,3 +13,3 @@ /* SQB | ||
*/ | ||
const ArgumentError = require('errorex').ArgumentError; | ||
const {ArgumentError} = require('errorex'); | ||
const Query = require('./Query'); | ||
@@ -16,0 +16,0 @@ const Serializable = require('../Serializable'); |
@@ -14,3 +14,3 @@ /* SQB | ||
*/ | ||
const ArgumentError = require('errorex').ArgumentError; | ||
const {ArgumentError} = require('errorex'); | ||
const Serializable = require('../Serializable'); | ||
@@ -17,0 +17,0 @@ const ReturningQuery = require('./ReturningQuery'); |
@@ -13,3 +13,3 @@ /* SQB | ||
*/ | ||
const ArgumentError = require('errorex').ArgumentError; | ||
const {ArgumentError} = require('errorex'); | ||
const Query = require('./Query'); | ||
@@ -16,0 +16,0 @@ const Serializable = require('../Serializable'); |
@@ -14,3 +14,3 @@ /* SQB | ||
*/ | ||
const ArgumentError = require('errorex').ArgumentError; | ||
const {ArgumentError} = require('errorex'); | ||
const Query = require('./Query'); | ||
@@ -17,0 +17,0 @@ const Serializable = require('../Serializable'); |
@@ -14,3 +14,3 @@ /* SQB | ||
*/ | ||
const ArgumentError = require('errorex').ArgumentError; | ||
const {ArgumentError} = require('errorex'); | ||
const Serializable = require('../Serializable'); | ||
@@ -17,0 +17,0 @@ const ReturningQuery = require('./ReturningQuery'); |
@@ -14,3 +14,3 @@ /* SQB | ||
*/ | ||
const ArgumentError = require('errorex').ArgumentError; | ||
const {ArgumentError} = require('errorex'); | ||
const Serializable = require('../Serializable'); | ||
@@ -17,0 +17,0 @@ |
@@ -14,3 +14,3 @@ /* SQB | ||
*/ | ||
const ArgumentError = require('errorex').ArgumentError; | ||
const {ArgumentError} = require('errorex'); | ||
const Serializable = require('../Serializable'); | ||
@@ -17,0 +17,0 @@ const TableName = require('./TableName'); |
@@ -14,3 +14,3 @@ /* SQB | ||
*/ | ||
const ArgumentError = require('errorex').ArgumentError; | ||
const {ArgumentError} = require('errorex'); | ||
const Operator = require('../Operator'); | ||
@@ -17,0 +17,0 @@ const Serializable = require('../../Serializable'); |
@@ -14,3 +14,3 @@ /* SQB | ||
*/ | ||
const ArgumentError = require('errorex').ArgumentError; | ||
const {ArgumentError} = require('errorex'); | ||
const Serializable = require('../Serializable'); | ||
@@ -17,0 +17,0 @@ |
@@ -14,3 +14,3 @@ /* SQB | ||
*/ | ||
const ArgumentError = require('errorex').ArgumentError; | ||
const {ArgumentError} = require('errorex'); | ||
const Serializable = require('../Serializable'); | ||
@@ -17,0 +17,0 @@ |
@@ -14,3 +14,3 @@ /* SQB | ||
*/ | ||
const ArgumentError = require('errorex').ArgumentError; | ||
const {ArgumentError} = require('errorex'); | ||
const Serializable = require('../Serializable'); | ||
@@ -17,0 +17,0 @@ |
{ | ||
"name": "sqb", | ||
"description": "Extensible, multi-dialect SQL query builder and Database connection framework for JavaScript", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"author": "Panates Ltd.", | ||
@@ -24,3 +24,3 @@ "contributors": [ | ||
"doublylinked": "^2.0.0", | ||
"errorex": "^1.0.6", | ||
"errorex": "^2.0.0", | ||
"lightning-pool": "^2.0.2", | ||
@@ -27,0 +27,0 @@ "putil-flattentext": "^2.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37
120291
4430
- Removederrorex@1.0.6(transitive)
Updatederrorex@^2.0.0