sequelize
Advanced tools
Comparing version 7.0.0-alpha.3 to 7.0.0-alpha.4
@@ -1,2 +0,2 @@ | ||
import { BaseError } from '../../errors'; | ||
import BaseError from '../../errors/base-error'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Thrown when a connection to a database is closed while an operation is in progress |
@@ -28,4 +28,5 @@ var __create = Object.create; | ||
}); | ||
var import_errors = __toModule(require("../../errors")); | ||
class AsyncQueueError extends import_errors.BaseError { | ||
var import_base_error = __toModule(require("../../errors/base-error")); | ||
var import_connection_error = __toModule(require("../../errors/connection-error")); | ||
class AsyncQueueError extends import_base_error.default { | ||
constructor(message) { | ||
@@ -48,3 +49,3 @@ super(message); | ||
this.closed = true; | ||
this.rejectCurrent(new import_errors.ConnectionError(new AsyncQueueError("the connection was closed before this query could finish executing"))); | ||
this.rejectCurrent(new import_connection_error.default(new AsyncQueueError("the connection was closed before this query could finish executing"))); | ||
} | ||
@@ -56,3 +57,3 @@ enqueue(asyncFunction) { | ||
if (this.closed) { | ||
return reject(new import_errors.ConnectionError(new AsyncQueueError("the connection was closed before this query could be executed"))); | ||
return reject(new import_connection_error.default(new AsyncQueueError("the connection was closed before this query could be executed"))); | ||
} | ||
@@ -59,0 +60,0 @@ return asyncFunction().then(resolve, reject); |
@@ -1,2 +0,3 @@ | ||
import { BaseError, ConnectionError } from '../../errors'; | ||
import BaseError from '../../errors/base-error'; | ||
import ConnectionError from '../../errors/connection-error'; | ||
@@ -3,0 +4,0 @@ /** |
117
package.json
{ | ||
"name": "sequelize", | ||
"description": "Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift and Snowflake’s Data Cloud. It features solid transaction support, relations, eager and lazy loading, read replication and more.", | ||
"version": "7.0.0-alpha.3", | ||
"version": "7.0.0-alpha.4", | ||
"funding": [ | ||
@@ -61,59 +61,58 @@ { | ||
"devDependencies": { | ||
"@commitlint/cli": "^15.0.0", | ||
"@commitlint/config-angular": "^15.0.0", | ||
"@types/chai": "^4.2.22", | ||
"@types/mocha": "^9.0.0", | ||
"@types/node": "^16.11.11", | ||
"@types/sinon": "^10.0.6", | ||
"@types/validator": "^13.7.0", | ||
"@typescript-eslint/eslint-plugin": "^5.5.0", | ||
"@typescript-eslint/parser": "^5.5.0", | ||
"acorn": "^8.6.0", | ||
"chai": "^4.3.4", | ||
"chai-as-promised": "^7.1.1", | ||
"chai-datetime": "^1.8.0", | ||
"cheerio": "^1.0.0-rc.10", | ||
"cls-hooked": "^4.2.2", | ||
"copyfiles": "^2.4.1", | ||
"cross-env": "^7.0.3", | ||
"delay": "^5.0.0", | ||
"esbuild": "^0.14.1", | ||
"esdoc": "^1.1.0", | ||
"esdoc-ecmascript-proposal-plugin": "^1.0.0", | ||
"esdoc-inject-style-plugin": "^1.0.0", | ||
"esdoc-standard-plugin": "^1.0.0", | ||
"eslint": "^8.3.0", | ||
"eslint-plugin-jsdoc": "^37.0.3", | ||
"eslint-plugin-mocha": "^9.0.0", | ||
"expect-type": "^0.12.0", | ||
"fast-glob": "^3.2.7", | ||
"fs-jetpack": "^4.3.0", | ||
"husky": "^7.0.4", | ||
"js-combinatorics": "^0.6.1", | ||
"lcov-result-merger": "^3.1.0", | ||
"lint-staged": "^12.1.2", | ||
"mariadb": "^2.5.5", | ||
"markdownlint-cli": "^0.30.0", | ||
"mocha": "^7.2.0", | ||
"module-alias": "^2.2.2", | ||
"ibm_db": "^2.8.0", | ||
"mysql2": "^2.3.3", | ||
"node-hook": "^1.0.0", | ||
"nyc": "^15.1.0", | ||
"p-map": "^4.0.0", | ||
"p-props": "^4.0.0", | ||
"p-settle": "^4.1.1", | ||
"p-timeout": "^4.0.0", | ||
"pg": "^8.7.1", | ||
"pg-hstore": "^2.3.4", | ||
"rimraf": "^3.0.2", | ||
"semantic-release": "^18.0.1", | ||
"semantic-release-fail-on-major-bump": "^1.0.0", | ||
"sinon": "^12.0.1", | ||
"sinon-chai": "^3.7.0", | ||
"snowflake-sdk": "^1.6.1", | ||
"source-map-support": "^0.5.21", | ||
"sqlite3": "npm:@vscode/sqlite3@^5.0.7", | ||
"@commitlint/cli": "16.0.1", | ||
"@commitlint/config-angular": "16.0.0", | ||
"@types/chai": "4.3.0", | ||
"@types/mocha": "9.0.0", | ||
"@types/node": "16.11.17", | ||
"@types/sinon": "10.0.6", | ||
"@types/validator": "13.7.1", | ||
"@typescript-eslint/eslint-plugin": "5.8.1", | ||
"@typescript-eslint/parser": "5.8.1", | ||
"acorn": "8.7.0", | ||
"chai": "4.3.4", | ||
"chai-as-promised": "7.1.1", | ||
"chai-datetime": "1.8.0", | ||
"cheerio": "1.0.0-rc.10", | ||
"cls-hooked": "4.2.2", | ||
"copyfiles": "2.4.1", | ||
"cross-env": "7.0.3", | ||
"delay": "5.0.0", | ||
"esbuild": "0.14.3", | ||
"esdoc": "1.1.0", | ||
"esdoc-ecmascript-proposal-plugin": "1.0.0", | ||
"esdoc-inject-style-plugin": "1.0.0", | ||
"esdoc-standard-plugin": "1.0.0", | ||
"eslint": "8.6.0", | ||
"eslint-plugin-jsdoc": "37.5.0", | ||
"eslint-plugin-mocha": "10.0.3", | ||
"expect-type": "0.12.0", | ||
"fast-glob": "3.2.7", | ||
"fs-jetpack": "4.3.0", | ||
"husky": "7.0.4", | ||
"lcov-result-merger": "3.1.0", | ||
"lint-staged": "12.1.4", | ||
"mariadb": "2.5.5", | ||
"markdownlint-cli": "0.30.0", | ||
"mocha": "7.2.0", | ||
"module-alias": "2.2.2", | ||
"ibm_db": "2.8.1", | ||
"mysql2": "2.3.3", | ||
"node-hook": "1.0.0", | ||
"nyc": "15.1.0", | ||
"p-map": "4.0.0", | ||
"p-props": "4.0.0", | ||
"p-settle": "4.1.1", | ||
"p-timeout": "4.1.0", | ||
"pg": "8.7.1", | ||
"pg-hstore": "2.3.4", | ||
"rimraf": "3.0.2", | ||
"semantic-release": "18.0.1", | ||
"semantic-release-fail-on-major-bump": "1.0.0", | ||
"sinon": "12.0.1", | ||
"sinon-chai": "3.7.0", | ||
"snowflake-sdk": "1.6.6", | ||
"source-map-support": "0.5.21", | ||
"sqlite3": "npm:@vscode/sqlite3@5.0.7", | ||
"tedious": "8.3.0", | ||
"typescript": "^4.5.2" | ||
"typescript": "4.5.4" | ||
}, | ||
@@ -202,6 +201,2 @@ "peerDependenciesMeta": { | ||
{ | ||
"name": "v6-beta", | ||
"prerelease": "beta" | ||
}, | ||
{ | ||
"name": "v7", | ||
@@ -208,0 +203,0 @@ "prerelease": "alpha" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
3854172
56
63518