From 9a5e75cd55c0dca1fe07fc95fa6dfda067956875 Mon Sep 17 00:00:00 2001 From: tudor <7089284+tudddorrr@users.noreply.github.com> Date: Fri, 4 Oct 2024 20:52:14 +0100 Subject: [PATCH] latest mikro-orm --- package-lock.json | 148 ++++++++++++++++++++++++---------------------- package.json | 10 ++-- 2 files changed, 82 insertions(+), 76 deletions(-) diff --git a/package-lock.json b/package-lock.json index ddfed8e7..16fa6d18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,10 +12,10 @@ "@clickhouse/client": "^1.4.1", "@dinero.js/currencies": "^2.0.0-alpha.14", "@koa/cors": "^5.0.0", - "@mikro-orm/core": "^6.3.9", - "@mikro-orm/migrations": "^6.3.9", - "@mikro-orm/mysql": "^6.3.9", - "@mikro-orm/reflection": "^6.3.9", + "@mikro-orm/core": "^6.3.12", + "@mikro-orm/migrations": "^6.3.12", + "@mikro-orm/mysql": "^6.3.12", + "@mikro-orm/reflection": "^6.3.12", "@sendgrid/mail": "^8.1.3", "@sentry/node": "^7.47.0", "@sentry/utils": "^7.47.0", @@ -44,7 +44,7 @@ "uuid": "^9.0.0" }, "devDependencies": { - "@mikro-orm/cli": "^6.3.9", + "@mikro-orm/cli": "^6.3.12", "@stylistic/eslint-plugin": "^2.2.2", "@types/koa": "^2.13.5", "@types/koa-bodyparser": "^4.3.7", @@ -818,14 +818,14 @@ } }, "node_modules/@mikro-orm/cli": { - "version": "6.3.9", - "resolved": "https://registry.npmjs.org/@mikro-orm/cli/-/cli-6.3.9.tgz", - "integrity": "sha512-skvqm4lV5L/MDDqXn8jeureMSdIT/7OHqSvFiYSFNbLweKp/gOarCdVSSC+fmL3sEiUoE1CCCc6Eo4lpia2xDw==", + "version": "6.3.12", + "resolved": "https://registry.npmjs.org/@mikro-orm/cli/-/cli-6.3.12.tgz", + "integrity": "sha512-r2dhhAvXr3rbX/zW/pvkZ6Tuj/ukgW148ZU+HhkcQxFdpGHR2X9pxHgNG3Z1qfx38/AA87jvdfox+f/NaKtLQg==", "dev": true, "dependencies": { "@jercle/yargonaut": "1.1.5", - "@mikro-orm/core": "6.3.9", - "@mikro-orm/knex": "6.3.9", + "@mikro-orm/core": "6.3.12", + "@mikro-orm/knex": "6.3.12", "fs-extra": "11.2.0", "tsconfig-paths": "4.2.0", "yargs": "17.7.2" @@ -839,16 +839,16 @@ } }, "node_modules/@mikro-orm/core": { - "version": "6.3.9", - "resolved": "https://registry.npmjs.org/@mikro-orm/core/-/core-6.3.9.tgz", - "integrity": "sha512-RKJ8jQWd+xOaUq02zhNbw/yhguFDopMayefsirOBPAXBhRyndqZOB86ZBetDWYcOhJDI9VCqufZldrvC59r6eQ==", + "version": "6.3.12", + "resolved": "https://registry.npmjs.org/@mikro-orm/core/-/core-6.3.12.tgz", + "integrity": "sha512-CkUDS9Ghs4vLBbpVTvtJalTVyvQ82Lwow8K8GhJTNJcXYDWtFT4231zLVveb6mTB5ayM3rof19pRsIKEb2SJvw==", "dependencies": { "dataloader": "2.2.2", "dotenv": "16.4.5", "esprima": "4.0.1", "fs-extra": "11.2.0", "globby": "11.1.0", - "mikro-orm": "6.3.9", + "mikro-orm": "6.3.12", "reflect-metadata": "0.2.2" }, "engines": { @@ -859,9 +859,9 @@ } }, "node_modules/@mikro-orm/knex": { - "version": "6.3.9", - "resolved": "https://registry.npmjs.org/@mikro-orm/knex/-/knex-6.3.9.tgz", - "integrity": "sha512-KnyZyoH/RdT4Te4ZcjxnROrOUDTV0HQLl+RijjsJSIsqaQzF485qio03CowDnOmMWSiUjFQlBRxKRaKdN3Bhqg==", + "version": "6.3.12", + "resolved": "https://registry.npmjs.org/@mikro-orm/knex/-/knex-6.3.12.tgz", + "integrity": "sha512-TQ8lU+jwsZ0FWEnBvgICgyVOx4g0j8Vm7kOKC+fJDdXPpBz3N4JYu+y30NQ0fIiPEHBzOpvusCV42FxhSQ/DVQ==", "dependencies": { "fs-extra": "11.2.0", "knex": "3.1.0", @@ -889,13 +889,13 @@ } }, "node_modules/@mikro-orm/migrations": { - "version": "6.3.9", - "resolved": "https://registry.npmjs.org/@mikro-orm/migrations/-/migrations-6.3.9.tgz", - "integrity": "sha512-BUfuQbx4JHDTV4UylQDtA3qnL9exm2DcujwX9h3TLZnmPT4PURfMBobonBWagvB7TnDgvhHHcWdjRvm8uxZ1oQ==", + "version": "6.3.12", + "resolved": "https://registry.npmjs.org/@mikro-orm/migrations/-/migrations-6.3.12.tgz", + "integrity": "sha512-ASbfQbL8KVHc6LCmUZGsbFPL+t8x7BZiMQIn12YSq9eLJw9oy1a0Qd5afQYEP4llVMFgkn2ROM9dsSg+KIBUjw==", "dependencies": { - "@mikro-orm/knex": "6.3.9", + "@mikro-orm/knex": "6.3.12", "fs-extra": "11.2.0", - "umzug": "3.8.1" + "umzug": "3.8.2" }, "engines": { "node": ">= 18.12.0" @@ -905,12 +905,12 @@ } }, "node_modules/@mikro-orm/mysql": { - "version": "6.3.9", - "resolved": "https://registry.npmjs.org/@mikro-orm/mysql/-/mysql-6.3.9.tgz", - "integrity": "sha512-5emI4E03maJUy+8r+bHIRhU7V9+bFbxQf3xRgk5u4ONYFlK5WFt1xOinqGFwPNtlCsQXel4jDlhYmw5mGD11GQ==", + "version": "6.3.12", + "resolved": "https://registry.npmjs.org/@mikro-orm/mysql/-/mysql-6.3.12.tgz", + "integrity": "sha512-eiJF6gVQ4KngzTaZHJKngFTjj0taO9eypRJfLRElmO77E/iMU5dqnrGLtKv9oGoP21PELQCm+hbPjfmL1lFmzw==", "dependencies": { - "@mikro-orm/knex": "6.3.9", - "mysql2": "3.11.0" + "@mikro-orm/knex": "6.3.12", + "mysql2": "3.11.3" }, "engines": { "node": ">= 18.12.0" @@ -920,9 +920,9 @@ } }, "node_modules/@mikro-orm/reflection": { - "version": "6.3.9", - "resolved": "https://registry.npmjs.org/@mikro-orm/reflection/-/reflection-6.3.9.tgz", - "integrity": "sha512-Tj7fJY3NMBVfiRr2vNOyFtEzR9Nk05osPpwDfDXHVd2wDtVhkR5kpgvlRAUOLsfkcX5FYTfmGKrTEqqxH0OCLA==", + "version": "6.3.12", + "resolved": "https://registry.npmjs.org/@mikro-orm/reflection/-/reflection-6.3.12.tgz", + "integrity": "sha512-EHVMRrX5ycEuoo67TYzS4L2Iz+zPW49d1lh8eVxNdfHLd3QgM35YUEPvVfs5LTmnG3FJPx3qXHXeOapuWZ76wA==", "dependencies": { "globby": "11.1.0", "ts-morph": "23.0.0" @@ -1238,9 +1238,9 @@ ] }, "node_modules/@rushstack/node-core-library": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-5.5.1.tgz", - "integrity": "sha512-ZutW56qIzH8xIOlfyaLQJFx+8IBqdbVCZdnj+XT1MorQ1JqqxHse8vbCpEM+2MjsrqcbxcgDIbfggB1ZSQ2A3g==", + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-5.9.0.tgz", + "integrity": "sha512-MMsshEWkTbXqxqFxD4gcIUWQOCeBChlGczdZbHfqmNZQFLHB3yWxDFSMHFUdu2/OB9NUk7Awn5qRL+rws4HQNg==", "dependencies": { "ajv": "~8.13.0", "ajv-draft-04": "~1.0.0", @@ -1323,11 +1323,11 @@ } }, "node_modules/@rushstack/terminal": { - "version": "0.13.3", - "resolved": "https://registry.npmjs.org/@rushstack/terminal/-/terminal-0.13.3.tgz", - "integrity": "sha512-fc3zjXOw8E0pXS5t9vTiIPx9gHA0fIdTXsu9mT4WbH+P3mYvnrX0iAQ5a6NvyK1+CqYWBTw/wVNx7SDJkI+WYQ==", + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/@rushstack/terminal/-/terminal-0.14.2.tgz", + "integrity": "sha512-2fC1wqu1VCExKC0/L+0noVcFQEXEnoBOtCIex1TOjBzEDWcw8KzJjjj7aTP6mLxepG0XIyn9OufeFb6SFsa+sg==", "dependencies": { - "@rushstack/node-core-library": "5.5.1", + "@rushstack/node-core-library": "5.9.0", "supports-color": "~8.1.1" }, "peerDependencies": { @@ -1354,11 +1354,11 @@ } }, "node_modules/@rushstack/ts-command-line": { - "version": "4.22.3", - "resolved": "https://registry.npmjs.org/@rushstack/ts-command-line/-/ts-command-line-4.22.3.tgz", - "integrity": "sha512-edMpWB3QhFFZ4KtSzS8WNjBgR4PXPPOVrOHMbb7kNpmQ1UFS9HdVtjCXg1H5fG+xYAbeE+TMPcVPUyX2p84STA==", + "version": "4.22.8", + "resolved": "https://registry.npmjs.org/@rushstack/ts-command-line/-/ts-command-line-4.22.8.tgz", + "integrity": "sha512-XbFjOoV7qZHJnSuFUHv0pKaFA4ixyCuki+xMjsMfDwfvQjs5MYG0IK5COal3tRnG7KCDe2l/G+9LrzYE/RJhgg==", "dependencies": { - "@rushstack/terminal": "0.13.3", + "@rushstack/terminal": "0.14.2", "@types/argparse": "1.0.38", "argparse": "~1.0.9", "string-argv": "~0.3.1" @@ -2787,9 +2787,9 @@ "license": "MIT" }, "node_modules/aws-ssl-profiles": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/aws-ssl-profiles/-/aws-ssl-profiles-1.1.1.tgz", - "integrity": "sha512-+H+kuK34PfMaI9PNU/NSjBKL5hh/KDM9J72kwYeYEm0A8B1AC4fuCy3qsjnA7lxklgyXsB68yn8Z2xoZEjgwCQ==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/aws-ssl-profiles/-/aws-ssl-profiles-1.1.2.tgz", + "integrity": "sha512-NZKeq9AfyQvEeNlN0zSYAaWrmBffJh3IELMZfRpJVWgrpEbtEpnjvzqBPf+mxoI287JohRDoa+/nsfqqiZmF6g==", "engines": { "node": ">= 6.0.0" } @@ -4185,9 +4185,9 @@ "dev": true }, "node_modules/fast-uri": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.1.tgz", - "integrity": "sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==" + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.2.tgz", + "integrity": "sha512-GR6f0hD7XXyNJa25Tb9BuIdN0tdr+0BMi6/CJPH3wJO1JjNG3n/VsSw38AwRdKZABm8lGbPfakLRkYzx2V9row==" }, "node_modules/fastq": { "version": "1.16.0", @@ -5072,9 +5072,9 @@ } }, "node_modules/is-core-module": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.0.tgz", - "integrity": "sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", "dependencies": { "hasown": "^2.0.2" }, @@ -6104,6 +6104,20 @@ "node": ">=10" } }, + "node_modules/lru.min": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/lru.min/-/lru.min-1.1.1.tgz", + "integrity": "sha512-FbAj6lXil6t8z4z3j0E5mfRlPzxkySotzUHwRXjlpRh10vc6AI6WN62ehZj82VG7M20rqogJ0GLwar2Xa05a8Q==", + "engines": { + "bun": ">=1.0.0", + "deno": ">=1.30.0", + "node": ">=8.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wellwelwel" + } + }, "node_modules/luxon": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.3.0.tgz", @@ -6215,9 +6229,9 @@ } }, "node_modules/mikro-orm": { - "version": "6.3.9", - "resolved": "https://registry.npmjs.org/mikro-orm/-/mikro-orm-6.3.9.tgz", - "integrity": "sha512-xI8pbOTEBbvnnqdrA+PwcEgB4kixdxUs4zh3mw432aJhoF7+yI65vV9ANKjeZDXoROYT3U3UH+jzAbYb051KPg==", + "version": "6.3.12", + "resolved": "https://registry.npmjs.org/mikro-orm/-/mikro-orm-6.3.12.tgz", + "integrity": "sha512-CMLaxhq7EANGI0JD3EEhyafGf3fZh5ATvG1kNP/20DBarZBYSsp2GGzxhEENs0SCOVy5+dWWRL8vSuke/hIKEw==", "engines": { "node": ">= 18.12.0" } @@ -6390,16 +6404,16 @@ } }, "node_modules/mysql2": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.11.0.tgz", - "integrity": "sha512-J9phbsXGvTOcRVPR95YedzVSxJecpW5A5+cQ57rhHIFXteTP10HCs+VBjS7DHIKfEaI1zQ5tlVrquCd64A6YvA==", + "version": "3.11.3", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.11.3.tgz", + "integrity": "sha512-Qpu2ADfbKzyLdwC/5d4W7+5Yz7yBzCU05YWt5npWzACST37wJsB23wgOSo00qi043urkiRwXtEvJc9UnuLX/MQ==", "dependencies": { "aws-ssl-profiles": "^1.1.1", "denque": "^2.1.0", "generate-function": "^2.3.1", "iconv-lite": "^0.6.3", "long": "^5.2.1", - "lru-cache": "^8.0.0", + "lru.min": "^1.0.0", "named-placeholders": "^1.1.3", "seq-queue": "^0.0.5", "sqlstring": "^2.3.2" @@ -6408,14 +6422,6 @@ "node": ">= 8.0" } }, - "node_modules/mysql2/node_modules/lru-cache": { - "version": "8.0.5", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-8.0.5.tgz", - "integrity": "sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==", - "engines": { - "node": ">=16.14" - } - }, "node_modules/named-placeholders": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/named-placeholders/-/named-placeholders-1.1.3.tgz", @@ -8282,9 +8288,9 @@ } }, "node_modules/umzug": { - "version": "3.8.1", - "resolved": "https://registry.npmjs.org/umzug/-/umzug-3.8.1.tgz", - "integrity": "sha512-k0HjOc3b/s8vH24BUTvnaFiKhfWI9UQAGpqHDG+3866CGlBTB83Xs5wZ1io1mwYLj/GHvQ34AxKhbpYnWtkRJg==", + "version": "3.8.2", + "resolved": "https://registry.npmjs.org/umzug/-/umzug-3.8.2.tgz", + "integrity": "sha512-BEWEF8OJjTYVC56GjELeHl/1XjFejrD7aHzn+HldRJTx+pL1siBrKHZC8n4K/xL3bEzVA9o++qD1tK2CpZu4KA==", "dependencies": { "@rushstack/ts-command-line": "^4.12.2", "emittery": "^0.13.0", @@ -8297,9 +8303,9 @@ } }, "node_modules/umzug/node_modules/type-fest": { - "version": "4.23.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.23.0.tgz", - "integrity": "sha512-ZiBujro2ohr5+Z/hZWHESLz3g08BBdrdLMieYFULJO+tWc437sn8kQsWLJoZErY8alNhxre9K4p3GURAG11n+w==", + "version": "4.26.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.26.1.tgz", + "integrity": "sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg==", "engines": { "node": ">=16" }, diff --git a/package.json b/package.json index 4dd2701a..64e7918e 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "author": "Sleepy Studios", "license": "MIT", "devDependencies": { - "@mikro-orm/cli": "^6.3.9", + "@mikro-orm/cli": "^6.3.12", "@stylistic/eslint-plugin": "^2.2.2", "@types/koa": "^2.13.5", "@types/koa-bodyparser": "^4.3.7", @@ -50,10 +50,10 @@ "@clickhouse/client": "^1.4.1", "@dinero.js/currencies": "^2.0.0-alpha.14", "@koa/cors": "^5.0.0", - "@mikro-orm/core": "^6.3.9", - "@mikro-orm/migrations": "^6.3.9", - "@mikro-orm/mysql": "^6.3.9", - "@mikro-orm/reflection": "^6.3.9", + "@mikro-orm/core": "^6.3.12", + "@mikro-orm/migrations": "^6.3.12", + "@mikro-orm/mysql": "^6.3.12", + "@mikro-orm/reflection": "^6.3.12", "@sendgrid/mail": "^8.1.3", "@sentry/node": "^7.47.0", "@sentry/utils": "^7.47.0",