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 { MariaDB, MariaOptions } from './src/MariaDB.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"
},
"devDependencies": {
"@types/amqplib": "^0.10.1",
"@types/mysql": "^2.15.21",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
@ -37,9 +35,11 @@
"typescript": "^5.0.3"
},
"dependencies": {
"@types/amqplib": "^0.10.1",
"@types/mysql": "^2.15.21",
"amqp-connection-manager": "^4.1.12",
"amqplib": "^0.10.3",
"mongodb": "^5.2.0",
"mongodb": "^5.7.0",
"mysql": "^2.18.1"
}
}

View File

@ -293,10 +293,10 @@ braces@^3.0.2:
dependencies:
fill-range "^7.0.1"
bson@^5.2.0:
version "5.2.0"
resolved "https://registry.corgi.wtf/bson/-/bson-5.2.0.tgz#c81d35dd30e2798203e5422a639780ea98dd25ba"
integrity sha512-HevkSpDbpUfsrHWmWiAsNavANKYIErV2ePXllp1bwq5CDreAaFVj6RVlZpJnxK4WWDCJ/5jMUpaY6G526q3Hjg==
bson@^5.4.0:
version "5.4.0"
resolved "https://registry.corgi.wtf/bson/-/bson-5.4.0.tgz#0eea77276d490953ad8616b483298dbff07384c6"
integrity sha512-WRZ5SQI5GfUuKnPTNmAYPiKIof3ORXAF4IRU5UcgmivNIon01rWQlw5RUH954dpu8yGL8T59YShVddIPaU/gFA==
buffer-more-ints@~1.0.0:
version "1.0.0"
@ -766,12 +766,12 @@ mongodb-connection-string-url@^2.6.0:
"@types/whatwg-url" "^8.2.1"
whatwg-url "^11.0.0"
mongodb@^5.2.0:
version "5.2.0"
resolved "https://registry.corgi.wtf/mongodb/-/mongodb-5.2.0.tgz#58c3688614e793a8e970d797255130db9fd6ddea"
integrity sha512-nLgo95eP1acvjBcOdrUV3aqpWwHZCZwhYA2opB8StybbtQL/WoE5pk92qUUfjbKOWcGLYJczTqQbfOQhYtrkKg==
mongodb@^5.7.0:
version "5.7.0"
resolved "https://registry.corgi.wtf/mongodb/-/mongodb-5.7.0.tgz#e16d2fcdfd9f8503ec2d88288392dc3235bb3ecc"
integrity sha512-zm82Bq33QbqtxDf58fLWBwTjARK3NSvKYjyz997KSy6hpat0prjeX/kxjbPVyZY60XYPDNETaHkHJI2UCzSLuw==
dependencies:
bson "^5.2.0"
bson "^5.4.0"
mongodb-connection-string-url "^2.6.0"
socks "^2.7.1"
optionalDependencies: