Upgrade yarn
This commit is contained in:
parent
ebf2c7de77
commit
855096e4d9
893
.yarn/releases/yarn-4.1.1.cjs
vendored
Normal file
893
.yarn/releases/yarn-4.1.1.cjs
vendored
Normal file
File diff suppressed because one or more lines are too long
5
.yarnrc.yml
Normal file
5
.yarnrc.yml
Normal file
@ -0,0 +1,5 @@
|
||||
nodeLinker: node-modules
|
||||
|
||||
yarnPath: .yarn/releases/yarn-4.1.1.cjs
|
||||
|
||||
npmRegistryServer: "https://registry.corgi.wtf"
|
@ -5,7 +5,6 @@
|
||||
"repository": "https://git.corgi.wtf/Navy.gif/wrappers.git",
|
||||
"author": "Navy.gif",
|
||||
"license": "MIT",
|
||||
"private": false,
|
||||
"type": "module",
|
||||
"main": "build/cjs/index.js",
|
||||
"module": "build/esm/index.js",
|
||||
@ -35,7 +34,7 @@
|
||||
"@typescript-eslint/eslint-plugin": "^5.57.1",
|
||||
"@typescript-eslint/parser": "^5.57.1",
|
||||
"eslint": "^8.37.0",
|
||||
"typescript": "^5.0.3"
|
||||
"typescript": "^5.4.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/amqplib": "^0.10.1",
|
||||
@ -52,5 +51,6 @@
|
||||
"prom-client": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"packageManager": "yarn@4.1.1"
|
||||
}
|
||||
|
@ -348,7 +348,7 @@ class MongoDB
|
||||
return result;
|
||||
}
|
||||
|
||||
async distinct<T extends Document> (db: string, key: string, filter?: Filter<T>, options: DistinctOptions = {})
|
||||
async distinct<T extends Document> (db: string, key: string, filter: Filter<T> = {}, options: DistinctOptions = {})
|
||||
{
|
||||
if (!this.#db)
|
||||
throw new Error('MongoDB not connected');
|
||||
|
Loading…
Reference in New Issue
Block a user