Upgrade yarn

This commit is contained in:
Erik 2024-03-29 09:22:02 +02:00
parent ebf2c7de77
commit 855096e4d9
5 changed files with 2540 additions and 1184 deletions

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
View File

@ -0,0 +1,5 @@
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.1.1.cjs
npmRegistryServer: "https://registry.corgi.wtf"

View File

@ -5,7 +5,6 @@
"repository": "https://git.corgi.wtf/Navy.gif/wrappers.git", "repository": "https://git.corgi.wtf/Navy.gif/wrappers.git",
"author": "Navy.gif", "author": "Navy.gif",
"license": "MIT", "license": "MIT",
"private": false,
"type": "module", "type": "module",
"main": "build/cjs/index.js", "main": "build/cjs/index.js",
"module": "build/esm/index.js", "module": "build/esm/index.js",
@ -35,7 +34,7 @@
"@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",
"eslint": "^8.37.0", "eslint": "^8.37.0",
"typescript": "^5.0.3" "typescript": "^5.4.3"
}, },
"dependencies": { "dependencies": {
"@types/amqplib": "^0.10.1", "@types/amqplib": "^0.10.1",
@ -52,5 +51,6 @@
"prom-client": { "prom-client": {
"optional": true "optional": true
} }
} },
"packageManager": "yarn@4.1.1"
} }

View File

@ -348,7 +348,7 @@ class MongoDB
return result; 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) if (!this.#db)
throw new Error('MongoDB not connected'); throw new Error('MongoDB not connected');

2818
yarn.lock

File diff suppressed because it is too large Load Diff