export mariadb types and upgrade dependency

This commit is contained in:
Erik 2023-08-10 10:52:28 +03:00
parent 308c9cb63d
commit 8297b2ef2b
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68
3 changed files with 1155 additions and 1154 deletions

View File

@ -1,4 +1,5 @@
export { MessageBroker, BrokerOptions } from './src/MessageBroker.js'; export { MessageBroker, BrokerOptions } from './src/MessageBroker.js';
export { MariaDB, MariaOptions } from './src/MariaDB.js'; export { MariaDB, MariaOptions } from './src/MariaDB.js';
export { MongoDB, MongoOptions } from './src/MongoDB.js'; export { MongoDB, MongoOptions } from './src/MongoDB.js';
export { ObjectId, Document, DeleteResult, Collection, Filter, UpdateFilter } from 'mongodb'; export { ObjectId, Document, DeleteResult, Collection, Filter, UpdateFilter, MongoServerError } from 'mongodb';
export { FieldInfo, OkPacket, Query, QueryOptions, Connection, PoolConnection, PoolCluster, MysqlError, Types } from 'mysql';

View File

@ -28,8 +28,6 @@
"lint": "eslint --fix" "lint": "eslint --fix"
}, },
"devDependencies": { "devDependencies": {
"@types/amqplib": "^0.10.1",
"@types/mysql": "^2.15.21",
"@types/node": "^18.15.11", "@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.57.1", "@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1", "@typescript-eslint/parser": "^5.57.1",
@ -37,9 +35,11 @@
"typescript": "^5.0.3" "typescript": "^5.0.3"
}, },
"dependencies": { "dependencies": {
"@types/amqplib": "^0.10.1",
"@types/mysql": "^2.15.21",
"amqp-connection-manager": "^4.1.12", "amqp-connection-manager": "^4.1.12",
"amqplib": "^0.10.3", "amqplib": "^0.10.3",
"mongodb": "^5.2.0", "mongodb": "^5.7.0",
"mysql": "^2.18.1" "mysql": "^2.18.1"
} }
} }

2300
yarn.lock

File diff suppressed because it is too large Load Diff