export mariadb types and upgrade dependency
This commit is contained in:
parent
308c9cb63d
commit
8297b2ef2b
3
index.ts
3
index.ts
@ -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';
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
18
yarn.lock
18
yarn.lock
@ -293,10 +293,10 @@ braces@^3.0.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
fill-range "^7.0.1"
|
fill-range "^7.0.1"
|
||||||
|
|
||||||
bson@^5.2.0:
|
bson@^5.4.0:
|
||||||
version "5.2.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.corgi.wtf/bson/-/bson-5.2.0.tgz#c81d35dd30e2798203e5422a639780ea98dd25ba"
|
resolved "https://registry.corgi.wtf/bson/-/bson-5.4.0.tgz#0eea77276d490953ad8616b483298dbff07384c6"
|
||||||
integrity sha512-HevkSpDbpUfsrHWmWiAsNavANKYIErV2ePXllp1bwq5CDreAaFVj6RVlZpJnxK4WWDCJ/5jMUpaY6G526q3Hjg==
|
integrity sha512-WRZ5SQI5GfUuKnPTNmAYPiKIof3ORXAF4IRU5UcgmivNIon01rWQlw5RUH954dpu8yGL8T59YShVddIPaU/gFA==
|
||||||
|
|
||||||
buffer-more-ints@~1.0.0:
|
buffer-more-ints@~1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
@ -766,12 +766,12 @@ mongodb-connection-string-url@^2.6.0:
|
|||||||
"@types/whatwg-url" "^8.2.1"
|
"@types/whatwg-url" "^8.2.1"
|
||||||
whatwg-url "^11.0.0"
|
whatwg-url "^11.0.0"
|
||||||
|
|
||||||
mongodb@^5.2.0:
|
mongodb@^5.7.0:
|
||||||
version "5.2.0"
|
version "5.7.0"
|
||||||
resolved "https://registry.corgi.wtf/mongodb/-/mongodb-5.2.0.tgz#58c3688614e793a8e970d797255130db9fd6ddea"
|
resolved "https://registry.corgi.wtf/mongodb/-/mongodb-5.7.0.tgz#e16d2fcdfd9f8503ec2d88288392dc3235bb3ecc"
|
||||||
integrity sha512-nLgo95eP1acvjBcOdrUV3aqpWwHZCZwhYA2opB8StybbtQL/WoE5pk92qUUfjbKOWcGLYJczTqQbfOQhYtrkKg==
|
integrity sha512-zm82Bq33QbqtxDf58fLWBwTjARK3NSvKYjyz997KSy6hpat0prjeX/kxjbPVyZY60XYPDNETaHkHJI2UCzSLuw==
|
||||||
dependencies:
|
dependencies:
|
||||||
bson "^5.2.0"
|
bson "^5.4.0"
|
||||||
mongodb-connection-string-url "^2.6.0"
|
mongodb-connection-string-url "^2.6.0"
|
||||||
socks "^2.7.1"
|
socks "^2.7.1"
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
|
Loading…
Reference in New Issue
Block a user